Re: [RFC] mac80211: allow drivers to provide any statistics

2014-11-19 Thread Bob Copeland
On Mon, Nov 17, 2014 at 11:48:06AM +0100, Johannes Berg wrote: From: Johannes Berg johannes.b...@intel.com 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

Re: [RFC] mac80211: allow drivers to provide any statistics

2014-11-19 Thread Ben Greear
On 11/19/2014 09:49 AM, Bob Copeland wrote: On Mon, Nov 17, 2014 at 11:48:06AM +0100, Johannes Berg wrote: From: Johannes Berg johannes.b...@intel.com In many cases, drivers can filter things like beacons that will skew statistics reported by mac80211. To get correct statistics in these

[RFC] mac80211: allow drivers to provide any statistics

2014-11-17 Thread Johannes Berg
From: Johannes Berg johannes.b...@intel.com 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

Re: [RFC] mac80211: allow drivers to provide any statistics

2014-11-17 Thread Luca Coelho
On Mon, 2014-11-17 at 11:48 +0100, Johannes Berg wrote: From: Johannes Berg johannes.b...@intel.com 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