mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-10 06:52:53 +00:00
e94052bfee
Synchronize the ath11k backports with upstream linux.
Most of them are changes in kernel 6.5, the rest are
fixes for the ath11k_pci. The most important one is
"Revert 'wifi: ath11k: Enable threaded NAPI'", which
fixes the problem that QCN9074 cannot be used after
restarting on the x86 platform.
[ 23.462718] ath11k_pci 0000:02:00.0: failed to vdev 0 create peer for AP: -110
[ 28.503020] ath11k_pci 0000:02:00.0: Timeout in receiving vdev delete response
Changes to ipq8074 coldboot part pick from commit
b33bfcf
("mac80211: ath11k: sync with ath-next").
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
48 lines
2.0 KiB
Diff
48 lines
2.0 KiB
Diff
From 80c5390e1f5e5b16d820512265530ef26073d8e0 Mon Sep 17 00:00:00 2001
|
|
From: Ziyang Huang <hzyitc@outlook.com>
|
|
Date: Thu, 15 Jun 2023 14:41:48 +0300
|
|
Subject: [PATCH] wifi: ath11k: Restart firmware after cold boot calibration
|
|
for IPQ5018
|
|
|
|
Restart is required after cold boot calibration on IPQ5018. Otherwise,
|
|
we get the following exception:
|
|
|
|
[ 14.412829] qcom-q6-mpd cd00000.remoteproc: fatal error received: err_smem_ver.2.1:
|
|
[ 14.412829] QC Image Version : QC_IMAGE_VERSION_STRING=WLAN.HK.2.6.0.1-00974-QCAHKSWPL_SILICONZ-1
|
|
[ 14.412829] Image Variant : IMAGE_VARIANT_STRING=5018.wlanfw2.map_spr_spr_evalQ
|
|
[ 14.412829] DALSysLogEvent.c:174 Assertion 0 failed param0 :zero,param1 :zero,param2 :zero
|
|
[ 14.412829] Thread ID : 0x00000048 Thread name : WLAN RT0 Process ID : 0x00000001 Process name :wlan0
|
|
[ 14.412829]
|
|
[ 14.412829] Registers:
|
|
[ 14.412829] SP : 0x4c81c120
|
|
[ 14.412829] FP : 0x4c81c138
|
|
[ 14.412829] PC : 0xb022c590
|
|
[ 14.412829] SSR : 0x00000000
|
|
[ 14.412829] BADVA : 0x00000000
|
|
[ 14.412829] LR : 0xb0008490
|
|
[ 14.412829]
|
|
[ 14.412829] StackDump
|
|
[ 14.412829] from:0x4c81c120
|
|
[ 14.412829] to: 0x00000000:
|
|
[ 14.412829]
|
|
[ 14.463006] remoteproc remoteproc0: crash detected in cd00000.remoteproc: type fatal error
|
|
|
|
Fixes: 8dfe875aa24a ("wifi: ath11k: update hw params for IPQ5018")
|
|
Signed-off-by: Ziyang Huang <hzyitc@outlook.com>
|
|
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
|
|
Link: https://lore.kernel.org/r/TYZPR01MB55566969818BD4B49E770445C953A@TYZPR01MB5556.apcprd01.prod.exchangelabs.com
|
|
---
|
|
drivers/net/wireless/ath/ath11k/core.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/net/wireless/ath/ath11k/core.c
|
|
+++ b/drivers/net/wireless/ath/ath11k/core.c
|
|
@@ -668,6 +668,7 @@ static const struct ath11k_hw_params ath
|
|
.hal_params = &ath11k_hw_hal_params_ipq8074,
|
|
.single_pdev_only = false,
|
|
.cold_boot_calib = true,
|
|
+ .cbcal_restart_fw = true,
|
|
.fix_l1ss = true,
|
|
.supports_dynamic_smps_6ghz = false,
|
|
.alloc_cacheable_memory = true,
|