Skip to contentSkip to conversation

wifi: rtw89: fix firmware scan delay unit for WiFi 6 chips

PATCH In review Ping-Ke Shih 1 participant 2 messages May 13, 2025 – May 16, 2025 Realtek wireless driver (rtw89)

lore
Share & tools
lore

Ping-Ke Shih

author maintainer
#0 lore raw

PATCH 1/1 wifi: rtw89: fix firmware scan delay unit for WiFi 6 chips

From: Chin-Yen Lee <[email protected]>

The scan delay unit of firmware command for WiFi 6 chips is microsecond, but is wrong set now and lead to abnormal work for net-detect. Correct the unit to avoid the error.

Fixes e99dd80c8a18 ("wifi: rtw89: wow: add delay option for net-detect")
---
 drivers/net/wireless/realtek/rtw89/fw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/realtek/rtw89/fw.c +1 -1
index 76350351dfb2..75e5112f519a 100644
@@ -5537,7 +5537,7 @@ int rtw89_fw_h2c_scan_list_offload_be(struct rtw89_dev *rtwdev, int ch_num,
 	return 0;
 }
 
-#define RTW89_SCAN_DELAY_TSF_UNIT 104800
+#define RTW89_SCAN_DELAY_TSF_UNIT 1000000
 int rtw89_fw_h2c_scan_offload_ax(struct rtw89_dev *rtwdev,
 				 struct rtw89_scan_option *option,
 				 struct rtw89_vif_link *rtwvif_link,
Signature · 1 line
2.25.1
author maintainer
#1 lore raw
Quoted 9 lines · Ping-Ke Shih

From: Chin-Yen Lee <[email protected]>

The scan delay unit of firmware command for WiFi 6 chips is microsecond, but is wrong set now and lead to abnormal work for net-detect. Correct the unit to avoid the error.

Fixes e99dd80c8a18 ("wifi: rtw89: wow: add delay option for net-detect")

1 patch(es) applied to rtw-next branch of rtw.git, thanks.

3cc35394fac1 wifi: rtw89: fix firmware scan delay unit for WiFi 6 chips

---
https://github.com/pkshih/rtw.git