summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/hw.h
diff options
context:
space:
mode:
authorRakesh Pillai <pillair@codeaurora.org>2018-04-10 17:01:32 +0200
committerKalle Valo <kvalo@codeaurora.org>2018-04-19 17:52:57 +0200
commitea66b12e63ac62de19685c6900903d22e2680be6 (patch)
tree9aaa62d8a84f36306014cea9db6c9159884aa19f /drivers/net/wireless/ath/ath10k/hw.h
parentath10k: add support to get target info from hif ops (diff)
downloadlinux-ea66b12e63ac62de19685c6900903d22e2680be6.tar.xz
linux-ea66b12e63ac62de19685c6900903d22e2680be6.zip
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;