From: Greg KH on
2.6.32-stable review patch. If anyone has any objections, please let us know.


From: Luis R. Rodriguez <lrodriguez(a)>

commit 14acdde6e527950f66c084dbf19bad6fbfcaeedc upstream.

The newer single chip hardware family of chipsets have not been
experiencing issues with power saving set by default with recent
fixes merged (even into stable). The remaining issues are only
reported with AR5416 and since enabling PS by default can increase
power savings considerably best to take advantage of that feature
as this has been tested properly.

For more details on this issue see the bug report:

We leave AR5416 with PS disabled by default, that seems to require
some more work.

Cc: Peter Stuge <peter(a)>
Cc: Justin P. Mattock <justinmattock(a)>
Cc: Kristoffer Ericson <kristoffer.ericson(a)>
Signed-off-by: Luis R. Rodriguez <lrodriguez(a)>
Signed-off-by: John W. Linville <linville(a)>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)>

drivers/net/wireless/ath/ath9k/main.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -1538,6 +1538,8 @@ bad_no_ah:

void ath_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
+ struct ath_hw *ah = sc->sc_ah;
hw->flags = IEEE80211_HW_RX_INCLUDES_FCS |
@@ -1558,7 +1560,10 @@ void ath_set_hw_capab(struct ath_softc *

- hw->wiphy->ps_default = false;
+ if (AR_SREV_5416(ah))
+ hw->wiphy->ps_default = false;
+ else
+ hw->wiphy->ps_default = true;

hw->queues = 4;
hw->max_rates = 4;

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)
More majordomo info at
Please read the FAQ at