aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-08-13 16:31:02 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-08-20 11:33:14 -0400
commitb23da49e6db341f4721476394dd8b95e0be2d179 (patch)
treecd593e7955d48b40cf2fea3e504ed6976950206d /drivers
parent396887a2b2ad1ef5e5526fec34dec582baf39b81 (diff)
iwlwifi: disable PS by default
Unfortunately, PS currently affects RX performance significantly enough to warrant disabling it by default, but give the user the choice to enable it again with iwconfig. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c
index f4c2431017e2..c0efa6623c09 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.c
+++ b/drivers/net/wireless/iwlwifi/iwl-core.c
@@ -1580,6 +1580,12 @@ int iwl_setup_mac(struct iwl_priv *priv)
1580 /* Firmware does not support this */ 1580 /* Firmware does not support this */
1581 hw->wiphy->disable_beacon_hints = true; 1581 hw->wiphy->disable_beacon_hints = true;
1582 1582
1583 /*
1584 * For now, disable PS by default because it affects
1585 * RX performance significantly.
1586 */
1587 hw->wiphy->ps_default = false;
1588
1583 hw->wiphy->max_scan_ssids = PROBE_OPTION_MAX; 1589 hw->wiphy->max_scan_ssids = PROBE_OPTION_MAX;
1584 /* we create the 802.11 header and a zero-length SSID element */ 1590 /* we create the 802.11 header and a zero-length SSID element */
1585 hw->wiphy->max_scan_ie_len = IWL_MAX_PROBE_REQUEST - 24 - 2; 1591 hw->wiphy->max_scan_ie_len = IWL_MAX_PROBE_REQUEST - 24 - 2;