[Make-wifi-fast] [PATCH RFC v3 3/4] cfg80211: Add airtime statistics and settings

Toke Høiland-Jørgensen toke at toke.dk
Mon Sep 10 07:15:16 EDT 2018


Johannes Berg <johannes at sipsolutions.net> writes:

> On Sat, 2018-09-08 at 00:22 +0200, Toke Høiland-Jørgensen wrote:
>> This adds airtime statistics to the cfg80211 station dump, and also adds a new
>> parameter to set the airtime weight of each station. The latter allows userspace
>> to implement policies for different stations by varying their weights.
>
> Maybe some documentation on the weights - both for other implementers as
> well as users - would be useful.
>
>> + * @NL80211_STA_INFO_AIRTIME_WEIGHT: current airtime weight for station
>> + *      (u16, usec)
>
> how could the weight be in usec? copy/paste issue?

Well, technically it is a usec value (the amount of airtime added to the
deficit each round); but I agree that it shouldn't be documented as such
if we want freedom to change the mechanism later...

-Toke


More information about the Make-wifi-fast mailing list