On Mon, 2014-11-17 at 11:48 +0100, Johannes Berg wrote: > From: Johannes Berg <johannes.berg@xxxxxxxxx> > > 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. > > 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@xxxxxxxxx> > --- > drivers/net/wireless/ti/wlcore/main.c | 22 ++++---- The wlcore part of this looks fine to me. Acked-by: Luciano Coelho <luca@xxxxxxxxx> -- Luca. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html