diff options
| author | Bitterblue Smith <rtl8821cerfe2@gmail.com> | 2025-07-15 22:46:20 +0300 |
|---|---|---|
| committer | Ping-Ke Shih <pkshih@realtek.com> | 2025-07-18 14:22:35 +0800 |
| commit | 12322a02603071d09df652bbc11864e23de0b83e (patch) | |
| tree | 8f3c9808b1a26c1828ea19b2316225be25c76ddf /scripts/lib | |
| parent | 671be46afd1f03de9dc6e4679c88e1a7a81cdff6 (diff) | |
wifi: rtw89: Lower the timeout in rtw89_fwdl_check_path_ready_ax() for USB
When the chip is not powered on correctly (like during driver
development) rtw89_fwdl_check_path_ready_ax() can fail.
read_poll_timeout_atomic() with a delay of 1 µs and a timeout of
400000 µs can take 50 seconds with USB because of the time it takes to
send a USB control message. The firmware upload is tried 5 times, so
in total it takes 250 seconds.
Lower the timeout to 3200 for USB in order to reduce the time
rtw89_fwdl_check_path_ready_ax() takes from 50 seconds to less than 1
second.
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/af0b25d0-ea67-455e-91f2-8e4c18ae4328@gmail.com
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions
