]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: Fetch device information via QMI for WCN6750
authorManikanta Pubbisetty <quic_mpubbise@quicinc.com>
Fri, 29 Apr 2022 17:04:58 +0000 (22:34 +0530)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 2 May 2022 13:59:07 +0000 (16:59 +0300)
commite32771f70b9dc0791f4bdd45f5c803e7583497f7
tree53a91a4c8fedc29717901e18cd2a51d9995ccf73
parent0bdbb95ffc2b211884d0a0c3b7890de6a6ac40cc
ath11k: Fetch device information via QMI for WCN6750

Since WPPS Q6 does the PCIe enumeration of WCN6750, device
information like BAR and BAR size is not known to the APPS
processor (Application Processor SubSystem). In order to
fetch these details, a QMI message called device info request
will be sent to the target. Therefore, add logic to fetch
BAR details from the target.

Tested-on: WCN6750 hw1.0 AHB WLAN.MSL.1.0.1-00887-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/20220429170502.20080-6-quic_mpubbise@quicinc.com
drivers/net/wireless/ath/ath11k/qmi.c
drivers/net/wireless/ath/ath11k/qmi.h