Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Anilkumar Kolli and committed by
Kalle Valo
bafe4926 ac86aa57

+2
+2
drivers/net/wireless/ath/ath10k/core.c
··· 198 198 .name = "qca9984/qca9994 hw1.0", 199 199 .patch_load_addr = QCA9984_HW_1_0_PATCH_LOAD_ADDR, 200 200 .uart_pin = 7, 201 + .cc_wraparound_type = ATH10K_HW_CC_WRAP_SHIFTED_EACH, 201 202 .otp_exe_param = 0x00000700, 202 203 .continuous_frag_desc = true, 203 204 .cck_rate_map_rev2 = true, ··· 224 223 .name = "qca9888 hw2.0", 225 224 .patch_load_addr = QCA9888_HW_2_0_PATCH_LOAD_ADDR, 226 225 .uart_pin = 7, 226 + .cc_wraparound_type = ATH10K_HW_CC_WRAP_SHIFTED_EACH, 227 227 .otp_exe_param = 0x00000700, 228 228 .continuous_frag_desc = true, 229 229 .channel_counters_freq_hz = 150000,