Re: [PATCH RFC v3 3/4] cfg80211: Add airtime statistics and settings
From: Toke Høiland-Jørgensen <toke@toke.dk>
Date: 2018-09-10 16:08:50
From: Toke Høiland-Jørgensen <toke@toke.dk>
Date: 2018-09-10 16:08:50
Johannes Berg [off-list ref] writes:
On Sat, 2018-09-08 at 00:22 +0200, Toke H=C3=B8iland-J=C3=B8rgensen wrote:quoted
This adds airtime statistics to the cfg80211 station dump, and also adds=
a new
quoted
parameter to set the airtime weight of each station. The latter allows u=
serspace
quoted
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.quoted
+ * @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