Fix WoWLAN function that originally access NULL pointer and failed to read firmware state. Also, report the WoWLAN reason to user via mac80211. v2: Add patch 3/5 that builds wow.c only if CONFIG_PM is on. Otherwise, patch 4/5 leads undefined reference. Chin-Yen Lee (4): rtw88: use read_poll_timeout instead of fixed sleep rtw88: refine the setting of rsvd pages for different firmware rtw88: wow: report wow reason through mac80211 api rtw88: wow: fix size access error of probe request Ping-Ke Shih (1): rtw88: wow: build wow function only if CONFIG_PM is on drivers/net/wireless/realtek/rtw88/Makefile | 2 +- drivers/net/wireless/realtek/rtw88/fw.c | 8 +- drivers/net/wireless/realtek/rtw88/fw.h | 1 + drivers/net/wireless/realtek/rtw88/wow.c | 107 +++++++++++++------- 4 files changed, 78 insertions(+), 40 deletions(-) -- 2.25.1