mac80211: support beacon statistics
authorJohannes Berg <johannes.berg@intel.com>
Wed, 21 Jan 2015 20:09:02 +0000 (21:09 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 23 Jan 2015 14:51:38 +0000 (15:51 +0100)
commit225b818982403120ce1f5e7d4b3e5245e0399775
tree3198d2c5284ea58fcd996bc273fef5852e9e294a
parent3d6dc3431e944cf800637404167447f4badffdba
mac80211: support beacon statistics

For drivers without beacon filtering, support beacon statistics
entirely, i.e. report the number of beacons and average signal.

For drivers with beacon filtering, give them the number of beacons
received by mac80211 -- in case the device reports only the number
of filtered beacons then driver doesn't have to count all beacons
again as mac80211 already does.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c