]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath10k: do not always wait for MSA_READY indicator
authorMarc Gonzalez <mgonzalez@freebox.fr>
Mon, 29 Apr 2024 14:06:29 +0000 (16:06 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 13 May 2024 14:15:48 +0000 (17:15 +0300)
commit6d67d18014a8130defbca1972d7f0e0a8f8f259e
treeb3c5586b5249e9dcce451310d4968bf8518b7a9f
parent71b6e321e30271beb08772871c4f76777f49e402
wifi: ath10k: do not always wait for MSA_READY indicator

The ath10k driver waits for an "MSA_READY" indicator
to complete initialization. If the indicator is not
received, then the device remains unusable.

Several msm8998-based devices are affected by this issue.
Oddly, it seems safe to NOT wait for the indicator, and
proceed immediately when QMI_EVENT_SERVER_ARRIVE.

fw_version 0x100204b2
fw_build_timestamp 2019-09-04 03:01
fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.1.0-01202-QCAHLSWMTPLZ-1.221523.2

Jeff Johnson wrote:

  The feedback I received was "it might be ok to change all ath10k qmi
  to skip waiting for msa_ready", and it was pointed out that ath11k
  (and ath12k) do not wait for it.

  However with so many deployed devices, "might be ok" isn't a strong
  argument for changing the default behavior.

Signed-off-by: Marc Gonzalez <mgonzalez@freebox.fr>
Reviewed-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/23540303-5816-45d5-a1af-5f09d645a73b@freebox.fr
drivers/net/wireless/ath/ath10k/qmi.c
drivers/net/wireless/ath/ath10k/qmi.h