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>
This commit is contained in:
Siva Rebbagondla 2019-02-04 12:03:29 +05:30 committed by Kalle Valo
parent 73f9b25714
commit 38ef8d9016
1 changed files with 4 additions and 0 deletions

View File

@ -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);
/**