wifi: rtw89: 8852a: 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 RTL8852A
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-4-pkshih@realtek.com
This commit is contained in:
Zong-Zhe Yang 2024-08-19 17:17:19 +08:00 • committed by Ping-Ke Shih
commit fcad7da7d3
4 changed files with 185 additions and 151 deletions