iwlagn: Enable idle powersave mode in 1000 series
authorMeenakshi Venkataraman <meenakshi.venkataraman@intel.com>
Thu, 13 Jan 2011 19:35:26 +0000 (11:35 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 21 Jan 2011 23:50:46 +0000 (15:50 -0800)
The iwlagn powersave algorithm uses the supports_idle parameter
to tell the device to save power when it is not associated with
an AP and is idle.

Enable this feature for the 1000 series of devices.

Reported-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Meenakshi Venkataraman <meenakshi.venkataraman@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-1000.c

index ba78bc8a259fe21078cb76343ac37a3df0770f49..127723e6319fda6320cd48adf13f3b3022b3a918 100644 (file)
@@ -270,6 +270,7 @@ static struct iwl_base_params iwl1000_base_params = {
        .ucode_tracing = true,
        .sensitivity_calib_by_driver = true,
        .chain_noise_calib_by_driver = true,
+       .supports_idle = true,
 };
 static struct iwl_ht_params iwl1000_ht_params = {
        .ht_greenfield_support = true,