[PATCH ath-current v2 0/3] wifi: ath11k: fix QRTR readiness related WLAN initialization failures

Miaoqing Pan posted 3 patches 1 month, 3 weeks ago
drivers/net/wireless/ath/ath11k/Kconfig | 3 +++
drivers/net/wireless/ath/ath11k/ahb.c   | 7 +++++--
2 files changed, 8 insertions(+), 2 deletions(-)
[PATCH ath-current v2 0/3] wifi: ath11k: fix QRTR readiness related WLAN initialization failures
Posted by Miaoqing Pan 1 month, 3 weeks ago
On WCN6750 platforms, QRTR SMD may not be available when ath11k starts
during boot. If QMI messages never arrive, WLAN initialization can stall,
leaving firmware running but no wireless interface created.

It also hardens the cleanup path to avoid crashes when deinitializing
partially initialized devices after QMI setup failures.

---
v2: Replace the ATH11K_FLAG_QMI_FAIL guard with !ATH11K_FLAG_REGISTERED.
---
Miaoqing Pan (3):
  wifi: ath11k: fix sporadic WLAN initialization failures
  wifi: ath11k: fix NULL dereference in ahb remove when QMI init
    incomplete
  wifi: ath11k: unregister PM notifier on QMI init failure path

 drivers/net/wireless/ath/ath11k/Kconfig | 3 +++
 drivers/net/wireless/ath/ath11k/ahb.c   | 7 +++++--
 2 files changed, 8 insertions(+), 2 deletions(-)


base-commit: 0ece44d394570806e97c8471a50dc9f584516ef6
-- 
2.34.1
Re: [PATCH ath-current v2 0/3] wifi: ath11k: fix QRTR readiness related WLAN initialization failures
Posted by Jeff Johnson 4 weeks ago
On Thu, 06 Aug 2026 18:13:28 +0800, Miaoqing Pan wrote:
> On WCN6750 platforms, QRTR SMD may not be available when ath11k starts
> during boot. If QMI messages never arrive, WLAN initialization can stall,
> leaving firmware running but no wireless interface created.
> 
> It also hardens the cleanup path to avoid crashes when deinitializing
> partially initialized devices after QMI setup failures.
> 
> [...]

Applied, thanks!

[1/3] wifi: ath11k: fix sporadic WLAN initialization failures
      commit: 32ec8488d75d122768b1977501bcb5ec799230c4
[2/3] wifi: ath11k: fix NULL dereference in ahb remove when QMI init incomplete
      commit: 1a7bcf5324c8e2de6512eca5b028b6b283181d3f
[3/3] wifi: ath11k: unregister PM notifier on QMI init failure path
      commit: 1d8e73163ef933624341075f576e2f36ef9133f7

Best regards,
-- 
Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Re: [PATCH ath-current v2 0/3] wifi: ath11k: fix QRTR readiness related WLAN initialization failures
Posted by Baochen Qiang 1 month ago

On 8/6/2026 6:13 PM, Miaoqing Pan wrote:
> On WCN6750 platforms, QRTR SMD may not be available when ath11k starts
> during boot. If QMI messages never arrive, WLAN initialization can stall,
> leaving firmware running but no wireless interface created.
> 
> It also hardens the cleanup path to avoid crashes when deinitializing
> partially initialized devices after QMI setup failures.
> 
> ---
> v2: Replace the ATH11K_FLAG_QMI_FAIL guard with !ATH11K_FLAG_REGISTERED.
> ---
> Miaoqing Pan (3):
>   wifi: ath11k: fix sporadic WLAN initialization failures
>   wifi: ath11k: fix NULL dereference in ahb remove when QMI init
>     incomplete
>   wifi: ath11k: unregister PM notifier on QMI init failure path
> 
>  drivers/net/wireless/ath/ath11k/Kconfig | 3 +++
>  drivers/net/wireless/ath/ath11k/ahb.c   | 7 +++++--
>  2 files changed, 8 insertions(+), 2 deletions(-)
> 
> 
> base-commit: 0ece44d394570806e97c8471a50dc9f584516ef6

Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Re: [PATCH ath-current v2 0/3] wifi: ath11k: fix QRTR readiness related WLAN initialization failures
Posted by Rameshkumar Sundaram 1 month, 3 weeks ago
On 8/6/2026 3:43 PM, Miaoqing Pan wrote:
> On WCN6750 platforms, QRTR SMD may not be available when ath11k starts
> during boot. If QMI messages never arrive, WLAN initialization can stall,
> leaving firmware running but no wireless interface created.
> 
> It also hardens the cleanup path to avoid crashes when deinitializing
> partially initialized devices after QMI setup failures.
> 
> ---
> v2: Replace the ATH11K_FLAG_QMI_FAIL guard with !ATH11K_FLAG_REGISTERED.
> ---
> Miaoqing Pan (3):
>    wifi: ath11k: fix sporadic WLAN initialization failures
>    wifi: ath11k: fix NULL dereference in ahb remove when QMI init
>      incomplete
>    wifi: ath11k: unregister PM notifier on QMI init failure path
> 
>   drivers/net/wireless/ath/ath11k/Kconfig | 3 +++
>   drivers/net/wireless/ath/ath11k/ahb.c   | 7 +++++--
>   2 files changed, 8 insertions(+), 2 deletions(-)
> 
> 
> base-commit: 0ece44d394570806e97c8471a50dc9f584516ef6

Reviewed-by: Rameshkumar Sundaram <rameshkumar.sundaram@oss.qualcomm.com>