]> Gentwo Git Trees - linux/.git/commit
wifi: rtw89: tweak setting of channel and TX power for MLO
authorZong-Zhe Yang <kevin_yang@realtek.com>
Tue, 22 Oct 2024 08:31:05 +0000 (16:31 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 29 Oct 2024 03:27:12 +0000 (11:27 +0800)
commit2305ebc1835b1ca921045b4f0941e82edde3249b
treeb23bcb98d7ddf079bd773bf28cdf06244f885441
parent68ec751b288178de7d19b71ea61648269a35b8cd
wifi: rtw89: tweak setting of channel and TX power for MLO

Setting of channel and TX power depend on channel contexts, but original
code cannot handle combination of MCC (multi-channel concurrency) and MLO
well. So according to active interfaces, we generate a table for current
channel contexts. And then based on entity mode, we get the corresponding
channel context to apply during channel or TX power setting. When MLO is
supported, there will be dual-PHY and we will apply the channel context of
the 2nd link to the 2nd PHY.

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