First patch, doesn't change logic at all, makes code become concise. This refine depends on "[PATCH v4 1/3] rtw88: add beacon filter support" that check firmware feature as well. Second patch adds notify to firmware to avoid potential problem. Chin-Yen Lee (2): rtw88: add rtw_fw_feature_check api rtw88: notify fw when driver in scan-period to avoid potential problem drivers/net/wireless/realtek/rtw88/fw.c | 28 +++++++++++++++++-- drivers/net/wireless/realtek/rtw88/fw.h | 16 ++++++++++- drivers/net/wireless/realtek/rtw88/mac80211.c | 6 ++-- drivers/net/wireless/realtek/rtw88/main.c | 21 ++++++++++++-- drivers/net/wireless/realtek/rtw88/main.h | 4 +++ drivers/net/wireless/realtek/rtw88/ps.c | 4 +-- 6 files changed, 70 insertions(+), 9 deletions(-) -- 2.21.0