[PATCH] ath10k: Fix CCK rate definitions.

greearb at candelatech.com greearb at candelatech.com
Tue Sep 15 17:08:18 PDT 2015


From: Ben Greear <greearb at candelatech.com>

The old values did NOT match what is found in 10.1.467
firmware.  I figure it is likely it is wrong for the others
as well.

Signed-off-by: Ben Greear <greearb at candelatech.com>
---
 drivers/net/wireless/ath/ath10k/hw.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/net/wireless/ath/ath10k/hw.h b/drivers/net/wireless/ath/ath10k/hw.h
index 4c5eee4..710ca32 100644
--- a/drivers/net/wireless/ath/ath10k/hw.h
+++ b/drivers/net/wireless/ath/ath10k/hw.h
@@ -202,13 +202,13 @@ enum ath10k_hw_rate_ofdm {
 };
 
 enum ath10k_hw_rate_cck {
-	ATH10K_HW_RATE_CCK_LP_11M = 0,
-	ATH10K_HW_RATE_CCK_LP_5_5M,
-	ATH10K_HW_RATE_CCK_LP_2M,
-	ATH10K_HW_RATE_CCK_LP_1M,
-	ATH10K_HW_RATE_CCK_SP_11M,
-	ATH10K_HW_RATE_CCK_SP_5_5M,
-	ATH10K_HW_RATE_CCK_SP_2M,
+	ATH10K_HW_RATE_CCK_LP_11M = 0x40,
+	ATH10K_HW_RATE_CCK_LP_5_5M = 0x41,
+	ATH10K_HW_RATE_CCK_LP_2M = 0x42,
+	ATH10K_HW_RATE_CCK_LP_1M = 0x43,
+	ATH10K_HW_RATE_CCK_SP_11M = ATH10K_HW_RATE_CCK_LP_11M | 0x4,
+	ATH10K_HW_RATE_CCK_SP_5_5M = ATH10K_HW_RATE_CCK_LP_5_5M | 0x4,
+	ATH10K_HW_RATE_CCK_SP_2M = ATH10K_HW_RATE_CCK_LP_2M | 0x4,
 };
 
 /* Target specific defines for MAIN firmware */
-- 
2.4.3




More information about the ath10k mailing list