Qualcomm Atheros wireless card [168c:003e] (rev 32) not supported

Bug #1520343 reported by Dennis Marttinen
190
This bug affects 36 people
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Undecided
Unassigned
OEM Priority Project
Fix Released
Critical
Alex Tu
linux-firmware (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

---------------------------------------------------------------

STATUS 2016-03-17:

==========
WARNING: You need at least kernel 4.5.0 for the following new fix to work, else refer to the old method described in post #22
==========

The support for this card has now been merged to https://github.com/kvalo/ath10k-firmware. The repository now contains the required board.bin, board-2.bin and firmware-4.bin files for the card to initialize and connect to a bgn-access point (5GHz (ac-protocol) is still untested, feel free to modify this if you can confirm it works). Here are the new commands to get you online:

sudo mkdir -p /lib/firmware/ath10k/QCA6174/hw3.0/

sudo rm /lib/firmware/ath10k/QCA6174/hw3.0/* 2> /dev/null

sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/board.bin https://github.com/kvalo/ath10k-firmware/blob/master/QCA6174/hw3.0/board.bin?raw=true

sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/board-2.bin https://github.com/kvalo/ath10k-firmware/blob/master/QCA6174/hw3.0/board-2.bin?raw=true

sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin https://github.com/kvalo/ath10k-firmware/blob/master/QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1?raw=true

Reboot or reload the ath10k_pci module and you should be able to connect!

---------------------------------------------------------------

STATUS 2015-12-22:

Currently there is a fix for this problem in post #22 (originally post #19, but reposted due to command typos!) which seems to have fixed the issue for many. This bug is unique to revision 32 of the card [168c:003e], fixes for older revisions don't seem to work.

There are a couple of issues regarding the fix for some people (not all):

1. Wireless works, but network throughput stops some time after connecting to access point

2. Bluetooth communications take a noticeable performance hit when transferring something over WiFi

---------------------------------------------------------------

Original description:

I have recently installed Ubuntu 15.10 (64-bit) alongside Windows 10 on an Acer Aspire VN7-792G-76ZH and discovered, that the Qualcomm wireless card doesn't work in it or 16.04.
The card has the device id 168c:003e as many other cards, for example the Qualcomm Atheros Killer (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1383184), but it has a newer revision number (32) and the suggested fixes work only partially and the wireless is unusable.

The computer has just been released this summer and is Intel Skylake -based.

I've tried the patch from bug 1383184, which has a fix for the card revision 20:
Make the directory /lib/firmware/ath10k/QCA6174/hw3.0/ and put in the patch files:
board.bin
firmware-4.bin
notice_ath10k_firmware-4.txt

ath10k_pci succeeds in loading the firmware, but it seems that the firmware is not working correctly:

dmesg | grep ath
[ 5.452683] ath10k_pci 0000:07:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 5.678420] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/cal-pci-0000:07:00.0.bin failed with error -2
[ 5.678773] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/board-pci-168c:003e:11ad:0807.bin failed with error -2
[ 5.678781] ath10k_pci 0000:07:00.0: failed to load spec board file, falling back to generic: -2
[ 5.679445] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[ 5.679453] ath10k_pci 0000:07:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[ 7.802316] ath10k_pci 0000:07:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff, 168c:003e:11ad:0807 fallback) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 htt 3.26 wmi 4 cal otp max_sta 32
[ 7.802329] ath10k_pci 0000:07:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 8.200607] ath: EEPROM regdomain: 0x6c
[ 8.200614] ath: EEPROM indicates we should expect a direct regpair map
[ 8.200619] ath: Country alpha2 being used: 00
[ 8.200621] ath: Regpair used: 0x6c
[ 8.216605] ath10k_pci 0000:07:00.0 wlp7s0: renamed from wlan0
[ 13.462029] ath10k_pci 0000:07:00.0: failed to enable dynamic BW: -11
[ 16.461416] ath10k_pci 0000:07:00.0: could not suspend target (-11)
[ 24.760062] ath10k_pci 0000:07:00.0: failed to enable dynamic BW: -11
[ 27.759534] ath10k_pci 0000:07:00.0: could not suspend target (-11)
[ 36.046205] ath10k_pci 0000:07:00.0: failed to set arp ac override parameter: -11
[ 39.045729] ath10k_pci 0000:07:00.0: could not suspend target (-11)
[ 47.344304] ath10k_pci 0000:07:00.0: failed to enable dynamic BW: -11
[ 50.343794] ath10k_pci 0000:07:00.0: could not suspend target (-11)
[ 58.630534] ath10k_pci 0000:07:00.0: failed to enable dynamic BW: -11
[ 61.629936] ath10k_pci 0000:07:00.0: could not suspend target (-11)
[ 69.920624] ath10k_pci 0000:07:00.0: failed to enable dynamic BW: -11
[ 72.920132] ath10k_pci 0000:07:00.0: could not suspend target (-11)
[ 81.206812] ath10k_pci 0000:07:00.0: failed to enable dynamic BW: -11
[ 84.206218] ath10k_pci 0000:07:00.0: could not suspend target (-11)
...

Then it just constantly prints the last two messages on and on.
I can weirdly enough see the card in iwconfig:
wlp7s0 IEEE 802.11abgn ESSID:off/any
          Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
          Retry short limit:7 RTS thr:off Fragment thr:off
          Power Management:off

And I can see the wireless-icon in the toolbar, but scanning for access points or trying to connect to one doesn't work.

This is the furthest I've gotten. I suspect this card needs a new firmware in ath10k?

---
ApportVersion: 2.19.2-0ubuntu6
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: dennis 1230 F.... pulseaudio
CurrentDesktop: GNOME
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=UUID=bed7757a-3749-4efb-9e9f-0ce8129bfbb9
InstallationDate: Installed on 2015-11-11 (15 days ago)
InstallationMedia: Ubuntu-GNOME 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151110)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 04f2:b520 Chicony Electronics Co., Ltd
 Bus 001 Device 002: ID 04ca:3016 Lite-On Technology Corp.
 Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Acer Aspire VN7-792G
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-19-generic.efi.signed root=UUID=bdadfbdf-2233-46de-b804-c88712e6c518 ro ipv6.disable=1 i915.preliminary_hw_support=1
ProcVersionSignature: Ubuntu 4.2.0-19.23-generic 4.2.6
RelatedPackageVersions:
 linux-restricted-modules-4.2.0-19-generic N/A
 linux-backports-modules-4.2.0-19-generic N/A
 linux-firmware 1.153
Tags: xenial
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
Uname: Linux 4.2.0-19-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm bumblebee cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 09/25/2015
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: V1.02
dmi.board.asset.tag: No Asset Tag
dmi.board.name: Aspire VN7-792G
dmi.board.vendor: Acer
dmi.board.version: V1.02
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: V1.02
dmi.modalias: dmi:bvnInsydeCorp.:bvrV1.02:bd09/25/2015:svnAcer:pnAspireVN7-792G:pvrV1.02:rvnAcer:rnAspireVN7-792G:rvrV1.02:cvnAcer:ct10:cvrV1.02:
dmi.product.name: Aspire VN7-792G
dmi.product.version: V1.02
dmi.sys.vendor: Acer

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1520343/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1520343

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Dennis Marttinen (technowelho) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected xenial
description: updated
Revision history for this message
Dennis Marttinen (technowelho) wrote : CRDA.txt

apport information

Revision history for this message
Dennis Marttinen (technowelho) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Dennis Marttinen (technowelho) wrote : IwConfig.txt

apport information

Revision history for this message
Dennis Marttinen (technowelho) wrote : JournalErrors.txt

apport information

Revision history for this message
Dennis Marttinen (technowelho) wrote : Lspci.txt

apport information

Revision history for this message
Dennis Marttinen (technowelho) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Dennis Marttinen (technowelho) wrote : ProcEnviron.txt

apport information

Revision history for this message
Dennis Marttinen (technowelho) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Dennis Marttinen (technowelho) wrote : ProcModules.txt

apport information

Revision history for this message
Dennis Marttinen (technowelho) wrote : PulseList.txt

apport information

Revision history for this message
Dennis Marttinen (technowelho) wrote : RfKill.txt

apport information

Revision history for this message
Dennis Marttinen (technowelho) wrote : UdevDb.txt

apport information

Revision history for this message
Dennis Marttinen (technowelho) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Oliver (aunicorn) wrote :

I have the same issue with a Acer Aspire VN7-792G (NX.G6JEG.006).
Kernel 4.2.0-18-generic, firmware 1.149.2
If you need any more information from my side as well please let me know.

[ 1.572404] ath10k_pci 0000:07:00.0: pci irq legacy interrupts 0 irq_mode 1 reset_mode 0
[ 1.849389] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/cal-pci-0000:07:00.0.bin failed with error -2
[ 1.867652] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/board-pci-168c:003e:11ad:0807.bin failed with error -2
[ 1.867660] ath10k_pci 0000:07:00.0: failed to load spec board file, falling back to generic: -2
[ 4.263807] ath10k_pci 0000:07:00.0: failed to receive control response completion, polling..
[ 5.263657] ath10k_pci 0000:07:00.0: ctl_resp never came in (-110)
[ 5.263660] ath10k_pci 0000:07:00.0: failed to connect to HTC: -110
[ 5.353686] ath10k_pci 0000:07:00.0: could not init core (-110)
[ 5.353708] ath10k_pci 0000:07:00.0: could not probe fw (-110)

Revision history for this message
Db-d (db-d) wrote :

i have the same problem with my Acer Aspire VN7-792G.
Iv installed ubuntu 14.04 with the upstream kernel 4.2

If you need any more information from my side as well please let me know.

what I have already tried can be found here: http://ubuntuforums.org/showthread.php?t=2304154&p=13398554

Revision history for this message
Dennis Marttinen (technowelho) wrote :

I managed to find a solution to this problem and have wireless now fully working!

I found a Github link in jeremy31's post from the Ubuntu Forums link by Db-d (post #18, http://ubuntuforums.org/showthread.php?t=2304154&p=13398554), which led me to Fabian Olesen's firmware versions forked from kvalo's ath10k-firmware repository. From these different (and new) firmware files I managed to construct a working combination.

Here are the commands, which should get the rev 32 card running:

If the firmware file directory doesn't exist, create it:
sudo mkdir -p /lib/firmware/ath10k/QCA6174/hw3.0/

If the directory already exists, backup everything important from it:
mkdir ~/ath10k_old
cp /lib/firmware/ath10k/QCA6174/hw3.0/* ~/ath10k_old

Then delete it's old contents:
sudo rm /lib/firmware/ath10k/QCA6174/hw3.0/*

Now we can start downloading the new board file and the firmware:

sudo wget https://github.com/FireWalkerX/ath10k-firmware/blob/7e56cbb94182a2fdab110cf5bfeded8fd1d44d30/QCA6174/hw3.0/board-2.bin?raw=true /lib/firmware/ath10k/QCA6174/hw3.0/board.bin

sudo wget https://github.com/FireWalkerX/ath10k-firmware/blob/7e56cbb94182a2fdab110cf5bfeded8fd1d44d30/QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1?raw=true /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin

Make the files executable:
sudo chmod +x /lib/firmware/ath10k/QCA6174/hw3.0/*

Reboot and your wireless should now be working!

If this fix works for you Db-d and Oliver, this thread should probably be marked with "patch released" or something similar and possibly the fix merged upstream? I'm not sure how to do this (or what to do next) so could someone give an advice?

/Dennis

Changed in linux (Ubuntu):
status: Confirmed → Fix Committed
status: Fix Committed → Fix Released
status: Fix Released → In Progress
status: In Progress → Fix Committed
status: Fix Committed → In Progress
Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Oliver (aunicorn) wrote :

Thank you Dennis, happy that it worked for you!
Unfortunately it didn't work in my case. Maybe it is another problem since I'm not able to see the "wifi" in the toolbar.

lspci -nn | grep -i net

07:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:003e] (rev 32)

after reboot:

dmesg | grep ath10k

[ 1.912355] ath10k_pci 0000:07:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 2.143818] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/cal-pci-0000:07:00.0.bin failed with error -2
[ 2.151383] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/board-pci-168c:003e:11ad:0807.bin failed with error -2
[ 2.151387] ath10k_pci 0000:07:00.0: failed to load spec board file, falling back to generic: -2
[ 2.151400] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/board.bin failed with error -2
[ 2.151402] ath10k_pci 0000:07:00.0: failed to fetch generic board data: -2
[ 2.151405] ath10k_pci 0000:07:00.0: failed to fetch board file: -2
[ 2.151406] ath10k_pci 0000:07:00.0: could not fetch firmware files (-2)
[ 2.151408] ath10k_pci 0000:07:00.0: could not probe fw (-2)

iwconfig

eth0 no wireless extensions.

lo no wireless extensions.

lshw -c network

  *-network
       description: Network controller
       product: Qualcomm Atheros
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:07:00.0
       version: 32
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list
       configuration: driver=ath10k_pci latency=0
       resources: irq:126 memory:84000000-841fffff

Revision history for this message
Oliver (aunicorn) wrote :

Good morning,

I looked one more time over the problem this morning and I found that it is looking for board.bin

[ 2.151400] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/board.bin failed with error -2

The board.bin in /lib/firmware/ath10k/QCA6174/hw3.0 was called differently (board-2.bin).

I just renamed the file to board.bin

sudo mv /lib/firmware/ath10k/QCA6174/hw3.0/board-2.bin /lib/firmware/ath10k/QCA6174/hw3.0/board.bin

and now it is working fine!

Thank you!

Revision history for this message
Dennis Marttinen (technowelho) wrote :

Yeah, sorry there's a little typo in both of the wget commands, I've missed the parameter specifying the output file name.
Here are the commands for the fix again, this time with the correct parameters and some other little tweaks.
If the /lib/firmware/ath10k/QCA6174/hw3.0/ directory already exists, remember to backup everything from it in case you want to restore the previous configuration.

--------------------

sudo mkdir -p /lib/firmware/ath10k/QCA6174/hw3.0/

sudo rm /lib/firmware/ath10k/QCA6174/hw3.0/* 2> /dev/null

sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/board.bin https://github.com/FireWalkerX/ath10k-firmware/blob/7e56cbb94182a2fdab110cf5bfeded8fd1d44d30/QCA6174/hw3.0/board-2.bin?raw=true

sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin https://github.com/FireWalkerX/ath10k-firmware/blob/7e56cbb94182a2fdab110cf5bfeded8fd1d44d30/QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1?raw=true

sudo chmod +x /lib/firmware/ath10k/QCA6174/hw3.0/*

--------------------

After a reboot your wireless should be working.

The status of this bug should probably not be "In Progress" after a working solution has been found, but please correct me if I'm wrong. As I'm not yet familiar with this bug reporting system, could someone advice me further?

PS. I'm glad you figured it out Oliver, sorry for the extra hassle.

/Dennis

Revision history for this message
Tim (agryps) wrote :

Hello Dennis,

thanks for your work so far. I ve got a new Lenovo u31-70. It has the QCA61x4 in it.
lspci -nn shows me Qualcomm Atheros Device [168c:041].

I tried your commands, but it did not work for me. There was no alarm or like that within in the terminal. But after the reboot it did not show any wireless networks to connect.

Do you have an idea?

Thankfully

Tim

Revision history for this message
Dennis Marttinen (technowelho) wrote :

Hi Tim,

I can have a look at the card if you can tell me it's revision number. If the card has one, it can be found after the device id in lspci, for example: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32) <- here

This bug report is for the [168c:003e] (rev 32) though, so you might need to make a new one for your version [168c:041]. You should also check out some other Atheros bug reports for the card, but since your PC relatively new, it might be a new issue.

/Dennis

tags: added: wily
tags: added: vivid
Revision history for this message
Jeremy (wa113y3s) wrote :

Tim, please see the bug report for your device

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1436940

Revision history for this message
dan (d-dan-3) wrote :

I have the same situation (fresh Ubuntu 15.10 (64-bit) alongside Windows 10).

@Dennis Marttinen (technowelho)
Thank you, your suggestion worked well, but now, I sometimes have connection issues (no data throughput), but nothing special shows up in dmesg. When I reconnect the wifi it works again. Do you have any ideas? Or maybe what logfile I should start looking?

Thanks,
Daniel

Revision history for this message
Dennis Marttinen (technowelho) wrote :

Hi Daniel,

I had similar connection problems, as I had to use an USB WiFi dongle and cable ethernet before I got the Atheros card working. This had changed /etc/resolv.conf, so when removed all parameters from the file and replaced them with the following, the "freezing" issue didn't occur any more:

nameserver <your local loopback address, for example 127.0.1.1>
search <address of your router, for example 192.168.1.1>

You can find the local address with the command:

ifconfig lo

And the router address by looking for "Default Route" in your network settings.

Remember to check /etc/network/interfaces for any unnecessary parameters, mine contains only:

auto lo
iface lo inet loopback

The wireless interface doesn't require any parameters. Otherwise I'm glad that the fix worked for you as well.

/Dennis

Revision history for this message
dan (d-dan-3) wrote :

Hey Dennis,

/etc/resolv.conf already contained 127.0.1.1 as a name server.
My default gateway is 192.168.0.1 but I think changes would be overridden by a reboot. (so I have not tried it yet)

When this connection issue occurs, I cannot even access the default gateway(my router) via its IP (the connection is always pending). Only after reconnecting to the network it works instantly.

/etc/network/interfaces does not contain any unnecessary parameters.

regards,
Daniel

Revision history for this message
Dennis Marttinen (technowelho) wrote :

Daniel, do you have any other network connection (wireless over USB, ethernet etc.) active at the same time? And you can safely put the parameters in /etc/resolv.conf, my configuration hasn't changed even after numerous reboots.

/Dennis

Revision history for this message
dan (d-dan-3) wrote :

Hey Dennis,

No this is the only one. Prior to that, I have used Ethernet.

I changed resolv.conf but I could not verify whether that helped, after a reboot it was reseted again.

Regards,
Daniel

dan (d-dan-3)
Changed in linux (Ubuntu):
status: In Progress → Confirmed
Revision history for this message
Goacid (goacid) wrote :

Hi

Same issue, same solution, and same problem : wireless network seems ok and few second laters, no more working.
ifconfig show normal ip's, dmesg no specific message.
I have to disconnect and reconnect for it works, for few seconds only.

All configuration files are set to defaults, only one wireless card.

Revision history for this message
dan (d-dan-3) wrote :

Hey Goacid,

I have now tried disabling IPv6 because I saw warnings in the syslog right about the same time as when the issue occurred:
NetworkManager[730]:<warn> (wlp7s0): Lowering IPv6 MTU (1280) to match device MTU (0)
NetworkManager[730]: <warn> (wlp7s0): IPv6 MTU (0) smaller than 1280, adjusting
NetworkManager[730]: <warn> (wlp7s0): Raising device MTU (0) to match IPv6 MTU (1280)

So until now, it seems to work.

Please add yourself to the "bug affected" persons.

Regards,
Daniel

penalvch (penalvch)
description: updated
tags: added: latest-bios-1.02
Revision history for this message
Goacid (goacid) wrote :

HI

I saw in dmesg that it tried to load firmware-5.bin, and not firmware-4.bin.
I renamed the file, and reboot.
I doesn't work better
but in dmesg :

[ 9.591143] ath10k_pci 0000:07:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 9.788655] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/cal-pci-0000:07:00.0.bin failed with error -2
[ 9.788949] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/board-pci-168c:003e:11ad:0807.bin failed with error -2
[ 9.788952] ath10k_pci 0000:07:00.0: failed to load spec board file, falling back to generic: -2
[ 11.909482] ath10k_pci 0000:07:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff, 168c:003e:11ad:0807 fallback) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 api 5 htt 3.26 wmi 4 cal otp max_sta 32
[ 11.909484] ath10k_pci 0000:07:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0

ls /lib/firmware/ath10k/QCA6174/hw3.0/
board.bin firmware-5.bin

I do not found any error message regarding ipv6, and from my point of view it's not related, but I try to disable ipv6, disconnect/reconnect wifi and I have still random disconnection

I

Revision history for this message
sid (twinpeaks) wrote :

Hi Dennis,

Thank you so very much. On my new Acer R5-471T-52EE, your solution fixed the WiFI problem!!!

I have Ubuntu 14.04.3 LTS, I upgraded kernel to "4.2.0-21-generic" and then followed your solution exactly. The dmesg also showed me the following messages

[ 1.682634] ath10k_pci 0000:01:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 1.894480] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-0000:01:00.0.bin failed with error -2
[ 1.898086] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/board-pci-168c:003e:11ad:0807.bin failed with error -2
[ 1.898092] ath10k_pci 0000:01:00.0: failed to load spec board file, falling back to generic: -2
[ 1.898776] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[ 1.898780] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2

[ 4.032110] ath10k_pci 0000:01:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff, 168c:003e:11ad:0807 fallback) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 htt 3.26 wmi 4 cal otp max_sta 32
[ 4.032114] ath10k_pci 0000:01:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0

Despite failure to find file "firmware-5.bin" I was able to get wifi properly for the first time on my ubuntu.

Thank you again
-Sid

Revision history for this message
kpbochenek (kpbochenek) wrote :

Hi Denis,

you are the best guy on this planet! I tried different versions of this driver, rebooted my Acer for a whole day and then used your driver and it started working!
I was so close to giving up, thanks a lot :D

~kpbochenek

Revision history for this message
Dennis Marttinen (technowelho) wrote :

I don't think this bug is a duplicate of bug 1383184, as the suggested fix:

"For now, you guys could use 15.10 (purge the ath10k-dkms if you tried installing it), and make a copy of https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/plain/ath10k/QCA6174 into /lib/firmware/ath10k/"

didn't work for me. "dmesg | grep ath" just reports the same old error as in the description. Also, I have already tried the patches from that bug report earlier and made this new one especially because it's fixes didn't work, as you can see in the beginning of the description:

"The card has the device id 168c:003e as many other cards, for example the Qualcomm Atheros Killer (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1383184), but it has a newer revision number (32) and the suggested fixes work only partially and the wireless is unusable."

That said, I've found out how it's only partially working. The suggested firmware-4.bin file from that report does work, but the board.bin file doesn't. If you replace the board.bin file with the file suggested in this bug report's post #22 the combination starts working.

The status of bug 1383184 is marked as "fix released", but having the latest network-manager and linux-firmware on kernel 4.4.0-040400rc5-generic (Ubuntu 15.10) does not fix the issue with the REVISION 32 of the card, which needs the customized board.bin file.

So, not a duplicate?

description: updated
Revision history for this message
Dennis Marttinen (technowelho) wrote :

I've also found out, that my Bluetooth mouse starts lagging behind when downloading something (for example watching a YouTube video). Other Bluetooth devices also seem affected, but the slowdown ends instantly when downloading/uploading over WiFi stops. This has probably something to do with the card's radio, as it manages both Bluetooth and WiFi? Are the channels too close to each other? Maybe there is a way to adjust the bandwidth or frequency if they overlap.

Revision history for this message
Arndt (fizzgig) wrote :

Hey Dennis,

thank you for your workaround. I had the same problems with not working wifi on my Acer Aspire V15 Nitro - Black Edition laptop.

This is my lspci output:
07:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)

After using your fix, the wifi works like a charm but as you said my bluetooth mouse is lagging horrible while transfering data over wifi.

Anything new on this problem? A final fix would be great. :)

Revision history for this message
Jonas (jonasnylund1) wrote :

Dennis, I don't know who you are but you are my hero! :D

My Acer Aspire v13 has been wifi-less since, well, a long time.
I too had found the https://bugs.launchpad.net/bugs/1383184 bug report, but neither the first workaround nor the released fix had any affect. But this (post 22) fixed it. I can live without bluetooth in the meantime.

Cheers!

Revision history for this message
Niko Wenselowski (nik0) wrote :

I got wifi working on a Acer Aspire V13 (v3-372) through the instructions in #19. Thank you!

However I noticed that I am unable to connect to a secured (WPA PSK) 5GHz network. dmesg shows that the authentication times out.
The non-5GHz version of the same network works fine.
Is this also related to the driver or do I need to look at another component?

Revision history for this message
Dennis Marttinen (technowelho) wrote :

Hi Niko,

I've tested out a few 5GHz networks too and have found out the driver can't handle them.
Older Atheros cards using other firmware and board files are connecting to 5Ghz,
so I think it has something to do with the board file, since the stock firmware-4.bin works with the special board.bin file.

It would be great, if someone familiar with ath10k could look at the source code (the urls in post #19).

Revision history for this message
Dennis Marttinen (technowelho) wrote :

I haven't been able to find the sources for the files in FireWalkerX's repo, so this is fix kind of stuck to using what is available.

Revision history for this message
Fabian (firewalkerx-gmail) wrote :

I can help out, FireWalkerX github account is mine, reach out to me at my nickname @gmail

Revision history for this message
Haibo Zhang (kopcarl-2) wrote :

Thanks to Dennis! Now my alienware can reach internet through wifi!!!

My setup is:
Alienware 15 with Qualcomm Atheros wireless card QCA6174 802.11ac (rev 32)
Ubuntu 15.10

I first try "apt upgrade", as instructed by Bug 1383184 -- https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1383184
Apparently, it does not work at all.

After 6 hours struggle, I find this post and followed Dennis in #22. Now my alienware 15 works:)

Cheers!

Revision history for this message
Nucleo (admar505) wrote :

Dennis,

take off the 's' in https and it should work fine, I think that is the problem.

however, the 5Ghz is kind of a problem, does anyone have a solution for that?

Revision history for this message
Fabian (firewalkerx-gmail) wrote :

i wrote an email to dennis, but he has not responded (im the source of the original fix on github)

Revision history for this message
SuperNoa (noa-antonello) wrote :

Thank you, now wifi is working on my Alienware 15 R2 too!

Revision history for this message
dzordz (dzordz-bob) wrote :

Can someone tell what is wrong with my wifi? I run wireless-info and here is what I find. http://paste.ubuntu.com/15090515/ Im not sure were is the problem becouse messages in dmesg tell me nothing interesting. Can someone tell what is going on?

Revision history for this message
dzordz (dzordz-bob) wrote :

I find solution:
- I update kernel to version 4.5-rc4
- I update firmware to latest (https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174/hw3.0)
- reboot

Revision history for this message
Queeq (i-queeq) wrote :

Still doesn't work for me on Samsung NP940X3L...

I managed to extract direct Windows driver download link from Samsung Update tool (it works under Wine :D ):
http://org.downloadcenter.samsung.com/downloadfile/ContentsFile.aspx?CDSite=SUP&CDCttType=SW&ModelType=N&ModelName=SUP&idyn=N&VPath=DR/201510/20151005204622743/BASW-A0410A0C.ZIP

Then there is a way to repack board files for Linux which is described here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1383184/comments/115

The driver is installable from within Wine prefix (haha #2). I've attached the contents of Qualcomm Atheros folder that is put installed under Program Files (x86). There is a whole bunch of binaries, eeproms, etc. there. Maybe someone could find it useful.

Revision history for this message
Nucleo (admar505) wrote :

ok, update:

with 4.2.0-30-generic #35-Ubuntu and the firewalker 3 files, AND ONLY 3 FILES, 5Ghz works.
I had an older firmware-5.bin file in the QCA6174 from the old https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1383184, and removed that. that seemed to help.

thanks for all your hard work!

lspci -v :: Subsystem: Bigfoot Networks, Inc. Device 1535.

here is the version that works:
e3e8096a1f8288e95c1f556d8ce22b2e board-2.bin
df5ba1ca92f98bbd9cb537ddc5747011 board.bin
a5dfbc03c9a7a73f7aa8d0a94a6d9426 firmware-4.bin

Revision history for this message
Queeq (i-queeq) wrote :

Seems like firmware is finally loading for me on 4.5.0 rc6 kernel together with latest ath10k firmware from kvalo repository (https://github.com/kvalo/ath10k-firmware).

However it fails at later stages and wireless adapter doesn't appear.

[ 4.315174] ath10k_pci 0000:01:00.0: enabling device (0000 -> 0002)
[ 4.317037] ath10k_pci 0000:01:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 4.564985] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-0000:01:00.0.bin failed with error -2
[ 4.568367] ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 144d:412f
[ 4.568371] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 4.568689] ath10k_pci 0000:01:00.0: firmware ver WLAN.RM.1.1-00141 api 5 features ignore-otp,no-4addr-pad crc32 c52ef8cc
[ 4.645634] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id N/A crc32 46b57247
[ 7.045690] ath10k_pci 0000:01:00.0: failed to receive control response completion, polling..
[ 8.045714] ath10k_pci 0000:01:00.0: ctl_resp never came in (-110)
[ 8.045718] ath10k_pci 0000:01:00.0: failed to connect to HTC: -110
[ 8.114100] ath10k_pci 0000:01:00.0: could not init core (-110)
[ 8.114125] ath10k_pci 0000:01:00.0: could not probe fw (-110)

Revision history for this message
Christophe Chisogne (cchisogne) wrote :

Comment #22 worked for me (wifi card finally detected, good network connection, did not check bluetooth)

- Ubuntu 15.10
- kernel 4.2.0-34-generic
- lspci: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
- not using sudo echo "options ath10k_core skip_otp=y" > /etc/modprobe.d/ath10k.conf

See Bug 108791 - [ath10k_pci] Killer 1535 card doesn't initalise / https://bugzilla.kernel.org/show_bug.cgi?id=108791
See also the new firmware version (board-2.bin) uploaded 16 days ago: https://github.com/kvalo/ath10k-firmware/commits/master/QCA6174/hw3.0

Revision history for this message
Dennis Marttinen (technowelho) wrote :

Thanks to everyone for research and support so far. As Christophe Chisogne mentioned, a new board-2.bin and a new firmware-4.bin file have been added to kvalo's ath10k-firmware repository and the [168c:003e] (rev 32) is now working correctly using the files from kvalo's master branch. I've also investigated, that ath10k_pci now wants to load both board.bin and board-2.bin, so I expect that they both are required for correct functionality (5GHz maybe? Someone with a new access point could check if it works now).

I'll update the status and add some new instructions to the bug description.

Also, the bluetooth lag problem exists on ath6k as well (tested), it might be related to the atheros driver/wifi card family as a whole rather than just this card.

description: updated
description: updated
Revision history for this message
Queeq (i-queeq) wrote :
Download full text (4.2 KiB)

Not every card from the [168c:003e] (rev 32) family works. As I mentioned in my previous post, mine doesn't. Here is its detailed info (lspci -v):

01:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
 Subsystem: Samsung Electronics Co Ltd Device 412f
 Flags: bus master, fast devsel, latency 0, IRQ 278
 Memory at f7000000 (64-bit, non-prefetchable) [size=2M]
 Capabilities: [40] Power Management version 3
 Capabilities: [50] MSI: Enable+ Count=8/8 Maskable+ 64bit-
 Capabilities: [70] Express Endpoint, MSI 00
 Capabilities: [100] Advanced Error Reporting
 Capabilities: [148] Virtual Channel
 Capabilities: [168] Device Serial Number 00-00-00-00-00-00-00-00
 Capabilities: [178] Latency Tolerance Reporting
 Capabilities: [180] L1 PM Substates
 Kernel driver in use: ath10k_pci

Notice device ID 412f. According to the .inf file extracted from Windows driver archive (also mentioned in one of my previous messages) there is a whole bunch of different cards with (rev 32).

;;Rome 3.x
<rev 30 cut>
PCI\VEN_168C&DEV_003E&SUBSYS_334E168C&REV_32 ;for QCA NFA324A-1
%ATHR.DeviceDesc.6320_3% = ATHR_DEV_OS61_988x_NFA324A_5.ndi, PCI\VEN_168C&DEV_003E&SUBSYS_3360168C&REV_32 ;for QCA NFA324A-5
%ATHR.DeviceDesc.6320_3% = ATHR_DEV_OS61_988x_NFA344A.ndi, PCI\VEN_168C&DEV_003E&SUBSYS_3361168C&REV_32 ;for QCA NFA344A
%ATHR.DeviceDesc.6320_3% = ATHR_DEV_OS61_988x_NFA344A.ndi, PCI\VEN_168C&DEV_003E&SUBSYS_525A1A56&REV_32 ;for Killer1525A
%ATHR.DeviceDesc.6320_3% = ATHR_DEV_OS61_988x_NFA354A.ndi, PCI\VEN_168C&DEV_003E&SUBSYS_3362168C&REV_32 ;for QCA NFA354A
%ATHR.DeviceDesc.6320_3% = ATHR_DEV_OS61_988x_NFA364A.ndi, PCI\VEN_168C&DEV_003E&SUBSYS_3363168C&REV_32 ;for QCA NFA364A
%ATHR.DeviceDesc.6320_3% = ATHR_DEV_OS61_988x_QCA9008.ndi, PCI\VEN_168C&DEV_003E&SUBSYS_3366168C&REV_32 ;for QCA QCA9008
%ATHR.DeviceDesc.6320_3% = ATHR_DEV_OS61_988x_QCA9008.ndi, PCI\VEN_168C&DEV_003E&SUBSYS_900814CD&REV_32 ;for QCA QCA9008
%ATHR.DeviceDesc.6320_3% = ATHR_DEV_OS61_988x_AS_QCA9008.ndi, PCI\VEN_168C&DEV_003E&SUBSYS_980114CD&REV_32 ;for Asus
%ATHR.DeviceDesc.6320_3% = ATHR_DEV_OS61_988x_QCA9008.ndi, PCI\VEN_168C&DEV_003E&SUBSYS_980214CD&REV_32 ;for QCA QCA9008
%ATHR.DeviceDesc.2582_3% = ATHR_DEV_OS61_988x_Killer_NFA364A.ndi, PCI\VEN_168C&DEV_003E&SUBSYS_15351A56&REV_32 ;for Killer
%ATHR.DeviceDesc.2582_3% = ATHR_DEV_OS61_988x_Killer_NFA364A.ndi, PCI\VEN_168C&DEV_003E&SUBSYS_535A1A56&REV_32 ;for Killer
%ATHR.DeviceDesc.2582_3% = ATHR_DEV_OS61_988x_LE_Killer_NFA364A.ndi, PCI\VEN_168C&DEV_003E&SUBSYS_153517AA&REV_32 ;for Lenovo Killer
%ATHR.DeviceDesc.6320_3% = ATHR_DEV_OS61_988x_FJ_NFA344A.ndi, PCI\VEN_168C&DEV_003E&SUBSYS_192A10CF&REV_32 ;for Fujitsu
%ATHR.DeviceDesc.6320_3% = ATHR_DEV_OS61_988x_FJ_NFA344A.ndi, PCI\VEN_168C&DEV_003E&SUBSYS_192B10CF&REV_32 ;for Fujitsu
%ATHR.DeviceDesc.6320_3% = ATHR_DEV_OS61_988x_SS_NFA324A_5.ndi, PCI\VEN_168C&DEV_003E&SUBSYS_412F144D&REV_32 ;for Samsung
%ATHR.DeviceDesc.6320_3% = ATHR_DEV_OS61_988x_SS_NFA324A_5.ndi, PCI\VEN_168C&DEV_003E&SUBSYS_4130...

Read more...

Revision history for this message
DaysJoy (dsz930712) wrote :

I ran the code,

sudo mkdir -p /lib/firmware/ath10k/QCA6174/hw3.0/

sudo rm /lib/firmware/ath10k/QCA6174/hw3.0/* 2> /dev/null

sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/board.bin https://github.com/kvalo/ath10k-firmware/blob/master/QCA6174/hw3.0/board.bin?raw=true

sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/board-2.bin https://github.com/kvalo/ath10k-firmware/blob/master/QCA6174/hw3.0/board-2.bin?raw=true

sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin https://github.com/kvalo/ath10k-firmware/blob/master/QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1?raw=true

and after a reboot, the wireless shows up, but still can not work with 'device not ready' displayed.
and I'm Ubuntu 14.04.4

Revision history for this message
Gary (archvilen) wrote :

FYI -- the author forgot to mention that these files need to be marked executable...

sudo chmod +x /lib/firmware/ath10k/QCA6174/hw3.0/*.bin

Revision history for this message
Daniel Ivanov (sekanato) wrote :
Download full text (3.9 KiB)

Tried current workaround like is written in section "STATUS 2016-03-17:" of the description on the Ubuntu 15.10 Acer v3-372-582Z with kernel 4.2.0-34-generic. After reboot network manager icon in the status bar disappeared, wired is working, wireless is found in network section of the system settings with no networks displayed.

"dmesg | grep ath" output:

[ 10.799117] ath10k_pci 0000:03:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 11.146652] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[ 11.146865] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/board-pci-168c:003e:11ad:0807.bin failed with error -2
[ 11.146880] ath10k_pci 0000:03:00.0: failed to load spec board file, falling back to generic: -2
[ 11.217074] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[ 11.217088] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[ 13.536040] ath10k_pci 0000:03:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff, 168c:003e:11ad:0807 fallback) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 htt 3.26 wmi 4 cal otp max_sta 32
[ 13.536044] ath10k_pci 0000:03:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 14.535456] ath10k_pci 0000:03:00.0: suspend timed out - target pause event never came
[ 17.606584] ath: EEPROM regdomain: 0x6c
[ 17.606590] ath: EEPROM indicates we should expect a direct regpair map
[ 17.606595] ath: Country alpha2 being used: 00
[ 17.606598] ath: Regpair used: 0x6c
[ 17.651008] ath10k_pci 0000:03:00.0 wlp3s0: renamed from wlan0
[ 33.534225] ath10k_pci 0000:03:00.0: failed to enable dynamic BW: -11
[ 36.536625] ath10k_pci 0000:03:00.0: could not suspend target (-11)
[ 57.849248] Modules linked in: rfcomm bnep nls_iso8859_1 arc4 rtsx_usb_ms memstick intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_hdmi kvm_intel snd_hda_codec_realtek snd_hda_codec_generic uvcvideo kvm videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common snd_hda_intel snd_hda_codec joydev i2c_designware_platform ath10k_pci snd_hda_core ath10k_core videodev media acer_wmi snd_hwdep sparse_keymap crct10dif_pclmul crc32_pclmul i2c_designware_core btusb btrtl btbcm ath btintel bluetooth snd_pcm snd_seq_midi mac80211 snd_seq_midi_event snd_rawmidi cfg80211 snd_seq acpi_als aesni_intel aes_x86_64 lrw snd_seq_device snd_timer snd gf128mul glue_helper ablk_helper cryptd input_leds kfifo_buf soundcore serio_raw industrialio idma64 virt_dma mei_me intel_lpss_pci intel_lpss_acpi
[ 57.849537] [<ffffffff8107b986>] warn_slowpath_common+0x86/0xc0
[ 57.849547] [<ffffffff8107ba15>] warn_slowpath_fmt+0x55/0x70
[ 59.894810] ath10k_pci 0000:03:00.0: failed to enable adaptive qcs: -11
[ 62.897176] ath10k_pci 0000:03:00.0: could not suspend target (-11)
[ 71.191522] ath10k_pci 0000:03:00.0: failed to enable dynamic BW: -11
[ 74.194033] ath10k_pci 0000:03:00.0: could not suspend target (-11)
[ 82.616554] ath10k_pci 0000:03:00.0: failed to enable dynamic BW: -11
[ 85.618788] ath10k_pci 0000:03:00.0: could not suspend target (-11)
...

Read more...

Revision history for this message
Jeremy (wa113y3s) wrote :

Daniel

If

ls /lib/firmware/ath10k/QCA6174/hw3.0

shows a board.bin and a board-2.bin

sudo mv /lib/firmware/ath10k/QCA6174/hw3.0/board.bin /lib/firmware/ath10k/QCA6174/hw3.0/board.bin.bak

Reboot

Revision history for this message
Jeremy (wa113y3s) wrote :

Queeq

Somehow your firmware didn't update from kvallo github, you should delete the ath10k-firmware folder from home and use git clone again

Comment 52 shows version WLAN.RM.1.1-00141 and the one on the site is WLAN.RM.2.0-00180

Revision history for this message
Dennis Marttinen (technowelho) wrote :

Sorry! I forgot to add, that you need the latest mainline kernel (4.5.0) for the updated fix to work. My mistake, I will update the description. If you don't want to update your kernel, you have to use the old method (post #22), but 5GHz wireless will definitely not work with it. The new kernel has an updated version of the ath10k driver, which can utilize both board.bin and board-2.bin from kvalo's repository (now enabling 5GHz), but the ath10k version Ubuntu 15.10 currently uses in it's kernel (4.2.0) requires the single board-file from FireWalkerX.

Sorry for the inconvenience!

description: updated
Revision history for this message
Dennis Marttinen (technowelho) wrote :

Gary, I've figured out that the binary files are read by ath10k rather than executed directly, so they don't need executable permissions.

Revision history for this message
Jeremy (wa113y3s) wrote :

Dennis

Can you post current

dmesg | grep ath10k

Kernel 4.5 provides crc32 checksums for firmware and board files

Revision history for this message
Jeremy (wa113y3s) wrote :

Dennis

Do you still use the skip_otp=Y parameter with kernel 4.5?

Revision history for this message
Anders Østerholt (diebels) wrote :

Running Ubuntu 16.04 current of today (4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:08:31 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux) with a Asus z170i pro gaming that comes with the "Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32) [168c:003e]" I got wifi-ac working just by adding the board-2.bin file, unload ath10k_pci and ath10k_core, load ath10k_pci.

sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/board-2.bin https://github.com/kvalo/ath10k-firmware/blob/master/QCA6174/hw3.0/board-2.bin?raw=true

sudo rmmod ath10k_pci ath10k_core

modprobe ath10k_pci

Monitoring the connection in my router I can see up to 866.7Mbps, though cifs file transfer speed is just about 100Mbps.

affects: linux (Ubuntu) → linux-firmware (Ubuntu)
Revision history for this message
Dennis Marttinen (technowelho) wrote :

Jeremy,

Here is my current dmesg | grep ath:

[ 3.803113] ath10k_pci 0000:07:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 4.056578] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/cal-pci-0000:07:00.0.bin failed with error -2
[ 4.059429] ath10k_pci 0000:07:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[ 4.059435] ath10k_pci 0000:07:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[ 4.151919] ath10k_pci 0000:07:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 11ad:0807
[ 4.151922] ath10k_pci 0000:07:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 4.152335] ath10k_pci 0000:07:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5
[ 4.242728] ath10k_pci 0000:07:00.0: board_file api 2 bmi_id N/A crc32 46b57247
[ 6.363125] ath10k_pci 0000:07:00.0: htt-ver 3.26 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[ 6.429154] ath: EEPROM regdomain: 0x6c
[ 6.429157] ath: EEPROM indicates we should expect a direct regpair map
[ 6.429158] ath: Country alpha2 being used: 00
[ 6.429159] ath: Regpair used: 0x6c
[ 6.434396] ath10k_pci 0000:07:00.0 wlp7s0: renamed from wlan0

And I've never used the skip_otp=Y parameter on any kernel. It has no affect on the functionality, at least if the fix is applied correctly.

Revision history for this message
Queeq (i-queeq) wrote :

I have just tested with the latest Ubuntu 16.04 beta2. It worked after I manually added board-2.bin from kvalo's git and reloaded the ath10k_pci module. On my 2.4GHz network it has shown unbelievable download speed of around 85-90 Mbit! I use ath9k card on my home server, btw. I'm impressed!

information type: Public → Public Security
information type: Public Security → Public
Revision history for this message
s (sendmeloadsofjunk) wrote :

I'm using a Killer 1535 on kernel 4.5.0 and the updated files as per post #1, and I get the same dmesg as Dennis posted in #66 after initialisation:

[ 2986.987057] ath10k_pci 0000:01:00.0: pci irq msi interrupts 1 irq_mode 0 reset_mode 0
[ 2987.223913] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-0000:01:00.0.bin failed with error -2
[ 2987.223924] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[ 2987.223926] ath10k_pci 0000:01:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[ 2987.224344] ath10k_pci 0000:01:00.0: qca6174 hw3.2 target 0x05030000 chip_id 0x00340aff sub 1a56:1535
[ 2987.224346] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 2987.224836] ath10k_pci 0000:01:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5
[ 2987.288654] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id N/A crc32 46b57247
[ 2989.447728] ath10k_pci 0000:01:00.0: htt-ver 3.26 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[ 2989.513801] ath: EEPROM regdomain: 0x69
[ 2989.513804] ath: EEPROM indicates we should expect a direct regpair map
[ 2989.513806] ath: Country alpha2 being used: 00
[ 2989.513807] ath: Regpair used: 0x69
[ 2989.517364] ath10k_pci 0000:01:00.0 wlan3: renamed from wlan0

I can connect to 5GHz SSIDs, however I see very unstable ping and high packet loss even when the link is otherwise idle:

526 packets transmitted, 221 received, +9 errors, 57% packet loss, time 525820ms
rtt min/avg/max/mdev = 2.244/93.484/1691.704/201.948 ms, pipe 3

Using the same SSID but using Windows 7, or a 2.4GHz SSID on , normal performance is seen, >1% packet loss and >3ms ping.

Any ideas here, have I missed something?

Revision history for this message
s (sendmeloadsofjunk) wrote :

Update: turns out I had missed something - my SSID had DFS enabled. Disabling DFS returns performance to normal.
I will look into the hostapd 2.2 method.

Revision history for this message
Carlos Laviola (claviola) wrote :

FWIW, I tried most things suggested here and elsewhere, like replacing all the QCA6174 firmware files with what is in https://github.com/kvalo/ath10k-firmware and upgrading to the yakkety version of linux-firmware (1.158 as of the moment). Even with all that, in order for wifi to work on my laptop, I still have to replace "/lib/firmware/ath10k/QCA6174/hw3.0/board.bin" with a version from Killer Networking's website, as per:

http://www.killernetworking.com/product-support/knowledge-base/17-linux

The required file is directly available at:

http://www.killernetworking.com/support/K1535_Debian/board.bin

The machine is a Dell Latitude E7270. Here's the lspci output:

01:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
        Subsystem: Dell QCA6174 802.11ac Wireless Network Adapter [1028:0310]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx+
        Latency: 0
        Interrupt: pin A routed to IRQ 130
        Region 0: Memory at e1000000 (64-bit, non-prefetchable) [size=2M]
        Capabilities: <access denied>
        Kernel driver in use: ath10k_pci
        Kernel modules: ath10k_pci

Revision history for this message
Gary (archvilen) wrote :

OK -- I have no clue what my issue could be and am starting to get a bit frustrated with this WiFi chip because it seems like there's nothing I can do about it. I'm using the Ath10k QCA6174 chipset on a Acer Aspire V Nitro laptop. Every other device I have connects at a much faster rate to my Asus AC66U WiFi router, but for the life of me I cannot get my laptop to connect to it at a rate over 1Mb/s, according to iwconfig and the nm-applet tool.

I also cannot connect to the 5gz band on the router either, while all my other devices have no issues. When I got the laptop I was able to connect to either 2.4 or 5.0 bands in Win10, but since I've installed Ubuntu it's been hopeless and I've tried just about every solution out there. Granted, when I first got the laptop getting this chip to connect to anything WiFi was pretty much a lost cause, and I know that the driver for it has come a long way, but there are still several issues with it that's really degrading the potential of the hardware.

Even on the 2.4ghz band, the only one I'm able to connect to I'm having severe degradation of service and it sometimes won't even connect to the access point and crashes nm-applet. Can someone please explain why it is that it's showing only a 1Mb/s bit rate and why I'm unable to connect to the 5ghz band on the router?

$ iwconfig
lo no wireless extensions.

enp8s0 no wireless extensions.

wlp7s0 IEEE 802.11abgn ESSID:"dd-wrt"
          Mode:Managed Frequency:2.412 GHz Access Point: E0:3F:49:9E:EF:72
          Bit Rate=1 Mb/s Tx-Power=20 dBm
          Retry short limit:7 RTS thr:off Fragment thr:off
          Power Management:on
          Link Quality=67/70 Signal level=-43 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:42 Missed beacon:0

Here is dmesg when I'm attempting to connect to the 5ghz band:

[ 763.756142] cfg80211: World regulatory domain updated:
[ 763.756145] cfg80211: DFS Master region: unset
[ 763.756147] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 763.756150] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 763.756152] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 763.756154] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 763.756156] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 763.756159] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 763.756161] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 763.756163] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 763.756165] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 789.188940] IPv6: ADDRCONF(NETDEV_UP): wlp7s0: link is not ready

Pardon spreading my frustration but I really don't like Windows and I really don't want to succumb to using it for this reason, if all else fails I may just try to replace the chip with a different one.

Revision history for this message
Gary (archvilen) wrote :

I'd also like to add to the above comment that I'm using WPA2 for the wireless encryption.

Revision history for this message
Anders Østerholt (diebels) wrote : Re: [Bug 1520343] Re: Qualcomm Atheros wireless card [168c:003e] (rev 32) not supported

Connection issues on 5ghz could be fixed with channel and/or regulatory
settings in the router.

Revision history for this message
Queeq (i-queeq) wrote :

Hi Gary. What are your kernel and firmware versions?

Revision history for this message
Gary (archvilen) wrote :

I apologize, I should have included that to begin with.

$ cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.1 LTS"
VERSION_ID="16.04"

$ uname -a
Linux localhost 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

I'm using the latest git pull from https://github.com/kvalo/ath10k-firmware.git.

Revision history for this message
Queeq (i-queeq) wrote :

For me it started working on 4.4 kernel only with firmware 1.158. You may want to try that (there's 1.159 currently available): http://packages.ubuntu.com/yakkety/all/linux-firmware/download
Don't worry that it's in 'yakkety' repo, should work on xenial too.
If that doesn't help, you can try kernel 4.5 or later.

Revision history for this message
s (sendmeloadsofjunk) wrote :

Turning off DFS on 5ghz on my AP fixed it for me. Couldn't connect at all.

Never had trouble on 2.4ghz though.

Revision history for this message
Luis Alvarado (luisalvarado) wrote :

[ 2.508141] ath10k_pci 0000:09:00.0: Direct firmware load for ath10k/cal-pci-0000:09:00.0.bin failed with error -2
[ 2.508370] ath10k_pci 0000:09:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[ 2.508371] ath10k_pci 0000:09:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2

Ubuntu 16.04.1 and Ubuntu 16.10 (Both 64-bit)
Linux Firmware tested was linux-firmware_1.157_all & linux-firmware_1.161_all

Note that the Wireless card does connect to 2.4Ghz and 5Ghz BUT it fails to load randomly or simply drops connection every so often.

The dropping of connection happens once every week or two, but the randomly loading is about 1 in 5 every time I reboot or cold boot.

The motherboard is the Asus Alpha Hero:
https://www.asus.com/us/Motherboards/ROG-MAXIMUS-VIII-HERO-ALPHA/

The PCI Information is:

09:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)

Revision history for this message
edindevon (edindevon) wrote :

Xps 13, developer edition

Ubuntu 16.04, kernel 4.4

I have the same problem as Dan, intermittent loss of data connection.

Disabling ip6 doesn't help.

Revision history for this message
Anders Drysén (anders-drysen) wrote :

Dell XPS 13 9360 (Kaby lake) using Ubuntu 16.04, kernel 4.4.0-53.
Connection drops randomly, while iwconfig and network manager showing as still connected. Disconnecting and reconnecting to the network resolves the problem. Have tried changing wifi-powersave in /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf to '2' instead of '3', but the problem still persists.

lspci shows
3a:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)

log shows
Dec 11 20:43:24 ******-XPS-13-9360 kernel: [ 9.182099] ath10k_pci 0000:3a:00.0: Direct firmware load for ath10k/cal-pci-0000:3a:00.0.bin failed with error -2
Dec 11 20:43:24 ******-XPS-13-9360 kernel: [ 9.182331] ath10k_pci 0000:3a:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
Dec 11 20:43:24 ******-XPS-13-9360 kernel: [ 9.182334] ath10k_pci 0000:3a:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2

Revision history for this message
Samir Kuthiala (samirkut) wrote :

Anders

I have the exact same laptop 9360 and having the same issue on 16.10. Have tried everything in this thread and nothing seems to fix the random wireless disconnects. The only thing which works is to remove the ath10k_core module and then reload it, followed by a restart of the dnsmasq to force a refresh....

Revision history for this message
xaviera alvarez nordstrom (1002229a) wrote :

Hi Dennis or anyone who can help,

So I tried to fix my disconnecting wifi (ubuntu 16.04 on xps 9360) with

sudo mkdir -p /lib/firmware/ath10k/QCA6174/hw3.0/

sudo rm /lib/firmware/ath10k/QCA6174/hw3.0/* 2> /dev/null

sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/board.bin https://github.com/kvalo/ath10k-firmware/blob/master/QCA6174/hw3.0/board.bin?raw=true

sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/board-2.bin https://github.com/kvalo/ath10k-firmware/blob/master/QCA6174/hw3.0/board-2.bin?raw=true

sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin https://github.com/kvalo/ath10k-firmware/blob/master/QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1?raw=true

After reboot the wifi option was no longer visibe, ls /lib/firmware/ath10k/QCA6174/hw3.0 showed both board.bin and board-2.bin

so I did
sudo mv /lib/firmware/ath10k/QCA6174/hw3.0/board.bin /lib/firmware/ath10k/QCA6174/hw3.0/board.bin.bak

now ls /lib/firmware/ath10k/QCA6174/hw3.0 shows board-2.bin and board.bin.bak but still no wifi option on the after reboot?

Anyone have any suggestions on what I need to do? I would rather have disconnecting wifi than no wifi at all, also I'm completely new to linux and have no idea what I am doing so please be gentle!

Ok so also tried
sudo mv /lib/firmware/ath10k/QCA6174/hw3.0/board-2.bin /lib/firmware/ath10k/QCA6174/hw3.0/board.bin.bak
which seems to have done nothing but eliminate board-2.bin ><

heeelp pleeease

Revision history for this message
s (sendmeloadsofjunk) wrote :

You could try updating your kernel - I'm on 4.4.0-57. 4.8.x also works for me.

My board-2.bin is 337204 bytes.
My firmware-4.bin is 733784 bytes. This combination def works for me.

Dowloaded from https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174/hw3.0 .The firmware-5.bin under the 4.4 directory doesn't work for me.

I have another board-2.bin (not sure where I got this other version) which is 271412 bytes - it doesn't work.

Revision history for this message
xaviera alvarez nordstrom (1002229a) wrote :

I downloaded, put into /lib/firmware/ath10k/QCA6174/hw3.0 and rebooted but it is still not working :/ any more ideas on what it could be?

Revision history for this message
Danilo Inácio (danilo-isr) wrote :

I'm also having a similar issues, I have a xps 9360 with the killer 1535 board running on ubuntu 16.10. The weird part with my case is that I'm unable to make new requests while the existing ones keep working fine (like a download or a hangouts/skype call, they never drop).

Example, when browsing a website, the main page load, but the images from a CDN not. Its very similar to a DNS problem, but I tried google and open DNS without success. Also, I tested with my other computers and devices and they are all working fine.

Another example is with music streaming, that fails only when changing the music file.

I already did the fix suggested by #22, and also updated my linux-firmware to 1.163 (http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/)

Anyone had similar problems?
Would ubuntu 16.04 work better to me?

Revision history for this message
Wren Turkal (wt-penguintechs-org) wrote :

FWIW, I did the following:

$ git clone git://kernel.ubuntu.com/ubuntu/linux-firmware.git
...
$ cd linux-firmware
$ git checkout bionic
...
$ sudo cp ath10k/QCA6147/hw3.0/* /lib/firmware/ath10k/QCA6147/hw3.0/

The new firmware seems to drop my connections much more infrequently. Perhaps upgrading the firmware in the linux-firmware package is the right solution here.

Alex Tu (alextu)
tags: added: lp1734862
affects: ubuntux → oem-priority
AceLan Kao (acelankao)
tags: added: originate-from-1734862 somerville
Alex Tu (alextu)
Changed in oem-priority:
importance: Undecided → Critical
assignee: nobody → Alex Tu (alextu)
Revision history for this message
Alex Tu (alextu) wrote :

firmware submitted and should be included in next linux-firmware.
https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1728523

Changed in oem-priority:
status: New → In Progress
status: In Progress → Triaged
Revision history for this message
WinEunuchs2Unix (ricklee518) wrote :

Two years later and bug still lurking on this new (to me) laptop. Ubuntu 16.04, Kernel 4.4.0-101-generic, Skylake HM170, nVidia GTX970M, HD530 graphics, USB-C Thunderbolt3, NVMe M.2 Samsung Pro 960 SSD, etc.

3c:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32), dmesg:

[ 3.784502] ath10k_pci 0000:3c:00.0: enabling device (0000 -> 0002)
[ 3.787048] ath10k_pci 0000:3c:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 4.019658] ath10k_pci 0000:3c:00.0: Direct firmware load for ath10k/cal-pci-0000:3c:00.0.bin failed with error -2
[ 4.019903] ath10k_pci 0000:3c:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[ 4.019905] ath10k_pci 0000:3c:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[ 6.202327] ath10k_pci 0000:3c:00.0: qca6174 hw3.2 (0x05030000, 0x00340aff sub 1a56:1535) fw WLAN.RM.2.0-00180-QCARMSWPZ-1 fwapi 4 bdapi 2 htt-ver 3.26 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 features wowlan,ignore-otp,no-4addr-pad
[ 6.202330] ath10k_pci 0000:3c:00.0: debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 6.269850] ath: EEPROM regdomain: 0x69
[ 6.269852] ath: EEPROM indicates we should expect a direct regpair map
[ 6.269853] ath: Country alpha2 being used: 00
[ 6.269854] ath: Regpair used: 0x69
[ 6.273854] ath10k_pci 0000:3c:00.0 wlp60s0: renamed from wlan0
[ 29.191292] ath: EEPROM regdomain: 0x807c
[ 29.191294] ath: EEPROM indicates we should expect a country code
[ 29.191295] ath: doing EEPROM country->regdmn map search
[ 29.191295] ath: country maps to regdmn code: 0x3a
[ 29.191296] ath: Country alpha2 being used: CA
[ 29.191297] ath: Regpair used: 0x3a
[ 29.191298] ath: regdomain 0x807c dynamically updated by country IE

I use the built-in Ethernet and not the built-in WiFi so not a big deal today. But would still like to see it fixed some day. I intentionally bought a brand new laptop first released two years ago so it wouldn't have bleeding-edge bugs :(

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

WinEunuchs2Unix,
Why don't you use HWE stack?

Revision history for this message
WinEunuchs2Unix (ricklee518) wrote :

Kai-Heng,

I was on Hardware stack for awhile but had problems with. Remember many users opt out of HWE even though it's the default.

I was running 4.14.2 mainline but `kexec` was broken after 4.12 so I dropped into 4.4.0-101 provided by Ubuntu to make `kexec` work properly.

I do have Ubuntu kernels 4.10.0-28, 4.10.0-37...-38 and -40 but I have to analyze the release dates to figure out which real Linux kernel version they are equivalent to.

Are you suggesting an HWE version off the 4.10 kernel tree fixes the problem and solution in comment #22 is no longer needed???

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

If the fix is from firmware, then we should update the firmware for the device in question.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Can you try the firmware in [1] instead of the ones from #22?

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/

Revision history for this message
WinEunuchs2Unix (ricklee518) wrote :

Kai-Heng sorry I can't try it right away. I'm still struggling with systemd's kexec-load@service to quicken reboot times as I struggle with nVidia having HDMI sound turned off by default BIOS POST. In the meantime I've blacklisted `ath10k_pci` and that appears to have saved 2-3 seconds off the boot.

Revision history for this message
Wren Turkal (wt-penguintechs-org) wrote :

The latest firmware is not included in the linux-firmware package on artful. Is this intended? I see that it is only included in the latest LTS and bionic.

Revision history for this message
Alex Tu (alextu) wrote :
Download full text (9.7 KiB)

just found the latest firmware is already in xenial-proposed
linux-firmware (1.157.15) xenial; urgency=medium

  * QCA6174A XR cannot find any WiFi AP (LP: #1728523)
    - ath10k: QCA6174 hw3.0: update board-2.bin
    - ath10k: QCA6174 hw3.0: update board-2.bin
    - ath10k: QCA6174 hw3.0: update board-2.bin

  * Intel 9260/9462/9560 firmware support (LP: #1734243)
    - iwlwifi: add firmware version 33 for new 9000 series
    - linux-firmware: Add firmware file for Intel Bluetooth 9560
    - linux-firmware: Add firmware file for Intel Bluetooth 9260

  * Bluetooth mouse and keyboard connects, works for a few seconds, then
    doesn't react (LP: #1729389)
    - linux-firmware: Update firmware patch for Intel Bluetooth,8260
    - linux-firmware: Update firmware file for Intel Bluetooth 8265
    - linux-firmware: Update firmware patch for Intel Bluetooth 8260

 -- Seth Forshee <email address hidden> Tue, 12 Dec 2017 08:26:17 -0600

On Sun, Dec 17, 2017 at 5:18 AM, Wren Turkal <email address hidden> wrote:
> The latest firmware is not included in the linux-firmware package on
> artful. Is this intended? I see that it is only included in the latest
> LTS and bionic.
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1520343
>
> Title:
> Qualcomm Atheros wireless card [168c:003e] (rev 32) not supported
>
> Status in HWE Next:
> New
> Status in OEM Priority Project:
> Triaged
> Status in linux-firmware package in Ubuntu:
> Confirmed
>
> Bug description:
> ---------------------------------------------------------------
>
> STATUS 2016-03-17:
>
> ==========
> WARNING: You need at least kernel 4.5.0 for the following new fix to work, else refer to the old method described in post #22
> ==========
>
> The support for this card has now been merged to
> https://github.com/kvalo/ath10k-firmware. The repository now contains
> the required board.bin, board-2.bin and firmware-4.bin files for the
> card to initialize and connect to a bgn-access point (5GHz (ac-
> protocol) is still untested, feel free to modify this if you can
> confirm it works). Here are the new commands to get you online:
>
> sudo mkdir -p /lib/firmware/ath10k/QCA6174/hw3.0/
>
> sudo rm /lib/firmware/ath10k/QCA6174/hw3.0/* 2> /dev/null
>
> sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/board.bin
> https://github.com/kvalo/ath10k-
> firmware/blob/master/QCA6174/hw3.0/board.bin?raw=true
>
> sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/board-2.bin
> https://github.com/kvalo/ath10k-
> firmware/blob/master/QCA6174/hw3.0/board-2.bin?raw=true
>
> sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin
> https://github.com/kvalo/ath10k-
> firmware/blob/master/QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1?raw=true
>
> Reboot or reload the ath10k_pci module and you should be able to
> connect!
>
> ---------------------------------------------------------------
>
> STATUS 2015-12-22:
>
> Currently there is a fix for this problem in post #22 (originally post
> #19, but reposted due to command typos!) which seems to have fixed the
> issue for ...

Read more...

Revision history for this message
Wren Turkal (wt-penguintechs-org) wrote :

Does this mean that the firmware will not be added to artful?

Alex Tu (alextu)
Changed in oem-priority:
status: Triaged → Fix Released
Alex (leksander3)
Changed in linux-firmware (Ubuntu):
assignee: nobody → Alex (leksander3)
Changed in linux-firmware (Ubuntu):
assignee: Alex (leksander3) → nobody
Changed in hwe-next:
status: New → Fix Released
Rex Tsai (chihchun)
tags: added: oem-priority
Changed in linux-firmware (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Roman Shchekin (mrqtros) wrote :

Solution with proprietary driver (for example for Redmibook 13 Ryzen edition):

    sudo wget http://www.killernetworking.com/support/K1535_Debian/board.bin -O /lib/firmware/ath10k/QCA6174/hw3.0/board.bin
    sudo wget https://github.com/kvalo/ath10k-firmware/raw/master/QCA6174/hw3.0/4.4.1/firmware-6.bin_WLAN.RM.4.4.1-00132-QCARMSWP-1 -O /lib/firmware/ath10k/QCA6174/hw3.0/firmware-6.bin
    sudo rm /lib/firmware/ath10k/QCA6174/hw3.0/board-2.bin

It's a bit offtop, but can help people a lot.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.