Message ID | 20250428112456.13165-2-pkshih@realtek.com |
---|---|
State | New |
Headers | show |
Series | wifi: rtw89: refine TX/RX logic as preparation to support MLO | expand |
Ping-Ke Shih <pkshih@realtek.com> wrote: > The RX DCK in firmware could retry 3 times if calibration value is not > stable. Roughly each calibration can be done within 16 ms, so expect > 16 * 4 (with additional 16 ms) will be enough. More, in coming MLO, it > will do calibration on two path, so multiply 2. > > Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> 10 patch(es) applied to rtw-next branch of rtw.git, thanks. b47e250e593e wifi: rtw89: 8922a: rfk: adjust timeout time of RX DCK 372559788161 wifi: rtw89: 8922a: use SW CRYPTO when broadcast in MLO mode e6512916eeb1 wifi: rtw89: Adjust management queue mapping for [MLO, HW-1] 6d9e16a961a3 wifi: rtw89: extend mapping from Qsel to DMA ch for MLO 667231dfea08 wifi: rtw89: Configure scan band when mlo_dbcc_mode changes 8bb7dfa6b5b9 wifi: rtw89: extend join_info H2C command for MLO fields 9f1aa1054d80 wifi: rtw89: add MLD capabilities declaration 6173b636c722 wifi: rtw89: Fill in correct Rx link ID for MLO d0e6c18fff72 wifi: rtw89: roc: dynamically handle link id and link instance index c3dded779137 wifi: rtw89: introduce helper to get designated link for MLO --- https://github.com/pkshih/rtw.git
diff --git a/drivers/net/wireless/realtek/rtw89/rtw8922a.c b/drivers/net/wireless/realtek/rtw89/rtw8922a.c index cc595cae53f5..2ff847eb76fd 100644 --- a/drivers/net/wireless/realtek/rtw89/rtw8922a.c +++ b/drivers/net/wireless/realtek/rtw89/rtw8922a.c @@ -2071,7 +2071,8 @@ static void __rtw8922a_rfk_init_late(struct rtw89_dev *rtwdev, rtw89_phy_rfk_pre_ntfy_and_wait(rtwdev, phy_idx, 5); rtw89_phy_rfk_dack_and_wait(rtwdev, phy_idx, chan, 58); - rtw89_phy_rfk_rxdck_and_wait(rtwdev, phy_idx, chan, false, 32); + if (!test_bit(RTW89_FLAG_SER_HANDLING, rtwdev->flags)) + rtw89_phy_rfk_rxdck_and_wait(rtwdev, phy_idx, chan, false, 128); } static void rtw8922a_rfk_init_late(struct rtw89_dev *rtwdev)
The RX DCK in firmware could retry 3 times if calibration value is not stable. Roughly each calibration can be done within 16 ms, so expect 16 * 4 (with additional 16 ms) will be enough. More, in coming MLO, it will do calibration on two path, so multiply 2. Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> --- drivers/net/wireless/realtek/rtw89/rtw8922a.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)