0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef AR9003_RTT_H
0018 #define AR9003_RTT_H
0019
0020 #ifdef CONFIG_ATH9K_PCOEM
0021 void ar9003_hw_rtt_enable(struct ath_hw *ah);
0022 void ar9003_hw_rtt_disable(struct ath_hw *ah);
0023 void ar9003_hw_rtt_set_mask(struct ath_hw *ah, u32 rtt_mask);
0024 bool ar9003_hw_rtt_force_restore(struct ath_hw *ah);
0025 void ar9003_hw_rtt_load_hist(struct ath_hw *ah);
0026 void ar9003_hw_rtt_fill_hist(struct ath_hw *ah);
0027 void ar9003_hw_rtt_clear_hist(struct ath_hw *ah);
0028 bool ar9003_hw_rtt_restore(struct ath_hw *ah, struct ath9k_channel *chan);
0029 #else
0030 static inline void ar9003_hw_rtt_enable(struct ath_hw *ah)
0031 {
0032 }
0033
0034 static inline void ar9003_hw_rtt_disable(struct ath_hw *ah)
0035 {
0036 }
0037
0038 static inline void ar9003_hw_rtt_set_mask(struct ath_hw *ah, u32 rtt_mask)
0039 {
0040 }
0041
0042 static inline bool ar9003_hw_rtt_force_restore(struct ath_hw *ah)
0043 {
0044 return false;
0045 }
0046
0047 static inline void ar9003_hw_rtt_load_hist(struct ath_hw *ah)
0048 {
0049 }
0050
0051 static inline void ar9003_hw_rtt_fill_hist(struct ath_hw *ah)
0052 {
0053 }
0054
0055 static inline void ar9003_hw_rtt_clear_hist(struct ath_hw *ah)
0056 {
0057 }
0058
0059 static inline bool ar9003_hw_rtt_restore(struct ath_hw *ah, struct ath9k_channel *chan)
0060 {
0061 return false;
0062 }
0063 #endif
0064
0065 #endif