]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: rtw89: introduce helper to get designated link for MLO
authorZong-Zhe Yang <kevin_yang@realtek.com>
Mon, 28 Apr 2025 11:24:56 +0000 (19:24 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 5 May 2025 01:51:28 +0000 (09:51 +0800)
commitc3dded7791370b8fa2354409542f8df19139c011
tree2ca2844b8de0874f817ec3545512651088d68949
parentd0e6c18fff72d87ba73960377e5094780b6ba229
wifi: rtw89: introduce helper to get designated link for MLO

A link bound to HW band 0 was previously always assumed to exist, because
it's true on non-MLD connection, and MLO connection is not supported yet.
Now, start to consider MLO cases and prepare to enable MLO support in the
following. Add skeleton of designated link. For single-link cases, helper
returns the one. For multi-link cases, priorities can be scheduled. Then,
drop assumption of link bound to HW band 0.

One exception is that MCC doesn't work with MLD yet, so it still expects
link on HW band 0 somewhere.

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