Skip to content

Commit

Permalink
mac80211/minstrel_ht: remove the sampling bypass check for the lowest…
Browse files Browse the repository at this point in the history
… 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>
  • Loading branch information
Felix Fietkau authored and Johannes Berg committed Feb 11, 2013
1 parent 7f4fe17 commit df15a6c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions net/mac80211/rc80211_minstrel_ht.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit df15a6c

Please sign in to comment.