From: "Valo, Kalle" <kvalo@qca.qualcomm.com>
To: "jiri.prchal@aksignal.cz" <jiri.prchal@aksignal.cz>
Cc: "ath10k@lists.infradead.org" <ath10k@lists.infradead.org>
Subject: Re: qca6174 missing firmware or subsystem id?
Date: Thu, 13 Oct 2016 13:00:06 +0000 [thread overview]
Message-ID: <87r37kcskr.fsf@kamboji.qca.qualcomm.com> (raw)
In-Reply-To: <a63ba654-aaa5-3a8c-08ac-c5fd761a5b8d@aksignal.cz> ("Jiří Prchal"'s message of "Thu, 13 Oct 2016 13:40:04 +0200")
Jiří Prchal <jiri.prchal@aksignal.cz> writes:
> Hi,
> I've got this miniPCIe wifi module which comes with Asus motherboard:
>
> $lspci -vnn
> 02:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
> Subsystem: ASUSTeK Computer Inc. QCA6174 802.11ac Wireless Network Adapter [1043:86cd]
> Flags: bus master, fast devsel, latency 0, IRQ 125
> Memory at f7000000 (64-bit, non-prefetchable) [size=2M]
> Capabilities: <access denied>
> Kernel driver in use: ath10k_pci
> Kernel modules: ath10k_pci
>
> But I have problem to get it working. It look that wlan is there, but doesn't receive any SSID.
>
> $ip a
> 4: wlp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
> link/ether c8:ff:28:0e:5e:e1 brd ff:ff:ff:ff:ff:ff
>
> $iw dev wlp2s0 scan
> returns nothing.
>
> I have Ubuntu 16.04 with this kernel:
> $uname -a
> Linux dole 4.4.0-42-generic #62-Ubuntu SMP Fri Oct 7 23:11:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
>
> I've tried both distro and git FW (probably the same), but it still
> complies about firmware-5.bin. I thing there is missing subsystem ID
> in board-2.bin as I mentioned there was added some other subID 2
> months ago.
>
> $dmesg | grep ath
> [ 1.997246] ath10k_pci 0000:02:00.0: pci irq msi interrupts 1 irq_mode 0 reset_mode 0
> [ 2.252840] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2
> [ 2.260813] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
> [ 2.260816] ath10k_pci 0000:02:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
So ignore this firmware-5.bin warning, ath10k will automatically fall
back to using firmware-4.bin. I know it's confusing, we just haven't
found a good enough way to silence this warning yet.
> [ 4.461429] ath10k_pci 0000:02:00.0: qca6174 hw3.2 (0x05030000,
> 0x00340aff sub 1043:86cd) 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
Your ath10k is too old so that it doesn't print the crc32 checksum of
the board file you have so I don't know what version of the board file
you exactly have. But I just checked, the latest one from
ath10k-firmware.git should support your board with subsystem id
1043:86cd:
$ strings QCA6174/hw3.0/board-2.bin | grep 86cd
bus=pci,vendor=168c,device=003e,subsystem-vendor=1043,subsystem-device=86cdm
The checksums of the latest board file are:
FileCRC32: 6fc88fe7
FileMD5: 4807903c956dbd8b87f5d83c559c2211
You can check what you are using like this:
md5sum /lib/firmware/ath10k/QCA6174/hw3.0/board-2.bin
(Unless I made a typo in the path, but you should be able to find it
easily.)
--
Kalle Valo
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
next prev parent reply other threads:[~2016-10-13 13:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-13 11:40 qca6174 missing firmware or subsystem id? Jiří Prchal
2016-10-13 13:00 ` Valo, Kalle [this message]
2016-10-13 14:05 ` Jiří Prchal
2016-10-13 14:20 ` Valo, Kalle
2016-10-14 8:05 ` Jiří Prchal
2016-10-14 8:25 ` Michal Kazior
2016-10-14 9:12 ` Jiří Prchal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r37kcskr.fsf@kamboji.qca.qualcomm.com \
--to=kvalo@qca.qualcomm.com \
--cc=ath10k@lists.infradead.org \
--cc=jiri.prchal@aksignal.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox