aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.h
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-09-09 05:33:11 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-07 16:39:20 -0400
commitaf03abecd8e3646736904431f3335dad5e28cb8d (patch)
treef3522e1dac8916ec7fabcf40f5577cabac3eb43a /drivers/net/wireless/ath/ath9k/hw.h
parent2e20250a2ce1f4a7ba7c83ccb62d9b7b9b96c736 (diff)
ath9k: move hw specific btcoex info to ath_hw
Since we now access it via the ath_hw declare the ath_hw pointer at the header of some routines and se it. ath9k.h no longer needs to access btcoex.h and to adjust for this move ath_btcoex_set_weight() into btcoex.h and instead give main.c a helper for setting initial values upon drv_start() 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/hw.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index b89234571829..f2b3a601d6a9 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -27,6 +27,7 @@
27#include "calib.h" 27#include "calib.h"
28#include "reg.h" 28#include "reg.h"
29#include "phy.h" 29#include "phy.h"
30#include "btcoex.h"
30 31
31#include "../regd.h" 32#include "../regd.h"
32 33
@@ -553,6 +554,9 @@ struct ath_hw {
553 int firpwr[5]; 554 int firpwr[5];
554 enum ath9k_ani_cmd ani_function; 555 enum ath9k_ani_cmd ani_function;
555 556
557 /* Bluetooth coexistance */
558 struct ath_btcoex_info btcoex_info;
559
556 u32 intr_txqs; 560 u32 intr_txqs;
557 enum ath9k_ht_extprotspacing extprotspacing; 561 enum ath9k_ht_extprotspacing extprotspacing;
558 u8 txchainmask; 562 u8 txchainmask;
@@ -675,4 +679,7 @@ u32 ath9k_hw_gettsf32(struct ath_hw *ah);
675#define ATH_PCIE_CAP_LINK_L1 2 679#define ATH_PCIE_CAP_LINK_L1 2
676 680
677void ath_pcie_aspm_disable(struct ath_softc *sc); 681void ath_pcie_aspm_disable(struct ath_softc *sc);
682
683void ath_btcoex_timer_resume(struct ath_softc *sc);
684void ath_btcoex_timer_pause(struct ath_softc *sc);
678#endif 685#endif