mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-04 04:54:18 +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>
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
From 469ddb20cae61cad9c4f208a4c8682305905a511 Mon Sep 17 00:00:00 2001
|
|
From: Ziyang Huang <hzyitc@outlook.com>
|
|
Date: Thu, 15 Jun 2023 14:41:47 +0300
|
|
Subject: [PATCH] wifi: ath11k: Add missing ops config for IPQ5018 in
|
|
ath11k_ahb_probe()
|
|
|
|
Without this patch, the IPQ5018 WiFi will fail and print the following
|
|
logs:
|
|
|
|
[ 11.033179] ath11k c000000.wifi: unsupported device type 7
|
|
[ 11.033223] ath11k: probe of c000000.wifi failed with error -95
|
|
|
|
Fixes: 25edca7bb18a ("wifi: ath11k: add ipq5018 device support")
|
|
Signed-off-by: Ziyang Huang <hzyitc@outlook.com>
|
|
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
|
|
Link: https://lore.kernel.org/r/TYZPR01MB5556D7AA10ABEDDDD2D8F39EC953A@TYZPR01MB5556.apcprd01.prod.exchangelabs.com
|
|
---
|
|
drivers/net/wireless/ath/ath11k/ahb.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/net/wireless/ath/ath11k/ahb.c
|
|
+++ b/drivers/net/wireless/ath/ath11k/ahb.c
|
|
@@ -1127,6 +1127,7 @@ static int ath11k_ahb_probe(struct platf
|
|
switch (hw_rev) {
|
|
case ATH11K_HW_IPQ8074:
|
|
case ATH11K_HW_IPQ6018_HW10:
|
|
+ case ATH11K_HW_IPQ5018_HW10:
|
|
hif_ops = &ath11k_ahb_hif_ops_ipq8074;
|
|
pci_ops = NULL;
|
|
break;
|