Open spectrumjade opened 3 years ago
increasing i forgot to disable rtl8821cu driver... and increasing timeout seems to cause some kernel lags
i can also reproduce RTW_USB_CONTROL_MSG_TIMEOUT
to higher value seems to stop failed to wait usb ctrl req
for me with 8821cufailed to wait usb ctrl req
on 8821cu
[ 194.160770] rtw_8821cu 1-1:1.0: USB: 2
[ 194.161664] rtw_8821cu 1-1:1.0: Firmware version 24.8.0, H2C version 12
[ 194.372406] usbcore: registered new interface driver rtw_8821cu
[ 194.382450] rtw_8821cu 1-1:1.0 wlxa0d7684041e3: renamed from wlan0
[ 195.320353] rtw_8821cu 1-1:1.0: start vif [mac address] on port 0
[ 201.438127] rtw_8821cu 1-1:1.0: failed to wait usb ctrl req:192
[ 204.929741] wlxa0d7684041e3: authenticate with [mac address]
[ 205.052252] rtw_8821cu 1-1:1.0: error beacon valid
[ 205.052562] rtw_8821cu 1-1:1.0: failed to download rsvd page
[ 205.052971] rtw_8821cu 1-1:1.0: failed to download firmware
[ 205.056537] rtw_8821cu 1-1:1.0: leave idle state failed
[ 205.062830] rtw_8821cu 1-1:1.0: failed to leave ips state
[ 205.062832] rtw_8821cu 1-1:1.0: failed to leave idle state
[ 213.083458] rtw_8821cu 1-1:1.0: failed to wait usb ctrl req:192
[ 220.679439] rtw_8821cu 1-1:1.0: failed to wait usb ctrl req:192
[ 226.052124] rtw_8821cu 1-1:1.0: failed to wait usb ctrl req:192
[ 231.079881] rtw_8821cu 1-1:1.0: failed to wait usb ctrl req:192
I'm running into an issue trying to use this driver with my 8822bu USB dongle. After loading the module and plugging in the dongle, it is successfully recognized, an interface shows up, and I am able to scan for and join networks. However it has very high packet latency and correspondingly low throughput. For example:
This is with an access point that is a few feet away, and I would expect to see latency under 1 ms.
Looking in the kernel log, I can see a lot of failure messages. Here's a snippet:
These messages repeat until I unplug the dongle or unload the driver. I've noticed that the number is always either 64 or 192. Unfortunately I'm a bit out of my depth here and am not sure how to continue debugging. Any thoughts? This dongle does work using the separate 88x2bu driver, so I don't think the hardware is broken.
I'm running kernel version 5.10.