aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k
diff options
context:
space:
mode:
authorAnilkumar Kolli <akolli@qti.qualcomm.com>2016-09-28 08:11:53 -0400
committerKalle Valo <kvalo@qca.qualcomm.com>2016-10-04 10:56:25 -0400
commitbafe492610d58ec66cc149b19c51774efd95344a (patch)
treef71574a33927bb86721daea0d6c78eaff371bbb0 /drivers/net/wireless/ath/ath10k
parentac86aa5755dbd8b127f03c5a0bf641caf73378f2 (diff)
ath10k: add cc_wraparound type for QCA9888 and QCA9884
During offchannel scan, iw survey dump shows wrong values. Fix this by assigning cycle counter wranarround type for QCA9888 and QCA9884, they share same config with QCA4019. Signed-off-by: Anilkumar Kolli <akolli@qti.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k')
-rw-r--r--drivers/net/wireless/ath/ath10k/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c
index 21ae8d663e67..867a8403b15b 100644
--- a/drivers/net/wireless/ath/ath10k/core.c
+++ b/drivers/net/wireless/ath/ath10k/core.c
@@ -198,6 +198,7 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = {
198 .name = "qca9984/qca9994 hw1.0", 198 .name = "qca9984/qca9994 hw1.0",
199 .patch_load_addr = QCA9984_HW_1_0_PATCH_LOAD_ADDR, 199 .patch_load_addr = QCA9984_HW_1_0_PATCH_LOAD_ADDR,
200 .uart_pin = 7, 200 .uart_pin = 7,
201 .cc_wraparound_type = ATH10K_HW_CC_WRAP_SHIFTED_EACH,
201 .otp_exe_param = 0x00000700, 202 .otp_exe_param = 0x00000700,
202 .continuous_frag_desc = true, 203 .continuous_frag_desc = true,
203 .cck_rate_map_rev2 = true, 204 .cck_rate_map_rev2 = true,
@@ -223,6 +224,7 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = {
223 .name = "qca9888 hw2.0", 224 .name = "qca9888 hw2.0",
224 .patch_load_addr = QCA9888_HW_2_0_PATCH_LOAD_ADDR, 225 .patch_load_addr = QCA9888_HW_2_0_PATCH_LOAD_ADDR,
225 .uart_pin = 7, 226 .uart_pin = 7,
227 .cc_wraparound_type = ATH10K_HW_CC_WRAP_SHIFTED_EACH,
226 .otp_exe_param = 0x00000700, 228 .otp_exe_param = 0x00000700,
227 .continuous_frag_desc = true, 229 .continuous_frag_desc = true,
228 .channel_counters_freq_hz = 150000, 230 .channel_counters_freq_hz = 150000,