diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2013-11-08 01:15:25 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-11-11 14:47:45 -0500 |
commit | 2d22c7dded7dcf6feaede2d6f476fd991426980a (patch) | |
tree | 257d30ca358b65b4d1beedeafcc7d9dcc9e6414c /drivers/net/wireless/ath/ath9k/ath9k.h | |
parent | 876efcf05c3aa582de5efefa7dd6fbb731b4d085 (diff) |
ath9k: Use correct PCIE initvals for AR9485
Currently, the PLL is turned off for AR9485 when
switching to a low power state, but AR9485 has an issue
where the card will become unresponsive if left idle
for a long time without any traffic. To fix this,
force the PLL to always be on using a different initval
array, ar9485_1_1_pll_on_cdr_on_clkreq_disable_L1.
This is done for most of the AR9485 based cards
like HB125, WB225 etc. but certain models require the
feature to be turned off. Identify such cards and use
default values for them.
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.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.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h index e7a38d844a6a..60a5da53668f 100644 --- a/drivers/net/wireless/ath/ath9k/ath9k.h +++ b/drivers/net/wireless/ath/ath9k/ath9k.h | |||
@@ -632,15 +632,16 @@ void ath_ant_comb_scan(struct ath_softc *sc, struct ath_rx_status *rs); | |||
632 | /* Main driver core */ | 632 | /* Main driver core */ |
633 | /********************/ | 633 | /********************/ |
634 | 634 | ||
635 | #define ATH9K_PCI_CUS198 0x0001 | 635 | #define ATH9K_PCI_CUS198 0x0001 |
636 | #define ATH9K_PCI_CUS230 0x0002 | 636 | #define ATH9K_PCI_CUS230 0x0002 |
637 | #define ATH9K_PCI_CUS217 0x0004 | 637 | #define ATH9K_PCI_CUS217 0x0004 |
638 | #define ATH9K_PCI_CUS252 0x0008 | 638 | #define ATH9K_PCI_CUS252 0x0008 |
639 | #define ATH9K_PCI_WOW 0x0010 | 639 | #define ATH9K_PCI_WOW 0x0010 |
640 | #define ATH9K_PCI_BT_ANT_DIV 0x0020 | 640 | #define ATH9K_PCI_BT_ANT_DIV 0x0020 |
641 | #define ATH9K_PCI_D3_L1_WAR 0x0040 | 641 | #define ATH9K_PCI_D3_L1_WAR 0x0040 |
642 | #define ATH9K_PCI_AR9565_1ANT 0x0080 | 642 | #define ATH9K_PCI_AR9565_1ANT 0x0080 |
643 | #define ATH9K_PCI_AR9565_2ANT 0x0100 | 643 | #define ATH9K_PCI_AR9565_2ANT 0x0100 |
644 | #define ATH9K_PCI_NO_PLL_PWRSAVE 0x0200 | ||
644 | 645 | ||
645 | /* | 646 | /* |
646 | * Default cache line size, in bytes. | 647 | * Default cache line size, in bytes. |