With new flow of hardware scan, it could get wrong channel or causes wrong driver state. Use this patchset to fix them. Chih-Kang Chang (7): wifi: rtw88: add mutex when set SAR wifi: rtw88: add mutex when set regulatory and get Tx power table wifi: rtw88: add the update channel flow to support setting by parameters wifi: rtw88: fix WARNING:rtw_get_tx_power_params() during HW scan wifi: rtw88: add flushing queue before HW scan wifi: rtw88: add flag check before enter or leave IPS wifi: rtw88: prohibit enter IPS during HW scan drivers/net/wireless/realtek/rtw88/debug.c | 11 +- drivers/net/wireless/realtek/rtw88/fw.c | 41 +++-- drivers/net/wireless/realtek/rtw88/fw.h | 2 +- drivers/net/wireless/realtek/rtw88/mac80211.c | 7 +- drivers/net/wireless/realtek/rtw88/main.c | 164 +++++++++++------- drivers/net/wireless/realtek/rtw88/main.h | 25 ++- drivers/net/wireless/realtek/rtw88/ps.c | 7 +- drivers/net/wireless/realtek/rtw88/regd.c | 2 + 8 files changed, 166 insertions(+), 93 deletions(-) -- 2.25.1