On 22/04/2023 00:59, Artem Makhutov wrote: > Hi, > > Am Do., 20. Apr. 2023 um 20:26 Uhr schrieb Bitterblue Smith > <rtl8821cerfe2@xxxxxxxxx>: >> So it's probably not related to the encryption. >> >> The v5.2.2.4 driver uses USB RX aggregation, unless you disabled it. >> We can try to use it in rtl8xxxu too, with this patch and the >> module parameter dma_aggregation=1: > > I have tried it out. No changes. I will check the v5.2.2.4 tomorrow > again. Maybe it does not use HT mode so often and that's the reason > why the problem is not occuring that often... > That's fortunate because RX aggregation makes the download speed a lot worse for some reason. > As a workaround: What about checking the IP length field. If the > received packet is smaller by 4 bytes than what it should be then just > add extra 4 bytes at the end? Or does the MIC at the end have any > influence on anything? That should work, but it's ugly. If the router lets you change the MTU, does it help to make it smaller? Do you have the problem with the v5.13.3 driver? If it works (other than completely dying after a while) we should see what it does differently compared to the v5.2.2.4 driver. I don't have other ideas.