]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteb6668764e29508e2e78d8348f6dbf4edb9d67ad
tree3198d2c5284ea58fcd996bc273fef5852e9e294a
parent7eebdfb09e8aec82888d215ea1378ca7ebfed20b
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