mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-15 09:19:57 +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>
34 lines
1.3 KiB
Diff
34 lines
1.3 KiB
Diff
From 13329d0cb7212b058bd8451a99d215a8f97645ea Mon Sep 17 00:00:00 2001
|
|
From: Seevalamuthu Mariappan <quic_seevalam@quicinc.com>
|
|
Date: Wed, 26 Jul 2023 19:40:32 +0530
|
|
Subject: [PATCH] wifi: ath11k: Remove cal_done check during probe
|
|
|
|
In some race conditions, calibration done QMI message is received even
|
|
before host wait starts for calibration to be done.
|
|
Due to this, resetting firmware was not performed after calibration.
|
|
|
|
Hence, remove cal_done check in ath11k_qmi_fwreset_from_cold_boot()
|
|
as this is called only from probe.
|
|
|
|
Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1
|
|
|
|
Signed-off-by: Seevalamuthu Mariappan <quic_seevalam@quicinc.com>
|
|
Signed-off-by: Raj Kumar Bhagat <quic_rajkbhag@quicinc.com>
|
|
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
|
|
Link: https://lore.kernel.org/r/20230726141032.3061-4-quic_rajkbhag@quicinc.com
|
|
---
|
|
drivers/net/wireless/ath/ath11k/qmi.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/net/wireless/ath/ath11k/qmi.c
|
|
+++ b/drivers/net/wireless/ath/ath11k/qmi.c
|
|
@@ -2847,7 +2847,7 @@ int ath11k_qmi_fwreset_from_cold_boot(st
|
|
{
|
|
int timeout;
|
|
|
|
- if (!ath11k_core_coldboot_cal_support(ab) || ab->qmi.cal_done ||
|
|
+ if (!ath11k_core_coldboot_cal_support(ab) ||
|
|
ab->hw_params.cbcal_restart_fw == 0)
|
|
return 0;
|
|
|