aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index 615cc839f0de..48205c2960b5 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -209,7 +209,11 @@ enum ath9k_hw_caps {
209 ATH9K_HW_CAP_5GHZ = BIT(12), 209 ATH9K_HW_CAP_5GHZ = BIT(12),
210 ATH9K_HW_CAP_APM = BIT(13), 210 ATH9K_HW_CAP_APM = BIT(13),
211 ATH9K_HW_CAP_RTT = BIT(14), 211 ATH9K_HW_CAP_RTT = BIT(14),
212#ifdef CONFIG_ATH9K_BTCOEX_SUPPORT
212 ATH9K_HW_CAP_MCI = BIT(15), 213 ATH9K_HW_CAP_MCI = BIT(15),
214#else
215 ATH9K_HW_CAP_MCI = 0,
216#endif
213 ATH9K_HW_CAP_DFS = BIT(16), 217 ATH9K_HW_CAP_DFS = BIT(16),
214}; 218};
215 219
@@ -1228,6 +1232,16 @@ void ar9003_mci_sync_bt_state(struct ath_hw *ah);
1228void ar9003_mci_get_interrupt(struct ath_hw *ah, u32 *raw_intr, 1232void ar9003_mci_get_interrupt(struct ath_hw *ah, u32 *raw_intr,
1229 u32 *rx_msg_intr); 1233 u32 *rx_msg_intr);
1230 1234
1235#ifdef CONFIG_ATH9K_BTCOEX_SUPPORT
1236static inline enum ath_btcoex_scheme
1237ath9k_hw_get_btcoex_scheme(struct ath_hw *ah)
1238{
1239 return ah->btcoex_hw.scheme;
1240}
1241#else
1242#define ath9k_hw_get_btcoex_scheme(...) ATH_BTCOEX_CFG_NONE
1243#endif
1244
1231#define ATH9K_CLOCK_RATE_CCK 22 1245#define ATH9K_CLOCK_RATE_CCK 22
1232#define ATH9K_CLOCK_RATE_5GHZ_OFDM 40 1246#define ATH9K_CLOCK_RATE_5GHZ_OFDM 40
1233#define ATH9K_CLOCK_RATE_2GHZ_OFDM 44 1247#define ATH9K_CLOCK_RATE_2GHZ_OFDM 44