]> www.infradead.org Git - users/willy/xarray.git/commit
wifi: rtw89: wow: add delay option for net-detect
authorChin-Yen Lee <timlee@realtek.com>
Mon, 5 Aug 2024 09:00:27 +0000 (17:00 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Fri, 9 Aug 2024 00:41:12 +0000 (08:41 +0800)
commite99dd80c8a183561de891a2cceb5a2bbcf64c88f
treee4e3a118eae3637a1c4166cf0c0f79fbc7333be1
parentc0bc1bce12e4cb9fd96559377fe79433e5d35161
wifi: rtw89: wow: add delay option for net-detect

The delay option is the period in unit of second for WoWLAN firmware
to wait before the first scan. We get the option from cfg80211 and
practice it. Another, in some platform, WoWLAN firmware may found
configured network and then trigger resume process, before suspend
process is completed, lead to the wakeup function failed.
So the default value is set one to avoid the issue.

Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20240805090028.27768-5-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/fw.c
drivers/net/wireless/realtek/rtw89/fw.h
drivers/net/wireless/realtek/rtw89/wow.c