To support SCC (1 STA + 1 AP), we need to deal some hardware things: 1. AP mode only can work on hardware port 0 2. adjust and enlarge reserved pages for two VIFs Other things are to coordinate two VIFs work well to prevent interference with each other, like scan thing. v2: - use rtw_dbg() instead of rtw_info() for switching port. (patch 2/8) - Don't reject scan when operating AP mode, so remove the limitation from patch 4/8 and add patch 7/8 to handle it. Due to hardware limitation, we can't sending beacon and do scan at the same time, so it could lose some packets or AP's clients get disconnected. Po-Hao Huang (8): wifi: rtw88: add bitmap for dynamic port settings wifi: rtw88: add port switch for AP mode wifi: rtw88: 8822c: extend reserved page number wifi: rtw88: disallow PS during AP mode wifi: rtw88: refine reserved page flow for AP mode wifi: rtw88: prevent scan abort with other VIFs wifi: rtw88: handle station mode concurrent scan with AP mode wifi: rtw88: 8822c: add iface combination drivers/net/wireless/realtek/rtw88/fw.c | 20 ++- drivers/net/wireless/realtek/rtw88/fw.h | 2 +- drivers/net/wireless/realtek/rtw88/mac.c | 2 +- drivers/net/wireless/realtek/rtw88/mac80211.c | 40 ++++- drivers/net/wireless/realtek/rtw88/main.c | 146 +++++++++++++++++- drivers/net/wireless/realtek/rtw88/main.h | 15 ++ drivers/net/wireless/realtek/rtw88/rtw8723d.c | 1 + drivers/net/wireless/realtek/rtw88/rtw8821c.c | 1 + drivers/net/wireless/realtek/rtw88/rtw8822b.c | 1 + drivers/net/wireless/realtek/rtw88/rtw8822c.c | 1 + 10 files changed, 217 insertions(+), 12 deletions(-) -- 2.25.1