mac80211: ath11k: re-enable ipq807x coldboot calibration
authorRobert Marko <robimarko@gmail.com>
Wed, 17 Apr 2024 10:01:02 +0000 (12:01 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 18 Apr 2024 09:55:36 +0000 (11:55 +0200)
It seems that move to kernel 6.6 somehow fixed the remoteproc restart so
now it properly restarts and thus coldboot calibration works as well.

ipq60xx still seems to be broken in a different way so keep it disabled.

Signed-off-by: Robert Marko <robimarko@gmail.com>
package/kernel/mac80211/patches/ath11k/902-ath11k-Disable-coldboot-calibration-for-IPQ8074.patch [deleted file]

diff --git a/package/kernel/mac80211/patches/ath11k/902-ath11k-Disable-coldboot-calibration-for-IPQ8074.patch b/package/kernel/mac80211/patches/ath11k/902-ath11k-Disable-coldboot-calibration-for-IPQ8074.patch
deleted file mode 100644 (file)
index cff62ee..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-From dd3b9c59cfa1e9e0b73a575f4646be905691eaef Mon Sep 17 00:00:00 2001
-From: Robert Marko <robimarko@gmail.com>
-Date: Sat, 16 Oct 2021 19:34:10 +0200
-Subject: [PATCH 241/241] ath11k: Disable coldboot calibration for IPQ8074
-
-There is a bug with the remoteproc reset after coldboot calibration,
-so until that is resolved disabled it to allow using the radio.
-
-Signed-off-by: Robert Marko <robimarko@gmail.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
-@@ -86,8 +86,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,