Home
last modified time | relevance | path

Searched refs:stats (Results 1 – 3 of 3) sorted by relevance

/drivers/hdf_core/adapter/khdf/linux/network/src/
Dnet_device_adapter.c79 struct NetDevStats *stats; in NetDevGetStats() local
91 stats = netDevIf->getStats(netDev); in NetDevGetStats()
92 if (stats != NULL) { in NetDevGetStats()
93 netStats.rx_packets = stats->rxPackets; in NetDevGetStats()
94 netStats.tx_packets = stats->txPackets; in NetDevGetStats()
95 netStats.rx_bytes = stats->rxBytes; in NetDevGetStats()
96 netStats.tx_bytes = stats->txBytes; in NetDevGetStats()
97 netStats.rx_errors = stats->rxErrors; in NetDevGetStats()
98 netStats.tx_errors = stats->txErrors; in NetDevGetStats()
99 netStats.rx_dropped = stats->rxDropped; in NetDevGetStats()
[all …]
/drivers/peripheral/wlan/client/src/netlink/
Dnetlink_cmd_adapter.c1827 static void ParseStaTxRate(struct nlattr **stats, uint32_t size, StationInfo *info) in ParseStaTxRate() argument
1842 if (stats[NL80211_STA_INFO_TX_BITRATE] != NULL && in ParseStaTxRate()
1843 …nla_parse_nested(rate, NL80211_RATE_INFO_MAX, stats[NL80211_STA_INFO_TX_BITRATE], ratePolicy) == 0… in ParseStaTxRate()
1867 static void ParseStaRxRate(struct nlattr **stats, uint32_t size, StationInfo *info) in ParseStaRxRate() argument
1882 if (stats[NL80211_STA_INFO_RX_BITRATE] != NULL && in ParseStaRxRate()
1883 …nla_parse_nested(rate, NL80211_RATE_INFO_MAX, stats[NL80211_STA_INFO_RX_BITRATE], ratePolicy) == 0… in ParseStaRxRate()
1907 static void ParseStaInfo(struct nlattr **stats, uint32_t size, StationInfo *info) in ParseStaInfo() argument
1909 ParseStaTxRate(stats, size, info); in ParseStaInfo()
1910 ParseStaRxRate(stats, size, info); in ParseStaInfo()
1918 struct nlattr *stats[NL80211_STA_INFO_MAX + 1]; in StationInfoHandler() local
[all …]
/drivers/hdf_core/framework/include/net/
Dnet_device.h487 struct NetDevStats stats; /**< Network statistics */ member