cfg80211: add nl80211 beacon-only statistics
Add these two values: * BEACON_RX: number of beacons received from this peer * BEACON_SIGNAL_AVG: signal strength average for beacons only These can then be used for Android Lollipop's statistics request. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
319090bf6c
commit
a76b1942a1
3 changed files with 13 additions and 0 deletions
|
|
@ -2375,6 +2375,9 @@ enum nl80211_sta_bss_param {
|
|||
* 802.11 header (u32, kbps)
|
||||
* @NL80211_STA_INFO_RX_DROP_MISC: RX packets dropped for unspecified reasons
|
||||
* (u64)
|
||||
* @NL80211_STA_INFO_BEACON_RX: number of beacons received from this peer (u64)
|
||||
* @NL80211_STA_INFO_BEACON_SIGNAL_AVG: signal strength average
|
||||
* for beacons only (u8, dBm)
|
||||
* @__NL80211_STA_INFO_AFTER_LAST: internal
|
||||
* @NL80211_STA_INFO_MAX: highest possible station info attribute
|
||||
*/
|
||||
|
|
@ -2408,6 +2411,8 @@ enum nl80211_sta_info {
|
|||
NL80211_STA_INFO_CHAIN_SIGNAL_AVG,
|
||||
NL80211_STA_INFO_EXPECTED_THROUGHPUT,
|
||||
NL80211_STA_INFO_RX_DROP_MISC,
|
||||
NL80211_STA_INFO_BEACON_RX,
|
||||
NL80211_STA_INFO_BEACON_SIGNAL_AVG,
|
||||
|
||||
/* keep last */
|
||||
__NL80211_STA_INFO_AFTER_LAST,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue