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)
commit676f8905fff904ea3e4ee52086a18ab54912b410
tree53a91a4c8fedc29717901e18cd2a51d9995ccf73
parent56c8ccf331bd2ebf8b85f70efb4844803ef3f768
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