diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-10-06 19:35:05 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-10-11 16:01:03 +0200 |
commit | 972b66b86f85f4e8201db454f4c3e9d990cf9836 (patch) | |
tree | de688424d95887b2c5cc6ea87ca3bbed959aee9d /lib | |
parent | 80df9be67c44cb636bbc92caeddad8caf334c53c (diff) | |
download | linux-972b66b86f85f4e8201db454f4c3e9d990cf9836.tar.bz2 |
mac80211: minstrel: fix sampling/reporting of CCK rates in HT mode
Long/short preamble selection cannot be sampled separately, since it
depends on the BSS state. Because of that, sampling attempts to
currently not used preamble modes are not counted in the statistics,
which leads to CCK rates being sampled too often.
Fix statistics accounting for long/short preamble by increasing the
index where necessary.
Fix excessive CCK rate sampling by dropping unsupported sample attempts.
This improves throughput on 2.4 GHz channels
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions