diff options
author | Siva Rebbagondla <siva.rebbagondla@redpinesignals.com> | 2019-02-04 09:33:29 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-02-08 18:29:42 +0300 |
commit | 38ef8d9016da9dbca48f4ee4395eda35035f2d7c (patch) | |
tree | 0d6530546246de67a6e91cbef237b27bcb1f689a | |
parent | 73f9b25714870c924edd8f6a62c855558e9d09e5 (diff) | |
download | linux-38ef8d9016da9dbca48f4ee4395eda35035f2d7c.tar.xz |
rsi: fix for wowlan wakeup failure
During wowlan regression tests, sometimes radio is not waking up for wowlan
packet in coex mode. This is because of power save is enabled by default
in case of coex mode greater than one. Hence, disable power save in coex
mode to avoid radio loss.
Signed-off-by: Siva Rebbagondla <siva.rebbagondla@redpinesignals.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r-- | drivers/net/wireless/rsi/rsi_91x_mac80211.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/rsi/rsi_91x_mac80211.c b/drivers/net/wireless/rsi/rsi_91x_mac80211.c index 7bc8da69bfed..3fd2571cdcb5 100644 --- a/drivers/net/wireless/rsi/rsi_91x_mac80211.c +++ b/drivers/net/wireless/rsi/rsi_91x_mac80211.c @@ -1901,6 +1901,10 @@ int rsi_config_wowlan(struct rsi_hw *adapter, struct cfg80211_wowlan *wowlan) return 0; } rsi_dbg(INFO_ZONE, "TRIGGERS %x\n", triggers); + + if (common->coex_mode > 1) + rsi_disable_ps(adapter, adapter->vifs[0]); + rsi_send_wowlan_request(common, triggers, 1); /** |