from: https://github.com/greearb/ath10k-ct/blob/f808496fcc6b1f68942914117aebf8b3f8d52bb3/ath10k-5.10/core.c#L1838 type 0 is ATH10K_BD_IE_BOARD = 0,
#define ENOMEM12 /* Out of memory */
Will need to try to find why the BDF is not loading.
Could you please show the output of these:
find /sys/firmware/mikrotik/hard_config/wlan_data -type f -exec echo {} \; -exec sh -c "cat {} | wc" \; -exec hexdump -C -n 8 {} \;
dmesg | grep -i hardconfig
dmesg | grep -iE '(partition|0x000)'
. /lib/functions.sh
hexdump -C -s $((0x140)) -n 32 "/dev/mtd$(find_mtd_index hard_config)"
Could also try to unload the ath10k
module, then modprobe it with debugging enabled: https://wireless.wiki.kernel.org/en/users/Drivers/ath10k/debug