diff options
author | Andy Green <andy.green@linaro.org> | 2015-01-12 22:08:45 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2015-01-22 00:46:32 +0800 |
commit | 0a39aae443ce80362cb0602b54ead6224c9132c8 (patch) | |
tree | 86898baef582c49b068edb7cd7acadadbb85fe8b | |
parent | 014876b3a0aa635d8f625914ba3860e8424a5e5b (diff) |
wcn36xx: remove powersaving for wcn3620
WCN3620 powersaving mode is not stable. Disable it if we're
on a wcn3620 chip type.
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r-- | drivers/net/wireless/ath/wcn36xx/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index c4178c747695..569d45b9c6e3 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -924,6 +924,10 @@ static int wcn36xx_init_ieee80211(struct wcn36xx *wcn) IEEE80211_HW_AMPDU_AGGREGATION | IEEE80211_HW_TIMING_BEACON_ONLY; + /* 3620 powersaving currently unstable */ + if (wcn->chip_version == WCN36XX_CHIP_3620) + wcn->hw->flags &= ~IEEE80211_HW_SUPPORTS_PS; + wcn->hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | BIT(NL80211_IFTYPE_AP) | BIT(NL80211_IFTYPE_ADHOC) | |