I have the following device in my computer:
Device-2: Qualcomm Atheros AR93xx Wireless Network Adapter driver: ath9k v: kernel port: d000 bus ID: 06:00.0 chip ID: 168c:0030 IF: wlp6s0 state: up mac: <filter>
When I boot in, it works well and has reasonable speed. Here’s a typical output from iwconfig (I edited out some sensitive values):
wlp6s0 IEEE 802.11 ESSID:"<filter>" Mode:Managed Frequency:2.412 GHz Access Point: XX:XX:XX:XX:XX:XX Bit Rate=130 Mb/s Tx-Power=16 dBm Retry short limit:7 RTS thr:off Fragment thr:off Power Management:off Link Quality=63/70 Signal level=-47 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:371 Missed beacon:0
However, after a while (a few minutes) something happens and the speed drops dramatically, the upload speed gets stuck around 0.2 MBps, and “Tx excessive retries” start to accumulate:
wlp6s0 IEEE 802.11 ESSID:"<filter>" Mode:Managed Frequency:5.2 GHz Access Point: XX:XX:XX:XX:XX:XX Bit Rate=108 Mb/s Tx-Power=18 dBm Retry short limit:7 RTS thr:off Fragment thr:off Power Management:off Link Quality=53/70 Signal level=-57 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:45909 Invalid misc:258 Missed beacon:0
I’m confused because the Tx-Power did not decrease, in fact it somehow increased, so I would have assumed that it should have become even more reliable. I played around with setting it manually, trying both
sudo iw dev 'wlp6s0' set txpower fixed 2300 and
sudo iwconfig wlp6s0 txpower 23 with various numbers, but they had little effect. The only thing that seems to work is bringing the interface down with
sudo ifconfig wlp6s0 down, setting the power (not sure if this is actually necessary), and then bringing it up again. That fixes the issue for a while until it drops again.
I tired the
nohwcrypt=1 option but it did not help, and neither did disabling tlp. Any ideas what to check next?