This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:users:drivers:ath11k:installation [2020/12/18 07:38] Kalle Valo created |
en:users:drivers:ath11k:installation [2024/03/06 11:44] (current) Kalle Valo Update and simplify instructions to match the current state |
||
---|---|---|---|
Line 4: | Line 4: | ||
===== Installing ath11k ===== | ===== Installing ath11k ===== | ||
- | As of this writing (December 2020) Linux distributions do not support QCA6390 PCI devices out of box, so you need to install kernel and firmware manually. Here are simple instructions how to install Linux kernel v5.10 with ath11k PCI support and latest ath11k firmwares. | + | ==== Driver ==== |
- | Clone kernel: | + | ath11k is included in official Linux releases starting from v5.6, just download the latest release from https://www.kernel.org/ or use a recent enough Linux distribution. Ensure below options are selected in the kernel (debug, tracing and spectral scan options are optional): |
- | + | ||
- | git clone -b v5.10 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git | + | |
- | + | ||
- | Ensure below options are selected in the kernel (debug, tracing and spectral scan options are optional): | + | |
<code> | <code> | ||
- | cd linux | ||
make menuconfig | make menuconfig | ||
--> Select Device drivers | --> Select Device drivers | ||
Line 27: | Line 22: | ||
</code> | </code> | ||
| | ||
- | Build and install the kernel and the kernel modules. There are multiple ways to do that depending on your preferences and the Linux distribution you are using. | + | Build and install the kernel and the kernel modules. There are multiple ways to do that depending on your preferences and the Linux distribution you are using, check the documentation for your distro how you want to do it. Few pointers: |
- | Clone linux-firmware: | + | * https://wiki.debian.org/BuildADebianKernelPackage |
+ | * https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel | ||
+ | * https://fedoraproject.org/wiki/Building_a_custom_kernel | ||
- | git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git | + | The ath11k firmware images are available from [[https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/|linux-firmware.git]] which all common Linux distributions should install by default. Latest firmware images can be downloaded from [[https://git.codelinaro.org/clo/ath-firmware/ath11k-firmware|ath11k-firmware.git]] from which they get eventually pushed to [[https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/|linux-firmware.git]]. |
- | + | ||
- | Install firmware: | + | |
- | + | ||
- | <code> | + | |
- | cd linux-firmware | + | |
- | sudo cp -r ath11k/ /lib/firmware/ | + | |
- | </code> | + | |