rtw88: wow: report wow reason through mac80211 api
authorChin-Yen Lee <timlee@realtek.com>
Wed, 28 Jul 2021 01:43:34 +0000 (09:43 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 21 Aug 2021 19:19:15 +0000 (22:19 +0300)
commit4bac10f2de22ebe2d1ca47f8155a333ad669398a
tree4e62c5d1a5860f37f3d0ea0ec0e618d9ebe978c1
parent05e45887382c4c0f9522515759b34991aa17e69d
rtw88: wow: report wow reason through mac80211 api

After waking up from WoWLAN, call ieee80211_report_wowlan_wakeup
function call to report wakeup reason to userspace via nl80211.

Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210728014335.8785-5-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/wow.c