Mikrotik HAP AC3 wireless not detected

Hello!

I use Mikrotik HAP AC3. Installed the last build:
OpenWrt 23.05.5 r24106-10cc5fcd00 / LuCI openwrt-23.05 branch git-24.264.56413-c7a3562

After installation there is no 'Network / Wireless' in LuCi's menu.

I've tried everything:

  1. uci show wireless - no entry
  2. Del /etc/config/wireless and wifi config
  3. Different packages in 'Software' and manual download from
    https://downloads.openwrt.org/releases/packages-23.05/arm_cortex-a7_neon-vfpv4/base/

I still have no decision. Anyone knows what to do?

Sysupgrade with config reset, 2 radio devices should be detected properly
https://firmware-selector.openwrt.org/?version=23.05.5&target=ipq40xx%2Fmikrotik&id=mikrotik_hap-ac3

Done ('keep current configuration' unchecked). No result.

I can tell that I did it earlier unsuccessfully.
Reset settings don't help me too.

opkg list-installed | grep ath10k
lspci -nn # part of package pciutils

root@OpenWrt:~# opkg list-installed | grep ath10k
ath10k-firmware-qca4019-ct - 2020-11-08-1
kmod-ath10k-ct - 5.15.167+2022-05-13-f808496f-5
root@OpenWrt:~# lspci -nn # part of package pciutils
-ash: lspci: not found

The second isn't executed (

You must install pciutils to identify wifi chips.
Also check

dmesg | grep \ ath

It's ok, but not fully.


root@OpenWrt:~# lspci -nn
root@OpenWrt:~#
root@OpenWrt:~# dmesg | grep \ ath
[   13.457032] ath10k_ahb a000000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   13.457110] ath10k_ahb a000000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   13.469019] 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
[   13.497377] ath10k_ahb a000000.wifi: Loading BDF type 0
[   13.797708] ath10k_ahb a000000.wifi: failed to fetch board-2.bin or board.bin from ath10k/QCA4019/hw1.0
[   13.797798] ath10k_ahb a000000.wifi: failed to fetch board file: -12
[   13.806186] ath10k_ahb a000000.wifi: could not probe fw (-12)
[   14.621085] ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   14.621165] ath10k_ahb a800000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   14.633166] 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
[   14.661424] ath10k_ahb a800000.wifi: Loading BDF type 0
[   14.972325] ath10k_ahb a800000.wifi: failed to fetch board-2.bin or board.bin from ath10k/QCA4019/hw1.0
[   14.972406] ath10k_ahb a800000.wifi: failed to fetch board file: -12
[   14.980861] ath10k_ahb a800000.wifi: could not probe fw (-12)

It's the second device. The first one has the same problem.

It is missing

ath10k-board-qca4019

followed by reboot

Something is missed, it's not the right execute string:
ath10k-board-qca4019

Complete:

dpkg install ath10k-board-qca4019

Reboot.


root@OpenWrt:~# lspci -nn
root@OpenWrt:~# dmesg | grep \ ath
[   12.835780] ath10k_ahb a000000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   12.835856] ath10k_ahb a000000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   12.847847] 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
[   12.876056] ath10k_ahb a000000.wifi: Loading BDF type 0
[   13.070241] ath10k_ahb a000000.wifi: failed to fetch board data for bus=ahb,vendor=0000,device=0000,subsystem-vendor=0000,subsystem-device=0000,variant=MikroTik-hAP-ac from ath10k/QCA4019/hw1.0/board-2.bin
[   13.254578] ath10k_ahb a000000.wifi: failed to fetch board-2.bin or board.bin from ath10k/QCA4019/hw1.0
[   13.254651] ath10k_ahb a000000.wifi: failed to fetch board file: -12
[   13.263058] ath10k_ahb a000000.wifi: could not probe fw (-12)
[   14.099370] ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   14.099453] ath10k_ahb a800000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   14.111434] 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
[   14.139736] ath10k_ahb a800000.wifi: Loading BDF type 0
[   14.150432] ath10k_ahb a800000.wifi: failed to fetch board data for bus=ahb,vendor=0000,device=0000,subsystem-vendor=0000,subsystem-device=0000,variant=MikroTik-hAP-ac from ath10k/QCA4019/hw1.0/board-2.bin
[   14.340291] ath10k_ahb a800000.wifi: failed to fetch board-2.bin or board.bin from ath10k/QCA4019/hw1.0
[   14.340380] ath10k_ahb a800000.wifi: failed to fetch board file: -12
[   14.348854] ath10k_ahb a800000.wifi: could not probe fw (-12)

Does the file exist in directory relative to /lib/firmware
If not download (binary, not text) or clone git repo, and upload file in place, relative to /lib/firmware
Original linux board bin is here:

It is not pci bus but ahb, you can remove pciutils...

I red the dmesg again, points to device description missing in board file.
https://wireless.docs.kernel.org/en/latest/en/users/drivers/ath10k/boardfiles.html

Try 24.10.0-rcLATEST via fw selector, failing with that report the bug to openwrt tracker, or submit to kernel mail list.

I've just installed it:
OpenWrt 24.10.0-rc6 r28388-58d0057481 / LuCI openwrt-24.10 branch 25.014.55016~7046a1c

So, wifi work fine.

The next step is only to made a bug report?

With regard that 23.05.5 does not contain board data for your device. Or wait a month or two for 24.10.0 release and forget about it.

Thank you, I will write on github.