On Tue, May 31, 2022 at 12:09:22PM +0200, Baligh Gasmi wrote:
Since the integration of AQL, packet TX airtime estimation is calculated and counted to be used for the dequeue limit.
Use this estimated airtime to compute expected throughput for each station.
It will be a generic mac80211 implementation. If the driver has get_expected_throughput implementation, it will be used instead.
Useful for L2 routing protocols, like B.A.T.M.A.N.
Signed-off-by: Baligh Gasmi gasmibal@gmail.com
Hi Baligh,
Thanks for your work, this indeed sounds very relevant for batman-adv. Do you have some test results on how this compares to real throughput? And maybe how it compares to other methods we already have in the kernel, like expected throughput via minstrel_ht rate control or the estimates performed in 802.11s HWMP [0]?
Is there a certain minimum amount of traffic you'd suggest to have enough samples to get a meaningful result?
I'm also wondering if we are starting to accumulate too many places to provide wifi expected throughput calculations. Do you see a chance that this generic mac80211 implementation could be made good enough to be used as the sole source for both batman-adv and 802.11s HWMP, for instance? Or do you see some pros and cons between the different methods?
Regards, Linus
[0]: https://elixir.bootlin.com/linux/v5.18/source/net/mac80211/mesh_hwmp.c#L295