WIFI driver not found in ubuntu 20.04

Solution 1:

You clearly have the correct driver:

driver=ath10k_pci

What you do not have is the required firmware:

loading /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin failed with error -22

Let’s see if an update will get the required firmware. With a working internet connection, open a terminal and do:

sudo apt update
sudo apt -y upgrade

Reboot and show us:

dmesg | grep ath

If the firmware is still missing, do:

wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.190_all.deb
sudo dpkg i linux-firmware*.deb

Reboot. You should be all set.

EDIT: I notice that the board-2.bin file has just recently been updated: https://github.com/kvalo/ath10k-firmware/blob/master/QCA6174/hw3.0/board-2.bin

Let’s back up your current file and download the newest:

cd /usr/lib/firmware/ath10k/QCA6174/hw3.0
sudo mv board-2.bin  board-2.bak
sudo wget https://github.com/kvalo/ath10k-firmware/raw/master/QCA6174/hw3.0/board-2.bin    
sudo modprobe -r ath10k_pci
sudo modprobe ath10k_pci
sudo dmesg | grep ath

Is there any improvement?