diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2009-11-20 15:04:55 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-23 17:05:32 -0500 |
commit | c15d20c1d19616f73b6fee4befd254d0c37b4d87 (patch) | |
tree | b16523ddd960392e3aab3e01241e4d222fb7c7a1 /drivers/net/wireless/iwlwifi/iwl-6000.c | |
parent | d5f4cf71f7b70e13f96cc8aac65b390707d5d80b (diff) |
iwlwifi: set sm_ps_mode as part of cfg parameters
Setting "Spatial multiplexing Power Save" as part of
per device configuration parameter.
Report to uCode based on priv->conf setting, so driver can
have more control of how different devices should operate
in power save mode.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@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 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-6000.c b/drivers/net/wireless/iwlwifi/iwl-6000.c index 4ab9897f4fe1..74e571049273 100644 --- a/drivers/net/wireless/iwlwifi/iwl-6000.c +++ b/drivers/net/wireless/iwlwifi/iwl-6000.c | |||
@@ -306,6 +306,7 @@ struct iwl_cfg iwl6000i_2agn_cfg = { | |||
306 | .supports_idle = true, | 306 | .supports_idle = true, |
307 | .adv_thermal_throttle = true, | 307 | .adv_thermal_throttle = true, |
308 | .support_ct_kill_exit = true, | 308 | .support_ct_kill_exit = true, |
309 | .sm_ps_mode = WLAN_HT_CAP_SM_PS_DISABLED, | ||
309 | }; | 310 | }; |
310 | 311 | ||
311 | struct iwl_cfg iwl6000i_2abg_cfg = { | 312 | struct iwl_cfg iwl6000i_2abg_cfg = { |
@@ -394,7 +395,7 @@ struct iwl_cfg iwl6050_2agn_cfg = { | |||
394 | .supports_idle = true, | 395 | .supports_idle = true, |
395 | .adv_thermal_throttle = true, | 396 | .adv_thermal_throttle = true, |
396 | .support_ct_kill_exit = true, | 397 | .support_ct_kill_exit = true, |
397 | .support_sm_ps = true, | 398 | .sm_ps_mode = WLAN_HT_CAP_SM_PS_DYNAMIC, |
398 | }; | 399 | }; |
399 | 400 | ||
400 | struct iwl_cfg iwl6050_2abg_cfg = { | 401 | struct iwl_cfg iwl6050_2abg_cfg = { |
@@ -454,6 +455,7 @@ struct iwl_cfg iwl6000_3agn_cfg = { | |||
454 | .supports_idle = true, | 455 | .supports_idle = true, |
455 | .adv_thermal_throttle = true, | 456 | .adv_thermal_throttle = true, |
456 | .support_ct_kill_exit = true, | 457 | .support_ct_kill_exit = true, |
458 | .sm_ps_mode = WLAN_HT_CAP_SM_PS_DISABLED, | ||
457 | }; | 459 | }; |
458 | 460 | ||
459 | MODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_MAX)); | 461 | MODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_MAX)); |