Message ID | 20240913071340.41822-2-pkshih@realtek.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Ping-Ke Shih |
Headers | show |
Series | wifi: rtw89: update RF calibration to support newer firmware | expand |
Ping-Ke Shih <pkshih@realtek.com> wrote: > Firmware needs more time to execute TSSI calibration command. Enlarge > timeout time accordingly, otherwise driver throws messages: > > rtw89_8922ae 0000:03:00.0: failed to wait RF TSSI > > Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> 5 patch(es) applied to rtw-next branch of rtw.git, thanks. 2e8fd540c081 wifi: rtw89: 8922a: rfk: enlarge TSSI timeout time to 20ms cd0d81d101b9 wifi: rtw89: 8922a: rfk: support firmware command RX DCK v1 format 8d445310ba61 wifi: rtw89: rfk: add firmware debug log of TSSI 6f540670456e wifi: rtw89: rfk: add firmware debug log of IQK bd25f45f0896 wifi: rtw89: rfk: update firmware debug log of DACK to v2 --- 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 63b1ff2f98ed..fb422bff4912 100644 --- a/drivers/net/wireless/realtek/rtw89/rtw8922a.c +++ b/drivers/net/wireless/realtek/rtw89/rtw8922a.c @@ -2035,7 +2035,7 @@ static void rtw8922a_rfk_channel(struct rtw89_dev *rtwdev, struct rtw89_vif *rtw rtw89_phy_rfk_pre_ntfy_and_wait(rtwdev, phy_idx, 5); rtw89_phy_rfk_txgapk_and_wait(rtwdev, phy_idx, chan, 54); rtw89_phy_rfk_iqk_and_wait(rtwdev, phy_idx, chan, 84); - rtw89_phy_rfk_tssi_and_wait(rtwdev, phy_idx, chan, RTW89_TSSI_NORMAL, 6); + rtw89_phy_rfk_tssi_and_wait(rtwdev, phy_idx, chan, RTW89_TSSI_NORMAL, 20); rtw89_phy_rfk_dpk_and_wait(rtwdev, phy_idx, chan, 34); rtw89_phy_rfk_rxdck_and_wait(rtwdev, RTW89_PHY_0, chan, 32);
Firmware needs more time to execute TSSI calibration command. Enlarge timeout time accordingly, otherwise driver throws messages: rtw89_8922ae 0000:03:00.0: failed to wait RF TSSI Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> --- drivers/net/wireless/realtek/rtw89/rtw8922a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)