1 From: Felix Fietkau <nbd@openwrt.org>
2 Date: Sat, 15 Nov 2014 03:45:56 +0100
3 Subject: [PATCH] mac80211: skip legacy rate mask handling for VHT rates
5 The rate mask code currently assumes that a rate is legacy if
6 IEEE80211_TX_RC_MCS is not set. This might be the cause of bogus VHT
7 rates being reported with minstrel_ht.
9 Signed-off-by: Felix Fietkau <nbd@openwrt.org>
12 --- a/net/mac80211/rate.c
13 +++ b/net/mac80211/rate.c
14 @@ -385,7 +385,7 @@ static void rate_idx_match_mask(struct i
19 + } else if (!(rate->flags & IEEE80211_TX_RC_VHT_MCS)) {
20 /* handle legacy rates */
21 if (rate_idx_match_legacy_mask(rate, sband->n_bitrates, mask))