wifi: rtw89: 8852bx: 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 RTL8852BX
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-5-pkshih@realtek.com
This commit is contained in:
Zong-Zhe Yang 2024-08-19 17:17:20 +08:00 • committed by Ping-Ke Shih
commit 50b3da25ab
8 changed files with 273 additions and 238 deletions