summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/hw.h
diff options
context:
space:
mode:
authorRakesh Pillai <pillair@codeaurora.org>2018-04-10 18:01:32 +0300
committerKalle Valo <kvalo@codeaurora.org>2018-04-19 18:52:57 +0300
commitea66b12e63ac62de19685c6900903d22e2680be6 (patch)
tree9aaa62d8a84f36306014cea9db6c9159884aa19f /drivers/net/wireless/ath/ath10k/hw.h
parent140d1214ef555bcb14c7720e91d8a9594e4ab506 (diff)
downloadlinux-ea66b12e63ac62de19685c6900903d22e2680be6.tar.bz2
ath10k: check all CE for data if irq summary is not retained
WCN3990 has interrupts per CE and the interrupt summary is not retained after the interrupt handler has finished execution. We need to check if we received any ce in rx and tx completion path. Generate a interrupt summary with all CE interrupts if the target does not retain interrupt summary after the execution of interrupt handler. Signed-off-by: Rakesh Pillai <pillair@codeaurora.org> Signed-off-by: Govind Singh <govinds@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/hw.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/hw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/hw.h b/drivers/net/wireless/ath/ath10k/hw.h
index 413b1b4321f7..3041eba61e54 100644
--- a/drivers/net/wireless/ath/ath10k/hw.h
+++ b/drivers/net/wireless/ath/ath10k/hw.h
@@ -568,6 +568,9 @@ struct ath10k_hw_params {
/* Target rx ring fill level */
u32 rx_ring_fill_level;
+
+ /* target supporting per ce IRQ */
+ bool per_ce_irq;
};
struct htt_rx_desc;