Search Linux Wireless

Re: [PATCH rtw-next v2 1/2] wifi: rtw89: Lower the timeout in rtw89_fw_read_c2h_reg() for USB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> wrote:

> This read_poll_timeout_atomic() with a delay of 1 µs and a timeout of
> 1000000 µs can take ~250 seconds in the worst case because sending a
> USB control message takes ~250 µs.
> 
> Lower the timeout to 4000 for USB in order to reduce the maximum polling
> time to ~1 second.
> 
> This problem was observed with RTL8851BU while suspending to RAM with
> WOWLAN enabled. The computer sat for 4 minutes with a black screen
> before suspending.
> 
> Signed-off-by: Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx>

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

671be46afd1f wifi: rtw89: Lower the timeout in rtw89_fw_read_c2h_reg() for USB
12322a026030 wifi: rtw89: Lower the timeout in rtw89_fwdl_check_path_ready_ax() for USB

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





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux