cff62eea908ec52ce14259906f689aab8f48c4d2
[openwrt/staging/pepe2k.git] / package / kernel / mac80211 / patches / ath11k / 902-ath11k-Disable-coldboot-calibration-for-IPQ8074.patch
1 From dd3b9c59cfa1e9e0b73a575f4646be905691eaef Mon Sep 17 00:00:00 2001
2 From: Robert Marko <robimarko@gmail.com>
3 Date: Sat, 16 Oct 2021 19:34:10 +0200
4 Subject: [PATCH 241/241] ath11k: Disable coldboot calibration for IPQ8074
5
6 There is a bug with the remoteproc reset after coldboot calibration,
7 so until that is resolved disabled it to allow using the radio.
8
9 Signed-off-by: Robert Marko <robimarko@gmail.com>
10 ---
11 drivers/net/wireless/ath/ath11k/core.c | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14 --- a/drivers/net/wireless/ath/ath11k/core.c
15 +++ b/drivers/net/wireless/ath/ath11k/core.c
16 @@ -86,8 +86,8 @@ static const struct ath11k_hw_params ath
17 .supports_shadow_regs = false,
18 .idle_ps = false,
19 .supports_sta_ps = false,
20 - .coldboot_cal_mm = true,
21 - .coldboot_cal_ftm = true,
22 + .coldboot_cal_mm = false,
23 + .coldboot_cal_ftm = false,
24 .cbcal_restart_fw = true,
25 .fw_mem_mode = 0,
26 .num_vdevs = 16 + 1,