@johnth
I applied your commit but nothing happens.
Can it be that the target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
part needs some modifications for this to work?
root@cpe00005:~# ls /lib/firmware/ath10k/QCA4019/hw1.0/
firmware-5.bin
No cal nor board files are present after boot where they should be.
Relevant part of dmesg:
[ 0.958302] MikroTik RouterBOARD hardware configuration sysfs driver v0.08
[ 0.961324] MikroTik RouterBOARD software configuration sysfs driver v0.05
.....
[ 18.456292] ath10k_ahb a000000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[ 18.456366] ath10k_ahb a000000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 18.468302] ath10k_ahb a000000.wifi: firmware ver 10.4b-ct-4019-fW-13-5ae337bb1 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 6b2b5c5b
[ 18.906493] ath10k_ahb a000000.wifi: failed to fetch board-2.bin or board.bin from ath10k/QCA4019/hw1.0
[ 18.906578] ath10k_ahb a000000.wifi: failed to fetch board file: -12
[ 18.915032] ath10k_ahb a000000.wifi: could not probe fw (-12)
[ 19.918950] ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[ 19.919046] ath10k_ahb a800000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 19.932464] ath10k_ahb a800000.wifi: firmware ver 10.4b-ct-4019-fW-13-5ae337bb1 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 6b2b5c5b
[ 20.360707] ath10k_ahb a800000.wifi: failed to fetch board-2.bin or board.bin from ath10k/QCA4019/hw1.0
[ 20.360799] ath10k_ahb a800000.wifi: failed to fetch board file: -12
[ 20.369294] ath10k_ahb a800000.wifi: could not probe fw (-12)