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 >> >> In many cases, drivers can filter things like beacons that will >> skew statistics reported by mac80211. To get correct statistics >> in these cases, call drive

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 > > 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 al

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

2014-11-17 Thread Johannes Berg
On Mon, 2014-11-17 at 13:03 +0100, Arend van Spriel wrote: > > + void (*sta_statistics)(struct ieee80211_hw *hw, > > + struct ieee80211_vif *vif, > > + struct ieee80211_sta *sta, > > + struct station_info *sinfo); > > Co

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

2014-11-17 Thread Arend van Spriel
On 17-11-14 11:48, Johannes Berg wrote: > From: Johannes Berg > > 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 value

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 > > 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 value

[RFC] mac80211: allow drivers to provide any statistics

2014-11-17 Thread Johannes Berg
From: Johannes Berg 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.