mac80211: allow drivers to provide most station statistics
authorJohannes Berg <johannes.berg@intel.com>
Mon, 17 Nov 2014 10:35:23 +0000 (11:35 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 8 Jan 2015 14:28:06 +0000 (15:28 +0100)
commit2b9a7e1bac24df8ddb0713ad1e5807a7243bcab0
treef118d24b4a347e52c0a0a9173178efbe850531af
parent6f7a8d26e2668e00de524d3da0122a4411047dd2
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>
drivers/net/wireless/ti/wlcore/main.c
include/net/mac80211.h
net/mac80211/driver-ops.h
net/mac80211/sta_info.c
net/mac80211/trace.h
This page took 0.026368 seconds and 5 git commands to generate.