diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-03-13 10:54:44 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-03-17 11:03:30 +0100 |
commit | d66c258278fde25b0454ba0f9ec24874237d6ac5 (patch) | |
tree | 76d969bd7fd83ef2903f47c61d3286949a3138b8 /net/mac80211/ibss.c | |
parent | 2e54a6895e3e0cada8d194ace4f5baae643a073f (diff) | |
download | op-kernel-dev-d66c258278fde25b0454ba0f9ec24874237d6ac5.zip op-kernel-dev-d66c258278fde25b0454ba0f9ec24874237d6ac5.tar.gz |
mac80211: minstrel_ht: fix rounding issue in MCS duration calculation
On very high MCS bitrates, the calculated duration of rates that are
next to each other can be very imprecise, due to the small packet size
used as reference (1200 bytes).
This is most visible in VHT80 nss=2 MCS8/9, for which minstrel shows the
same throughput when the probability is also the same. This leads to a
bad rate selection for such rates.
Fix this issue by introducing an average A-MPDU size factor into the
calculation.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ibss.c')
0 files changed, 0 insertions, 0 deletions