mac80211: ath11k: disable coldboot for ipq6018
authorMantas Pucka <mantas@8devices.com>
Wed, 3 Jan 2024 09:31:03 +0000 (11:31 +0200)
committerRobert Marko <robimarko@gmail.com>
Wed, 21 Feb 2024 20:42:23 +0000 (21:42 +0100)
Coldboot calibration does not work at the moment and causes failure during
wifi startup.

Signed-off-by: Mantas Pucka <mantas@8devices.com>
package/kernel/mac80211/patches/ath11k/0906-wifi-ath11k-disable-coldboot-for-ipq6018.patch [new file with mode: 0644]

diff --git a/package/kernel/mac80211/patches/ath11k/0906-wifi-ath11k-disable-coldboot-for-ipq6018.patch b/package/kernel/mac80211/patches/ath11k/0906-wifi-ath11k-disable-coldboot-for-ipq6018.patch
new file mode 100644 (file)
index 0000000..db646f7
--- /dev/null
@@ -0,0 +1,26 @@
+From a3be23672b4a81256d275af31afc6edcce5c5a26 Mon Sep 17 00:00:00 2001
+From: Mantas Pucka <mantas@8devices.com>
+Date: Mon, 22 Jan 2024 11:38:28 +0200
+Subject: [PATCH] wifi: ath11k: disable coldboot for ipq6018
+
+Coldboot calibration does not work at the moment and causes failure during
+wifi startup.
+
+Signed-off-by: Mantas Pucka <mantas@8devices.com>
+---
+ drivers/net/wireless/ath/ath11k/core.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/drivers/net/wireless/ath/ath11k/core.c
++++ b/drivers/net/wireless/ath/ath11k/core.c
+@@ -168,8 +168,8 @@ static const struct ath11k_hw_params ath
+               .supports_shadow_regs = false,
+               .idle_ps = false,
+               .supports_sta_ps = false,
+-              .coldboot_cal_mm = true,
+-              .coldboot_cal_ftm = true,
++              .coldboot_cal_mm = false,
++              .coldboot_cal_ftm = false,
+               .cbcal_restart_fw = true,
+               .fw_mem_mode = 0,
+               .num_vdevs = 16 + 1,