diff options
author | Andy Green <andy.green@linaro.org> | 2015-01-12 22:08:45 +0800 |
---|---|---|
committer | Yin, Fengwei <fengwei.yin@linaro.org> | 2015-07-17 10:26:35 +0800 |
commit | bea43b5f269b0fc43e921a9cd0bd98707ebf12a9 (patch) | |
tree | ee45c464f2352a9d7ad071f2a38fe25fbba0e11c | |
parent | 8994ca409cef0eb1f1e145df3a8ad0e4697f24fc (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 8d8fef9183ef..35b347dcd705 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -938,6 +938,10 @@ static int wcn36xx_init_ieee80211(struct wcn36xx *wcn) ieee80211_hw_set(wcn->hw, SIGNAL_DBM); ieee80211_hw_set(wcn->hw, HAS_RATE_CONTROL); + /* 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) | |