]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: minstrel_ht: reduce unnecessary rate probing attempts
authorFelix Fietkau <nbd@nbd.name>
Tue, 20 Aug 2019 09:54:47 +0000 (11:54 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 21 Aug 2019 09:09:20 +0000 (11:09 +0200)
commit5c35a94ea591b9f4a6a4c8a7aa87f1dadbd190b1
treef0225c1acf4d310156a2a1d6f5fd2d8ad5d67c43
parent4478f8317405ed38fa480f01616a63f8fe7ea096
mac80211: minstrel_ht: reduce unnecessary rate probing attempts

On hardware with static fallback tables (e.g. mt76x2), rate probing attempts
can be very expensive.
On such devices, avoid sampling rates slower than the per-group max throughput
rate, based on the assumption that the fallback table will take care of probing
lower rates within that group if the higher rates fail.

To further reduce unnecessary probing attempts, skip duplicate attempts on
rates slower than the max throughput rate.

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