Skip to content

Instantly share code, notes, and snippets.

@marttosc
Created August 11, 2016 16:53
Show Gist options
  • Save marttosc/75b9678e0b83950ff3080daffff4b165 to your computer and use it in GitHub Desktop.
Save marttosc/75b9678e0b83950ff3080daffff4b165 to your computer and use it in GitHub Desktop.
Ubuntu 16.04 - Wifi problem with Qualcomm Atheros QCA6174 802.11ac
#!/bin/sh
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root!" 1>&2
exit 1
fi
cd /tmp
mkdir -p /lib/firmware/ath10k/QCA6174/hw3.0/
mkdir /tmp/qca6174/
cp /lib/firmware/ath10k/QCA6174/hw3.0/* /tmp/qca6174/
rm /lib/firmware/ath10k/QCA6174/hw3.0/* 2>/dev/null
wget -O board.bin https://github.com/FireWalkerX/ath10k-firmware/blob/7e56cbb94182a2fdab110cf5bfeded8fd1d44d30/QCA6174/hw3.0/board-2.bin?raw=true
cp board.bin /lib/firmware/ath10k/QCA6174/hw3.0/board.bin
wget -O firmware-4.bin https://github.com/FireWalkerX/ath10k-firmware/blob/7e56cbb94182a2fdab110cf5bfeded8fd1d44d30/QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1?raw=true
cp firmware-4.bin /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin
chmod +x /lib/firmware/ath10k/QCA6174/hw3.0/*
@kmvan
Copy link

kmvan commented Oct 26, 2017

Why copy board-2.bin to board.bin?
Is it board-2.bin to board-2.bin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment