diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2013-12-24 00:14:19 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-01-03 15:36:57 -0500 |
commit | 990de2b2e48ac377fb40842a9b04fd940ba78e1b (patch) | |
tree | 61c8d466c704157aaa1d082c7bacac7b1409a6fa /drivers/net/wireless/ath/ath9k/hw-ops.h | |
parent | 4598702d1b3e0b6aa6694f4c786313a999afbdc9 (diff) |
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-ops.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw-ops.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw-ops.h b/drivers/net/wireless/ath/ath9k/hw-ops.h index bd95eae37d90..0b2550a91c7c 100644 --- a/drivers/net/wireless/ath/ath9k/hw-ops.h +++ b/drivers/net/wireless/ath/ath9k/hw-ops.h | |||
@@ -112,6 +112,16 @@ static inline void ath9k_hw_init_hang_checks(struct ath_hw *ah) | |||
112 | ath9k_hw_private_ops(ah)->init_hang_checks(ah); | 112 | ath9k_hw_private_ops(ah)->init_hang_checks(ah); |
113 | } | 113 | } |
114 | 114 | ||
115 | static inline bool ath9k_hw_detect_mac_hang(struct ath_hw *ah) | ||
116 | { | ||
117 | return ath9k_hw_private_ops(ah)->detect_mac_hang(ah); | ||
118 | } | ||
119 | |||
120 | static inline bool ath9k_hw_detect_bb_hang(struct ath_hw *ah) | ||
121 | { | ||
122 | return ath9k_hw_private_ops(ah)->detect_bb_hang(ah); | ||
123 | } | ||
124 | |||
115 | /* PHY ops */ | 125 | /* PHY ops */ |
116 | 126 | ||
117 | static inline int ath9k_hw_rf_set_freq(struct ath_hw *ah, | 127 | static inline int ath9k_hw_rf_set_freq(struct ath_hw *ah, |