QCA6174 hw2.1?

Corin Lawson me at corinlawson.com.au
Fri Apr 24 20:47:29 PDT 2015


Hi Gabriele,

I have had success with eeprom_ar6320_2p1_NFA344i.bin.

I am also using Gentoo (but v3.19.3) but I have also applied these
patches/commits:

- http://permalink.gmane.org/gmane.linux.kernel.wireless.general/137030
- https://github.com/kvalo/ath/commit/d63955b33b3bee45d784ffdfafeb93076c765660

Also, I didn't use that disassemble.py script, I used:

- https://gist.github.com/kazikcz/8e5845ad84ca251aa295

I also had problems with calibration, I had to pass skip_otp=y to the module:

    $ cat /etc/modprobe.d/ath10k.conf
    options ath10k_core skip_otp=y

FWIW:

    $ lspci -vs 05:00.0
    05:00.0 Network controller: Qualcomm Atheros Device 003e (rev 20)
            Subsystem: Bigfoot Networks, Inc. Device 1525
            Flags: bus master, fast devsel, latency 0, IRQ 31
            Memory at f7800000 (64-bit, non-prefetchable) [size=2M]
            Capabilities: <access denied>
            Kernel driver in use: ath10k_pci
            Kernel modules: ath10k_pci

I give a huge thanks to the individuals on this mailing list for
helping me; I'm just happy to give back where I can :)

I would interested in knowing from where you got your drivers/board
files. I had to download mine from my laptop manufacturer's (MSI)
website.

Note: I understand that ath10k doesn't support encryption yet. But I
haven't successfully been able to connect to my open AP as yet...

Cheers,
Corin

On Sat, Apr 25, 2015 at 11:15 AM, Gabriele Martino <g.martino at gmx.com> wrote:
>
> Michal Kazior <michal.kazior <at> tieto.com> writes:
>
> >
> > https://gist.github.com/kazikcz/c970cbf3a863ebbc4495
> > https://gist.github.com/kazikcz/64313b9e2470660faae1
> >
> > Here are two simple and crude tools I have to deal with ath10k FW API
> > blobs. Use with care.
> >
> > You can use the disassemble.py to extract the otp.bin from hw3 ath10k
> > FW API blob:
> >
> >   python disassemble.py < /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin
> >
> > Then you can use the assemble.py to generate hw2.1 ath10k FW ABI blob:
> >
> >   mkdir -p /lib/firmware/ath10k/QCA6174/hw2.1/
> >   python assemble.py killer1252-testfw 0 path/to/qca61x420.bin
> > path/to/otp.bin 4 > /lib/firmware/ath10k/QCA6174/hw2.1/firmware-4.bin
> >   cp path/to/eeprom_ar6320_2p1_NFA354xp.bin
> > /lib/firmware/ath10k/QCA6174/hw2.1/board.bin
> >
> > (mind the email line wrapping)
> >
>
> I'm trying to generate the blob, but I found two big issues.
> The first: I have too many board files, which one should I use?
> eeprom_ar6320_2p1_NFA324i_5.bin
> eeprom_ar6320_2p1_NFA344i.bin
> eeprom_ar6320_2p1_NFA344i_highTX.bin
> eeprom_ar6320_2p1_NFA345i.bin
> eeprom_ar6320_2p1_NFA345i_highTX.bin
> eeprom_ar6320_2p1_NFA354xp.bin
> eeprom_ar6320_2p1_NFA355i.bin
> eeprom_qca9377_1p0_NFA435_olpc.bin
>
> The controller is a
> "Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 20)"
> declared as Killer N1525 on Alienware 15.
>
> Whatever, I can try them one by one later.
> I picked up the first and built the firmware blob.
> But here's the second issue: it wants the calibration data.
>
> [    2.067447] ath10k_pci 0000:03:00.0: enabling device (0000 -> 0002)
> [    2.068679] ath10k_pci 0000:03:00.0: pci irq msi-x interrupts 8 irq_mode
> 0 reset_mode 0
> [    2.215280] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-
> 0000:03:00.0.bin failed with error -2
> [    2.924276] ath3k: probe of 1-9:1.0 failed with error -22
> [    2.924299] usbcore: registered new interface driver ath3k
> [    3.289023] ath10k_pci 0000:03:00.0: unable to write to the device
> [    3.289026] ath10k_pci 0000:03:00.0: failed to download normal firmware: -110
> [    3.289052] ath10k_pci 0000:03:00.0: could not init core (-110)
> [    3.289099] ath10k_pci 0000:03:00.0: could not probe fw (-110)
>
> How can I generate the cal-pci-0000:03:00.0.bin file?
> I'm using the 4.0.0-gentoo kernel on x86_64.
>
> Regards,
> Gabriele
>
>
> _______________________________________________
> ath10k mailing list
> ath10k at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k



More information about the ath10k mailing list