You are not logged in.

#1 2025-09-22 12:20:12

gtarch
Member
Registered: 2022-10-14
Posts: 40

Atheros QCA9377 slow speed

I have a problem with my wifi connection. I can only get ~20Mbps throughput on a 1000Mbps connection.

$ lspci -knnd ::0280
02:00.0 Network controller [0280]: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter [168c:0042] (rev 31)
	Subsystem: Dell Device [1028:1810]
	Kernel driver in use: ath10k_pci
	Kernel modules: ath10k_pci
$ nmcli dev wifi list
IN-USE  BSSID              SSID                              MODE   CHAN  RATE         SIGNAL  BARS  SECURITY  
*       78:8C:B5:92:D0:45  <networkname>                     Infra  36    1170 Mbit/s  52      ▂▄__  WPA3      
$ iperf3 -c 10.10.1.154
Connecting to host 10.10.1.154, port 5201
[  5] local 10.10.2.145 port 55262 connected to 10.10.1.154 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   256 KBytes  2.09 Mbits/sec    2   1.41 KBytes       
[  5]   1.00-2.00   sec  2.00 MBytes  16.8 Mbits/sec    0   80.6 KBytes       
[  5]   2.00-3.00   sec  2.75 MBytes  23.1 Mbits/sec    0   94.7 KBytes       
[  5]   3.00-4.00   sec  2.88 MBytes  24.1 Mbits/sec    0   99.0 KBytes       
[  5]   4.00-5.00   sec  2.62 MBytes  22.0 Mbits/sec    0    102 KBytes       
[  5]   5.00-6.00   sec  2.50 MBytes  21.0 Mbits/sec    0    110 KBytes       
[  5]   6.00-7.00   sec  2.75 MBytes  23.1 Mbits/sec    0    110 KBytes       
[  5]   7.00-8.00   sec  2.50 MBytes  21.0 Mbits/sec    0    144 KBytes       
[  5]   8.00-9.00   sec  2.75 MBytes  23.1 Mbits/sec    0    144 KBytes       
[  5]   9.00-10.00  sec  1.88 MBytes  15.7 Mbits/sec    1    144 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  22.9 MBytes  19.2 Mbits/sec    3            sender
[  5]   0.00-10.01  sec  22.4 MBytes  18.8 Mbits/sec                  receiver

Another laptop I have, gets 300Mbps and this one used to get good speeds too, but I had to reinstall and something broke, I guess.

Offline

#2 2025-09-22 14:53:22

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,879

Re: Atheros QCA9377 slow speed

Sanity check: Please post the output of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

Did you try the LTS kernel?

Sidebar, if either of the BSSID or SSID would be remotely sensitive in this context, it would be the BSSID…

Offline

#3 2025-09-22 15:14:29

gtarch
Member
Registered: 2022-10-14
Posts: 40

Re: Atheros QCA9377 slow speed

seth wrote:

Sanity check: Please post the output of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
$ find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
bluetooth.service                        | bluetooth.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.nm-dispatcher.service | system
display-manager.service                  | system
getty@tty1.service                       | getty.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
pipewire-pulse.socket                    | sockets.target.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
snapper-cleanup.timer                    | timers.target.wants
snapper-timeline.timer                   | timers.target.wants
systemd-userdbd.socket                   | sockets.target.wants
wireplumber.service                      | pipewire.service.wants
seth wrote:

Did you try the LTS kernel?

I did. Same thing.

Offline

#4 2025-09-22 15:39:14

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,999
Website

Re: Atheros QCA9377 slow speed

Does enabling software encryption help at all?

$ modinfo ath10k_core | grep crypt
parm:           cryptmode:Crypto mode: 0-hardware, 1-software (uint)
$

https://wiki.archlinux.org/title/Kernel … le_options

There is also power saving (replace wlan0 with the correct identifier):

# iw dev wlan0 set power_save off

Not sure what the default is for ath10k; NetworkManager can be used to permanently disable the feature. Or use a udev rule like like https://wiki.archlinux.org/title/Power_ … interfaces but with the boolean reversed.


Jin, Jîyan, Azadî

Offline

#5 2025-09-22 15:56:30

gtarch
Member
Registered: 2022-10-14
Posts: 40

Re: Atheros QCA9377 slow speed

Head_on_a_Stick wrote:

Does enabling software encryption help at all?

After loading ath10k_core with cryptmode=1 ath10k_pci gives the following error when loading:

[ 2418.253855] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 2418.487223] ath10k_pci 0000:02:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 1028:1810
[ 2418.487228] ath10k_pci 0000:02:00.0: kconfig debug 1 debugfs 1 tracing 1 dfs 0 testmode 0
[ 2418.487285] ath10k_pci 0000:02:00.0: firmware ver WLAN.TF.2.1-00021-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 42e41877
[ 2418.552284] ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 8aedfa4a
[ 2418.552287] ath10k_pci 0000:02:00.0: cryptmode > 0 requires raw mode support from firmware
[ 2418.552290] ath10k_pci 0000:02:00.0: fatal problem with firmware features: -22
[ 2418.552303] ath10k_pci 0000:02:00.0: could not probe fw (-22)
Head_on_a_Stick wrote:

There is also power saving (replace wlan0 with the correct identifier):

I disabled the power saving, but nothing changed.

Offline

#6 2025-09-22 16:01:02

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,999
Website

Re: Atheros QCA9377 slow speed

Apologies OP, I have actually encountered that error before. My memory isn't what it used to be...

Try https://bbs.archlinux.org/viewtopic.php … 2#p2229392, as suggested by seth in that thread. That was for disconnects but it's worth a go.

Last edited by Head_on_a_Stick (2025-09-22 16:01:59)


Jin, Jîyan, Azadî

Offline

#7 2025-09-22 16:08:12

gtarch
Member
Registered: 2022-10-14
Posts: 40

Re: Atheros QCA9377 slow speed

Head_on_a_Stick wrote:

Try https://bbs.archlinux.org/viewtopic.php … 2#p2229392, as suggested by seth in that thread. That was for disconnects but it's worth a go.

I gave it a try. It didn't help.

Offline

#8 2025-09-22 18:52:53

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,879

Re: Atheros QCA9377 slow speed

* There're no colliding services, the firmware hasn't been touched in 6 years, https://gitlab.com/kernel-firmware/linu … type=heads
* Any bug might have been backported to the LTS kernel, do you remember which kernel you were running before the re-installation?
* Can you post a station dump?
* Next to wifi power saving this might also be aspm, but the NIC should™ just wake up and stay that way under pressure.
* Are there any network messages in the journal that would explain the limited throughput by eg. reconnects (for eg. roaming)?
* Are you using iwd or wpa_supplicant as NM backend?
https://wiki.archlinux.org/title/Networ … Fi_backend

Offline

#9 2025-09-23 15:55:06

gtarch
Member
Registered: 2022-10-14
Posts: 40

Re: Atheros QCA9377 slow speed

I don't remember the kernel that was working, but I update monthly so I tried the two kernels that should have been installed for the last two updates and the problem is still there.

This is the station dump:

Station 78:8c:b5:92:d0:45 (on wlan0)
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		yes
	TDLS peer:	no
	inactive time:	4345 ms
	rx bytes:	3655681
	rx packets:	14943
	tx bytes:	21439932
	tx packets:	16331
	tx retries:	0
	tx failed:	0
	beacon loss:	0
		beacon rx:	2272
	rx drop misc:	36
	signal:  	-67 [-67, -73] dBm
	signal avg:	-64 [-64, -73] dBm
	beacon signal avg:	-64 dBm
	tx duration:	31045301 us
	rx bitrate:	263.3 MBit/s VHT-MCS 6 80MHz VHT-NSS 1
	rx duration:	0 us
	DTIM period:	2
	beacon interval:100
	short slot time:yes
	connected time:	405 seconds
	associated at [boottime]:	22.502s
	associated at:	1758641517682 ms
	current time:	1758641922570 ms

I set ASPM to performance for the test, but it changed nothing.

There is a fair bit of this in the logs:

Sep 23 18:32:24 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Sep 23 18:32:24 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-BEACON-HINT before freq=5180 max_tx_power=3000 no_ir=1
Sep 23 18:32:24 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-BEACON-HINT after freq=5180 max_tx_power=3000
Sep 23 18:32:24 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Sep 23 18:32:24 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-BEACON-HINT before freq=5180 max_tx_power=3000 no_ir=1
Sep 23 18:32:24 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-BEACON-HINT after freq=5180 max_tx_power=3000
Sep 23 18:33:05 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-72 noise=-97 txrate=0
Sep 23 18:33:06 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Sep 23 18:33:06 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-BEACON-HINT before freq=2467 max_tx_power=2000 no_ir=1
Sep 23 18:33:06 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-BEACON-HINT after freq=2467 max_tx_power=2000
Sep 23 18:33:06 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Sep 23 18:33:06 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-BEACON-HINT before freq=2467 max_tx_power=2000 no_ir=1
Sep 23 18:33:06 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-BEACON-HINT after freq=2467 max_tx_power=2000
Sep 23 18:33:06 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Sep 23 18:33:06 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-BEACON-HINT before freq=2472 max_tx_power=2000 no_ir=1
Sep 23 18:33:06 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-BEACON-HINT after freq=2472 max_tx_power=2000
Sep 23 18:33:06 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Sep 23 18:33:06 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-BEACON-HINT before freq=2472 max_tx_power=2000 no_ir=1
Sep 23 18:33:06 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-BEACON-HINT after freq=2472 max_tx_power=2000
Sep 23 18:33:07 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Sep 23 18:33:07 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-BEACON-HINT before freq=5200 max_tx_power=3000 no_ir=1
Sep 23 18:33:07 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-BEACON-HINT after freq=5200 max_tx_power=3000
Sep 23 18:33:07 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Sep 23 18:33:07 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-BEACON-HINT before freq=5200 max_tx_power=3000 no_ir=1
Sep 23 18:33:07 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-REGDOM-BEACON-HINT after freq=5200 max_tx_power=3000
Sep 23 18:33:22 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-66 noise=-97 txrate=0
Sep 23 18:36:36 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-61 noise=-97 txrate=0
Sep 23 18:39:49 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-72 noise=-97 txrate=0
Sep 23 18:40:04 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-66 noise=-97 txrate=0
Sep 23 18:45:08 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-60 noise=-97 txrate=0
Sep 23 18:47:39 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-76 noise=-97 txrate=0
Sep 23 18:47:48 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-66 noise=-96 txrate=0
Sep 23 18:48:16 laptop-ca wpa_supplicant[731]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-61 noise=-96 txrate=0

I'm using wpa_supplicant as a backend, but I tried connecting with iwctl to see if the problem is in NetworkManager. It isn't - I had the same speed.

Offline

#10 2025-09-23 19:33:11

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,879

Re: Atheros QCA9377 slow speed

The signal isn't very strong and you're switching between a 5GHz and 2.4GHz AP
What happens if you connect to the BSSID of the 2.4GHz AP instead of an SSID?
Or move much closer to the 5GHz AP?

Offline

#11 2025-09-24 15:20:54

gtarch
Member
Registered: 2022-10-14
Posts: 40

Re: Atheros QCA9377 slow speed

I changed the router settings so it doesn't switch between 2.4GHz and 5GHz anymore - it stays on 5GHz.
I also noticed that CTRL-EVENTs are only logged when the AP connection is established.
I tested both the 2.4GHz and the 5GHz networks, but all I'm getting is 20Mbps. I tested the 5GHz network from 3 metres from the AP.

Offline

#12 2025-09-24 19:36:02

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,879

Re: Atheros QCA9377 slow speed

20Mb/s, not 20MB/s ?
Is the signal now better?

Still the iperf test (against the same peer)?
Do you get equally bad performance w/ an online speedtest?

The connection is listed as 1170 Mbit/s and the station dump has an average 263 MBit/s

Offline

#13 2025-09-24 20:34:53

Abhin
Member
Registered: 2025-09-24
Posts: 16

Re: Atheros QCA9377 slow speed

I have a question like since you have the same wifi adapter as mine , im getting a issue like when i put my laptop in suspend mode and turn it on after that the wifi will not be working and a restart is needed for it to work.

Offline

#14 2025-09-24 21:05:50

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,879

Offline

#15 2025-09-26 13:31:50

gtarch
Member
Registered: 2022-10-14
Posts: 40

Re: Atheros QCA9377 slow speed

20Mbit/s with iperf on the same peer and poor performance with an online speed test as well

Station 78:8c:b5:92:d0:45 (on wlan0)
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		yes
	TDLS peer:	no
	inactive time:	3 ms
	rx bytes:	89515754
	rx packets:	72917
	tx bytes:	13575069
	tx packets:	41688
	tx retries:	0
	tx failed:	0
	beacon loss:	0
		beacon rx:	1832
	rx drop misc:	44
	signal:  	-48 [-48, -73] dBm
	signal avg:	-43 [-43, -73] dBm
	beacon signal avg:	-42 dBm
	tx duration:	24368846 us
	rx bitrate:	433.3 MBit/s VHT-MCS 9 80MHz short GI VHT-NSS 1
	rx duration:	0 us
	DTIM period:	2
	beacon interval:100
	short slot time:yes
	connected time:	405 seconds
	associated at [boottime]:	249700.356s
	associated at:	1758892829491 ms
	current time:	1758893234530 ms

The connection is listed as 1170Mbit/s, but I cant get more than 400-500Mbit/s on another laptop. This one gets only 20.

Offline

#16 2025-09-26 19:21:26

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,879

Re: Atheros QCA9377 slow speed

rx bitrate:    433.3 MBit/s VHT-MCS 9 80MHz short GI VHT-NSS 1

After some speedtest:

grep /sys/class/net/wlan0/statistics/*

And ftr, the AP swaps are gone, you're steadily and constantly (no reconnects) attached to the same AP, maybe post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#17 2025-09-26 20:23:04

gtarch
Member
Registered: 2022-10-14
Posts: 40

Re: Atheros QCA9377 slow speed

http://0x0.st/Ka1z.txt

I just noticed that I had iwd still running. I stopped it and tested the connection again, but the problem remains.

Offline

#18 2025-09-27 08:13:29

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,879

Re: Atheros QCA9377 slow speed

'key - that journal is full of the colliding services (to the end) permanently knocking each other out.
Please post journal and NIC stats after a reboot and speed test.

Offline

#19 2025-09-27 08:29:17

gtarch
Member
Registered: 2022-10-14
Posts: 40

Re: Atheros QCA9377 slow speed

https://0x0.st/KavO.txt

This is the boot up. The speed tests themselves don't generate log entries. The were done a couple of minutes after the last log entry.

Edit: Forgot the station dump

Station 78:8c:b5:92:d0:45 (on wlan0)
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		yes
	TDLS peer:	no
	inactive time:	510 ms
	rx bytes:	816239185
	rx packets:	604557
	tx bytes:	35067625
	tx packets:	294789
	tx retries:	0
	tx failed:	18
	beacon loss:	0
		beacon rx:	17386
	rx drop misc:	99
	signal:  	-64 [-64, -73] dBm
	signal avg:	-65 [-65, -73] dBm
	beacon signal avg:	-64 dBm
	tx duration:	91073196 us
	rx bitrate:	263.3 MBit/s VHT-MCS 6 80MHz VHT-NSS 1
	rx duration:	0 us
	DTIM period:	2
	beacon interval:100
	short slot time:yes
	connected time:	3846 seconds
	associated at [boottime]:	2318.768s
	associated at:	1758963484894 ms
	current time:	1758967330287 ms

Last edited by gtarch (2025-09-27 10:02:55)

Offline

#20 2025-09-27 13:16:10

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,879

Re: Atheros QCA9377 slow speed

grep . /sys/class/net/wlan0/statistics/*

(Typo'd the dot…)

Edit: I don't like the flurry of

CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN

See

Sep 27 11:19:33 laptop-ca kernel: platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
Sep 27 11:19:33 laptop-ca kernel: cfg80211: failed to load regulatory.db
Sep 27 11:19:33 laptop-ca kernel: usbcore: registered new interface driver btusb
Sep 27 11:19:33 laptop-ca kernel: usbcore: registered new interface driver uvcvideo
Sep 27 11:19:35 laptop-ca kernel: ath: EEPROM regdomain: 0x6c
Sep 27 11:19:35 laptop-ca kernel: ath: EEPROM indicates we sh

=> https://wiki.archlinux.org/title/Networ … ory_domain
respect-my-authority.jpeg
wink

Last edited by seth (2025-09-27 13:19:55)

Offline

#21 2025-09-27 13:19:29

gtarch
Member
Registered: 2022-10-14
Posts: 40

Re: Atheros QCA9377 slow speed

/sys/class/net/wlan0/statistics/collisions:0
/sys/class/net/wlan0/statistics/multicast:0
/sys/class/net/wlan0/statistics/rx_bytes:253366296
/sys/class/net/wlan0/statistics/rx_compressed:0
/sys/class/net/wlan0/statistics/rx_crc_errors:0
/sys/class/net/wlan0/statistics/rx_dropped:1
/sys/class/net/wlan0/statistics/rx_errors:0
/sys/class/net/wlan0/statistics/rx_fifo_errors:0
/sys/class/net/wlan0/statistics/rx_frame_errors:0
/sys/class/net/wlan0/statistics/rx_length_errors:0
/sys/class/net/wlan0/statistics/rx_missed_errors:0
/sys/class/net/wlan0/statistics/rx_nohandler:0
/sys/class/net/wlan0/statistics/rx_over_errors:0
/sys/class/net/wlan0/statistics/rx_packets:180609
/sys/class/net/wlan0/statistics/tx_aborted_errors:0
/sys/class/net/wlan0/statistics/tx_bytes:10659347
/sys/class/net/wlan0/statistics/tx_carrier_errors:0
/sys/class/net/wlan0/statistics/tx_compressed:0
/sys/class/net/wlan0/statistics/tx_dropped:0
/sys/class/net/wlan0/statistics/tx_errors:0
/sys/class/net/wlan0/statistics/tx_fifo_errors:0
/sys/class/net/wlan0/statistics/tx_heartbeat_errors:0
/sys/class/net/wlan0/statistics/tx_packets:90869
/sys/class/net/wlan0/statistics/tx_window_errors:0

Offline

#22 2025-09-27 13:22:26

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,879

Re: Atheros QCA9377 slow speed

The stats look unsuspicious - check my edit about the regulatory domain, not sure whether this is relevant, but it's the closest hint to problems we have so far.

Offline

#23 2025-09-27 15:50:58

gtarch
Member
Registered: 2022-10-14
Posts: 40

Re: Atheros QCA9377 slow speed

I changed the regulatory domain as described in the wiki. These are the new logs: http://0x0.st/KaIP.txt. The problem remains.

I tested by booting GRML and the speed is the same. I suspect that something is going wrong with the hardware, because when I tried booting Kali live to test it couldn't boot. It's from the same stick as the GRML and it boots on another laptop just fine. It's a strange behaviour.

Edit: I didn't think about this earlier, but I tried Windows as well. It turns out that both iperf and online speed tests get better speeds there. 150Mbit/s for iperf and 50Mbit/s (the line speed).

Last edited by gtarch (2025-09-27 16:20:23)

Offline

#24 2025-09-27 20:50:31

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,879

Re: Atheros QCA9377 slow speed

Wild guess: "ath10k_core.cryptmode=1", https://wiki.archlinux.org/title/Kernel_parameters ?

There's some noise on the bus

Sep 27 18:41:56 laptop-ca kernel: pcieport 0000:00:1d.0: AER: Multiple Correctable error message received from 0000:01:00.0
Sep 27 18:41:56 laptop-ca kernel: r8169 0000:01:00.0: PCIe Bus Error: severity=Correctable, type=Physical Layer, (Receiver ID)
Sep 27 18:41:56 laptop-ca kernel: r8169 0000:01:00.0:   device [10ec:8136] error status/mask=00000001/00006000

but I'm not sure how relevant that is.
Nevertheless try "pcie_aspm=off" as well…

Offline

#25 2025-09-28 07:49:31

gtarch
Member
Registered: 2022-10-14
Posts: 40

Re: Atheros QCA9377 slow speed

Trying "pcie_aspm=off" did not affect the performance.

"ath10k_core.cryptmode=1" resulted in not working network with these logs

Sep 28 10:22:17 laptop-ca kernel: Command line: cryptdevice=UUID=bfc0cddd-a98b-4f7c-b100-5225f22d9c24:crypt resume=UUID=d269ca17-501f-417d-a5ed-63bf9e76bf9f root=UUID=da278d7c-e93a-495e-ab15-13fb4da99e23 rw pcie_aspm=off ath10k_core.cryptmode=1
Sep 28 10:22:17 laptop-ca kernel: Kernel command line: cryptdevice=UUID=bfc0cddd-a98b-4f7c-b100-5225f22d9c24:crypt resume=UUID=d269ca17-501f-417d-a5ed-63bf9e76bf9f root=UUID=da278d7c-e93a-495e-ab15-13fb4da99e23 rw pcie_aspm=off ath10k_core.cryptmode=1
Sep 28 10:22:19 laptop-ca kernel: ath10k_pci 0000:02:00.0: enabling device (0000 -> 0002)
Sep 28 10:22:19 laptop-ca kernel: ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
Sep 28 10:22:19 laptop-ca kernel: ath10k_pci 0000:02:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 1028:1810
Sep 28 10:22:19 laptop-ca kernel: ath10k_pci 0000:02:00.0: kconfig debug 1 debugfs 1 tracing 1 dfs 0 testmode 0
Sep 28 10:22:19 laptop-ca kernel: ath10k_pci 0000:02:00.0: firmware ver WLAN.TF.2.1-00021-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 42e41877
Sep 28 10:22:20 laptop-ca kernel: ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 8aedfa4a
Sep 28 10:22:20 laptop-ca kernel: ath10k_pci 0000:02:00.0: cryptmode > 0 requires raw mode support from firmware
Sep 28 10:22:20 laptop-ca kernel: ath10k_pci 0000:02:00.0: fatal problem with firmware features: -22
Sep 28 10:22:20 laptop-ca kernel: ath10k_pci 0000:02:00.0: could not probe fw (-22)
Sep 28 10:34:34 laptop-ca kernel: ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
Sep 28 10:34:35 laptop-ca kernel: ath10k_pci 0000:02:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 1028:1810
Sep 28 10:34:35 laptop-ca kernel: ath10k_pci 0000:02:00.0: kconfig debug 1 debugfs 1 tracing 1 dfs 0 testmode 0
Sep 28 10:34:35 laptop-ca kernel: ath10k_pci 0000:02:00.0: firmware ver WLAN.TF.2.1-00021-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 42e41877
Sep 28 10:34:35 laptop-ca kernel: ath10k_pci 0000:02:00.0: board_file api 2 bmi_id N/A crc32 8aedfa4a
Sep 28 10:34:35 laptop-ca kernel: ath10k_pci 0000:02:00.0: cryptmode > 0 requires raw mode support from firmware
Sep 28 10:34:35 laptop-ca kernel: ath10k_pci 0000:02:00.0: fatal problem with firmware features: -22
Sep 28 10:34:35 laptop-ca kernel: ath10k_pci 0000:02:00.0: could not probe fw (-22)

Offline

Board footer

Powered by FluxBB