Commit 7817e4ce authored by Felix Fietkau's avatar Felix Fietkau Committed by John W. Linville

ath9k: update the MCS mask for MCS16 and above

Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 0a8cea84
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#define BITS_PER_BYTE 8 #define BITS_PER_BYTE 8
#define OFDM_PLCP_BITS 22 #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 HT_RC_2_STREAMS(_rc) ((((_rc) & 0x78) >> 3) + 1)
#define L_STF 8 #define L_STF 8
#define L_LTF 8 #define L_LTF 8
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment