History

nl80211: clarify packet statistics descriptions

The current statistics we keep aren't very clear, some are on MPDUs and some on MSDUs/MMPDUs. Clarify the descriptions based on the counters mac80211 keeps.

Johannes Berg committed 11 years ago

Commit 8d791361 parent a76b1942 files · +21 −15Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+15−9
@@ -2338,18 +2338,24 @@ enum nl80211_sta_bss_param { · 2337 unmodified lines
2338 *2338 *
2339 * @__NL80211_STA_INFO_INVALID: attribute number 0 is reserved2339 * @__NL80211_STA_INFO_INVALID: attribute number 0 is reserved
2340 * @NL80211_STA_INFO_INACTIVE_TIME: time since last activity (u32, msecs)2340 * @NL80211_STA_INFO_INACTIVE_TIME: time since last activity (u32, msecs)
2341 * @NL80211_STA_INFO_RX_BYTES: total received bytes (u32, from this station)2341 * @NL80211_STA_INFO_RX_BYTES: total received bytes (MPDU length)
2342 * @NL80211_STA_INFO_TX_BYTES: total transmitted bytes (u32, to this station)2342 * (u32, from this station)
2343 * @NL80211_STA_INFO_RX_BYTES64: total received bytes (u64, from this station)2343 * @NL80211_STA_INFO_TX_BYTES: total transmitted bytes (MPDU length)
2344 * @NL80211_STA_INFO_TX_BYTES64: total transmitted bytes (u64, to this station)2344 * (u32, to this station)
2345 * @NL80211_STA_INFO_RX_BYTES64: total received bytes (MPDU length)
2346 * (u64, from this station)
2347 * @NL80211_STA_INFO_TX_BYTES64: total transmitted bytes (MPDU length)
2348 * (u64, to this station)
2345 * @NL80211_STA_INFO_SIGNAL: signal strength of last received PPDU (u8, dBm)2349 * @NL80211_STA_INFO_SIGNAL: signal strength of last received PPDU (u8, dBm)
2346 * @NL80211_STA_INFO_TX_BITRATE: current unicast tx rate, nested attribute2350 * @NL80211_STA_INFO_TX_BITRATE: current unicast tx rate, nested attribute
2347 * containing info as possible, see &enum nl80211_rate_info2351 * containing info as possible, see &enum nl80211_rate_info
2348 * @NL80211_STA_INFO_RX_PACKETS: total received packet (u32, from this station)2352 * @NL80211_STA_INFO_RX_PACKETS: total received packet (MSDUs and MMPDUs)
2349 * @NL80211_STA_INFO_TX_PACKETS: total transmitted packets (u32, to this2353 * (u32, from this station)
2350 * station)2354 * @NL80211_STA_INFO_TX_PACKETS: total transmitted packets (MSDUs and MMPDUs)
2351 * @NL80211_STA_INFO_TX_RETRIES: total retries (u32, to this station)2355 * (u32, to this station)
2352 * @NL80211_STA_INFO_TX_FAILED: total failed packets (u32, to this station)2356 * @NL80211_STA_INFO_TX_RETRIES: total retries (MPDUs) (u32, to this station)
2357 * @NL80211_STA_INFO_TX_FAILED: total failed packets (MPDUs)
2358 * (u32, to this station)
2353 * @NL80211_STA_INFO_SIGNAL_AVG: signal strength average (u8, dBm)2359 * @NL80211_STA_INFO_SIGNAL_AVG: signal strength average (u8, dBm)
2354 * @NL80211_STA_INFO_LLID: the station's mesh LLID2360 * @NL80211_STA_INFO_LLID: the station's mesh LLID
2355 * @NL80211_STA_INFO_PLID: the station's mesh PLID2361 * @NL80211_STA_INFO_PLID: the station's mesh PLID