wifi: rtw89: fix firmware scan delay unit for WiFi 6 chips
Ping-Ke Shih
maintainerPATCH 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")
Signed-off-by Chin-Yen Lee <[email protected]>
Signed-off-by Ping-Ke Shih <[email protected]>
--- drivers/net/wireless/realtek/rtw89/fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/realtek/rtw89/fw.c +1 -1
@@ -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
Ping-Ke Shih
maintainerQuoted 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")Signed-off-by Chin-Yen Lee <[email protected]>Signed-off-by Ping-Ke Shih <[email protected]>
1 patch(es) applied to rtw-next branch of rtw.git, thanks.
3cc35394fac1 wifi: rtw89: fix firmware scan delay unit for WiFi 6 chips