diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw-ops.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw-ops.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw-ops.h b/drivers/net/wireless/ath/ath9k/hw-ops.h index 83f4927aeaca..4f9378ddf07f 100644 --- a/drivers/net/wireless/ath/ath9k/hw-ops.h +++ b/drivers/net/wireless/ath/ath9k/hw-ops.h | |||
@@ -78,6 +78,22 @@ static inline void ath9k_hw_antdiv_comb_conf_set(struct ath_hw *ah, | |||
78 | ath9k_hw_ops(ah)->antdiv_comb_conf_set(ah, antconf); | 78 | ath9k_hw_ops(ah)->antdiv_comb_conf_set(ah, antconf); |
79 | } | 79 | } |
80 | 80 | ||
81 | static inline void ath9k_hw_tx99_start(struct ath_hw *ah, u32 qnum) | ||
82 | { | ||
83 | ath9k_hw_ops(ah)->tx99_start(ah, qnum); | ||
84 | } | ||
85 | |||
86 | static inline void ath9k_hw_tx99_stop(struct ath_hw *ah) | ||
87 | { | ||
88 | ath9k_hw_ops(ah)->tx99_stop(ah); | ||
89 | } | ||
90 | |||
91 | static inline void ath9k_hw_tx99_set_txpower(struct ath_hw *ah, u8 power) | ||
92 | { | ||
93 | if (ath9k_hw_ops(ah)->tx99_set_txpower) | ||
94 | ath9k_hw_ops(ah)->tx99_set_txpower(ah, power); | ||
95 | } | ||
96 | |||
81 | #ifdef CONFIG_ATH9K_BTCOEX_SUPPORT | 97 | #ifdef CONFIG_ATH9K_BTCOEX_SUPPORT |
82 | 98 | ||
83 | static inline void ath9k_hw_set_bt_ant_diversity(struct ath_hw *ah, bool enable) | 99 | static inline void ath9k_hw_set_bt_ant_diversity(struct ath_hw *ah, bool enable) |