]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: minstrel_ht: include type (cck/ht) in rates flag
authorKarl Beldan <karl.beldan@rivierawaves.com>
Mon, 20 Oct 2014 13:46:01 +0000 (15:46 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Oct 2014 19:39:35 +0000 (21:39 +0200)
commit6635e8e242f1c049cb5a7a015e8185e7eadc8d67
treed53801c4b16d0ea75d2ce79ab44c6f56457b1b8c
parent555453aa6d82cdfa6571cfbb260953f33d3798ed
mac80211: minstrel_ht: include type (cck/ht) in rates flag

ATM, we grep cck rates idx with idx / MCS_GROUP_RATES ==
MINSTREL_CCK_GROUP.
Matching neither-cck-non-ht rates could be done by replacing '==' with
'>', however it would be less versatile or explicit.
This will allow to match VHT rates with IEEE80211_TX_RC_VHT_MCS.

Signed-off-by: Karl Beldan <karl.beldan@rivierawaves.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rc80211_minstrel_ht.c