wifi: rtw89: introduce rtw89_query_mr_chanctx_info() for multi-role chanctx info
authorZong-Zhe Yang <kevin_yang@realtek.com>
Wed, 11 Jun 2025 03:55:14 +0000 (11:55 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 16 Jun 2025 05:49:28 +0000 (13:49 +0800)
commitcbaf1110af41994776909dee9e4490edfb80014e
treed71c5829398efa2a810f113c423fde167cf268d1
parent3db8563bac6c34018cbb96b14549a95c368b0304
wifi: rtw89: introduce rtw89_query_mr_chanctx_info() for multi-role chanctx info

Add Wi-Fi 7 MLO related multi-role (MR) chanctx descriptors and query
function. They are designed for other components, e.g. coex, which are
interested in the following info.
 * whether a MLD exists and how many active link
 * the number of AP mode and station mode respectively
 * how many chanctx and the number of 2/5/6 GHz respectively

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250611035523.36432-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/chan.c
drivers/net/wireless/realtek/rtw89/chan.h