You are not logged in.

#1 2023-12-22 09:46:42

gaha
Member
Registered: 2023-09-01
Posts: 14

Wi-Fi 7 card not working - ath12k failed to load

Hi! I just received the new motherboard and CPU:
* Gigabyte TRX50 Aero D
* AMD Threadripper 7980X

Wi-Fi doesn't work on Linux, but it works on Windows. On Windows, I had to download the drivers from Gigabyte's website to make it work.
There are no Linux drivers on their website, instead they say: "Due to different Linux support condition provided by chipset vendors, please download Linux driver from chipset vendors' website or 3rd party website". Needless to say, there are no drivers on 3rd party websites.

So I figured out that my Gigabyte TRX50 Aero D is using a recent Wi-Fi chip Qualcomm® Wi-Fi 7 QCNCM865 which should be supported by kernel module ath12k.

My lspci is saying:

44:00.0 Ethernet controller: Aquantia Corp. AQC113C NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] (rev 03)
45:00.0 Network controller: Qualcomm Technologies, Inc Device 1107 (rev 01)
46:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)

My dmesg is saying:

[    9.992417] ath12k_pci 0000:45:00.0: BAR 0: assigned [mem 0x90a00000-0x90bfffff 64bit]
[    9.992436] ath12k_pci 0000:45:00.0: enabling device (0000 -> 0002)
[    9.992479] ath12k_pci 0000:45:00.0: failed to get 16 MSI vectors, only -28 available
[    9.992481] ath12k_pci 0000:45:00.0: failed to alloc msi: -28
[    9.992512] ath12k_pci: probe of 0000:45:00.0 failed with error -28

Which indicates that the Qualcomm card is recognized, but there's not enough MSI vectors for the driver.

What I tried that didn't help:
* I tried removing all my M.2 SSD drives as they use a lot of MSI vectors. I booted from live USB but the result was the same: `failed to get 16 MSI vectors, only -28 available`
* I tried enabling/disabled a few BIOS settings like `Above 4G Decoding`, `Resizable BAR Support` but that didn't make a difference
* I tried using different kernels: 6.6.7-4, 6.70rc
* I tried using Ubuntu (as I expect that Gigabyte tested the MB with the most popular distro) but it also didn't work there
* I tried reloading ath12k module
* I tried setting kernel boot parameters: pci=realloc and pci=nomsi but they didn't help

What helped is replacing QCNCM865 with my other Wi-Fi card Intel Ax210. After doing this, Wi-Fi works as expected. But this is a temporary solution for me.

So I wonder if I can do anything about this? If this is not something I can fix, is there a place where I can report it so that the support will be added later down the lane?

Last edited by gaha (2023-12-22 09:52:36)

Offline

#2 2023-12-22 12:15:39

ponyrider
Member
Registered: 2014-11-18
Posts: 112

Re: Wi-Fi 7 card not working - ath12k failed to load

Seems like your card is not supported by ath12k ... yet

And unfortunately i cannot find any dkms type driver either. So you would have to keep your temporary solution a while longer

Offline

#3 2023-12-22 14:36:46

gaha
Member
Registered: 2023-09-01
Posts: 14

Re: Wi-Fi 7 card not working - ath12k failed to load

Thanks for this information!

May I ask if there's a place that I can check to see if the support has been added? I'd prefer checking it periodically on the Internet rather than having to replace it every time to check that.

Offline

#4 2024-01-19 23:45:02

dima424658
Member
Registered: 2024-01-19
Posts: 1

Re: Wi-Fi 7 card not working - ath12k failed to load

I've followed these steps from askubuntu
And configured iwd like that:

# cat /etc/iwd/main.conf
[General]
EnableNetworkConfiguration=true
ControlPortOverNL80211=false

Offline

Board footer

Powered by FluxBB