[openwrt/openwrt] wifi: ath11k: disable coldboot calibration for ipq5018 and qcn6122

LEDE Commits lede-commits at lists.infradead.org
Thu Jun 12 01:47:47 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/cf715a230589058aeb703f930504d6d98619a53b

commit cf715a230589058aeb703f930504d6d98619a53b
Author: George Moussalem <george.moussalem at outlook.com>
AuthorDate: Tue Jun 10 14:41:54 2025 +0400

    wifi: ath11k: disable coldboot calibration for ipq5018 and qcn6122
    
    Coldboot calibration does not work causes the firmware to crash during
    wifi startup. So let's disable coldboot calibration until a solution is
    found.
    
    Signed-off-by: George Moussalem <george.moussalem at outlook.com>
    Link: https://github.com/openwrt/openwrt/pull/19083
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 ...-disable-coldboot-calibration-for-ipq5018.patch | 27 ++++++++++++++++++++++
 ...920-wifi-ath11k-add-hw-params-for-QCN6122.patch |  4 ++--
 2 files changed, 29 insertions(+), 2 deletions(-)

diff --git a/package/kernel/mac80211/patches/ath11k/0907-wifi-ath11k-disable-coldboot-calibration-for-ipq5018.patch b/package/kernel/mac80211/patches/ath11k/0907-wifi-ath11k-disable-coldboot-calibration-for-ipq5018.patch
new file mode 100644
index 0000000000..2c4762e275
--- /dev/null
+++ b/package/kernel/mac80211/patches/ath11k/0907-wifi-ath11k-disable-coldboot-calibration-for-ipq5018.patch
@@ -0,0 +1,27 @@
+From b2d16b688ce04b67f2033f90f49f4add7ebd3fe8 Mon Sep 17 00:00:00 2001
+From: George Moussalem <george.moussalem at outlook.com>
+Date: Tue, 10 Jun 2025 14:34:37 +0400
+Subject: [PATCH] wifi: ath11k: disable coldboot calibration for ipq5018
+
+Coldboot calibration does not work causes the firmware to crash during
+wifi startup. So let's disable coldboot calibration until a solution is
+found.
+
+Signed-off-by: George Moussalem <george.moussalem at outlook.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
+@@ -691,8 +691,8 @@ static const struct ath11k_hw_params ath
+ 		.supports_suspend = false,
+ 		.hal_params = &ath11k_hw_hal_params_ipq8074,
+ 		.single_pdev_only = false,
+-		.coldboot_cal_mm = true,
+-		.coldboot_cal_ftm = true,
++		.coldboot_cal_mm = false,
++		.coldboot_cal_ftm = false,
+ 		.cbcal_restart_fw = true,
+ 		.fix_l1ss = true,
+ 		.supports_dynamic_smps_6ghz = false,
diff --git a/package/kernel/mac80211/patches/ath11k/920-wifi-ath11k-add-hw-params-for-QCN6122.patch b/package/kernel/mac80211/patches/ath11k/920-wifi-ath11k-add-hw-params-for-QCN6122.patch
index 6d5aa7e2c1..ce18900230 100644
--- a/package/kernel/mac80211/patches/ath11k/920-wifi-ath11k-add-hw-params-for-QCN6122.patch
+++ b/package/kernel/mac80211/patches/ath11k/920-wifi-ath11k-add-hw-params-for-QCN6122.patch
@@ -71,8 +71,8 @@ Signed-off-by: George Moussalem <george.moussalem at outlook.com>
 +		.rx_mac_buf_ring = false,
 +		.vdev_start_delay = false,
 +		.htt_peer_map_v2 = true,
-+		.coldboot_cal_mm = true,
-+		.coldboot_cal_ftm = true,
++		.coldboot_cal_mm = false,
++		.coldboot_cal_ftm = false,
 +		.cbcal_restart_fw = true,
 +		.fix_l1ss = true,
 +		.alloc_cacheable_memory = true,




More information about the lede-commits mailing list