]> git.karo-electronics.de Git - linux-beck.git/commitdiff
iwlwifi: mvm: change active-to-powersave transition time for BPS
authorAlexander Bondar <alexander.bondar@intel.com>
Wed, 6 Mar 2013 13:38:11 +0000 (15:38 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 3 Apr 2013 20:49:17 +0000 (22:49 +0200)
The requirement for TX/RX active to powersave transition time for
the Balanced Power Save (BPS) scheme changed. Change the driver
accordingly and set transition time to 100 msec.

Signed-off-by: Alexander Bondar <alexander.bondar@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/mvm/power.c

index 2d2ce98032678353628a8a954dd2b0cf27df2cbc..130516ec3ce34cc05b355535030d6f7f7f3ec325 100644 (file)
@@ -152,8 +152,8 @@ static void iwl_mvm_power_build_cmd(struct iwl_mvm *mvm,
                cmd->rx_data_timeout = cpu_to_le32(10 * USEC_PER_MSEC);
                cmd->tx_data_timeout = cpu_to_le32(10 * USEC_PER_MSEC);
        } else {
-               cmd->rx_data_timeout = cpu_to_le32(50 * USEC_PER_MSEC);
-               cmd->tx_data_timeout = cpu_to_le32(50 * USEC_PER_MSEC);
+               cmd->rx_data_timeout = cpu_to_le32(100 * USEC_PER_MSEC);
+               cmd->tx_data_timeout = cpu_to_le32(100 * USEC_PER_MSEC);
        }
 }