]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtw89: chan: recalc MLO DBCC mode based on current entity mode
authorZong-Zhe Yang <kevin_yang@realtek.com>
Tue, 10 Mar 2026 08:01:41 +0000 (16:01 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 16 Mar 2026 06:18:19 +0000 (14:18 +0800)
commitcf3cd3687d8a9ff2940d97dc649c53c62458d3e9
tree4a533beff8362035f6796b1071f5dafaef61760e
parent2fed8de4eb98764e559189eb3bac9d3f2954cb95
wifi: rtw89: chan: recalc MLO DBCC mode based on current entity mode

Since MLD vif can do MLSR switch, it may not always run on HW band 0.
But when preparing MCC for MLD + P2P, P2P vif needs to use HW band 0
to handle connection, i.e. uses of HW bands may be different by vif.

The current major role/vif can be indicated through entity mode. So,
based on it, recalculate MLO DBCC mode to change use of HW band.

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