This question already has an answer here:

I am using a Lenovo E51. First issue is that my Wifi is connected however it constantly has zero bars when looking at connection strength.

The other issue being more serious. Occasionally (roughly every hour) when using the wifi my web pages stop loading and all traffic through the internet becomes null and void. I have pinged my wifi access point during one of these connection drops, and it shows roughly 17 000 ms with 15% packet-loss. However, if I ping the access point from another laptop I do not have the same issue.

When i disable my wifi and use ethernet connection my ping and packet-loss return to normal.

More Details

sudo lshw -class network

   description: Wireless interface
   product: Qualcomm Atheros
   vendor: Qualcomm Atheros
   physical id: 0
   bus info: pci@0000:02:00.0
   logical name: wlp2s0
   version: 30
   serial: c8:ff:28:6f:d5:3b
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
   configuration: broadcast=yes driver=ath10k_pci driverversion=4.4.0-28-generic firmware=WLAN.TF.1.0-00267-1 ip=10.0.42.172 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
   resources: irq:128 memory:c1000000-c11fffff
dmesg | grep ath10k

[   54.031166] ath10k_pci 0000:02:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[   54.267795] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2
[   56.149768] ath10k_pci 0000:02:00.0: qca9377 hw1.0 (0x05020000, 0x003820ff sub 17aa:4035) fw WLAN.TF.1.0-00267-1 fwapi 5 bdapi 2 htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 features ignore-otp
[   56.149769] ath10k_pci 0000:02:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[   56.158505] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0
[35286.808388] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[35294.004448] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[37307.506326] ath10k_pci 0000:02:00.0: failed to install key for vdev 0 peer 30:91:8f:91:88:8b: -110
[37307.562587] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[38438.809538] ath10k_pci 0000:02:00.0: failed to install key for vdev 0 peer 30:91:8f:91:88:8b: -110
[43803.521938] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[43895.527856] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[43912.384595] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[43912.418986] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[43912.470225] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[43912.490166] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[43917.679053] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[43943.076183] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[43943.076530] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!
[43943.076949] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame(s)!

Let me know if there is any other information you guys need. Thanks in advance for any/all help.

EDIT: Firmware update was unsuccessful - dmesg | grep ath10k returns same error

dmesg | grep ath10k

[   54.031166] ath10k_pci 0000:02:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[   54.267795] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2
[   56.149768] ath10k_pci 0000:02:00.0: qca9377 hw1.0 (0x05020000, 0x003820ff sub 17aa:4035) fw WLAN.TF.1.0-00267-1 fwapi 5 bdapi 2 htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 features ignore-otp
[   56.149769] ath10k_pci 0000:02:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[   56.158505] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0

Update: I have also tried updating my kernel version from version 4.4.0-31-generic to 4.4.9-040409-generic with no success.

$ lspci -nnk | grep -A2 Network
02:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0042] (rev 30)
    Subsystem: Lenovo Device [17aa:4035]
    Kernel driver in use: ath10k_pci

I have also tried as suggested in Atho 10 WiFi not working properly namely:

sudo apt-get install git
git clone https://github.com/kvalo/ath10k-firmware.git
cd ath10k-firmware
sudo cp -r -i * /lib/firmware/ath10k/

dmesg | grep ath10k errors still persist along with connection issues.

share|improve this question

marked as duplicate by waltinator, Eric Carvalho, Wild Man, David Foerster, Elder Geek Aug 9 '16 at 23:03

This question was marked as an exact duplicate of an existing question.

    
Wireless Chipset 02:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0042] (rev 30) Subsystem: Lenovo Device [17aa:4035] Kernel driver in use: ath10k_pci I have tried kernel and firmware updates and they did not resolve the issue – YinGroen Aug 15 '16 at 11:31
    
This is not a duplicate of the problem from 15.10, i.e. just "upgrading the firmware" isn't going to help for people already running the latest firmware. For my qca9377 ath10k_pci device the problem with the disconnects and drops was fixed in some vanilla kernel between 4.4 and 4.8.12. See my comment below : askubuntu.com/questions/806097/… . I'm running 4.8.12 now and it's working great. – sabujp Dec 5 '16 at 0:51
    
@sabujp I have updated my kernel to 4.8.0 and am still getting the error. Will check other kernel versions and let you know. So you are not getting the error from dmesg | grep ath10k since you updated to 4.8.12? – YinGroen Dec 9 '16 at 9:53
    
I'm using 4.8.12 and have model qca9377 . The only time I still have problems is sometimes after coming out of suspend it takes several minutes for it to try to connect by itself, so I restart the wifi stack with this so that it connects immediately : sudo rmmod -f ath10k_pci ath10k_core ath mac80211 cfg80211 && sudo modprobe ath10k_pci ath10k_core ath mac80211 cfg80211 && sudo /etc/init.d/network-manager restart ; nohup nm-applet & . Put that in a script in your path. – sabujp Dec 10 '16 at 16:26

I suggest you try later firmware for your device. With a working internet connection, open a terminal and do:

wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.159_all.deb
sudo dpkg -i linux-firmware*.deb

Reboot and let us know if the performance has improved.

Note to searchers: The version number, 1.159 in this case, changes from time to time. This version number may be invalid at some point in the future.

share|improve this answer
    
i have done as you suggested but it seems that after my reboot that my wireless interface doesn't display when I use the ifconfig -a command. Please note that i am new to Linux and would appreciate your patience. – YinGroen Aug 2 '16 at 15:19
    
Now that you've updated the firmware, what does this tell us? dmesg | grep ath – chili555 Aug 2 '16 at 16:21
    
Nothing. It only prompts for the next command. – YinGroen Aug 3 '16 at 6:52
    
EDIT: after a second reboot the network interface exists and network strength shows, however "Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2" error still persists – YinGroen Aug 3 '16 at 13:11
    
Now can you stay connected? Is there any improvement in pings? – chili555 Aug 3 '16 at 13:20

Not the answer you're looking for? Browse other questions tagged or ask your own question.