Qualcomm Atheros QCA6174 isn't working on Manjaro 19.0

Hi there! I recently got a brand new Xiaomi Redmibook 14 Ryzen Edition with Ryzen 7 3700U CPU. I'm currently rolling on new 5.5 kernel, and almost all loking good, except suspend glitches, power consumption, fan noise and most annoying - WiFi module. It doesn't work at all, I can't even see if there are some available WiFi networks. I tried reinstalling linux-firmware, masking tlp, nothing helps. Amy help would be appreciated!

inxi -Fxxxz:

System:    Host: hackfeed Kernel: 5.5.2-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.2.0 Desktop: KDE Plasma 5.17.5 
           tk: Qt 5.14.1 wm: kwin_x11 dm: SDDM Distro: Manjaro Linux 
Machine:   Type: Laptop System: TIMI product: RedmiBook 14-APCS v: N/A serial: <filter> Chassis: type: 10 
           serial: <filter> 
           Mobo: TIMI model: TM1931 v: V1.00 serial: <filter> UEFI: TIMI v: RMRPC400P0200 date: 09/25/2019 
Battery:   ID-1: BAT0 charge: 31.3 Wh condition: 49.3/47.0 Wh (105%) volts: 15.4/15.2 model: SUNWODA R14B01W type: Li-ion 
           serial: <filter> status: Discharging 
CPU:       Topology: Quad Core model: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx bits: 64 type: MT MCP arch: Zen+ 
           rev: 1 L2 cache: 2048 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 36749 
           Speed: 1586 MHz min/max: 1400/2300 MHz boost: enabled Core speeds (MHz): 1: 1217 2: 1205 3: 1213 4: 1289 
           5: 1300 6: 1555 7: 1201 8: 1203 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Picasso vendor: Xiaomi driver: amdgpu v: kernel bus ID: 03:00.0 
           chip ID: 1002:15d8 
           Display: x11 server: X.Org 1.20.7 driver: amdgpu FAILED: ati unloaded: modesetting alternate: fbdev,vesa 
           compositor: kwin_x11 resolution: 1920x1080~60Hz, 1920x1080~60Hz 
           OpenGL: renderer: AMD RAVEN (DRM 3.36.0 5.5.2-1-MANJARO LLVM 9.0.1) v: 4.5 Mesa 19.3.4 direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Xiaomi 
           driver: snd_hda_intel v: kernel bus ID: 03:00.1 chip ID: 1002:15de 
           Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Xiaomi 
           driver: N/A bus ID: 03:00.5 chip ID: 1022:15e2 
           Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Xiaomi driver: snd_hda_intel v: kernel 
           bus ID: 03:00.6 chip ID: 1022:15e3 
           Sound Server: ALSA v: k5.5.2-1-MANJARO 
Network:   Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Lite-On driver: ath10k_pci 
           v: kernel bus ID: 01:00.0 chip ID: 168c:003e 
           IF: wlp1s0 state: down mac: <filter> 
           IF-ID-1: docker0 state: down mac: <filter> 
           IF-ID-2: enp3s0f3u3 state: unknown speed: N/A duplex: N/A mac: <filter> 
Drives:    Local Storage: total: 476.94 GiB used: 12.41 GiB (2.6%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HAJQ-00000 size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 
           serial: <filter> rev: EXA7301Q scheme: GPT 
Partition: ID-1: / size: 245.08 GiB used: 11.37 GiB (4.6%) fs: ext4 dev: /dev/nvme0n1p6 
           ID-2: /home size: 144.18 GiB used: 1.04 GiB (0.7%) fs: ext4 dev: /dev/nvme0n1p7 
           ID-3: swap-1 size: 2.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme0n1p8 
Sensors:   System Temperatures: cpu: 61.8 C mobo: 30.0 C gpu: amdgpu temp: 61 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 241 Uptime: 1h 33m Memory: 13.66 GiB used: 2.10 GiB (15.4%) Init: systemd v: 242 Compilers: 
           gcc: 9.2.0 Shell: zsh v: 5.7.1 running in: konsole inxi: 3.0.37

Have you searched the forum? There's quite a lot of posts on that card:
https://archived.forum.manjaro.org/search?context=topic&context_id=126534&q=Qualcomm%20Atheros%20QCA6174&skip_context=true

Yeah, as I mentioned, I tried to reinstall linux-firmware and mask tlp, which were suggested by topics in this forum, but nothing really happened

It looks like you have a driver installed, but it's 802.11ac (=WiFi 5). Is your router 802.11ac compatible?

What is the output of:

nmcli device wifi list

@tbg This is more your thing than mine and OP followed some of you posts already.

It outputs literally nothing:

nmcli device wifi test
IN-USE  BSSID  SSID  MODE  CHAN  RATE  SIGNAL  BARS  SECURITY

The problem can be in WiFi router, because it works on 2.4GHz, but is every single routers in the world are running on 2.4GHz, because I can't see any available network during this day (I was in university and still no connections available)

UPD: I just tried to share WiFi from my phone: neither 2.4GHz worked, nor 5.0GHz. Seems like it is a problem with driver

See this thread for many ath10k fixes:

The one stop shop for Atheros wifi fixes.

2 Likes

What's your boot log showing related to your wifi adapter?

It shows nothing

Maybe you should consider to test different, older kernels.

I already tried 5.4 and 5.5 kernels. If I try earlier kernels, my notebook will face a lot more issues than non-working WiFi :slight_smile:

What happens if you try to bring the interface up manually on cli?

How can I do it?

Could you do this first:
"journalctl -b | grep wlp1s0"
I find it odd the interface is listed with inxi and the boot log showing nothing.

Mar 02 20:52:34 hackfeed kernel: ath10k_pci 0000:01:00.0 wlp1s0: renamed from wlan0
Mar 02 20:52:34 hackfeed NetworkManager[781]: <info>  [1583171554.5308] device (wlan0): interface index 3 renamed iface from 'wlan0' to 'wlp1s0'
Mar 02 20:52:34 hackfeed NetworkManager[781]: <info>  [1583171554.5411] device (wlp1s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Mar 02 20:52:37 hackfeed NetworkManager[781]: <info>  [1583171557.9199] device (wlp1s0): set-hw-addr: set MAC address to BE:E0:6F:C8:53:AB (scanning)
Mar 02 20:52:44 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Connection timed out
Mar 02 20:52:44 hackfeed wpa_supplicant[1443]: nl80211: Could not set interface 'wlp1s0' UP
Mar 02 20:52:44 hackfeed wpa_supplicant[1443]: nl80211: deinit ifname=wlp1s0 disabled_11b_rates=0
Mar 02 20:52:48 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Connection timed out
Mar 02 20:52:48 hackfeed wpa_supplicant[1443]: WEXT: Could not set interface 'wlp1s0' UP
Mar 02 20:52:48 hackfeed wpa_supplicant[1443]: wlp1s0: Failed to initialize driver interface
Mar 02 20:52:48 hackfeed NetworkManager[781]: <error> [1583171568.1687] sup-iface[0x5632b0b29900,wlp1s0]: error adding interface: wpa_supplicant couldn't grab this interface.
Mar 02 20:52:48 hackfeed NetworkManager[781]: <info>  [1583171568.1687] device (wlp1s0): supplicant interface state: starting -> down
Mar 02 20:52:58 hackfeed NetworkManager[781]: <warn>  [1583171578.0989] device (wlp1s0): re-acquiring supplicant interface (#1).
Mar 02 20:53:01 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Connection timed out
Mar 02 20:53:01 hackfeed wpa_supplicant[1443]: nl80211: Could not set interface 'wlp1s0' UP
Mar 02 20:53:01 hackfeed wpa_supplicant[1443]: nl80211: deinit ifname=wlp1s0 disabled_11b_rates=0
Mar 02 20:53:05 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Connection timed out
Mar 02 20:53:05 hackfeed wpa_supplicant[1443]: WEXT: Could not set interface 'wlp1s0' UP
Mar 02 20:53:05 hackfeed NetworkManager[781]: <error> [1583171585.0137] sup-iface[0x5632b0b299f0,wlp1s0]: error adding interface: wpa_supplicant couldn't grab this interface.
Mar 02 20:53:05 hackfeed wpa_supplicant[1443]: wlp1s0: Failed to initialize driver interface
Mar 02 20:53:05 hackfeed NetworkManager[781]: <info>  [1583171585.0137] device (wlp1s0): supplicant interface state: starting -> down
Mar 02 20:53:15 hackfeed NetworkManager[781]: <warn>  [1583171595.1019] device (wlp1s0): re-acquiring supplicant interface (#2).
Mar 02 20:53:18 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Connection timed out
Mar 02 20:53:18 hackfeed wpa_supplicant[1443]: nl80211: Could not set interface 'wlp1s0' UP
Mar 02 20:53:18 hackfeed wpa_supplicant[1443]: nl80211: deinit ifname=wlp1s0 disabled_11b_rates=0
Mar 02 20:53:21 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Connection timed out
Mar 02 20:53:21 hackfeed wpa_supplicant[1443]: WEXT: Could not set interface 'wlp1s0' UP
Mar 02 20:53:21 hackfeed NetworkManager[781]: <error> [1583171601.8665] sup-iface[0x5632b0b29ae0,wlp1s0]: error adding interface: wpa_supplicant couldn't grab this interface.
Mar 02 20:53:21 hackfeed wpa_supplicant[1443]: wlp1s0: Failed to initialize driver interface
Mar 02 20:53:21 hackfeed NetworkManager[781]: <info>  [1583171601.8666] device (wlp1s0): supplicant interface state: starting -> down
Mar 02 20:53:32 hackfeed NetworkManager[781]: <warn>  [1583171612.0966] device (wlp1s0): re-acquiring supplicant interface (#3).
Mar 02 20:53:35 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Resource temporarily unavailable
Mar 02 20:53:35 hackfeed wpa_supplicant[1443]: nl80211: Could not set interface 'wlp1s0' UP
Mar 02 20:53:35 hackfeed wpa_supplicant[1443]: nl80211: deinit ifname=wlp1s0 disabled_11b_rates=0
Mar 02 20:53:38 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Connection timed out
Mar 02 20:53:38 hackfeed NetworkManager[781]: <error> [1583171618.9335] sup-iface[0x5632b0b29bd0,wlp1s0]: error adding interface: wpa_supplicant couldn't grab this interface.
Mar 02 20:53:38 hackfeed wpa_supplicant[1443]: WEXT: Could not set interface 'wlp1s0' UP
Mar 02 20:53:38 hackfeed NetworkManager[781]: <info>  [1583171618.9336] device (wlp1s0): supplicant interface state: starting -> down
Mar 02 20:53:38 hackfeed wpa_supplicant[1443]: wlp1s0: Failed to initialize driver interface
Mar 02 20:53:49 hackfeed NetworkManager[781]: <warn>  [1583171629.1031] device (wlp1s0): re-acquiring supplicant interface (#4).
Mar 02 20:53:52 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Connection timed out
Mar 02 20:53:52 hackfeed wpa_supplicant[1443]: nl80211: Could not set interface 'wlp1s0' UP
Mar 02 20:53:52 hackfeed wpa_supplicant[1443]: nl80211: deinit ifname=wlp1s0 disabled_11b_rates=0
Mar 02 20:53:56 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Resource temporarily unavailable
Mar 02 20:53:56 hackfeed wpa_supplicant[1443]: WEXT: Could not set interface 'wlp1s0' UP
Mar 02 20:53:56 hackfeed wpa_supplicant[1443]: wlp1s0: Failed to initialize driver interface
Mar 02 20:53:56 hackfeed NetworkManager[781]: <error> [1583171636.0031] sup-iface[0x5632b0b29cc0,wlp1s0]: error adding interface: wpa_supplicant couldn't grab this interface.
Mar 02 20:53:56 hackfeed NetworkManager[781]: <info>  [1583171636.0031] device (wlp1s0): supplicant interface state: starting -> down
Mar 02 20:54:06 hackfeed NetworkManager[781]: <warn>  [1583171646.1028] device (wlp1s0): re-acquiring supplicant interface (#5).
Mar 02 20:54:09 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Connection timed out
Mar 02 20:54:09 hackfeed wpa_supplicant[1443]: nl80211: Could not set interface 'wlp1s0' UP
Mar 02 20:54:09 hackfeed wpa_supplicant[1443]: nl80211: deinit ifname=wlp1s0 disabled_11b_rates=0
Mar 02 20:54:12 hackfeed wpa_supplicant[1443]: Could not set interface wlp1s0 flags (UP): Connection timed out
Mar 02 20:54:12 hackfeed wpa_supplicant[1443]: WEXT: Could not set interface 'wlp1s0' UP
Mar 02 20:54:12 hackfeed wpa_supplicant[1443]: wlp1s0: Failed to initialize driver interface
Mar 02 20:54:12 hackfeed NetworkManager[781]: <error> [1583171652.8581] sup-iface[0x5632b0b29cc0,wlp1s0]: error adding interface: wpa_supplicant couldn't grab this interface.
Mar 02 20:54:12 hackfeed NetworkManager[781]: <info>  [1583171652.8581] device (wlp1s0): supplicant interface state: starting -> down
Mar 02 20:54:12 hackfeed NetworkManager[781]: <info>  [1583171652.8582] device (wlp1s0): supplicant interface keeps failing,

OK, it seems to show something, though.
Maybe @tbg is able to interpret this, i am not.

The link I posted earlier has almost every fix that I can think of that applies to Atheros adapters. If the OP would methodically work through the suggested fixes and report on the results that would save a ton of duplicated effort.

I would start with the suggestion on that thread to disable MAC address randomization. The fixes already listed there are the most likely to provide a solution. The actual solution listed on that thread is the least likely to work in this users case. All the other suggestions are worth trying.

When the OP has worked through that threads suggestions and provided proper feedback (with terminal outputs) I'd be willing to take another look at this issue. Until then, I can't see wasting time running the same diagnostics all over again that are well documented already on the linked thread.

1 Like

I tried every step from post that you linked there. Nothing works. The problem is that my wifi is on, but I can't see any available network.

dmesg | grep firmware:

[    2.320576] [drm] Found VCN firmware Version ENC: 1.9 DEC: 1 VEP: 0 Revision: 28
[    2.320608] [drm] PSP loading VCN firmware
[    2.395766] ath10k_pci 0000:01:00.0: firmware ver WLAN.RM.4.4.1-00140-QCARMSWPZ-1 api 6 features wowlan,ignore-otp,mfp crc32 29eb8ca1
[   15.776016] ath10k_pci 0000:01:00.0: failed to ping firmware: -110
[   56.949179] ath10k_pci 0000:01:00.0: failed to ping firmware: -110
[  111.989198] ath10k_pci 0000:01:00.0: failed to ping firmware: -110

systemctl status NetworkManager shows nothing about my wifi card:

● NetworkManager.service - Network Manager
   Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: disabled)
  Drop-In: /usr/lib/systemd/system/NetworkManager.service.d
           └─NetworkManager-ovs.conf
   Active: active (running) since Tue 2020-03-03 15:52:17 MSK; 6min ago
     Docs: man:NetworkManager(8)
 Main PID: 800 (NetworkManager)
    Tasks: 3 (limit: 4915)
   Memory: 16.5M
   CGroup: /system.slice/NetworkManager.service
           └─800 /usr/bin/NetworkManager --no-daemon

Mar 03 15:54:08 hackfeed NetworkManager[800]: <info>  [1583240048.3325] dhcp4 (enp3s0f4u2): option subnet_mask          => '255.255.255.0'
Mar 03 15:54:08 hackfeed NetworkManager[800]: <info>  [1583240048.3325] dhcp4 (enp3s0f4u2): state changed unknown -> bound
Mar 03 15:54:08 hackfeed NetworkManager[800]: <info>  [1583240048.3356] device (enp3s0f4u2): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Mar 03 15:54:08 hackfeed NetworkManager[800]: <info>  [1583240048.3551] device (enp3s0f4u2): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Mar 03 15:54:08 hackfeed NetworkManager[800]: <info>  [1583240048.3555] device (enp3s0f4u2): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Mar 03 15:54:08 hackfeed NetworkManager[800]: <info>  [1583240048.3562] manager: NetworkManager state is now CONNECTED_LOCAL
Mar 03 15:54:08 hackfeed NetworkManager[800]: <info>  [1583240048.3576] manager: NetworkManager state is now CONNECTED_SITE
Mar 03 15:54:08 hackfeed NetworkManager[800]: <info>  [1583240048.3578] policy: set 'Wired connection 1' (enp3s0f4u2) as default for IPv4 routing and DNS
Mar 03 15:54:08 hackfeed NetworkManager[800]: <info>  [1583240048.3628] device (enp3s0f4u2): Activation: successful, device activated.
Mar 03 15:54:09 hackfeed NetworkManager[800]: <info>  [1583240049.0805] manager: NetworkManager state is now CONNECTED_GLOBAL

Please post:

cat /etc/default/grub | grep CMDLINE

I would suggest testing alternate network manager such as:

https://aur.archlinux.org/packages/networkmanager-iwd/

Forum kindly sponsored by