summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/reg.h
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2013-12-24 10:44:22 +0530
committerJohn W. Linville <linville@tuxdriver.com>2014-01-03 15:36:57 -0500
commita6bb860be4808d994410a0d945b351e5b56046e9 (patch)
tree8e54de3d8466adf99643e27eec60bd246b8986bd /drivers/net/wireless/ath/ath9k/reg.h
parenta7abaf7da975ecac58e22bae75605b2a1d8e7ff0 (diff)
downloadlinux-stable-a6bb860be4808d994410a0d945b351e5b56046e9.tar.gz
linux-stable-a6bb860be4808d994410a0d945b351e5b56046e9.tar.bz2
linux-stable-a6bb860be4808d994410a0d945b351e5b56046e9.zip
ath9k: Fix baseband watchdog interrupts
Program the required baseband watchdog interrupt mask to ensure that the correct watchdog interrupts are raised when the BB is hung for some reason. Also, use the capability HW_BB_WATCHDOG instead of relying on other flags. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/reg.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/reg.h b/drivers/net/wireless/ath/ath9k/reg.h
index 9ad007312c9d..c9a8b7777491 100644
--- a/drivers/net/wireless/ath/ath9k/reg.h
+++ b/drivers/net/wireless/ath/ath9k/reg.h
@@ -304,6 +304,7 @@
#define AR_IMR_S2 0x00ac
#define AR_IMR_S2_QCU_TXURN 0x000003FF
#define AR_IMR_S2_QCU_TXURN_S 0
+#define AR_IMR_S2_BB_WATCHDOG 0x00010000
#define AR_IMR_S2_CST 0x00400000
#define AR_IMR_S2_GTT 0x00800000
#define AR_IMR_S2_TIM 0x01000000