summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ath9k.h
diff options
context:
space:
mode:
authorLuis R. Rodriguez2009-09-09 10:18:09 +0200
committerJohn W. Linville2009-10-07 22:39:20 +0200
commit2e20250a2ce1f4a7ba7c83ccb62d9b7b9b96c736 (patch)
treef359dee35712538c6640fd0d1a559419315bbc24 /drivers/net/wireless/ath/ath9k/ath9k.h
parentath9k: use ath_hw for DPRINTF() and debug init/exit (diff)
downloadkernel-qcow2-linux-2e20250a2ce1f4a7ba7c83ccb62d9b7b9b96c736.tar.gz
kernel-qcow2-linux-2e20250a2ce1f4a7ba7c83ccb62d9b7b9b96c736.tar.xz
kernel-qcow2-linux-2e20250a2ce1f4a7ba7c83ccb62d9b7b9b96c736.zip
ath9k: move btcoex core driver info to its own struct
There is some bluetooth coexistance data which is driver specific, stuff that into its own structure. Cc: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/ath9k.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index 1d59f10f68da..831874c621ec 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -451,6 +451,16 @@ struct ath_ani {
struct timer_list timer;
};
+struct ath_btcoex {
+ bool hw_timer_enabled;
+ spinlock_t btcoex_lock;
+ struct timer_list period_timer; /* Timer for BT period */
+ u32 bt_priority_cnt;
+ unsigned long bt_priority_time;
+ u32 btcoex_no_stomp; /* in usec */
+ u32 btcoex_period; /* in usec */
+};
+
/********************/
/* LED Control */
/********************/
@@ -613,6 +623,7 @@ struct ath_softc {
struct ath_beacon_config cur_beacon_conf;
struct delayed_work tx_complete_work;
struct ath_btcoex_info btcoex_info;
+ struct ath_btcoex btcoex;
};
struct ath_wiphy {