You are not logged in.

#26 2025-10-02 19:03:41

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

Re: [Solved] Atheros QCA9377 slow speed

We've gone full cycle on that one sad
https://bbs.archlinux.org/viewtopic.php … 9#p2263149
Fuck.

Did the

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

noise go away w/ pcie_aspm=off ?
Can you disable the ethernet chip (in the firmware settigns) or does it help to blacklist r8169 ?

Online

#27 2025-10-05 18:22:31

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

Re: [Solved] Atheros QCA9377 slow speed

seth wrote:

Did the noise go away w/ pcie_aspm=off ?

Yes, it did.

seth wrote:

Can you disable the ethernet chip (in the firmware settigns) or does it help to blacklist r8169 ?

I disabled it in the firmware. The boot log is here: https://0x0.st/KMnG.txt

The speed remains unchanged.

Last edited by gtarch (2025-10-05 18:30:47)

Offline

#28 2025-10-07 21:38:59

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

Re: [Solved] Atheros QCA9377 slow speed

There're currently no indications for any problem, you've a 80MHz VHT connection and an ok signal.

There's https://bbs.archlinux.org/viewtopic.php?id=309117 but that's asymmetric (doesn't affect WAN traffic) - any chance you put on a traffic quota via a firewall rule?
Also wrt rx bitrates being constantly > 200 (and typically > 400) Mbps, can you rule out any sideload traffic? Can you test the performance from a multi-user.target login and/or just monitor network traffic when you think there's nothing going on?

Online

#29 2025-10-09 15:18:41

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

Re: [Solved] Atheros QCA9377 slow speed

seth wrote:

any chance you put on a traffic quota via a firewall rule?

No firewall. Neither nftables nor iptables.

seth wrote:

Also wrt rx bitrates being constantly > 200 (and typically > 400) Mbps, can you rule out any sideload traffic?

jnettop is showing no traffic on idle and about 20Mbit/s when running iperf test.

seth wrote:

Can you test the performance from a multi-user.target login and/or just monitor network traffic when you think there's nothing going on?

Do you mean a tty login? Without a GUI session?

Edit: I ran systmectl isolate multi-user.target and tested from tty login. No traffic on idle, 20ish mbit/s with iperf.

Last edited by gtarch (2025-10-09 15:33:43)

Offline

#30 2025-10-10 08:31:13

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

Re: [Solved] Atheros QCA9377 slow speed

Do you mean a tty login? Without a GUI session?

systmectl isolate multi-user.target

I didn't pay attention or missed the edit, but

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).

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Can you btw. get closer to the AP ("4 bars") and see whether the issue remains?
How much is your theoretical WAN speed, would a download against a fast WAN host expose the limited throughput?

wget -nv --show-progress -O /dev/null "http://speedtest.frankfurt.linode.com/100MB-frankfurt.bin" |& tee /tmp/wft.log

will write a log.
You can use either of ("newark" "singapore" "london" "frankfurt" "dallas" "toronto1" "syd1" "atlanta" "tokyo2" "mumbai1" "fremont" "sao-paulo") - so pick a location near you.

Online

#31 2025-10-10 14:58:31

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

Re: [Solved] Atheros QCA9377 slow speed

I disabled fast-start, followed the voodo procedure and booted into multi-user.target.
My WAN speed is 50Mbit/s and I get that from other PCs, but not from this laptop.
Here is the speedtest from the Frankfurt server, which is the closest to me: http://0x0.st/KuEh.txt
This is close to the AP with 4 bars.

For comparison here's the same speedtest from a LAN PC: http://0x0.st/KuEC.txt

Last edited by gtarch (2025-10-10 14:58:58)

Offline

#32 2025-10-25 01:35:35

psyke83
Member
Registered: 2025-10-25
Posts: 2

Re: [Solved] Atheros QCA9377 slow speed

I have the same card with the exact same issue in a Dell Inspiron 5570: ~50mbit/s on Linux vs 300mbit/s on Windows.

The cause of the performance issue seems to be poor 802.11w (Protected Management Frames) support on this chipset with the ath10k driver. If we could use software cryptmode it might solve the issue, but none of the available firmware releases seem to support the required raw mode. The only solution I could find was to connect via WPA2 with PMF disabled on the client side; WPA3 mandates PMF, so that's a non-starter.

Try setting WPA2 security with PMF set to optional or disabled on your router, but keep in mind that doing so will degrade your network security.

If using NetworkManager, create /etc/NetworkManager/conf.d/disable_pmf.conf with this config:

[connection-wifi-ath10k_pci]
match-device=driver:ath10k_pci
wifi-sec.pmf=1

I personally set my AP to WPA3 transition mode so that other clients can continue using WPA3, but NetworkManager won't allow WPA2 client connections to a WPA3 transition mode AP with PMF disabled until this patch is included: https://gitlab.freedesktop.org/NetworkM … uests/2205 - so you need to patch NetworkManager or wpa_supplicant via a quick hack like so:

diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c
index 037bfa378..b37d6e676 100644
--- a/wpa_supplicant/wpa_supplicant.c
+++ b/wpa_supplicant/wpa_supplicant.c
@@ -8779,7 +8779,7 @@ bool wpas_is_sae_avoided(struct wpa_supplicant *wpa_s,
                         struct wpa_ssid *ssid,
                         const struct wpa_ie_data *ie)
 {
-       return wpa_s->conf->sae_check_mfp &&
+       return true &&
                (!(ie->capabilities &
                   (WPA_CAPABILITY_MFPC | WPA_CAPABILITY_MFPR)) ||
                 wpas_get_ssid_pmf(wpa_s, ssid) == NO_MGMT_FRAME_PROTECTION);

Offline

#33 2025-10-25 09:49:57

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

Re: [Solved] Atheros QCA9377 slow speed

OK, I patched wpa_supplicant and I got 280 Mbit/s.
I guess when the patch of Network Manager is released the wpa_supplicant patch won't be needed anymore. Is that correct?

Thanks a lot for the help!

Offline

#34 2025-10-25 13:16:44

psyke83
Member
Registered: 2025-10-25
Posts: 2

Re: [Solved] Atheros QCA9377 slow speed

gtarch wrote:

OK, I patched wpa_supplicant and I got 280 Mbit/s.
I guess when the patch of Network Manager is released the wpa_supplicant patch won't be needed anymore. Is that correct?

Thanks a lot for the help!

Glad to hear it worked. Yes, the wpa_supplicant hack is just a faster workaround vs. having to rebuild all of NetworkManager. The upstream fix I submitted is currently present only on the 1.55 dev branch, so you won't see it included until the next major stable release. NetworkManager seems to use even numbers in the second version field for stable releases, so I guess the fix will be available in NM 1.56.x onward.

Offline

Board footer

Powered by FluxBB