Replace board.bin and board-2.bin at /usr/lib/firmware/ath10k/QCA6174 with the binaries found here.

Other distros may have a different location for firmware like /lib/firmware or have multiple firmware versions for different hardware revisions.