[openwrt/openwrt] mac80211: ath11k: re-enable ipq807x coldboot calibration

LEDE Commits lede-commits at lists.infradead.org
Thu Apr 18 02:55:44 PDT 2024


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/b0422af1b3c7bb227620f0b1ff5552f9148f5a43

commit b0422af1b3c7bb227620f0b1ff5552f9148f5a43
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Wed Apr 17 12:01:02 2024 +0200

    mac80211: ath11k: re-enable ipq807x coldboot calibration
    
    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 at gmail.com>
---
 ...-Disable-coldboot-calibration-for-IPQ8074.patch | 26 ----------------------
 1 file changed, 26 deletions(-)

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
index cff62eea90..0000000000
--- a/package/kernel/mac80211/patches/ath11k/902-ath11k-Disable-coldboot-calibration-for-IPQ8074.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From dd3b9c59cfa1e9e0b73a575f4646be905691eaef Mon Sep 17 00:00:00 2001
-From: Robert Marko <robimarko at 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 at 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,




More information about the lede-commits mailing list