QCA9377 wifi breaking off - really a lost cause?

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post please read how to get help
Post Reply
HisFordship
Level 1
Level 1
Posts: 2
Joined: Sun Mar 15, 2020 4:42 am

QCA9377 wifi breaking off - really a lost cause?

Post by HisFordship »

Dear Linux Mint Aficionados,

I was very much looking forward to enjoying Linux Mint on my new laptop - however, I seem to have bad luck with my wifi chipset.

PROBLEM: Wifi stays connected but no data transfer after a few minutes and especially under load (e.g., several videos opened in browser). Disabling and re-enabling the wifi allows data transfer until the next crash. Win10 in dual boot on my system does not have the wifi problem (please don't let me go back there...)

THINGS I TRIED: I've tried all of the advice given in this board. However, it seems like the problem could not be solved for me or other users.
- Disabled power management: viewtopic.php?f=90&t=313506&p=1771133&h ... 7#p1771133
- Following viewtopic.php?t=253056, I replaced the firmware with: https://github.com/ajaybhatia/Qualcomm- ... ifi-Linux/
- Tried Kernels 5.3.0-26, 5.3.0-40, 5.0.0.41, 4.15-88

HELP REQUEST: If you have any idea what could help - please let me know. I'm also grateful for any explanation as of why such a problem exists and if switching to another linux distro or waiting for future kernel updates could help (or not...)

!!! THANK YOU !!!

SYSTEM INFOS:
inxi -Fxz

Code: Select all

System:
  Host: tp-Lenovo Kernel: 5.3.0-26-generic x86_64 bits: 64 compiler: gcc 
  v: 7.4.0 Desktop: Cinnamon 4.4.8 Distro: Linux Mint 19.3 Tricia 
  base: Ubuntu 18.04 bionic 
Machine:
  Type: Laptop System: LENOVO product: 81NB v: Lenovo IdeaPad S340-14API 
  serial: <filter> 
  Mobo: LENOVO model: LNVNB161216 v: No DPK serial: <filter> UEFI: LENOVO 
  v: AMCN26WW(V1.09) date: 11/15/2019 
Battery:
  ID-1: BAT1 charge: 39.8 Wh condition: 53.0/52.5 Wh (101%) model: 0x4C 0x47 
  0x43 0x00 0x32 0x30 0x 0x4C 0x31 0x38 0x4C 0x33 0x50 0x5250 
  status: Discharging 
CPU:
  Topology: Dual Core model: AMD Athlon 300U with Radeon Vega Mobile Gfx 
  bits: 64 type: MT MCP arch: Zen rev: 1 L2 cache: 1024 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 19163 
  Speed: 1283 MHz min/max: 1400/2400 MHz Core speeds (MHz): 1: 1342 2: 1246 
  3: 1242 4: 1277 
Graphics:
  Device-1: AMD Picasso vendor: Lenovo driver: amdgpu v: kernel 
  bus ID: 04:00.0 
  Display: x11 server: X.Org 1.20.5 driver: amdgpu,ati 
  unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: AMD RAVEN2 (DRM 3.33.0 5.3.0-26-generic LLVM 9.0.0) 
  v: 4.5 Mesa 19.2.8 direct render: Yes 
Audio:
  Device-1: AMD vendor: Lenovo driver: snd_hda_intel v: kernel 
  bus ID: 04:00.1 
  Device-2: AMD vendor: Lenovo driver: N/A bus ID: 04:00.5 
  Device-3: AMD vendor: Lenovo driver: snd_hda_intel v: kernel 
  bus ID: 04:00.6 
  Sound Server: ALSA v: k5.3.0-26-generic 
Network:
  Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter 
  vendor: Lenovo driver: ath10k_pci v: kernel bus ID: 02:00.0 
  IF: wlp2s0 state: up mac: <filter> 
  Device-2: Atheros type: USB driver: btusb bus ID: 1-6:3 
Drives:
  Local Storage: total: 352.13 GiB used: 230.78 GiB (65.5%) 
  ID-1: /dev/nvme0n1 vendor: Lenovo O.E.M. model: RPFTJ128PDD2EWX 
  size: 119.24 GiB 
  ID-2: /dev/sda vendor: Samsung model: SSD 840 Series size: 232.89 GiB 
Partition:
  ID-1: / size: 114.70 GiB used: 54.01 GiB (47.1%) fs: ext4 dev: /dev/dm-1 
  ID-2: /boot size: 704.5 MiB used: 310.7 MiB (44.1%) fs: ext4 
  dev: /dev/nvme0n1p2 
  ID-3: swap-1 size: 976.0 MiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-2 
Sensors:
  System Temperatures: cpu: 47.6 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 252 Uptime: 37m Memory: 9.73 GiB used: 3.43 GiB (35.3%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.5.0 Shell: bash v: 4.4.20 
  inxi: 3.0.32 
rfkill list all

Code: Select all

0: ideapad_wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: ideapad_bluetooth: Bluetooth
	Soft blocked: yes
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no
3: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
iwconfig

Code: Select all

lo        no wireless extensions.

wlp2s0    IEEE 802.11  ESSID:"UPC8C8FBBC"  
          Mode:Managed  Frequency:5.24 GHz  Access Point: 90:5C:44:23:F3:DE   
          Bit Rate=6 Mb/s   Tx-Power=30 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=46/70  Signal level=-64 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:195   Missed beacon:0
lspci

Code: Select all

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15d0
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 15d1
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 145d
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 145d
00:01.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15db
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15dc
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e8
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e9
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ea
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15eb
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ec
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ed
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ee
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ef
01:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
02:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
03:00.0 Non-Volatile memory controller: Device 1cc4:5008 (rev 01)
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev c5)
04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15de
04:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 15df
04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e5
04:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Device 15e2
04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Device 15e3
05:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 61)
dazdylz
Level 1
Level 1
Posts: 17
Joined: Sun Mar 15, 2020 5:23 am

Re: QCA9377 wifi breaking off - really a lost cause?

Post by dazdylz »

I have the same issue!! Can you keep me posted if you find solution

For me 2.4ghz works fine only problem 5ghz
HisFordship
Level 1
Level 1
Posts: 2
Joined: Sun Mar 15, 2020 4:42 am

Re: QCA9377 wifi breaking off - really a lost cause?

Post by HisFordship »

Switching from 5GHz to 2.4GHz in the Network Connections Settins actually helps! Thanks for this workaround!
dazdylz
Level 1
Level 1
Posts: 17
Joined: Sun Mar 15, 2020 5:23 am

Re: QCA9377 wifi breaking off - really a lost cause?

Post by dazdylz »

Great. But I still hope to find a solution for 5GHz
dazdylz
Level 1
Level 1
Posts: 17
Joined: Sun Mar 15, 2020 5:23 am

Re: QCA9377 wifi breaking off - really a lost cause?

Post by dazdylz »

Fix found! https://www.reddit.com/r/linuxmint/comm ... ghz_issue/

Code: Select all

$ cd /lib/firmware/ath10k/QCA9377/hw1.0/
$ sudo mv firmware-5.bin firmware-5.bin.orig
$ sudo mv firmware-6.bin firmware-6.bin.orig
$ sudo wget "https://github.com/kvalo/ath10k-firmware/blob/master/QCA9377/hw1.0/CNSS.TF.1.0/firmware-5.bin_CNSS.TF.1.0-00267-QCATFSWPZ-1?raw=true" -O firmware-5.bin

Code: Select all

$ sudo modprobe -r ath10k_pci
$ sudo modprobe ath10k_pci
$ sudo dmesg | grep ath10k
User avatar
elviolmp
Level 1
Level 1
Posts: 38
Joined: Wed Jan 03, 2018 11:48 am

Re: QCA9377 wifi breaking off - really a lost cause?

Post by elviolmp »

Well... I'm look for a different solution....

My wifi speed is 100Mbps for download and upload, but, when I do tests on "https://www.speedtest.net/", upload always aproximate near at 100Mbps and upload speed never step over 40Mbps.
I think that the problem is some definition that limit the upload speed but I don't know where is this definition.
I think this becouse when the teste is made with a live USB, download and upload always be near at 10Mbps.

I put the commands:

Code: Select all

sudo modprobe -r ath10k_pci && sudo modprobe ath10k_pci
... but I din't saw difference in the tests.

Well, my system is a Samsung Expert X50 NP350XAA-KF3BR - wifi "Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)" with ath10k_pci driver.
OS: Linux Mint 19.3 Cinnamon
kernel: "Linux Note-LM-Elvio 4.15.0-99-generic #100-Ubuntu SMP Wed Apr 22 20:32:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux"

What can I do to resolve this situation?
Specifically, resolve the upload speed, because the hardware has been identified correctly and is working.
Linux Mint 20.1 Cinnamon 64bits - MSI X570-A Pro - AMD AM4 3600 - GTX 1660
User avatar
elviolmp
Level 1
Level 1
Posts: 38
Joined: Wed Jan 03, 2018 11:48 am

Re: QCA9377 wifi breaking off - really a lost cause?

Post by elviolmp »

The limited upload speed was solved when I updated Kernel from 4.15 to 5.3.
Now is working fine.
Linux Mint 20.1 Cinnamon 64bits - MSI X570-A Pro - AMD AM4 3600 - GTX 1660
Post Reply