]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: implement ops of change vif/sta links
authorZong-Zhe Yang <kevin_yang@realtek.com>
Wed, 20 Nov 2024 03:40:51 +0000 (11:40 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Wed, 27 Nov 2024 03:10:16 +0000 (11:10 +0800)
commitd2b387bdca4684052d58f81667fe6fd6c746faca
tree03ec8b2979181061161e567f6605bf5802813cb4
parentc821a8af435ca1b029ebdf0520cfb5c35b5e3d77
wifi: rtw89: implement ops of change vif/sta links

To support MLO, implement change_vif_links() and change_sta_links() ops.
Basically, we follow arguments to set/clear links. One special thing is
that when vif is idle, i.e. no connection, link id 0 is set up by us for
default uses. So, when bitmap of vif links change from 0x0 to non-zero,
we clear the default one first. And when bitmap of vif links change from
non-zero to 0x0, we set up a default one at the end.

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