ath11k: pci: add MSI config initialisation
authorGovind Singh <govinds@codeaurora.org>
Thu, 13 Aug 2020 09:04:22 +0000 (12:04 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 17 Aug 2020 10:07:06 +0000 (13:07 +0300)
commit5697a564d369412ca988696f43dacad59b5f7efb
treeab9459e52ecafd5ff2a2e9cabbbc5c95acb548c2
parent5762613ededb20f1893abf6aeda2d4091dd4178b
ath11k: pci: add MSI config initialisation

QCA6390 uses PCI MSI for CE/MHI/DP interrupt.  Add MSI vector mapping and MSI
enable/disable operations.

Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1
Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.1.0.1-01238-QCAHKSWPL_SILICONZ-2

Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1597309466-19688-7-git-send-email-kvalo@codeaurora.org
drivers/net/wireless/ath/ath11k/debug.h
drivers/net/wireless/ath/ath11k/pci.c
drivers/net/wireless/ath/ath11k/pci.h