]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtw89: mlo: handle needed H2C when link switching is requested by stack
authorZong-Zhe Yang <kevin_yang@realtek.com>
Tue, 21 Oct 2025 13:33:57 +0000 (21:33 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 28 Oct 2025 01:48:06 +0000 (09:48 +0800)
commite79382ab0347b1d7f9f26d27cb4645e4f053bcc0
treec77ec6fb84b67db9ca4d62094e47bf61aad6fa03
parentf44a9b14a78f1e2e2c57dbc1f1e93889ad2f6ac0
wifi: rtw89: mlo: handle needed H2C when link switching is requested by stack

To switch link, FW needs H2C commands to indicate which link is on or off.
Originally, these H2C commands are considered only when the link switching
is initiated by driver. But, in some cases, e.g. ml_reconf or TTLM, link
switching would be initiated by stack. Hence, plan these H2C commands into
ieee80211_ops.

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