ath11k: Update WBM idle ring HP after FW mode on
authorManikanta Pubbisetty <quic_mpubbise@quicinc.com>
Wed, 6 Apr 2022 09:41:05 +0000 (15:11 +0530)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 27 Apr 2022 07:25:59 +0000 (10:25 +0300)
commit33b67a4b4e64275b6f2cbc4318f1596c70659111
tree1e367bfed60b8890293d7dc8be90c0110f2354f0
parent95959d702ede5fffd1abfcfa739b5179828cfe24
ath11k: Update WBM idle ring HP after FW mode on

Currently, WBM idle ring HP is updated much before the shadow
configuration is sent to the FW. Any update to the shadow
registers before FW mode on request would not be reflected
on to the actual HW registers failing to bring up the device.
Send FW mode ON QMI request before WBM idle ring HP update
to fix this problem.

Tested-on: WCN6750 hw1.0 AHB WLAN.MSL.1.0.1-00573-QCAMSLSWPLZ-1
Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-01720.1-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1
Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.5.0.1-01100-QCAHKSWPL_SILICONZ-1
Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1-00192-QCAHKSWPL_SILICONZ-1

Signed-off-by: Manikanta Pubbisetty <quic_mpubbise@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220406094107.17878-12-quic_mpubbise@quicinc.com
drivers/net/wireless/ath/ath11k/ce.c
drivers/net/wireless/ath/ath11k/core.c