So I've copied deviskec post and fixed the recent breakage due to the merge of ominous 'ath-next' branche which broke ath10k.
1. Download the firmware binaries
https://github.com/sumdog/ath10k-firmware/raw/5faf5bb7c7413f9bb332693179de54cca6fff58e/ath10k/QCA6174/hw2.1/board.bin https://github.com/sumdog/ath10k-firmware/raw/5faf5bb7c7413f9bb332693179de54cca6fff58e/ath10k/QCA6174/hw2.1/firmware-4.bin
and put them in the /lib/firmware/ath10k/QCA6174/hw2.1/ folder (create the folder if it doesnt exist)
Commands:
sudo mkdir -p /lib/firmware/ath10k/QCA6174/hw2.1/ sudo wget https://github.com/sumdog/ath10k-firmware/raw/5faf5bb7c7413f9bb332693179de54cca6fff58e/ath10k/QCA6174/hw2.1/board.bin -O /lib/firmware/ath10k/QCA6174/hw2.1/board.bin sudo wget https://github.com/sumdog/ath10k-firmware/raw/5faf5bb7c7413f9bb332693179de54cca6fff58e/ath10k/QCA6174/hw2.1/firmware-4.bin -O /lib/firmware/ath10k/QCA6174/hw2.1/firmware-4.bin
2. Install dependencies to be able to compile the kernel with:
sudo apt-get install libncurses5-dev gcc make git exuberant-ctags
3. Download kvalo's kernel tree from:
https://mega.nz/#!9A8UTLLL!7CDjBmSwNTudX9Upz6yRk7BabKE4w2J8_GCwLrKh27c NB: I could find a link to the correct, RC7 zip. Perhaps it's already fixed in the master branch, otherwise use my uploaded mega link
and extract it to a folder (no need to apply any patch, it's been merged already).
NB: I couldn't get this to work with the command line unzip, so use the gui extraction tool.
5. Navigate to the extracted folder and run the following commands:
cp /boot/config-`uname -r`* .config make olddefconfig make -j`cat /proc/cpuinfo | grep -c processor`
(this automatically uses the best amount of jobs for your CPU) (wait a while for it to compile, and after run)
sudo make INSTALL_MOD_STRIP=1 modules_install install (stripping symbols makes the initrd the regular ~30MB instead of 238MB)
6. Create config file with:
echo "options ath10k_core skip_otp=y" | sudo tee /etc/modprobe.d/ath10k.conf
7. Reboot using your new kernel 4.x.x-wl-ath (will be automatically selected)
8. Run ifconfig
Works perfectly without any drops. Would be nice that people who succeed comment on the following PR:
https://github.com/kvalo/ath10k-firmware/pull/2
so we can get this merged to mainstream kernel.
So I've copied deviskec post and fixed the recent breakage due to the merge of ominous 'ath-next' branche which broke ath10k.
1. Download the firmware binaries
https:/ /github. com/sumdog/ ath10k- firmware/ raw/5faf5bb7c74 13f9bb332693179 de54cca6fff58e/ ath10k/ QCA6174/ hw2.1/board. bin /github. com/sumdog/ ath10k- firmware/ raw/5faf5bb7c74 13f9bb332693179 de54cca6fff58e/ ath10k/ QCA6174/ hw2.1/firmware- 4.bin
https:/
and put them in the /lib/firmware/ ath10k/ QCA6174/ hw2.1/ folder (create the folder if it doesnt exist)
Commands:
sudo mkdir -p /lib/firmware/ ath10k/ QCA6174/ hw2.1/ /github. com/sumdog/ ath10k- firmware/ raw/5faf5bb7c74 13f9bb332693179 de54cca6fff58e/ ath10k/ QCA6174/ hw2.1/board. bin -O /lib/firmware/ ath10k/ QCA6174/ hw2.1/board. bin /github. com/sumdog/ ath10k- firmware/ raw/5faf5bb7c74 13f9bb332693179 de54cca6fff58e/ ath10k/ QCA6174/ hw2.1/firmware- 4.bin -O /lib/firmware/ ath10k/ QCA6174/ hw2.1/firmware- 4.bin
sudo wget https:/
sudo wget https:/
2. Install dependencies to be able to compile the kernel with:
sudo apt-get install libncurses5-dev gcc make git exuberant-ctags
3. Download kvalo's kernel tree from:
https:/ /mega.nz/ #!9A8UTLLL! 7CDjBmSwNTudX9U pz6yRk7BabKE4w2 J8_GCwLrKh27c
NB: I could find a link to the correct, RC7 zip. Perhaps it's already fixed in the master branch, otherwise use my uploaded mega link
and extract it to a folder (no need to apply any patch, it's been merged already).
NB: I couldn't get this to work with the command line unzip, so use the gui extraction tool.
5. Navigate to the extracted folder and run the following commands:
cp /boot/config-`uname -r`* .config
make olddefconfig
make -j`cat /proc/cpuinfo | grep -c processor`
(this automatically uses the best amount of jobs for your CPU)
(wait a while for it to compile, and after run)
sudo make INSTALL_MOD_STRIP=1 modules_install install
(stripping symbols makes the initrd the regular ~30MB instead of 238MB)
6. Create config file with:
echo "options ath10k_core skip_otp=y" | sudo tee /etc/modprobe. d/ath10k. conf
7. Reboot using your new kernel 4.x.x-wl-ath
(will be automatically selected)
8. Run ifconfig
Works perfectly without any drops. Would be nice that people who succeed comment on the following PR:
https:/ /github. com/kvalo/ ath10k- firmware/ pull/2
so we can get this merged to mainstream kernel.