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 <[email protected]>
>>
>> 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.
> 
> Neat.
> 
> For mesh, it's handy to have the (somewhat imperfectly specified)
> sta->fail_avg too for drivers that implement all the rate control
> in firmware and thus may not report tx status for all frames.
> 
> At cozybit we had implemented a drv_link_stats driver op (hack) that
> just got last_tx_rate and fail_avg so that the airtime link metric
> could work on such devices; this call could replace that, I hope.


The ethtool stats API could also handle at least some of this,
but it's a bit free-form to program against...

Thanks,
Ben

-- 
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to