The QCA9377 is now working via a patched ath10k module provided by kvolo_at_qca.qualcomm_dot com. The backports have been made as well.
Here's what I did to get it working under Ubuntu:
Code:
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 http://filebin.ca/2LVgpjSgiT56/backp...-11-05.tar.bz2
unzip backp...-11-05.tar.bz2
cd backports-ath10k-2015-11-05
make defconfig-ath10k
make
sudo make install
git clone https://github.com/kvalo/ath10k-firmware.git
sudo cp -r ath10k-firmware/ath10k/ /lib/firmware/
sudo cp -r ath10k-firmware/QCA9377 /lib/firmware/ath10k/
cp firmware-5.bin_WLAN.TF.1.0-00267-1 firmware-5.bin
Reboot
Problem is, I can't get it to work in Fedora (Yes, I've replaced 'apt-get' with dnf, "build-essentia" with the similar packages from fedora) and 'linux-headers' with kernel-headers. I can't get the backport to compile, as it says:
Code:
[whizkidraj@localhost ~]$ sudo dnf install make automake gcc gcc-c++ kernel-devel kernel-headers-$(uname -r) git
[sudo] password for whizkidraj:
Sorry, try again.
[sudo] password for whizkidraj:
Last metadata expiration check performed 0:24:39 ago on Fri Nov 13 18:22:11 2015.
Package make-1:4.0-5.1.fc23.x86_64 is already installed, skipping.
Package automake-1.15-4.fc23.noarch is already installed, skipping.
Package gcc-5.1.1-4.fc23.x86_64 is already installed, skipping.
Package gcc-c++-5.1.1-4.fc23.x86_64 is already installed, skipping.
Package kernel-devel-4.2.5-300.fc23.x86_64 is already installed, skipping.
Package git-2.5.0-2.fc23.x86_64 is already installed, skipping.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Downgrading:
kernel-headers x86_64 4.2.3-300.fc23 fedora 987 k
Transaction Summary
================================================================================
Downgrade 1 Package
Total download size: 987 k
Is this ok [y/N]: y
Downloading Packages:
kernel-headers-4.2.3-300.fc23.x86_64.rpm 288 kB/s | 987 kB 00:03
--------------------------------------------------------------------------------
Total 211 kB/s | 987 kB 00:04
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Downgrading : kernel-headers-4.2.3-300.fc23.x86_64 1/2
Erasing : kernel-headers-4.2.5-300.fc23.x86_64 2/2
Verifying : kernel-headers-4.2.3-300.fc23.x86_64 1/2
Verifying : kernel-headers-4.2.5-300.fc23.x86_64 2/2
Downgraded:
kernel-headers.x86_64 4.2.3-300.fc23
Complete!
[whizkidraj@localhost ~]$ echo "options ath10k_core skip_otp=y" | sudo tee /etc/modprobe.d/ath10k_core.conf
options ath10k_core skip_otp=y
[whizkidraj@localhost ~]$ wget http://filebin.ca/2LVgpjSgiT56/backp...-11-05.tar.bz2
--2015-11-13 18:48:45-- http://filebin.ca/2LVgpjSgiT56/backp...-11-05.tar.bz2
Resolving filebin.ca (filebin.ca)... 23.23.121.233, 2406:da00:ff00::1717:79e9
Connecting to filebin.ca (filebin.ca)|23.23.121.233|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2666523 (2.5M) [application/x-bzip2]
Saving to: ‘backports-ath-2015-11-05.tar.bz2.1’
backports-ath-2015- 100%[=====================>] 2.54M 352KB/s in 8.0s
2015-11-13 18:48:54 (325 KB/s) - ‘backports-ath-2015-11-05.tar.bz2.1’ saved [2666523/2666523]
[whizkidraj@localhost ~]$ wget http://filebin.ca/2LVgpjSgiT56/backp...-11-05.tar.bz2
--2015-11-13 18:49:43-- http://filebin.ca/2LVgpjSgiT56/backp...-11-05.tar.bz2
Resolving filebin.ca (filebin.ca)... 23.23.121.233, 2406:da00:ff00::1717:79e9
Connecting to filebin.ca (filebin.ca)|23.23.121.233|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2666523 (2.5M) [application/x-bzip2]
Saving to: ‘backports-ath-2015-11-05.tar.bz2’
backports-ath-2015- 100%[=====================>] 2.54M 350KB/s in 7.9s
2015-11-13 18:49:51 (329 KB/s) - ‘backports-ath-2015-11-05.tar.bz2’ saved [2666523/2666523]
[whizkidraj@localhost ~]$ tar -vxf backports-ath-2015-11-05.tar.bz2
backports-ath-2015-11-05/
backports-ath-2015-11-05/Makefile.build
backports-ath-2015-11-05/Kconfig.sources
backports-ath-2015-11-05/net/
__edited out: irrelevant detail_
backports-ath-2015-11-05/backport-include/backport/leds-disabled.h
backports-ath-2015-11-05/COPYING
backports-ath-2015-11-05/Kconfig
[whizkidraj@localhost ~]$ cd backports-ath10k-2015-11-05
bash: cd: backports-ath10k-2015-11-05: No such file or directory
[whizkidraj@localhost ~]$ cd backports-ath-2015-11-05
[whizkidraj@localhost backports-ath-2015-11-05]$ make defconfig-ath10k
/--------------
| Your kernel headers are incomplete/not installed.
| Please install kernel headers, including a .config
| file or use the KLIB/KLIB_BUILD make variables to
| set the kernel to build against, e.g.
| make KLIB=/lib/modules/3.1.7/
| to compile/install for the installed kernel 3.1.7
| (that isn't currently running.)
\--
Makefile:40: recipe for target 'defconfig-ath10k' failed
make: *** [defconfig-ath10k] Error 1
[whizkidraj@localhost backports-ath-2015-11-05]$ cd ..
[whizkidraj@localhost ~]$ sudo dnf groupinstall "Development Tools and Libraries"
Last metadata expiration check performed 0:29:18 ago on Fri Nov 13 18:22:11 2015.
Warning: Group 'Development Tools and Libraries' does not exist.
Error: Nothing to do.
[whizkidraj@localhost ~]$ cd backports-ath-2015-11-05
[whizkidraj@localhost backports-ath-2015-11-05]$ make defconfig-ath10k
/--------------
| Your kernel headers are incomplete/not installed.
| Please install kernel headers, including a .config
| file or use the KLIB/KLIB_BUILD make variables to
| set the kernel to build against, e.g.
| make KLIB=/lib/modules/3.1.7/
| to compile/install for the installed kernel 3.1.7
| (that isn't currently running.)
\--
Makefile:40: recipe for target 'defconfig-ath10k' failed
make: *** [defconfig-ath10k] Error 1
What could I be doing wrong?