diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-11-17 11:35:23 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-01-08 15:28:06 +0100 |
commit | 2b9a7e1bac24df8ddb0713ad1e5807a7243bcab0 (patch) | |
tree | f118d24b4a347e52c0a0a9173178efbe850531af /drivers/net/wireless/rndis_wlan.c | |
parent | 6f7a8d26e2668e00de524d3da0122a4411047dd2 (diff) |
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 'drivers/net/wireless/rndis_wlan.c')
0 files changed, 0 insertions, 0 deletions