ath11k: add CE interrupt support for QCN9074
authorKarthikeyan Periyasamy <periyasa@codeaurora.org>
Tue, 16 Feb 2021 07:16:23 +0000 (09:16 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 17 Feb 2021 09:32:58 +0000 (11:32 +0200)
commit6289ac2b7182d418ee68e5c0f3f83d383d7a72ed
tree041baa63c8f5bae08e14e032ff5bbcd3e8630a49
parente678fbd401b9bdca9d1bd64065abfcc87ae66b94
ath11k: add CE interrupt support for QCN9074

Define host CE configuration for QCN9074 since the max CE count is six.
Available MSI interrupt is five so cannot able to map the ce_id directly
for the msi_data_idx. Added get_ce_msi_idx ops in ath11k_hif_ops to get
the CE MSI idx which is used to initialize the CE ring.

Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.4.0.1.r2-00012-QCAHKSWPL_SILICONZ-1

Signed-off-by: Karthikeyan Periyasamy <periyasa@codeaurora.org>
Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1612946530-28504-10-git-send-email-akolli@codeaurora.org
drivers/net/wireless/ath/ath11k/ce.c
drivers/net/wireless/ath/ath11k/ce.h
drivers/net/wireless/ath/ath11k/core.c
drivers/net/wireless/ath/ath11k/core.h
drivers/net/wireless/ath/ath11k/hif.h
drivers/net/wireless/ath/ath11k/hw.c
drivers/net/wireless/ath/ath11k/pci.c