diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2014-11-17 08:12:22 -0500 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2015-01-08 09:28:13 -0500 |
| commit | a76b1942a10293a94edf3c93c23a6231b63532f5 (patch) | |
| tree | 8466ac5d17e9316211abdd0cbf99974919e2e328 /include/uapi/linux | |
| parent | 319090bf6c75e3ad42a8c74973be5e78ae4f948f (diff) | |
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>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/nl80211.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h index e48ca0bbd07b..0c3d341c0aeb 100644 --- a/include/uapi/linux/nl80211.h +++ b/include/uapi/linux/nl80211.h | |||
| @@ -2375,6 +2375,9 @@ enum nl80211_sta_bss_param { | |||
| 2375 | * 802.11 header (u32, kbps) | 2375 | * 802.11 header (u32, kbps) |
| 2376 | * @NL80211_STA_INFO_RX_DROP_MISC: RX packets dropped for unspecified reasons | 2376 | * @NL80211_STA_INFO_RX_DROP_MISC: RX packets dropped for unspecified reasons |
| 2377 | * (u64) | 2377 | * (u64) |
| 2378 | * @NL80211_STA_INFO_BEACON_RX: number of beacons received from this peer (u64) | ||
| 2379 | * @NL80211_STA_INFO_BEACON_SIGNAL_AVG: signal strength average | ||
| 2380 | * for beacons only (u8, dBm) | ||
| 2378 | * @__NL80211_STA_INFO_AFTER_LAST: internal | 2381 | * @__NL80211_STA_INFO_AFTER_LAST: internal |
| 2379 | * @NL80211_STA_INFO_MAX: highest possible station info attribute | 2382 | * @NL80211_STA_INFO_MAX: highest possible station info attribute |
| 2380 | */ | 2383 | */ |
| @@ -2408,6 +2411,8 @@ enum nl80211_sta_info { | |||
| 2408 | NL80211_STA_INFO_CHAIN_SIGNAL_AVG, | 2411 | NL80211_STA_INFO_CHAIN_SIGNAL_AVG, |
| 2409 | NL80211_STA_INFO_EXPECTED_THROUGHPUT, | 2412 | NL80211_STA_INFO_EXPECTED_THROUGHPUT, |
| 2410 | NL80211_STA_INFO_RX_DROP_MISC, | 2413 | NL80211_STA_INFO_RX_DROP_MISC, |
| 2414 | NL80211_STA_INFO_BEACON_RX, | ||
| 2415 | NL80211_STA_INFO_BEACON_SIGNAL_AVG, | ||
| 2411 | 2416 | ||
| 2412 | /* keep last */ | 2417 | /* keep last */ |
| 2413 | __NL80211_STA_INFO_AFTER_LAST, | 2418 | __NL80211_STA_INFO_AFTER_LAST, |
