Hello. I have been having this ploblem with the ath9k_htc driver and have no idea what is causing it. I am using kernel 5.11.10 (self compiled). I had these issues with the standard generic kernel so I moved to a self compiled kernel but it did not seem to fix the issue.
I do not remember which kernel but possibly 5.10.23 was when it started. It would just disconnect completely and without warning. Network manager would display the connection speed as 1mbps but the light would still be flashing as if there was internet.
I have tried:
- disabling hw crypto via a modeprobe option (only a slight boost in bandwith)
- disabling the light on the usb module (makes no difference)
- Switching the port that it used (usb 3 seem to make it worse)
- Disabling intel_iommu (which helped some of the errors but did not solve the issue)
- compiling a newer kernel to see if it fixes it (nope)
- Turn off ipv6 (Nope)
The error would first be a dns related error.
To fix that I simply used unbound with dns over tls which made that issue go away but now the real issue revealed itself which was that the internet just died for no tangible reason
Here is the dmesg. Yes there is alot about my wifi and MAC ADDRESS is just a replacement for my actual mac address.
https://bin.idrix.fr/?2240bc97c2a0d1...85ZPwagsEzwxoG
Here is the result of lsusb
Code:
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 04f2:b2da Chicony Electronics Co., Ltd thinkpad t430s camera
Bus 001 Device 005: ID 0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 [ThinkPad]
Bus 001 Device 004: ID 147e:2020 Upek TouchChip Fingerprint Coprocessor (WBF advanced mode)
Bus 001 Device 017: ID 0cf3:1006 Qualcomm Atheros Communications TP-Link TL-WN322G v3 / TL-WN422G v2 802.11g [Atheros AR9271]
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
My kernel .config:
https://bin.idrix.fr/?ab6fa3bf0b7410...x7voaNFMqiy6Yw
Please note I am using linux libre with the latest linux libre scripts.
I am honestly lost at what to do. It could be the usb adapter itself but I just want to check. It could even be my kernel config. I just want someone to help solve this. Thank you!