# \[PATCH v2 0/5\] rtw88: fix WoWLAN function and report reason to mac80211

- From: Ping-Ke Shih \<pkshih@realtek.com\>
- Date: 2021-07-28 01:44:12 
- List: linux-wireless
- Page: https://ratatoskr.run/linux-wireless/2021/07/15768305
- Thread: https://ratatoskr.run/linux-wireless/2021/07/15768305/t.md

```text
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

```
