]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: minstrel_ht: reduce the need to sample slower rates
authorFelix Fietkau <nbd@nbd.name>
Wed, 27 Jan 2021 05:57:32 +0000 (06:57 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 12 Feb 2021 07:57:24 +0000 (08:57 +0100)
commit4ccdaa3b6450d5cb1faad1f01a9046ca1be60f9a
treea882e99c8953ec24ac565e7f72107767d5309e5e
parent5b0e546e5055d1d6e2fd38bb68afb7e333de91fa
mac80211: minstrel_ht: reduce the need to sample slower rates

In order to more gracefully be able to fall back to lower rates without too
much throughput fluctuations, initialize all untested rates below tested ones
to the maximum probabilty of higher rates.
Usually this leads to untested lower rates getting initialized with a
probability value of 100%, making them better candidates for fallback without
having to rely on random probing

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20210127055735.78599-3-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rc80211_minstrel_ht.c
net/mac80211/rc80211_minstrel_ht.h