]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtw89: get designated link to replace link instance 0
authorZong-Zhe Yang <kevin_yang@realtek.com>
Fri, 23 Jan 2026 01:39:55 +0000 (09:39 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Wed, 28 Jan 2026 03:20:29 +0000 (11:20 +0800)
commit986aa89b7613266a279748c7f632e3c2d3b818f6
tree6138b72cfbf13aa157ee58a10428c42494db1fce
parent3b85a8948f525713e6206a28884e1f4246dbf63f
wifi: rtw89: get designated link to replace link instance 0

Clean up some places where still to get link instance 0 directly.
Since now MLSR switch is supported, it's not guaranteed to always
run on link instance 0. So, prefer to get designated link in most
cases.

For now, the only exception is MCC (multi-channel concurrency) case.
How to fill content of its H2C command depends on how to choose link
instance, so cannot simply change it as above. Will handle MCC case
separately afterwards.

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