summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/btcoex.h
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vasanth@atheros.com>2009-08-26 19:38:47 +0400
committerJohn W. Linville <linville@tuxdriver.com>2009-08-28 22:40:50 +0400
commit22f25d0d5e146112d4ec464564ebb49a5b8a547b (patch)
tree31145930a77a642673dcebdf1b0c3f09485fed4c /drivers/net/wireless/ath/ath9k/btcoex.h
parentf14462c6661c6b9e91d436f7ab66b35ed52ea703 (diff)
downloadlinux-22f25d0d5e146112d4ec464564ebb49a5b8a547b.tar.xz
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 c80492bac768..cdfa80d0eb4d 100644
--- a/drivers/net/wireless/ath/ath9k/btcoex.h
+++ b/drivers/net/wireless/ath/ath9k/btcoex.h
@@ -20,7 +20,14 @@
#define ATH_WLANACTIVE_GPIO 5
#define ATH_BTACTIVE_GPIO 6
+enum ath_btcoex_scheme {
+ ATH_BTCOEX_CFG_NONE,
+ ATH_BTCOEX_CFG_2WIRE,
+ ATH_BTCOEX_CFG_3WIRE,
+};
+
struct ath_btcoex_info {
+ enum ath_btcoex_scheme btcoex_scheme;
u8 wlanactive_gpio;
u8 btactive_gpio;
};