If you want to build into the kernel again, check
‘/lib/firmware/ath10k/QCA6174/hw2.1/firmware-6.bin’ exists and set:
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="ath10k/QCA6174/hw2.1/firmware-6.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
I must correct myself. I’ve seen that the file ‘firmware-6.bin’ is
located in ‘/lib/firmware/ath10k/QCA6174/hw3.0’ and ‘firmware-5.bin’
lives in ‘/lib/firmware/ath10k/QCA6174/hw2.1’, see [1].
That is where your firmware loading error comes from (and my wrong
example for the CONFIG_EXTRA_FIRMWARE). So, the correct kernel
configuration should be:
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="ath10k/QCA6174/hw2.1/firmware-5.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
or
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="ath10k/QCA6174/hw3.0/firmware-6.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
[1]
<https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/ath10k/QCA6174>
--
Regards,
floyd