[Make-wifi-fast] [RFC] mac80211: Add airtime fairness accounting

Johannes Berg johannes at sipsolutions.net
Fri Oct 6 10:07:12 EDT 2017

On Fri, 2017-10-06 at 13:52 +0200, Toke Høiland-Jørgensen wrote:
> This adds accounting of each station's airtime usage to mac80211. On
> the RX side, airtime is calculated from the packet length and
> duration.

I think you should probably try to get something here from the driver?
Doing the calculations is really awkward, because you have to take into
account aggregation, etc.

However, I'm not even sure that you _want_ to use RX airtime at all? I
guess this is a fairly fundamental philosophical question, but there's
no way to feed back "you're sending too much" to a station, so if it
starts consuming a lot of airtime with (what we see as) RX, and we
throttle sending to it, then I'm not sure that will have much effect?
Maybe with TCP, but not really with anything else.

You also can't really know what AC this was on, and it doesn't make all
that much sense?

Then again, I'm not even sure yet why you care about the AC at all?
Should fairness really be something that's within an AC?


More information about the Make-wifi-fast mailing list