Wifi not working with Qualcomm Atheros

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
questionaire

Wifi not working with Qualcomm Atheros

Post by questionaire »

I am using "linuxmint-18.3-cinnamon-64bit" on a Dell Inspiron 5570.

Works:

Wifi worked for about 10 sec. after doing:

Code: Select all

service network-manager restart
It worked at first, but after trying multiple solutions, it's now not working anymore as well. (Maybe because of re-installing the linux-firmware?)

Things I've tried:

Code: Select all

sudo apt-get install --reinstall linux-firmware
Information:

Code: Select all

$ sudo lshw -C network

  *-network              
       description: Ethernet interface
       product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: enp2s0
       version: 07
       serial: 8c:ec:4b:03:a1:df
       size: 100Mbit/s
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8106e-1_0.0.1 06/29/12 ip=192.168.239.54 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
       resources: irq:279 ioport:d000(size=256) memory:d2204000-d2204fff memory:d2200000-d2203fff
  *-network
       description: Wireless interface
       product: Qualcomm Atheros
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlp3s0
       version: 31
       serial: d4:6a:6a:d9:cd:29
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath10k_pci driverversion=4.10.0-38-generic firmware=WLAN.TF.1.0-00267-1 ip=192.168.239.53 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:283 memory:d2000000-d21fffff
---

Code: Select all

$ lspci -knn | grep Net -A2
03:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0042] (rev 31)
    Subsystem: Dell Device [1028:1810]
    Kernel driver in use: ath10k_pci
---

Code: Select all

$ uname -r
4.10.0-38-generic
---

Code: Select all

$ lspci -nnk | grep -iA2 net; dmesg | grep ath10k
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 07)
    Subsystem: Dell RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [1028:0810]
    Kernel driver in use: r8169
    Kernel modules: r8169, r8101
03:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0042] (rev 31)
    Subsystem: Dell Device [1028:1810]
    Kernel driver in use: ath10k_pci
[    4.902192] ath10k_pci 0000:03:00.0: enabling device (0000 -> 0002)
[    4.903076] ath10k_pci 0000:03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[    5.194438] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:03:00.0.bin failed with error -2
[    5.194447] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[    5.198516] ath10k_pci 0000:03:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 1028:1810
[    5.198517] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[    5.198815] ath10k_pci 0000:03:00.0: firmware ver WLAN.TF.1.0-00267-1 api 5 features ignore-otp crc32 79cea2c7
[    5.264367] ath10k_pci 0000:03:00.0: failed to fetch board data for bus=pci,vendor=168c,device=0042,subsystem-vendor=1028,subsystem-device=1810 from ath10k/QCA9377/hw1.0/board-2.bin
[    5.265274] ath10k_pci 0000:03:00.0: board_file api 1 bmi_id N/A crc32 544289f7
[    7.074424] ath10k_pci 0000:03:00.0: htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[    7.087956] ath10k_pci 0000:03:00.0 wlp3s0: renamed from wlan0
[    9.346763] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
---

Code: Select all

$ lsmod | grep ath
ath10k_pci             45056  0
ath10k_core           344064  1 ath10k_pci
ath                    28672  1 ath10k_core
mac80211              782336  1 ath10k_core
cfg80211              602112  3 mac80211,ath,ath10k_core

jarno@jarno-Inspiron-5570 ~ $ dmesg | grep 02:00
[    0.231768] pci 0000:02:00.0: [10ec:8136] type 00 class 0x020000
[    0.231802] pci 0000:02:00.0: reg 0x10: [io  0xd000-0xd0ff]
[    0.231837] pci 0000:02:00.0: reg 0x18: [mem 0xd2204000-0xd2204fff 64bit]
[    0.231860] pci 0000:02:00.0: reg 0x20: [mem 0xd2200000-0xd2203fff 64bit pref]
[    0.231983] pci 0000:02:00.0: supports D1 D2
[    0.231984] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.232054] pci 0000:02:00.0: System wakeup disabled by ACPI
[    0.906580] r8169 0000:02:00.0 eth0: RTL8106e at 0xffff9d4f40cb1000, 8c:ec:4b:03:a1:df, XID 04900000 IRQ 279
[    0.926155] r8169 0000:02:00.0 enp2s0: renamed from eth0
[    5.568215] r8169 0000:02:00.0 enp2s0: link down
[    5.568219] r8169 0000:02:00.0 enp2s0: link down
[    7.158853] r8169 0000:02:00.0 enp2s0: link up
[   10.628873] r8169 0000:02:00.0 enp2s0: link down
[   44.920483] r8169 0000:02:00.0 enp2s0: link up

---

Code: Select all

$ rfkill list all
0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi not working with Qualcomm Atheros

Post by JeremyB »

Looks like another power management issue on wifi

Code: Select all

sudo sed -i 's/3/2/' /etc/NetworkManager/conf.d/*
service network-manager restart
See if it works better
questionaire

Re: Wifi not working with Qualcomm Atheros

Post by questionaire »

Thanks for the fast response.

Unfortunately it doesn't work. Fyi, the restart network-manager doesn't work anymore after I fiddled around. Maybe I made the problem worse? Any ideas how to revert?
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi not working with Qualcomm Atheros

Post by JeremyB »

Code: Select all

sudo sed -i 's/2/3/' /etc/NetworkManager/conf.d/*
service network-manager restart
It could also be the encryption used by the wifi router as WPA2 with AES/CCMP is preferred, TKIP causes problems
questionaire

Re: Wifi not working with Qualcomm Atheros

Post by questionaire »

How would I verify this?

EDIT: Our wifi is WPA2 with AES
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Wifi not working with Qualcomm Atheros

Post by JeremyB »

Code: Select all

cat /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
Will show you the power save setting and to see the encryption used

Code: Select all

iwlist scan | egrep -i 'ssid|cypher'
Just look at what the cypher is below your SSID
questionaire

Re: Wifi not working with Qualcomm Atheros

Post by questionaire »

Code: Select all

cat /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
[connection]
wifi.powersave = 3

Code: Select all

$ iwlist scan | egrep -i 'ssid|cypher'
lo        Interface doesn't support scanning.

enp2s0    Interface doesn't support scanning.

                    ESSID:"twifi"
Locked

Return to “Networking”