summaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau2013-02-11 14:36:04 +0100
committerJohannes Berg2013-02-11 22:43:24 +0100
commitdf15a6c4fa7f77511663d7b5f9134f37ad2e8c92 (patch)
tree122dbefd4fbb802f2dbacc3c175cea241071f65e /net/mac80211
parentmac80211/minstrel_ht: show the number of retries for each rate in debugfs (diff)
downloadkernel-qcow2-linux-df15a6c4fa7f77511663d7b5f9134f37ad2e8c92.tar.gz
kernel-qcow2-linux-df15a6c4fa7f77511663d7b5f9134f37ad2e8c92.tar.xz
kernel-qcow2-linux-df15a6c4fa7f77511663d7b5f9134f37ad2e8c92.zip
mac80211/minstrel_ht: remove the sampling bypass check for the lowest rate
It's more of an unnecessary micro-optimization and it prevents switching from long-GI to short-GI in HT20/single-stream for the lowest rate Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/rc80211_minstrel_ht.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/mac80211/rc80211_minstrel_ht.c b/net/mac80211/rc80211_minstrel_ht.c
index 9f9c453bc45d..5bb316aff21a 100644
--- a/net/mac80211/rc80211_minstrel_ht.c
+++ b/net/mac80211/rc80211_minstrel_ht.c
@@ -231,10 +231,6 @@ minstrel_ht_update_stats(struct minstrel_priv *mp, struct minstrel_ht_sta *mi)
if (!mr->cur_tp)
continue;
- /* ignore the lowest rate of each single-stream group */
- if (!i && minstrel_mcs_groups[group].streams == 1)
- continue;
-
if ((mr->cur_tp > cur_prob_tp && mr->probability >
MINSTREL_FRAC(3, 4)) || mr->probability > cur_prob) {
mg->max_prob_rate = index;