summaryrefslogtreecommitdiffstats
path: root/net/mac80211/ethtool.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-11-17 11:35:23 +0100
committerJohannes Berg <johannes.berg@intel.com>2015-01-08 15:28:06 +0100
commit2b9a7e1bac24df8ddb0713ad1e5807a7243bcab0 (patch)
treef118d24b4a347e52c0a0a9173178efbe850531af /net/mac80211/ethtool.c
parentmac80211: send statistics with delete station event (diff)
downloadlinux-2b9a7e1bac24df8ddb0713ad1e5807a7243bcab0.tar.xz
linux-2b9a7e1bac24df8ddb0713ad1e5807a7243bcab0.zip
mac80211: allow drivers to provide most station statistics
In many cases, drivers can filter things like beacons that will skew statistics reported by mac80211. To get correct statistics in these cases, call drivers to obtain statistics and let them override all values, filling values from mac80211 if the driver didn't provide them. Not all of them make sense for the driver to fill, so some are still always done by mac80211. Note that this doesn't currently allow a driver to say "I know this value is wrong, don't report it at all", or to sum it up with a mac80211 value (as could be useful for "dropped misc"), that can be added if it turns out to be needed. This also gets rid of the get_rssi() method as is can now be implemented using sta_statistics(). Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ethtool.c')
0 files changed, 0 insertions, 0 deletions