]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtw89: wow: add scan interval option for net-detect
authorChin-Yen Lee <timlee@realtek.com>
Mon, 26 Aug 2024 09:04:39 +0000 (17:04 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 2 Sep 2024 01:15:02 +0000 (09:15 +0800)
commit30ce797d4654015c179a8909ef6945f0c0d64e7e
treeadd607c8ea134d8355915a1c4ceeb4de3cc9264c
parent1de40069417e0f2b9779eb4781fb4852f3d87680
wifi: rtw89: wow: add scan interval option for net-detect

The scan interval option is the period in unit of second for WoWLAN
firmware to do each scan. We get the option from cfg80211 and practice it.
If the interval is too short for firmware to finish one scan, the firmware
will start next scan immediately after finishing one and the WiFi chip
could never enter idle mode to reduce power consumption.

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