2023-06-07 17:33:57

by Ziyang Huang

[permalink] [raw]
Subject: [PATCH 1/3] 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 <[email protected]>
---
drivers/net/wireless/ath/ath11k/ahb.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/ath/ath11k/ahb.c b/drivers/net/wireless/ath/ath11k/ahb.c
index 5cbba9a8b6ba..396548e57022 100644
--- 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 platform_device *pdev)
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;
--
2.25.1



2023-06-16 16:09:02

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH 1/3] wifi: ath11k: Add missing ops config for IPQ5018 in ath11k_ahb_probe()

Ziyang Huang <[email protected]> wrote:

> 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 <[email protected]>
> Signed-off-by: Kalle Valo <[email protected]>

3 patches applied to ath-next branch of ath.git, thanks.

469ddb20cae6 wifi: ath11k: Add missing ops config for IPQ5018 in ath11k_ahb_probe()
80c5390e1f5e wifi: ath11k: Restart firmware after cold boot calibration for IPQ5018
ce282d8de71f wifi: ath11k: Add missing hw_ops->get_ring_selector() for IPQ5018

--
https://patchwork.kernel.org/project/linux-wireless/patch/TYZPR01MB5556D7AA10ABEDDDD2D8F39EC953A@TYZPR01MB5556.apcprd01.prod.exchangelabs.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches