aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorFelix Fietkau <[email protected]>2020-11-11 19:33:58 +0100
committerJohannes Berg <[email protected]>2020-11-12 11:24:43 +0100
commit4fe40b8e1566dad04c87fbf299049a1d0d4bd58d (patch)
tree6c402a7dba18eaaf8be7d4963443c833df43e535 /lib/mpi/mpi-cmp.c
parent1d18288555b3265f84d08f1f75582415e4ec343a (diff)
mac80211: minstrel: remove deferred sampling code
Deferring sampling attempts to the second stage has some bad interactions with drivers that process the rate table in hardware and use the probe flag to indicate probing packets (e.g. most mt76 drivers). On affected drivers it can lead to probing not working at all. If the link conditions turn worse, it might not be such a good idea to do a lot of sampling for lower rates in this case. Fix this by simply skipping the sample attempt instead of deferring it, but keep the checks that would allow it to be sampled if it was skipped too often, but only if it has less than 95% success probability. Also ensure that IEEE80211_TX_CTL_RATE_CTRL_PROBE is set for all probing packets. Cc: [email protected] Fixes: cccf129f820e ("mac80211: add the 'minstrel' rate control algorithm") Signed-off-by: Felix Fietkau <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions