wifi: rtw89: 8922a: 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 RTL8922A
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-7-pkshih@realtek.com
This commit is contained in:
Zong-Zhe Yang 2024-08-19 17:17:22 +08:00 • committed by Ping-Ke Shih
commit abc1296768
5 changed files with 53 additions and 35 deletions