So it seems my Netgear WAC510 uses an ath10k & qca4019 chip for it's wifi. Eth1 port works and the gpio module has found what I assume to be the LEDs, so I'm getting there!
Unfortunately I'm stuck on the main part - the wifi.
The ath10k_pci module is trying to load 3 firmware files for each of the two radios (2G/5G):
- pre-cal-ahb-a000000.wifi.bin / pre-cal-ahb-a800000.wifi.bin
- board-2.bin
- firmware-6.bin
I've found [1] which were kept on the ART partition. I had to use 'dd' and some magic offsets to get them out which I found in a Netgear init script.
I found a load of 'board*' files for [2] that look like they belong in 'board-2.bin', but they all throw up an error 'found invalid board magic' when I try to put them in the right directory and load the module.
I can't find anything to do with [3], so I copied the existing 'firmware-5.bin' from the initramfs to 'firmware-6.bin' and now ath10_pci isn't complaining anymore.
Can anyone point me in the right direction?
Below is the output from when I 'modprobe ath10k_pci' with the (I assume correct) pre-cal data:
[ 1481.877140] ath10k_ahb a000000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[ 1481.877199] ath10k_ahb a000000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 1481.893825] ath10k_ahb a000000.wifi: firmware ver 10.4-3.4-00104 api 6 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps crc32 6c332c67
[ 1481.935885] ath10k_ahb a000000.wifi: found invalid board magic
[ 1481.936280] ath10k_ahb a000000.wifi: board_file api 1 bmi_id 0:31 crc32 4806941d
[ 1483.283106] ath10k_ahb a000000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
[ 1483.475767] ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[ 1483.475825] ath10k_ahb a800000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 1483.492360] ath10k_ahb a800000.wifi: firmware ver 10.4-3.4-00104 api 6 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps crc32 6c332c67
[ 1483.533488] ath10k_ahb a800000.wifi: found invalid board magic
[ 1483.533799] ath10k_ahb a800000.wifi: board_file api 1 bmi_id 0:31 crc32 4806941d
[ 1484.881838] ath10k_ahb a800000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
Many thanks,
Tim