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
This commit is contained in:
Zong-Zhe Yang 2024-08-19 17:17:18 +08:00 • committed by Ping-Ke Shih
commit e3a2f20991
3 changed files with 93 additions and 78 deletions