diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-11-23 13:58:56 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-24 16:19:37 -0500 |
commit | 35162ba75900209755628ccf7357763797037ba6 (patch) | |
tree | efbe6afc4cf985565fd22333418d29cdc91dcbd4 /drivers/net/wireless/iwlwifi/iwl-6000.c | |
parent | 1f37daf3233ccda5072f715d6c322d84833cdd92 (diff) |
iwlwifi: advance power management support
For 6000g2b and up, adding advance power management support
for better power consumption
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-6000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-6000.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-6000.c b/drivers/net/wireless/iwlwifi/iwl-6000.c index f650282a3ad3..93e3fe92f389 100644 --- a/drivers/net/wireless/iwlwifi/iwl-6000.c +++ b/drivers/net/wireless/iwlwifi/iwl-6000.c | |||
@@ -621,6 +621,7 @@ struct iwl_cfg iwl6000g2b_2agn_cfg = { | |||
621 | .need_dc_calib = true, | 621 | .need_dc_calib = true, |
622 | .need_temp_offset_calib = true, | 622 | .need_temp_offset_calib = true, |
623 | .led_mode = IWL_LED_RF_STATE, | 623 | .led_mode = IWL_LED_RF_STATE, |
624 | .adv_pm = true, | ||
624 | /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */ | 625 | /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */ |
625 | .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A, | 626 | .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A, |
626 | }; | 627 | }; |
@@ -641,6 +642,7 @@ struct iwl_cfg iwl6000g2b_2abg_cfg = { | |||
641 | .need_dc_calib = true, | 642 | .need_dc_calib = true, |
642 | .need_temp_offset_calib = true, | 643 | .need_temp_offset_calib = true, |
643 | .led_mode = IWL_LED_RF_STATE, | 644 | .led_mode = IWL_LED_RF_STATE, |
645 | .adv_pm = true, | ||
644 | /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */ | 646 | /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */ |
645 | .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A, | 647 | .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A, |
646 | }; | 648 | }; |
@@ -662,6 +664,7 @@ struct iwl_cfg iwl6000g2b_2bgn_cfg = { | |||
662 | .need_dc_calib = true, | 664 | .need_dc_calib = true, |
663 | .need_temp_offset_calib = true, | 665 | .need_temp_offset_calib = true, |
664 | .led_mode = IWL_LED_RF_STATE, | 666 | .led_mode = IWL_LED_RF_STATE, |
667 | .adv_pm = true, | ||
665 | /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */ | 668 | /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */ |
666 | .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A, | 669 | .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A, |
667 | }; | 670 | }; |
@@ -682,6 +685,7 @@ struct iwl_cfg iwl6000g2b_2bg_cfg = { | |||
682 | .need_dc_calib = true, | 685 | .need_dc_calib = true, |
683 | .need_temp_offset_calib = true, | 686 | .need_temp_offset_calib = true, |
684 | .led_mode = IWL_LED_RF_STATE, | 687 | .led_mode = IWL_LED_RF_STATE, |
688 | .adv_pm = true, | ||
685 | /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */ | 689 | /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */ |
686 | .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A, | 690 | .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A, |
687 | }; | 691 | }; |
@@ -703,6 +707,7 @@ struct iwl_cfg iwl6000g2b_bgn_cfg = { | |||
703 | .need_dc_calib = true, | 707 | .need_dc_calib = true, |
704 | .need_temp_offset_calib = true, | 708 | .need_temp_offset_calib = true, |
705 | .led_mode = IWL_LED_RF_STATE, | 709 | .led_mode = IWL_LED_RF_STATE, |
710 | .adv_pm = true, | ||
706 | /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */ | 711 | /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */ |
707 | .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A, | 712 | .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A, |
708 | }; | 713 | }; |
@@ -723,6 +728,7 @@ struct iwl_cfg iwl6000g2b_bg_cfg = { | |||
723 | .need_dc_calib = true, | 728 | .need_dc_calib = true, |
724 | .need_temp_offset_calib = true, | 729 | .need_temp_offset_calib = true, |
725 | .led_mode = IWL_LED_RF_STATE, | 730 | .led_mode = IWL_LED_RF_STATE, |
731 | .adv_pm = true, | ||
726 | /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */ | 732 | /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */ |
727 | .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A, | 733 | .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A, |
728 | }; | 734 | }; |
@@ -862,6 +868,7 @@ struct iwl_cfg iwl130_bgn_cfg = { | |||
862 | .ht_params = &iwl6000_ht_params, | 868 | .ht_params = &iwl6000_ht_params, |
863 | .need_dc_calib = true, | 869 | .need_dc_calib = true, |
864 | .led_mode = IWL_LED_RF_STATE, | 870 | .led_mode = IWL_LED_RF_STATE, |
871 | .adv_pm = true, | ||
865 | /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */ | 872 | /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */ |
866 | .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A, | 873 | .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A, |
867 | }; | 874 | }; |
@@ -881,6 +888,7 @@ struct iwl_cfg iwl130_bg_cfg = { | |||
881 | .bt_params = &iwl6000_bt_params, | 888 | .bt_params = &iwl6000_bt_params, |
882 | .need_dc_calib = true, | 889 | .need_dc_calib = true, |
883 | .led_mode = IWL_LED_RF_STATE, | 890 | .led_mode = IWL_LED_RF_STATE, |
891 | .adv_pm = true, | ||
884 | /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */ | 892 | /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */ |
885 | .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A, | 893 | .scan_tx_antennas[IEEE80211_BAND_2GHZ] = ANT_A, |
886 | }; | 894 | }; |