aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/btcoex.h
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vasanth@atheros.com>2009-08-26 11:38:47 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-08-28 14:40:50 -0400
commit22f25d0d5e146112d4ec464564ebb49a5b8a547b (patch)
tree31145930a77a642673dcebdf1b0c3f09485fed4c /drivers/net/wireless/ath/ath9k/btcoex.h
parentf14462c6661c6b9e91d436f7ab66b35ed52ea703 (diff)
ath9k: Determine btcoex scheme type based on chip version
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/btcoex.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/btcoex.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/btcoex.h b/drivers/net/wireless/ath/ath9k/btcoex.h
index c80492bac76..cdfa80d0eb4 100644
--- a/drivers/net/wireless/ath/ath9k/btcoex.h
+++ b/drivers/net/wireless/ath/ath9k/btcoex.h
@@ -20,7 +20,14 @@
20#define ATH_WLANACTIVE_GPIO 5 20#define ATH_WLANACTIVE_GPIO 5
21#define ATH_BTACTIVE_GPIO 6 21#define ATH_BTACTIVE_GPIO 6
22 22
23enum ath_btcoex_scheme {
24 ATH_BTCOEX_CFG_NONE,
25 ATH_BTCOEX_CFG_2WIRE,
26 ATH_BTCOEX_CFG_3WIRE,
27};
28
23struct ath_btcoex_info { 29struct ath_btcoex_info {
30 enum ath_btcoex_scheme btcoex_scheme;
24 u8 wlanactive_gpio; 31 u8 wlanactive_gpio;
25 u8 btactive_gpio; 32 u8 btactive_gpio;
26}; 33};