Wifi disconnects with Qualcomm Atheros QCA9377

Need help with peripherals or devices?
Post Reply
Message
Author
Bodale
Posts: 2
Joined: 2020-07-04 15:51

Wifi disconnects with Qualcomm Atheros QCA9377

#1 Post by Bodale »

Hi all,
I'm new in this Forum.
I've some disconnection issue with my Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31) on my laptop.
I attached diagnostic file.

My WiFi NIC works properly, but at random time losses connection.
If I try to reconnect to my Wifi AP (most of the times) the connection works.

I've reinstalled many times the Atheros firmware but It's already updated to the last version.

Code: Select all

# aptitude upgrade firmware-atheros
firmware-atheros is already installed at the latest version (20190114-2), so it will not be upgraded
I've already googled and searched in this forum, but no solution worked.

Have you any suggestions?

Thanks in advance for any suggestion

User avatar
Head_on_a_Stick
Posts: 13446
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Wifi disconnects with Qualcomm Atheros QCA9377

#2 Post by Head_on_a_Stick »

Good luck with that POS card, I had one of those in my ThinkPad and I eventually just swapped it out for an Intel 9260.

You could try disabling power saving for the interface or perhaps the newer kernel from the buster-backports repository might offer a better driver but I suspect you'll just be chasing your tail.

EDIT: you really should list the solutions that you've already tried, it's very frustrating to suggest a fix only to be told it has already been confirmed not to help.
Last edited by Head_on_a_Stick on 2020-07-04 16:52, edited 1 time in total.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support

Bulkley
Posts: 6189
Joined: 2006-02-11 18:35
Been thanked: 5 times

Re: Wifi disconnects with Qualcomm Atheros QCA9377

#3 Post by Bulkley »

Make sure you have the necessary firmware from the non-free repository.

Hardware manufacturers don't pay much attention to Linux. Several years ago I had chronic problems with my laptop dropping Wifi connections. Out of frustration I replaced the mini Wifi card with one that was known to work well under Linux. It has worked perfectly ever since. I am not suggesting that you have the same problem but keep in mind the possibility.

Bodale
Posts: 2
Joined: 2020-07-04 15:51

Re: Wifi disconnects with Qualcomm Atheros QCA9377

#4 Post by Bodale »

Thanks a lot! I'll change my NIC... :wink:

This is my /etc/apt/sources.list

Code: Select all

# cat /etc/apt/sources.list
deb http://mi.mirror.garr.it/mirrors/debian/ buster main non-free contrib
deb-src http://mi.mirror.garr.it/mirrors/debian/ buster main non-free contrib

deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free

# buster-updates, previously known as 'volatile'
deb http://mi.mirror.garr.it/mirrors/debian/ buster-updates main contrib non-free
deb-src http://mi.mirror.garr.it/mirrors/debian/ buster-updates main contrib non-free

emariz
Posts: 2923
Joined: 2008-10-17 07:59

Re: Wifi disconnects with Qualcomm Atheros QCA9377

#5 Post by emariz »

Your Sources List is correct for Buster. I would disable the sources entries (deb-src), unless you do compile regularly.

This is the wireless network device on my laptop. Is it the same as yours?

Code: Select all

$ lspci -vnn

Network controller [0280]: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter [168c:0042] (rev 31)
	Subsystem: Lenovo QCA9377 802.11ac Wireless Network Adapter [17aa:0901]
	Flags: bus master, fast devsel, latency 0, IRQ 134, IOMMU group 13
	Memory at e1000000 (64-bit, non-prefetchable) [size=2M]
	Capabilities: <access denied>
	Kernel driver in use: ath10k_pci
	Kernel modules: ath10k_pci
Like Head_on_a_Stick, I too have had many problems with this Wi-Fi card on my Thinkpad. My problems are actually worse than yours, for the device "dies" randomly and one must restart the system to recover it. It may happen once a week or thrice a day. It is so very annoying. Some times, the device would not "wake up" after suspension or hibernation until the device had been reset; some others, it would wake up but "die" shortly afterwards (forcing a system restart.)

This is the kernel error message when the device "dies" (it actually fills the log with dozens, probably hundreds of lines, in a matter of minutes.)

Code: Select all

Jul 13 13:14:09 thinkpad kernel: [13554.961483] ath10k_pci 0000:05:00.0: failed to wake target for read32 at 0x0003a028: -110
Jul 13 13:14:33 thinkpad kernel: [13578.303673] ath10k_pci 0000:05:00.0: failed to wake target for write32 of 0x00000a13 at 0x0003543c: -110
Using this laptop for about two years now, I can tell you that some kernels fare better than others. Recently, my experience with kernels 5.6 and, specially, 5.7 has been reassuring. The device "wakes up" without issues and only once had it "died" in the last fortnight.
I know, I should have replaced this card long ago.

You may want to try a newer version of the firmware or a newer kernel from Backports and see how they fare.

jaimet
Posts: 12
Joined: 2019-07-19 08:38

Re: Wifi disconnects with Qualcomm Atheros QCA9377

#6 Post by jaimet »

emariz wrote:You may want to try a newer version of the firmware or a newer kernel from Backports and see how they fare.
I also have this card on an Acer Aspire 3 running debian buster. Since "upgrading" to the latest backports kernel and firmware packages, the performance is certainly good enough for me (I "zoom" a lot, so I need something without latency spikes). The packages (from buster-backports) that I'm currently using are:

Code: Select all

linux-image-5.9.0-0.bpo.2-amd64 5.9.6-1~bpo10+1
firmware-atheros                 20200918-1~bpo10+1
Here's a quick-and-dirty ping test to my (openwrt) router:

Code: Select all

ping -q -c 100 -i 0.2 router
100 packets transmitted, 100 received, 0% packet loss, time 870ms
rtt min/avg/max/mdev = 1.279/2.423/6.147/0.787 ms
And here are the results of an iperf3 test to the same wireless router:

Code: Select all

[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   164 MBytes  16751 KBytes/sec    0             sender
[  5]   0.00-10.01  sec   161 MBytes  16486 KBytes/sec                  receiver
HTH, J

Post Reply