mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-23 12:58:23 +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>
27 lines
931 B
Diff
27 lines
931 B
Diff
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 | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- 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,
|