summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/hw.h
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2013-12-24 05:14:19 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2014-01-03 20:36:57 (GMT)
commit990de2b2e48ac377fb40842a9b04fd940ba78e1b (patch)
tree61c8d466c704157aaa1d082c7bacac7b1409a6fa /drivers/net/wireless/ath/ath9k/hw.h
parent4598702d1b3e0b6aa6694f4c786313a999afbdc9 (diff)
downloadlinux-990de2b2e48ac377fb40842a9b04fd940ba78e1b.tar.xz
ath9k: Add HW callbacks for MAC/BB hang checks
This is required for adding separate hang check routines for AR9002 and AR9003. 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/hw.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index 0a3cfc5..cb930d6 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -585,6 +585,9 @@ struct ath_hw_radar_conf {
*/
struct ath_hw_private_ops {
void (*init_hang_checks)(struct ath_hw *ah);
+ bool (*detect_mac_hang)(struct ath_hw *ah);
+ bool (*detect_bb_hang)(struct ath_hw *ah);
+
/* Calibration ops */
void (*init_cal_settings)(struct ath_hw *ah);
bool (*init_cal)(struct ath_hw *ah, struct ath9k_channel *chan);