openwrtv4/package/mac80211/patches/564-ath9k_mcs_mask_fix.patch
Felix Fietkau e4fd5aa8a2 ath9k: enable 3-stream and MCS16-23 support
SVN-Revision: 20968
2010-04-17 23:58:21 +00:00

11 lines
406 B
Diff

--- a/drivers/net/wireless/ath/ath9k/xmit.c
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
@@ -19,7 +19,7 @@
#define BITS_PER_BYTE 8
#define OFDM_PLCP_BITS 22
-#define HT_RC_2_MCS(_rc) ((_rc) & 0x0f)
+#define HT_RC_2_MCS(_rc) ((_rc) & 0x1f)
#define HT_RC_2_STREAMS(_rc) ((((_rc) & 0x78) >> 3) + 1)
#define L_STF 8
#define L_LTF 8