ath11k: configure copy engine msi address in CE srng
authorGovind Singh <govinds@codeaurora.org>
Fri, 14 Aug 2020 07:10:24 +0000 (10:10 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 17 Aug 2020 10:18:21 +0000 (13:18 +0300)
commitc4eacabee22415194e8cc7e8dd4913897b058927
treef1021ad37142c7150172b1e47fa48f0c4472b81f
parent654e959ae0a19b90045d0e4d90a602ae2828a855
ath11k: configure copy engine msi address in CE srng

Fill msi base address and msi data to be programmed in CE srang.
This is used by the srng to generate the msi interrupt.

Needed for PCI support.

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/1597389030-13887-6-git-send-email-kvalo@codeaurora.org
drivers/net/wireless/ath/ath11k/ce.c
drivers/net/wireless/ath/ath11k/hal.h
drivers/net/wireless/ath/ath11k/hif.h
drivers/net/wireless/ath/ath11k/pci.c