All of lore.kernel.org
 help / color / mirror / Atom feed
* qca6164 support
@ 2015-08-03 18:45 vvanpo
  2015-08-03 21:44 ` Enrico Tagliavini
                   ` (2 more replies)
  0 siblings, 3 replies; 27+ messages in thread
From: vvanpo @ 2015-08-03 18:45 UTC (permalink / raw)
  To: ath10k

Hi,

I just got a Lenovo Yoga 3 11, only to find the wireless doesn't work.

The PCI id is 168c:0041:17aa:3545
I downloaded the driver (version 12.0.0.102, date 06/24/2015) from the
Lenovo website and extracted it in Wine (as I saw someone else do from
another thread), which resulted in the following bin files:
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
qca61x4_1_1_2.bin

In the netathr10x.inf file, my device and subsystem ids correspond to
section 'ATHR_DEV_OS63_988x_LE_NFA345_IPG.ndi', although I'm not sure
how that relates to which bin file and what a 'section' is exactly.  I
chose to use the NFA345i.bin file, which I symlinked
    /lib/firmware/ath10k/QCA6174/hw2.1/board-pci-168c:0041:17aa:3545.bin
to.

I used dissect.py/assemble.py to create firmware-5.bin:
    ./dissect.py < qca61x4_1_1_2.bin
    ./assemble.py atheros-12.0.0.102-fw 0 fw-2.bin fw-1.bin 4 > firmware-5.bin

I enabled skip_otp=y.
I compiled master at github.com/kvalo/ath, but with the modification
    #define QCA6174_2_1_DEVICE_ID   (0x0041)
so it would recognize my card.

On loading the ath10k_pci module I get a 'firmware crashed!' message,
and a firmware dump.  Sometimes the dump itself must print garbage to
dmesg and turns my terminal into mojibake, which I think has to do
with the features string as here:
http://lists.infradead.org/pipermail/ath10k/2015-July/005703.html

As you can probably tell I'm haphazardly shooting in the dark without
much knowledge of whats actually going on.  Is there a way I can
meaningfully contribute, or am I at the mercy of those with access to
documentation on how the qualcomm firmware works?
  Some questions:
  - when ath10k_print_driver_info gets called, my ar->chip_id is
printed as 0x003405ff, which should correspond to
QCA6174_HW_2_2_CHIP_ID_REV when masked (like in
ath10k_pci_get_num_banks).  So why is it still referred to as hw2.1
(instead of hw2.2), and what do these revisions signify, anyway?
  - how can I be sure I'm using the correct bin files, and is there
any documentation on the format of these files?
  - what would need to be changed to add support for qca6164 in ath10k?

Thanks,
Victor

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2015-08-11 16:25 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-03 18:45 qca6164 support vvanpo
2015-08-03 21:44 ` Enrico Tagliavini
2015-08-05 15:32   ` Victor van Poppelen
2015-08-05 17:10     ` Alexandre Maloteaux
2015-08-04  5:18 ` Michal Kazior
2015-08-04 20:45   ` vvanpo
2015-08-06  5:20 ` Michal Kazior
2015-08-06  5:34   ` Michal Kazior
2015-08-06 16:59     ` Victor van Poppelen
2015-08-07  4:53       ` Michal Kazior
2015-08-07 16:04         ` Victor van Poppelen
2015-08-10  4:36           ` Anish Tondwalkar
2015-08-10  4:53             ` Anish Tondwalkar
2015-08-10  6:15             ` Michal Kazior
2015-08-10  6:41               ` Anish Tondwalkar
2015-08-10  8:15                 ` Michal Kazior
     [not found]                   ` <CALZPV0DsQXPfq3+O-8iF4H8i1-164s2jRdvmQjMMnW-qd7reFA@mail.gmail.com>
2015-08-10  8:48                     ` Michal Kazior
2015-08-10 12:14                       ` Kalle Valo
2015-08-10 13:45                       ` Anish Tondwalkar
2015-08-10 14:00                         ` Michal Kazior
2015-08-10 14:05                           ` Anish Tondwalkar
2015-08-10 16:04                             ` Anish Tondwalkar
2015-08-10 23:05                               ` Anish Tondwalkar
2015-08-10 23:43                                 ` Ben Greear
2015-08-11  2:09                                   ` Anish Tondwalkar
2015-08-11  6:00                                 ` Michal Kazior
2015-08-11 16:25                                   ` Anish Tondwalkar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.