I can't configure QCA6164 WiFi card

I need dime help, i tried to install ath10k without internet connection in my System, but was pretty hard because: although i downloaded and installed the right firmware from Linux firmware i can't use ath10k and i dont know how to install it. I saw this wireless card Is similar to QCA6174. This Is the info for mi WiFi card:

none1@pci0:3:0:0: class=0x028000 rev=0x01 hdr=0x00 vendor=0x168c device=0x0041 (QCA6164 802.11ac)
vendor = 'Qualcomm Atheros'
device = 'QCA6164 802.11ac Wireless Network Adapter'
class = network
subclass = wireless
 
Native ath10k on FreeBSD is in development, not fully supported, yet. The driver module is in source but disconnected from build (meaning, a regular 14.2-RELEASE is build without that module). I'm not sure about CURRENT (aka main) but I believe it's not available there as well.

You can nevertheless build the driver yourself from source. 'git clone' from remote repository the source code (see handbook how). Make sure it is the same source as the installed systems.

Code:
 # cd /usr/src
 # make -j <number_of_CPU_processors>  kernel-toolchain

 # cd /usr/src/sys/modules/ath10k
 # make && make install

 # pkg  install  wifi-firmware-ath10k-kmod

 # kldload ath10k
To load the driver automatically on reboot: /boot/loader.conf ath10k_load="YES"

As mentioned, the driver is in development. It is possible to use the Linux driver through a Linux bhyve(8) virtual machine to get the wifi card working properly, see net/wifibox : pkg install wifibox-ath10k.

With the Linux driver you get even a higher speed than with the native FreeBSD driver.
 
Native ath10k on FreeBSD is in development, not fully supported, yet. The driver module is in source but disconnected from build (meaning, a regular 14.2-RELEASE is build without that module). I'm not sure about CURRENT (aka main) but I believe it's not available there as well.

You can nevertheless build the driver yourself from source. 'git clone' from remote repository the source code (see handbook how). Make sure it is the same source as the installed systems.

Code:
 # cd /usr/src
 # make -j <number_of_CPU_processors>  kernel-toolchain

 # cd /usr/src/sys/modules/ath10k
 # make && make install

 # pkg  install  wifi-firmware-ath10k-kmod

 # kldload ath10k
To load the driver automatically on reboot: /boot/loader.conf ath10k_load="YES"

As mentioned, the driver is in development. It is possible to use the Linux driver through a Linux bhyve(8) virtual machine to get the wifi card working, see net/wifibox : pkg install wifibox-ath10k.

With the Linux driver you get even a higher speed than with the native FreeBSD driver.
Then, you saying: I should yo use a virtual box for the driver meanwhile the team is working in it, isn't it?.

Another question, I finally compiled the ath10k as you told gold me but now ir saying:

KLD if_ath10k.ko: depends on athk_common - not available or version mismatch
linker_load_file: /boot/modules/if_ath10k.ko - unsupported file type

Help me
 
You probably used the wrong version of the source code. I suspect you checked out main aka -CURRENT. For 14.2-RELEASE you need to checkout the releng/14.2 branch.
 
I assume you did a git clone https://git.freebsd.org/src.git /usr/src or something like that? That checks out the default branch, which is 'main', that's -CURRENT.

You don't need to reclone or anything like that, just:
Code:
cd /usr/src
git checkout releng/14.2
That should switch the branch to releng/14.2, which is the branch for 14.2-RELEASE.
 
Then, you saying: I should yo use a virtual box for the driver meanwhile the team is working in it, isn't it?.
The ath10k driver being not fully supported, expect a reduced functionality or even it may not function at all, I can't tell, only you can tell after testing. Don't expect to much, the ath10k driver development is rather slow.

I myself have trouble with a RTL8852AE in my laptop. The rtw89(4) driver is also new. By default available on 14.2-RELEASE, but sometimes a kernel panic occurs sporadically when the driver is loaded.

Following the "main" (CURRENT) source code in a local repository, I see often commits regarding the rtw89 (latest on April 24 2025 at the time of this post), which indicates the driver is still worked on, even though it's supported.

Commits on "main" (CURRENT) are not immediately merged into other branches, in particular RELEASE get driver improvements generally with the next minor or major release (14.3-RELEASE May/June).

The ath10k driver in 15-CURRENT is more progressed than the one in 14.2-RELEASE. You might want to check it out. If your systems file system is ZFS, you can create easily a bectl(8) boot environment, install CURRENT in that boot environment.

I'm not sure if it's worth the effort, I, for example, use currently a USB Ralink wifi adapter, which is supported by the run(4) driver for years.

A supported external wifi adapter can be an alternative for you as well besides wifibox.
 
Back
Top