iwlagn: disable PS support for iwlagn
authorReinette Chatre <[email protected]>
Thu, 30 Apr 2009 20:56:27 +0000 (13:56 -0700)
committerJohn W. Linville <[email protected]>
Wed, 6 May 2009 19:14:59 +0000 (15:14 -0400)
Some issues in PS prevent us from supporting it reliably.

When 4965 goes to sleep it stores some data in host DRAM, reads it back
when device wakes up. In 4965 there is a problem that the data is not
correct when ucode starts using it upon wakeup.

For all iwlagn devices there is a problem where command is sent when PS is
enabled. At the moment there is a locking problem with priv->lock not being
held and thus not requesting nic access correctly.

We disable PS until these issues have been resolved.

Signed-off-by: Reinette Chatre <[email protected]>
Signed-off-by: Mohamed Abbas <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/iwlwifi/iwl-core.c

index 0f21fc136ca717b8c30bad101acdfdd342f8ecd5..1366222bb50a579e34cbed344618140c4fd24e27 100644 (file)
@@ -1298,8 +1298,7 @@ int iwl_setup_mac(struct iwl_priv *priv)
        hw->flags = IEEE80211_HW_SIGNAL_DBM |
                    IEEE80211_HW_NOISE_DBM |
                    IEEE80211_HW_AMPDU_AGGREGATION |
-                   IEEE80211_HW_SPECTRUM_MGMT |
-                   IEEE80211_HW_SUPPORTS_PS;
+                   IEEE80211_HW_SPECTRUM_MGMT;
        hw->wiphy->interface_modes =
                BIT(NL80211_IFTYPE_STATION) |
                BIT(NL80211_IFTYPE_ADHOC);