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-commands.h | |
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-commands.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-commands.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h index f9e7fa4b532c..c9448cba1e20 100644 --- a/drivers/net/wireless/iwlwifi/iwl-commands.h +++ b/drivers/net/wireless/iwlwifi/iwl-commands.h | |||
@@ -2668,6 +2668,8 @@ struct iwl_spectrum_notification { | |||
2668 | #define IWL_POWER_VEC_SIZE 5 | 2668 | #define IWL_POWER_VEC_SIZE 5 |
2669 | 2669 | ||
2670 | #define IWL_POWER_DRIVER_ALLOW_SLEEP_MSK cpu_to_le16(BIT(0)) | 2670 | #define IWL_POWER_DRIVER_ALLOW_SLEEP_MSK cpu_to_le16(BIT(0)) |
2671 | #define IWL_POWER_POWER_SAVE_ENA_MSK cpu_to_le16(BIT(0)) | ||
2672 | #define IWL_POWER_POWER_MANAGEMENT_ENA_MSK cpu_to_le16(BIT(1)) | ||
2671 | #define IWL_POWER_SLEEP_OVER_DTIM_MSK cpu_to_le16(BIT(2)) | 2673 | #define IWL_POWER_SLEEP_OVER_DTIM_MSK cpu_to_le16(BIT(2)) |
2672 | #define IWL_POWER_PCI_PM_MSK cpu_to_le16(BIT(3)) | 2674 | #define IWL_POWER_PCI_PM_MSK cpu_to_le16(BIT(3)) |
2673 | #define IWL_POWER_FAST_PD cpu_to_le16(BIT(4)) | 2675 | #define IWL_POWER_FAST_PD cpu_to_le16(BIT(4)) |
@@ -2675,7 +2677,7 @@ struct iwl_spectrum_notification { | |||
2675 | #define IWL_POWER_SHADOW_REG_ENA cpu_to_le16(BIT(6)) | 2677 | #define IWL_POWER_SHADOW_REG_ENA cpu_to_le16(BIT(6)) |
2676 | #define IWL_POWER_CT_KILL_SET cpu_to_le16(BIT(7)) | 2678 | #define IWL_POWER_CT_KILL_SET cpu_to_le16(BIT(7)) |
2677 | #define IWL_POWER_BT_SCO_ENA cpu_to_le16(BIT(8)) | 2679 | #define IWL_POWER_BT_SCO_ENA cpu_to_le16(BIT(8)) |
2678 | #define IWL_POWER_ADVANCE_PM_ENA cpu_to_le16(BIT(9)) | 2680 | #define IWL_POWER_ADVANCE_PM_ENA_MSK cpu_to_le16(BIT(9)) |
2679 | 2681 | ||
2680 | struct iwl3945_powertable_cmd { | 2682 | struct iwl3945_powertable_cmd { |
2681 | __le16 flags; | 2683 | __le16 flags; |