summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.h
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vasanth@atheros.com>2009-09-07 17:46:49 +0530
committerJohn W. Linville <linville@tuxdriver.com>2009-09-09 11:18:57 -0400
commit7b6840ab5f836a18c4ea98173f73c8d046930efb (patch)
tree61533a306fddb70e61cae6f37d5fb57973e59516 /drivers/net/wireless/ath/ath9k/hw.h
parent72c706b775777e8ae546756a5d07ffda4a05ed7b (diff)
downloadblackbird-op-linux-7b6840ab5f836a18c4ea98173f73c8d046930efb.tar.gz
blackbird-op-linux-7b6840ab5f836a18c4ea98173f73c8d046930efb.zip
ath9k: Disable ASPM when btcoex is active
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/hw.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index 5ca6ffa70912..a592f1a46ecd 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -665,4 +665,9 @@ void ath_gen_timer_free(struct ath_hw *ah, struct ath_gen_timer *timer);
void ath_gen_timer_isr(struct ath_hw *hw);
u32 ath9k_hw_gettsf32(struct ath_hw *ah);
+#define ATH_PCIE_CAP_LINK_CTRL 0x70
+#define ATH_PCIE_CAP_LINK_L0S 1
+#define ATH_PCIE_CAP_LINK_L1 2
+
+void ath_pcie_aspm_disable(struct ath_softc *sc);
#endif
OpenPOWER on IntegriCloud