kernel_samsung_a53x/drivers/net/wireless/ath
Baochen Qiang 926ab6f838 wifi: ath10k: poll service ready message before failing
[ Upstream commit e57b7d62a1b2f496caf0beba81cec3c90fad80d5 ]

Currently host relies on CE interrupts to get notified that
the service ready message is ready. This results in timeout
issue if the interrupt is not fired, due to some unknown
reasons. See below logs:

[76321.937866] ath10k_pci 0000:02:00.0: wmi service ready event not received
...
[76322.016738] ath10k_pci 0000:02:00.0: Could not init core: -110

And finally it causes WLAN interface bring up failure.

Change to give it one more chance here by polling CE rings,
before failing directly.

Tested-on: QCA6174 hw3.2 PCI WLAN.RM.4.4.1-00157-QCARMSWPZ-1

Fixes: 5e3dd157d7e7 ("ath10k: mac80211 driver for Qualcomm Atheros 802.11ac CQA98xx devices")
Reported-by: James Prestwood <prestwoj@gmail.com>
Tested-By: James Prestwood <prestwoj@gmail.com> # on QCA6174 hw3.2
Link: https://lore.kernel.org/linux-wireless/304ce305-fbe6-420e-ac2a-d61ae5e6ca1a@gmail.com/
Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240227030409.89702-1-quic_bqiang@quicinc.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:26:53 +01:00
..
ar5523 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ath5k Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ath6kl Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ath9k wifi: ath9k: fix LNA selection in ath_ant_try_scan() 2024-11-19 09:23:11 +01:00
ath10k wifi: ath10k: poll service ready message before failing 2024-11-19 12:26:53 +01:00
ath11k wifi: ath11k: Defer on rproc_get failure 2024-11-18 12:12:28 +01:00
carl9170 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wcn36xx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wil6210 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ath.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debug.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dfs_pattern_detector.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dfs_pattern_detector.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dfs_pri_detector.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dfs_pri_detector.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
key.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
main.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
reg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regd_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spectral_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00