From: Siva Rebbagondla Date: Mon, 4 Feb 2019 06:33:29 +0000 (+0530) Subject: rsi: fix for wowlan wakeup failure X-Git-Tag: v5.4-rc1~1543^2~131^2~63 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=38ef8d9016da9dbca48f4ee4395eda35035f2d7c;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/rsi/rsi_91x_mac80211.c b/drivers/net/wireless/rsi/rsi_91x_mac80211.c index 7bc8da6..3fd2571 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); /**