diff options
author | Rajkumar Manoharan <rmanohar@qca.qualcomm.com> | 2012-10-25 07:46:51 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-10-29 15:30:31 -0400 |
commit | 844648423dcf33fed96a4eb65f783f867efbe267 (patch) | |
tree | ec0066f7219ee392d5f5a865d2bfa9b4762ef5b4 /drivers | |
parent | 1680260226a8fd2aab590319da83ad8e610da9bd (diff) |
ath9k_hw: Enable hw PLL power save for AR9565
This reduced the power consumption to half in full and network sleep.
Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9003_hw.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9565_1p0_initvals.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_hw.c b/drivers/net/wireless/ath/ath9k/ar9003_hw.c index 0a6b7a3385df..0693cd95b746 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_hw.c +++ b/drivers/net/wireless/ath/ath9k/ar9003_hw.c | |||
@@ -328,9 +328,9 @@ static void ar9003_hw_init_mode_regs(struct ath_hw *ah) | |||
328 | ar9565_1p0_Modes_lowest_ob_db_tx_gain_table); | 328 | ar9565_1p0_Modes_lowest_ob_db_tx_gain_table); |
329 | 329 | ||
330 | INIT_INI_ARRAY(&ah->iniPcieSerdes, | 330 | INIT_INI_ARRAY(&ah->iniPcieSerdes, |
331 | ar9565_1p0_pciephy_pll_on_clkreq_disable_L1); | 331 | ar9565_1p0_pciephy_clkreq_disable_L1); |
332 | INIT_INI_ARRAY(&ah->iniPcieSerdesLowPower, | 332 | INIT_INI_ARRAY(&ah->iniPcieSerdesLowPower, |
333 | ar9565_1p0_pciephy_pll_on_clkreq_disable_L1); | 333 | ar9565_1p0_pciephy_clkreq_disable_L1); |
334 | 334 | ||
335 | INIT_INI_ARRAY(&ah->iniModesFastClock, | 335 | INIT_INI_ARRAY(&ah->iniModesFastClock, |
336 | ar9565_1p0_modes_fast_clock); | 336 | ar9565_1p0_modes_fast_clock); |
diff --git a/drivers/net/wireless/ath/ath9k/ar9565_1p0_initvals.h b/drivers/net/wireless/ath/ath9k/ar9565_1p0_initvals.h index 843e79f67ff2..0c2ac0c6dc89 100644 --- a/drivers/net/wireless/ath/ath9k/ar9565_1p0_initvals.h +++ b/drivers/net/wireless/ath/ath9k/ar9565_1p0_initvals.h | |||
@@ -768,9 +768,9 @@ static const u32 ar9565_1p0_Modes_lowest_ob_db_tx_gain_table[][5] = { | |||
768 | {0x00016054, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | 768 | {0x00016054, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, |
769 | }; | 769 | }; |
770 | 770 | ||
771 | static const u32 ar9565_1p0_pciephy_pll_on_clkreq_disable_L1[][2] = { | 771 | static const u32 ar9565_1p0_pciephy_clkreq_disable_L1[][2] = { |
772 | /* Addr allmodes */ | 772 | /* Addr allmodes */ |
773 | {0x00018c00, 0x18212ede}, | 773 | {0x00018c00, 0x18213ede}, |
774 | {0x00018c04, 0x000801d8}, | 774 | {0x00018c04, 0x000801d8}, |
775 | {0x00018c08, 0x0003780c}, | 775 | {0x00018c08, 0x0003780c}, |
776 | }; | 776 | }; |