ath9k: enable 3-stream and MCS16-23 support
[openwrt.git] / package / mac80211 / patches / 564-ath9k_mcs_mask_fix.patch
1 --- a/drivers/net/wireless/ath/ath9k/xmit.c
2 +++ b/drivers/net/wireless/ath/ath9k/xmit.c
3 @@ -19,7 +19,7 @@
4
5 #define BITS_PER_BYTE 8
6 #define OFDM_PLCP_BITS 22
7 -#define HT_RC_2_MCS(_rc) ((_rc) & 0x0f)
8 +#define HT_RC_2_MCS(_rc) ((_rc) & 0x1f)
9 #define HT_RC_2_STREAMS(_rc) ((((_rc) & 0x78) >> 3) + 1)
10 #define L_STF 8
11 #define L_LTF 8
This page took 0.050691 seconds and 5 git commands to generate.