Originally rtw89 uses simple vif/chanctx combinations for SCC and MCC, and use static/hardcode vif/chanctx somewhere. However, we are going to support MLO in coming days, so refine the code to configure hardware by vif/chanctx dynamically by this patchset. Zong-Zhe Yang (7): wifi: rtw89: chan: refine MCC re-plan flow when unassign chanctx wifi: rtw89: mcc: stop at a role holding chanctx wifi: rtw89: rename sub_entity to chanctx wifi: rtw89: pass rtwvif to RFK channel wifi: rtw89: pass rtwvif to RFK scan wifi: rtw89: fw: correct chan access in assoc_cmac_tbl_g7 and update_beacon_be wifi: rtw89: pass chanctx_idx to rtw89_btc_{path_}phymap() drivers/net/wireless/realtek/rtw89/chan.c | 186 +++++++++++------- drivers/net/wireless/realtek/rtw89/chan.h | 6 +- drivers/net/wireless/realtek/rtw89/coex.c | 2 +- drivers/net/wireless/realtek/rtw89/coex.h | 10 +- drivers/net/wireless/realtek/rtw89/core.c | 60 +++--- drivers/net/wireless/realtek/rtw89/core.h | 53 ++--- drivers/net/wireless/realtek/rtw89/debug.c | 2 +- drivers/net/wireless/realtek/rtw89/fw.c | 23 +-- drivers/net/wireless/realtek/rtw89/fw.h | 2 +- drivers/net/wireless/realtek/rtw89/mac.c | 4 +- drivers/net/wireless/realtek/rtw89/mac80211.c | 10 +- drivers/net/wireless/realtek/rtw89/phy.c | 10 +- drivers/net/wireless/realtek/rtw89/regd.c | 4 +- drivers/net/wireless/realtek/rtw89/rtw8851b.c | 15 +- .../net/wireless/realtek/rtw89/rtw8851b_rfk.c | 36 ++-- drivers/net/wireless/realtek/rtw89/rtw8852a.c | 11 +- .../net/wireless/realtek/rtw89/rtw8852a_rfk.c | 50 ++--- drivers/net/wireless/realtek/rtw89/rtw8852b.c | 9 +- .../wireless/realtek/rtw89/rtw8852b_common.c | 4 +- .../net/wireless/realtek/rtw89/rtw8852b_rfk.c | 50 ++--- .../net/wireless/realtek/rtw89/rtw8852bt.c | 9 +- .../wireless/realtek/rtw89/rtw8852bt_rfk.c | 44 ++--- drivers/net/wireless/realtek/rtw89/rtw8852c.c | 11 +- .../net/wireless/realtek/rtw89/rtw8852c_rfk.c | 42 ++-- drivers/net/wireless/realtek/rtw89/rtw8922a.c | 13 +- .../net/wireless/realtek/rtw89/rtw8922a_rfk.c | 8 +- drivers/net/wireless/realtek/rtw89/sar.c | 2 +- 27 files changed, 366 insertions(+), 310 deletions(-) -- 2.25.1