]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: rtw89: 8851b: use right chanctx whenever possible in RFK flow
authorZong-Zhe Yang <kevin_yang@realtek.com>
Mon, 19 Aug 2024 09:17:18 +0000 (17:17 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 27 Aug 2024 02:54:41 +0000 (10:54 +0800)
commite3a2f20991feecd8ccfefcfcdb62339e6c6bb903
tree07a64cf35456f8e5ee19bc2d67ce4e6ebe85d2ca
parent7c31f102030f938a24ec7ebd321fcf5953718935
wifi: rtw89: 8851b: 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 RTL8851B
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-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/rtw8851b.c
drivers/net/wireless/realtek/rtw89/rtw8851b_rfk.c
drivers/net/wireless/realtek/rtw89/rtw8851b_rfk.h