cfg80211: add nl80211 beacon-only statistics
authorJohannes Berg <johannes.berg@intel.com>
Mon, 17 Nov 2014 13:12:22 +0000 (14:12 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 8 Jan 2015 14:28:13 +0000 (15:28 +0100)
commita76b1942a10293a94edf3c93c23a6231b63532f5
tree8466ac5d17e9316211abdd0cbf99974919e2e328
parent319090bf6c75e3ad42a8c74973be5e78ae4f948f
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>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c