This patchset depends on the patch "rtw88: 8821c: fix access const table of channel parameters" https://patchwork.kernel.org/project/linux-wireless/patch/20220608020312.9663-1-pkshih@xxxxxxxxxxx/ The first one patch is to use const pointer to access chip_info, so we can avoid writing const area. Patch 2~4 is to fix hw_scan misbehavior, but patch 2/5 add a field in core.h just above the fields of "rtw88: 8821c: fix access const table of channel parameters", so it also depends on that. The final patch is fix smatch warning. --- Hi Kalle, The patch "rtw88: 8821c: fix access const table of channel parameters" makes thing a little complicated. If this patchset doesn't work to you, please guide me the best way you want. Thank you. Chih-Kang Chang (2): rtw88: fix stopping queues in wrong timing when HW scan rtw88: fix store OP channel info timing when HW scan Ping-Ke Shih (1): rtw88: access chip_info by const pointer Po-Hao Huang (1): rtw88: 8822c: extend supported probe request size Zong-Zhe Yang (1): rtw88: phy: fix warning of possible buffer overflow drivers/net/wireless/realtek/rtw88/bf.c | 2 +- drivers/net/wireless/realtek/rtw88/coex.c | 88 +++++++++---------- drivers/net/wireless/realtek/rtw88/coex.h | 14 +-- drivers/net/wireless/realtek/rtw88/efuse.c | 4 +- drivers/net/wireless/realtek/rtw88/fw.c | 56 ++++++++---- drivers/net/wireless/realtek/rtw88/fw.h | 19 +++- drivers/net/wireless/realtek/rtw88/mac.c | 18 ++-- drivers/net/wireless/realtek/rtw88/mac80211.c | 9 +- drivers/net/wireless/realtek/rtw88/main.c | 49 +++++++---- drivers/net/wireless/realtek/rtw88/main.h | 6 +- drivers/net/wireless/realtek/rtw88/pci.c | 20 ++--- drivers/net/wireless/realtek/rtw88/phy.c | 65 +++++++------- drivers/net/wireless/realtek/rtw88/phy.h | 2 +- drivers/net/wireless/realtek/rtw88/rtw8723d.c | 3 +- drivers/net/wireless/realtek/rtw88/rtw8821c.c | 3 +- drivers/net/wireless/realtek/rtw88/rtw8822b.c | 3 +- drivers/net/wireless/realtek/rtw88/rtw8822c.c | 3 +- drivers/net/wireless/realtek/rtw88/tx.c | 8 +- drivers/net/wireless/realtek/rtw88/util.c | 4 +- 19 files changed, 219 insertions(+), 157 deletions(-) -- 2.25.1