Skip to content

Instantly share code, notes, and snippets.

@jadsonbr
Forked from MichelLacerda/ath10k
Created June 21, 2017 17:47
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jadsonbr/442381e2df3f079047fa62a5f611c3f6 to your computer and use it in GitHub Desktop.
Save jadsonbr/442381e2df3f079047fa62a5f611c3f6 to your computer and use it in GitHub Desktop.
ath10k debian
http://askubuntu.com/questions/708061/qualcomm-atheros-device-168c0042-rev-30-wi-fi-driver-installation
Ubuntu 16.04 users should just need to
wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.157.5_all.deb
sudo dpkg -i linux-firmware_1.157.5_all.deb
Reboot
You do not need Windows drivers and ndiswrapper
This has been recently fixed upstream, follow the instructions to install the backported modules and needed firmware
sudo apt-get install build-essential linux-headers-$(uname -r) git
echo "options ath10k_core skip_otp=y" | sudo tee /etc/modprobe.d/ath10k_core.conf
wget https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v4.4.2/backports-4.4.2-1.tar.gz
tar -zxvf backports-4.4.2-1.tar.gz
cd backport-4.4.2-1
make defconfig-wifi
make
sudo make install
git clone https://github.com/kvalo/ath10k-firmware.git
sudo cp -r ath10k-firmware/QCA9377 /lib/firmware/ath10k/
sudo cp /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin_WLAN.TF.1.0-00267-1 /lib/firmware/ath10k/QCA9377/hw1.0/firmware-5.bin
And it should work after a reboot
It will fail when a new kernel is installed through updates until the kernel is patched to support the wifi. When that happens you will need to
cd backports-4.4.2-1
make clean
make defconfig-wifi
make
sudo make install
And reboot
https://wireless.wiki.kernel.org/en/users/drivers/ath10k/backports
https://www.vivaolinux.com.br/topico/Rede-Wireless/Debian-Problemas-com-o-dispositivo-Wifi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment