]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: rtw89: 8852c: use right chanctx whenever possible in RFK flow
authorZong-Zhe Yang <kevin_yang@realtek.com>
Mon, 19 Aug 2024 09:17:21 +0000 (17:17 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 27 Aug 2024 02:55:22 +0000 (10:55 +0800)
commit395bd59c95fdcc6a3305d5ac3132f029ad61ca98
treeebf2d9bc136c66bb105f23530bde0896e757127d
parent50b3da25abc6a40c8766125c47d00990765b6555
wifi: rtw89: 8852c: use right chanctx whenever possible in RFK flow

No longer access chan with hard-code RTW89_CHANCTX_X whenever possible.
Instead, obtain the right chanctx from somewhere and use it in RTL8852C
RFK (RF calibration) related code.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20240819091724.33730-6-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/rtw8852c.c
drivers/net/wireless/realtek/rtw89/rtw8852c_rfk.c
drivers/net/wireless/realtek/rtw89/rtw8852c_rfk.h