plamtform: 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz system: Linux version 6.4.0 (root@hbte1) (gcc (Ubuntu 12.3.0-1ubuntu1~23.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.40) #1 SMP PREEMPT_DYNAMIC Tue Oct 3 15:43:03 CST 2023 INSTALL ath12k: https://wireless.wiki.kernel.org/en/users/drivers/ath12k/installation firmware and board-2.bin put in /lib/firmware/ath12k/QCN9274 path; ath12k failed to fetch board data,log: root@hbte1:~# dmesg |grep ath12k [ 8.889104] ath12k_pci 0000:02:00.0: BAR 0: assigned [mem 0x8a400000-0x8a5fffff 64bit] [ 8.889121] ath12k_pci 0000:02:00.0: enabling device (0000 -> 0002) [ 8.889293] ath12k_pci 0000:02:00.0: Hardware name: qcn9274 hw2.0 [ 9.570526] ath12k_pci 0000:02:00.0: qmi dma allocation failed (29360128 B type 1), will try later with small size [ 9.585797] ath12k_pci 0000:02:00.0: memory type 10 not supported [ 9.591222] ath12k_pci 0000:02:00.0: chip_id 0x0 chip_family 0xb board_id 0xff soc_id 0x401a2200 [ 9.591227] ath12k_pci 0000:02:00.0: fw_version 0x1011001d fw_build_timestamp 2022-12-02 01:16 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 [ 9.600758] ath12k_pci 0000:02:00.0: failed to fetch board data for bus=pci,qmi-chip-id=0,qmi-board-id=255 from ath12k/QCN9274/hw2.0/board-2.bin [ 9.600826] ath12k_pci 0000:02:00.0: failed to fetch board-2.bin or board.bin from QCN9274/hw2.0 [ 9.600842] ath12k_pci 0000:02:00.0: qmi failed to load bdf: [ 9.600844] ath12k_pci 0000:02:00.0: qmi failed to load board data file:-2 root@hbte1:~# firmware info: root@hbte1:~# md5sum /lib/firmware/ath12k/QCN9274/hw2.0/* 605a4fad56014ccd1ab8ff9c10f1811a /lib/firmware/ath12k/QCN9274/hw2.0/amss.bin a989bef1f212b8b4246d4e325000778e /lib/firmware/ath12k/QCN9274/hw2.0/board-2.bin 15bcf94998e5a016530c040320c771c8 /lib/firmware/ath12k/QCN9274/hw2.0/m3.bin 08e77df7b9ab5e4c78bfee1c9f025672 /lib/firmware/ath12k/QCN9274/hw2.0/Notice.txt 72d0c28a04d4a9f0cbde7f13a9df968c /lib/firmware/ath12k/QCN9274/hw2.0/regdb.bin md5sum: /lib/firmware/ath12k/QCN9274/hw2.0/WLAN.WBE.1.0-02903-QCAHKSWPL_SILICONZ-1: Is a directory md5sum: /lib/firmware/ath12k/QCN9274/hw2.0/WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1: Is a directory root@hbte1:~#
board-id is set to 255 if it is not found in Wifi module but board-2.bin does not content bus=pci,qmi-chip-id=0,qmi-board-id=255.
> I have a similar issue when trying to use wifi 7 on a nvme drive. Strangely > enough it works just fine on a ssd drive. Below is my system info. > > > ## sudo dmesg | grep ath12k > > [3.103301] ath12k_pci 0000:03:00.0: BAR 0: assigned [mem > 0x80800000-0x809fffff 64bit] > [3.103318] ath12k_pci 0000:03:00.0: enabling device (0000 -> 0002) > [3.103451] ath12k_pci 0000:03:00.0: Hardware name: wcn7850 hw2.0 > [3.641051] ath12k_pci 0000:03:00.0: qmi dma allocation failed (7077888 B type > 1), will try later with small size > [3.649126] ath12k_pci 0000:03:00.0: chip_id 0x2 chip_family 0x4 board_id 0xff > soc_id 0x40170200 > [3.649129] ath12k_pci 0000:03:00.0: fw_version 0x100301e1 fw_build_timestamp > 2023-12-06 04:05 fw_build_id > QC_IMAGE_VERSION_STRING=WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 > [3.655476] ath12k_pci 0000:03:00.0: failed to fetch board data for > bus=pci,qmi-chip-id=2,qmi-board-id=255 from ath12k/WCN7850/hw2.0/board-2.bin > > > > ## find /lib/firmware/ath12k > > /lib/firmware/ath12k > /lib/firmware/ath12k/WCN7850 > /lib/firmware/ath12k/WCN7850/hw2.0 > /lib/firmware/ath12k/WCN7850/hw2.0/regdb.bin > /lib/firmware/ath12k/WCN7850/hw2.0/m3.bin > /lib/firmware/ath12k/WCN7850/hw2.0/board-2.bin > > /lib/firmware/ath12k/WCN7850/hw2.0/WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4 > > /lib/firmware/ath12k/WCN7850/hw2.0/WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4/m3.bin > > /lib/firmware/ath12k/WCN7850/hw2.0/WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4/Notice.txt > > /lib/firmware/ath12k/WCN7850/hw2.0/WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4/amss.bin > /lib/firmware/ath12k/WCN7850/hw2.0/amss.bin > > /lib/firmware/ath12k/WCN7850/hw2.0/WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 > > /lib/firmware/ath12k/WCN7850/hw2.0/WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3/m3.bin > > /lib/firmware/ath12k/WCN7850/hw2.0/WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3/Notice.txt > > /lib/firmware/ath12k/WCN7850/hw2.0/WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3/amss.bin > /lib/firmware/ath12k/WCN7850/hw2.0/board.bin > /lib/firmware/ath12k/QCN9274 > /lib/firmware/ath12k/QCN9274/hw2.0 > /lib/firmware/ath12k/QCN9274/hw2.0/regdb.bin > /lib/firmware/ath12k/QCN9274/hw2.0/board-2.bin > /lib/firmware/ath12k/QCN9274/hw2.0/WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > /lib/firmware/ath12k/QCN9274/hw2.0/WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1/m3.bin > > /lib/firmware/ath12k/QCN9274/hw2.0/WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1/Notice.txt > > /lib/firmware/ath12k/QCN9274/hw2.0/WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1/amss.bin > /lib/firmware/ath12k/QCN9274/hw2.0/WLAN.WBE.1.0-02903-QCAHKSWPL_SILICONZ-1 > > /lib/firmware/ath12k/QCN9274/hw2.0/WLAN.WBE.1.0-02903-QCAHKSWPL_SILICONZ-1/m3.bin > > /lib/firmware/ath12k/QCN9274/hw2.0/WLAN.WBE.1.0-02903-QCAHKSWPL_SILICONZ-1/Notice.txt > > /lib/firmware/ath12k/QCN9274/hw2.0/WLAN.WBE.1.0-02903-QCAHKSWPL_SILICONZ-1/amss.bin > > > > ## cat /proc/version > > Linux version 6.6.10-arch1-1 (linux@archlinux) (gcc (GCC) 13.2.1 20230801, > GNU ld (GNU Binutils) 2.41.0) #1 SMP PREEMPT_DYNAMIC Fri, 05 Jan 2024 > 16:20:41 +0000 > > > > ## sudo lshw -sanitize > > computer > description: Desktop Computer > product: MS-7E07 (Default string) > vendor: Micro-Star International Co., Ltd. > version: 4.0 > serial: [REMOVED] > width: 64 bits > capabilities: smbios-3.6.0 dmi-3.6.0 smp vsyscall32 > configuration: boot=normal chassis=desktop family=Default string > sku=Default string uuid=[REMOVED] > > *-core > description: Motherboard > product: PRO Z790-A MAX WIFI (MS-7E07) > vendor: Micro-Star International Co., Ltd. > physical id: 0 > version: 4.0 > serial: [REMOVED] > slot: Default string > > *-firmware > description: BIOS > vendor: American Megatrends International, LLC. > physical id: 0 > version: M.10 > date: 10/30/2023 > size: 64KiB > capacity: 32MiB > capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd > int13floppynec int13floppytoshiba int13floppy360 int13floppy1200 > int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial > int17printer int10video acpi usb biosbootspecification uefi > > *-cpu > description: CPU > product: 13th Gen Intel(R) Core(TM) i7-13700K > vendor: Intel Corp. > physical id: 4f > bus info: cpu@0 > version: 6.183.1 > serial: [REMOVED] > slot: U3E1 > size: 5300MHz > capacity: 5300MHz > width: 64 bits > clock: 100MHz > capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic > sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht > tm pbe syscall nx pdpe1gb rdtscp x86-64 constant_tsc art arch_perfmon pebs > bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq > pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 > xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave > avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault ssbd ibrs ibpb stibp > ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust > bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt > sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect user_shstk > avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp > hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq tme rdpid > movdiri movdir64b fsrm md_clear serialize pconfig arch_lbr ibt flush_l1d > arch_capabilities cpufreq > configuration: cores=16 enabledcores=16 microcode=287 threads=24 > > *-network > description: Wireless interface > product: Qualcomm Technologies, Inc > vendor: Qualcomm Technologies, Inc > physical id: 0 > bus info: pci@0000:03:00.0 > logical name: wlan0 > version: 01 > serial: [REMOVED] > width: 64 bits > clock: 33MHz > capabilities: pm msi pciexpress bus_master cap_list ethernet physical > wireless > configuration: broadcast=yes driver=ath12k_pci > driverversion=6.6.10-arch1-1 firmware=N/A latency=0 link=no multicast=yes > wireless=IEEE 802.11 > resources: irq:162 memory:80800000-809fffff > > *-network > description: Ethernet interface > product: Ethernet Controller I225-V > vendor: Intel Corporation > physical id: 0 > bus info: pci@0000:04:00.0 > logical name: enp4s0 > version: 03 > serial: [REMOVED] > capacity: 2500Mbit/s > width: 32 bits > clock: 33MHz > capabilities: pm msi msix pciexpress bus_master cap_list ethernet physical > tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd 2500bt-fd autonegotiation > configuration: autonegotiation=on broadcast=yes driver=igc > driverversion=6.6.10-arch1-1 firmware=1073:8754 latency=0 link=no > multicast=yes port=twisted pair > resources: irq:19 memory:81400000-814fffff memory:81500000-81503fff > > *-nvme > description: NVMe device > product: WD_BLACK SN850X HS 2000GB > vendor: Sandisk Corp > physical id: 0 > bus info: pci@0000:01:00.0 > logical name: /dev/nvme0 > version: 620331WD > serial: [REMOVED] > width: 64 bits > clock: 33MHz > capabilities: nvme pm msi msix pciexpress nvm_express bus_master cap_list > configuration: driver=nvme latency=0 > nqn=nqn.2018-01.com.wdc:nguid:E8238FA6BF53-0001-001B448B4C70B9AF > state=live > resources: irq:16 memory:81600000-81603fff
hello, WiFi cannot be used on my system, and the 5G band cannot be searched at all. Other wifi can be searched but cannot be connected. OS system: Linux version 6.7.6-arch1-1 (linux@archlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.42.0) #1 SMP PREEMPT_DYNAMIC Fri, 23 Feb 2024 16:31:48 +0000 sudo dmesg |grep ath12k [ 4.080976] ath12k_pci 0000:06:00.0: BAR 0: assigned [mem 0xfc200000-0xfc3fffff 64bit] [ 4.080991] ath12k_pci 0000:06:00.0: enabling device (0000 -> 0002) [ 4.081730] ath12k_pci 0000:06:00.0: Hardware name: wcn7850 hw2.0 [ 4.616428] ath12k_pci 0000:06:00.0: chip_id 0x2 chip_family 0x4 board_id 0xff soc_id 0x40170200 [ 4.616431] ath12k_pci 0000:06:00.0: fw_version 0x1005bc12 fw_build_timestamp 2022-10-11 12:13 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4 [ 4.623446] ath12k_pci 0000:06:00.0: failed to fetch board data for bus=pci,qmi-chip-id=2,qmi-board-id=255 from ath12k/WCN7850/hw2.0/board-2.bin [ 4.793392] ath12k_pci 0000:06:00.0 wlp6s0: renamed from wlan0 [ 341.739716] ath12k_pci 0000:06:00.0: failed to flush transmit queue 0 [ 346.856347] ath12k_pci 0000:06:00.0: failed to flush transmit queue 0 [ 351.976318] ath12k_pci 0000:06:00.0: failed to flush transmit queue 0 [ 389.739422] ath12k_pci 0000:06:00.0: failed to flush transmit queue 0 [ 394.856065] ath12k_pci 0000:06:00.0: failed to flush transmit queue 0 [ 394.890701] ath12k_pci 0000:06:00.0: failed to enqueue rx buf: -28 [ 399.976047] ath12k_pci 0000:06:00.0: failed to flush transmit queue 0 [ 682.214667] ath12k_pci 0000:06:00.0: failed to flush transmit queue 0 wifi version: lspci: 06:00.0 Network controller: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] (rev 01) Help me, hava a nice day!
I have WCN7850. I compiled the kernel with CONFIG_ATH12K and followed the instructions on the wiki for the firmware, but I'm also getting “failod to fetch board data” (and in my case it's also failing to load the firmware, too). $ sudo dmesg | grep ath12 [ 17.205586] ath12k_pci 0000:02:00.0: BAR 0 [mem 0x90600000-0x907fffff 64bit]: assigned [ 17.205607] ath12k_pci 0000:02:00.0: enabling device (0000 -> 0002) [ 17.206509] ath12k_pci 0000:02:00.0: MSI vectors: 16 [ 17.206516] ath12k_pci 0000:02:00.0: Hardware name: wcn7850 hw2.0 [ 17.207887] ath12k_pci 0000:02:00.0: firmware: failed to load ath12k/WCN7850/hw2.0/firmware-2.bin (-2) [ 17.207902] ath12k_pci 0000:02:00.0: firmware: failed to load ath12k/WCN7850/hw2.0/firmware-2.bin (-2) [ 17.790237] ath12k_pci 0000:02:00.0: chip_id 0x2 chip_family 0x4 board_id 0xff soc_id 0x40170200 [ 17.790246] ath12k_pci 0000:02:00.0: fw_version 0x100301e1 fw_build_timestamp 2023-12-06 04:05 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 [ 17.803664] ath12k_pci 0000:02:00.0: firmware: failed to load ath12k/WCN7850/hw2.0/board.bin (-2) [ 17.803672] ath12k_pci 0000:02:00.0: firmware: failed to load ath12k/WCN7850/hw2.0/board.bin (-2) [ 17.803675] ath12k_pci 0000:02:00.0: failed to fetch board data for bus=pci,vendor=17cb,device=1107,subsystem-vendor=17aa,subsystem-device=e0e6,qmi-chip-id=2,qmi-board-id=255 from ath12k/WCN7850/hw2.0/board-2.bin [ 17.803714] ath12k_pci 0000:02:00.0: failed to fetch board.bin from WCN7850/hw2.0 [ 17.803723] ath12k_pci 0000:02:00.0: qmi failed to load bdf: [ 17.803724] ath12k_pci 0000:02:00.0: qmi failed to load board data file:-2 $ md5sum /lib/firmware/ath12k/WCN7850/hw2.0/* d0ee61498bf1a205147cdbcf645391e7 /lib/firmware/ath12k/WCN7850/hw2.0/Notice.txt d3750b67b1013fe82358d0538fb131b0 /lib/firmware/ath12k/WCN7850/hw2.0/amss.bin 3f553029fa5cd98525193ccbebe388e1 /lib/firmware/ath12k/WCN7850/hw2.0/board-2.bin 73056f1d2aff886ce9bff313f455e963 /lib/firmware/ath12k/WCN7850/hw2.0/m3.bin
One issue per bug report, please. I will hide the other reports because otherwise it will be impossible to track this bug. More info here: https://wireless.wiki.kernel.org/en/users/drivers/ath12k/bugreport xiaoniu, what device or QCN9274 board are you using? That's important for finding the correct board file.
I have the same bug. I've built a homeserver using a "Wallys DR9274-5G&6G" M.2 card. It's using a QCN9274 chipset in split configuration, so 2x2 5 GHz and 2x2 6 GHz. The complete datasheet can be found here: https://www.wallystech.com/upload/DR92745G6G.pdf I am using Kernel 6.10.4 on Fedora Server 40. I have installed ath12k firmware for QCN9274 (since it isn't even in linux-firmware yet!) manually via the official instructions here: https://git.codelinaro.org/clo/ath-firmware/ath12k-firmware/-/blob/main/README.md?ref_type=heads Firmware is correctly installed under /lib/firmware/ath12k/QCN9274/hw2.0: - board-2.bin - firmware-2.bin Sadly, the wifi card is not found. Any advice on this would be greatly appreciated. Here's my dmesg output: $ sudo dmesg | grep ath12 [ 21.497784] ath12k_pci 0000:08:00.0: BAR 0 [mem 0xfc200000-0xfc3fffff 64bit]: assigned [ 21.497805] ath12k_pci 0000:08:00.0: enabling device (0000 -> 0002) [ 21.498185] ath12k_pci 0000:08:00.0: MSI vectors: 16 [ 21.498190] ath12k_pci 0000:08:00.0: Hardware name: qcn9274 hw2.0 [ 22.709093] ath12k_pci 0000:08:00.0: memory type 10 not supported [ 22.738305] ath12k_pci 0000:08:00.0: chip_id 0x0 chip_family 0xb board_id 0xff soc_id 0x401a2200 [ 22.738310] ath12k_pci 0000:08:00.0: fw_version 0x111300d6 fw_build_timestamp 2024-08-06 08:29 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.WBE.1.1.1-00214-QCAHKSWPL_SILICONZ-1 [ 22.782227] ath12k_pci 0000:08:00.0: failed to fetch board data for bus=pci,qmi-chip-id=0,qmi-board-id=255 from ath12k/QCN9274/hw2.0/board-2.bin [ 22.782232] ath12k_pci 0000:08:00.0: failed to fetch board.bin from QCN9274/hw2.0 [ 22.782234] ath12k_pci 0000:08:00.0: qmi failed to load bdf: [ 22.782236] ath12k_pci 0000:08:00.0: qmi failed to load board data file:-2
(In reply to Sebastian Arnhold from comment #6) > I have the same bug. I've built a homeserver using a "Wallys DR9274-5G&6G" > M.2 card. It's using a QCN9274 chipset in split configuration, so 2x2 5 GHz > and 2x2 6 GHz. > > The complete datasheet can be found here: > https://www.wallystech.com/upload/DR92745G6G.pdf > > I am using Kernel 6.10.4 on Fedora Server 40. > > I have installed ath12k firmware for QCN9274 (since it isn't even in > linux-firmware yet!) manually via the official instructions here: > https://git.codelinaro.org/clo/ath-firmware/ath12k-firmware/-/blob/main/ > README.md?ref_type=heads > > Firmware is correctly installed under /lib/firmware/ath12k/QCN9274/hw2.0: > - board-2.bin > - firmware-2.bin > > Sadly, the wifi card is not found. Any advice on this would be greatly > appreciated. Here's my dmesg output: > > > $ sudo dmesg | grep ath12 > [ 21.497784] ath12k_pci 0000:08:00.0: BAR 0 [mem 0xfc200000-0xfc3fffff > 64bit]: assigned > [ 21.497805] ath12k_pci 0000:08:00.0: enabling device (0000 -> 0002) > [ 21.498185] ath12k_pci 0000:08:00.0: MSI vectors: 16 > [ 21.498190] ath12k_pci 0000:08:00.0: Hardware name: qcn9274 hw2.0 > [ 22.709093] ath12k_pci 0000:08:00.0: memory type 10 not supported > [ 22.738305] ath12k_pci 0000:08:00.0: chip_id 0x0 chip_family 0xb board_id > 0xff soc_id 0x401a2200 > [ 22.738310] ath12k_pci 0000:08:00.0: fw_version 0x111300d6 > fw_build_timestamp 2024-08-06 08:29 fw_build_id > QC_IMAGE_VERSION_STRING=WLAN.WBE.1.1.1-00214-QCAHKSWPL_SILICONZ-1 > [ 22.782227] ath12k_pci 0000:08:00.0: failed to fetch board data for > bus=pci,qmi-chip-id=0,qmi-board-id=255 from ath12k/QCN9274/hw2.0/board-2.bin > [ 22.782232] ath12k_pci 0000:08:00.0: failed to fetch board.bin from > QCN9274/hw2.0 > [ 22.782234] ath12k_pci 0000:08:00.0: qmi failed to load bdf: > [ 22.782236] ath12k_pci 0000:08:00.0: qmi failed to load board data file:-2 This is because your device do not have board-id (0xff). And board-2.bin do not have bdf for board-id=255 (0xff). You can encode your bdf to board-2.bin or use directly as board.bin.
Thank you very much. Can you provide instructions on how to do this?
> Thank you very much. Can you provide instructions on how to do this? To make it easier for the ath12k developers Bugzilla is not a user support forum, please send questions like this to the ath12k mailing list: https://wireless.wiki.kernel.org/en/users/drivers/ath12k/mailinglist
(In reply to Ronald Dedeaux from comment #10) > (In reply to Kalle Valo from comment #9) > > > Thank you very much. Can you provide instructions on how to do this? > > To make it easier for the ath12k developers Bugzilla is not a user > > support forum, please send questions like this to the ath12k mailing > > list: > > > > https://wireless.wiki.kernel.org/en/users/drivers/ath12k/mailinglist > > https://101games.io > > Thanks for the list Ronald, did you find a solution? I have posted several weeks ago on the mailing list as Kalle suggested but got zero response. :( https://lore.kernel.org/ath12k/7519810f2dc252d430157ee4409f6654@posteo.de/ Is there really no possibility to get this card working?
(In reply to Sebastian Arnhold from comment #11) > > Thanks for the list > > Ronald, did you find a solution? Sorry, Ronald is a spammer. That account is now banned.
(In reply to Konstantin Ryabitsev from comment #12) > (In reply to Sebastian Arnhold from comment #11) > > > Thanks for the list > > > > Ronald, did you find a solution? > > Sorry, Ronald is a spammer. That account is now banned. Ok, no problem! Thanks for the info! I would still really, really like a solution to my problem. I have built a homeserver and want to use the aforementioned QCN9274 card (Wallys DR9274-5G&6G) as my wifi access point. This bug is now a year old and no solution. :( "wlpuah" said in comment #7: "You can encode your bdf to board-2.bin or use directly as board.bin." I have asked the mailing list on how to do that but got no response there. :( If you or anyone else from the ath12k team could take a look at it and supply a short howto here, it would be much appreciated!
(In reply to Sebastian Arnhold from comment #13) > (In reply to Konstantin Ryabitsev from comment #12) > > (In reply to Sebastian Arnhold from comment #11) > > > > Thanks for the list > > > > > > Ronald, did you find a solution? > > > > Sorry, Ronald is a spammer. That account is now banned. > > Ok, no problem! Thanks for the info! > > I would still really, really like a solution to my problem. I have built a > homeserver and want to use the aforementioned QCN9274 card (Wallys > DR9274-5G&6G) as my wifi access point. This bug is now a year old and no > solution. :( > > "wlpuah" said in comment #7: "You can encode your bdf to board-2.bin or use > directly as board.bin." I have asked the mailing list on how to do that but > got no response there. :( > > If you or anyone else from the ath12k team could take a look at it and > supply a short howto here, it would be much appreciated! Hey there. I'm not from the ath12k-team but had some struggle with my QCN9274-board as well and did a lot of reading and at least found some "tweaks". To encode bdf to board-2.bin, you would need an individual board-file, preferably from the manufacturer of your board -> Wallys. My humble experience taught me that most board-designers of QCN9274 boards don't have an adjusted board-file (yet) but you could try it with the "standard"-files from the ath12k-developers. Go to: https://git.codelinaro.org/clo/ath-firmware/ath12k-firmware/-/tree/main/QCN9274/hw2.0 and download the "board-2.bin". Since October, this is now also part of the official "linux firmware" https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/ath12k/QCN9274/hw2.0?h=20241017 but Codelinaro is a bit more recent. Anyway, use the "ath12k-bdencoder" from the qca-swiss-army-knife https://github.com/qca/qca-swiss-army-knife/tree/master/tools/scripts/ath12k to extract the board-files from the "board-2.bin". The board files look like this -> bus=pci,qmi-chip-id=0,qmi-board-id=* They have individual IDs at the end, which stand for the band. "1" is for 2,4Ghz, "2" is for 5Ghz and "4" is for 6Ghz. Take the one you need / want and rename it to "board.bin". Put "firmware-2.bin", "board-2.bin" and "board.bin" in /lib/firmware/ath12k/QCN9274/hw2.0/ and reboot your system. That's how I got my Emwicon WMX8402 going... still not working with all the features it promises, somehow using kind of the wrong regdb and still many bugs but at least it's pretty stable. I owe the guys from quic big time, they're doing a really good work!
Thanks a lot! Tried it, to no avail. 1. Get "board-2.bin" and "ath12k-bdencoder" as described above. 2. ./ath12k-bdencoder --extract board-2.bin 3. Find out that from the extracted files, there is none that can be applied to my split-phy card, since it uses both 5 GHz and 6 GHz (2 channels each). 4. Resist urge to throw card in trash. There simply seems to be no board.bin for split-phy cards yet, not even a "standard" one from the ath12k team. :-/
(In reply to Sebastian Arnhold from comment #15) > Thanks a lot! Tried it, to no avail. > > 1. Get "board-2.bin" and "ath12k-bdencoder" as described above. > 2. ./ath12k-bdencoder --extract board-2.bin > 3. Find out that from the extracted files, there is none that can be applied > to my split-phy card, since it uses both 5 GHz and 6 GHz (2 channels each). > 4. Resist urge to throw card in trash. > > There simply seems to be no board.bin for split-phy cards yet, not even a > "standard" one from the ath12k team. > > :-/ My board is also advertised as dual-band or more exactly wide-band, unfortunately I have to decide for one band, at least for now. Did you try with only 5 Ghz (for example), did that work? And did you contact Wallys for an adjusted / individual board file?
> My board is also advertised as dual-band or more exactly wide-band, > unfortunately I have to decide for one band, at least for now. > > Did you try with only 5 Ghz (for example), did that work? I tried with only 5 GHz (board id 2). Strangely, nmcli reports the connection as "active", but there is no SSID being generated (checked with my smartphone and a wifi scanner app). Output of dmesg | grep ath12k : root@sebastian-server:/etc/NetworkManager/system-connections# dmesg | grep ath12k [ 9.258539] ath12k_pci 0000:01:00.0: BAR 0 [mem 0xf6400000-0xf65fffff 64bit]: assigned [ 9.258557] ath12k_pci 0000:01:00.0: enabling device (0000 -> 0002) [ 9.258642] ath12k_pci 0000:01:00.0: MSI vectors: 1 [ 9.258647] ath12k_pci 0000:01:00.0: Hardware name: qcn9274 hw2.0 [ 10.152109] ath12k_pci 0000:01:00.0: qmi dma allocation failed (29360128 B type 1), will try later with small size [ 10.155458] ath12k_pci 0000:01:00.0: memory type 10 not supported [ 10.160799] ath12k_pci 0000:01:00.0: chip_id 0x0 chip_family 0xb board_id 0xff soc_id 0x401a2200 [ 10.160802] ath12k_pci 0000:01:00.0: fw_version 0x131300a2 fw_build_timestamp 2024-09-06 16:13 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.WBE.1.3.1-00162-QCAHKSWPL_SILICONZ-1 [ 13.179995] ath12k_pci 0000:01:00.0: leaving PCI ASPM disabled to avoid MHI M2 problems [ 13.181332] ath12k_pci 0000:01:00.0: HTC Service WMI MAC1 connect request failed: 0x1) [ 13.181338] ath12k_pci 0000:01:00.0: failed to connect to WMI CONTROL service status: -71 [ 13.181908] ath12k_pci 0000:01:00.0: Invalid module id 2 [ 13.181911] ath12k_pci 0000:01:00.0: failed to parse tlv -22 [ 13.535937] ath12k_pci 0000:01:00.0 wlp1s0: renamed from wlan0 Do you also have the "Invalid module id 2" line? It could be fine (because we're intentionally using the wrong board.bin), or it could be a difference between your card and mine that prevents me from doing the same trick that you did. It would be cool to use at least 5 GHz as a workaround, but it's no replacement for a correct board.bin from Wallys. > And did you contact Wallys for an adjusted / individual board file? Yes, I have contacted someone from Wallys today! Waiting for a response. Hopefully Wallys can provide the correct board.bin for their card (maybe even for all of their complete Wifi 7 lineup!). With that, it should be easy for the ath12k team to make all of their cards work out-of-the-box on every Linux distribution worldwide. We could then recommend them as "the" standard manufacturer for Linux Access Points.
I got almost the exact same output as you 08:29:11 kernel: ath12k_pci 0000:05:00.0: BAR 0 [mem 0xd0000000-0xd01fffff 64bit]: assigned 08:29:11 kernel: ath12k_pci 0000:05:00.0: MSI vectors: 1 08:29:11 kernel: ath12k_pci 0000:05:00.0: Hardware name: qcn9274 hw2.0 08:29:11 kernel: ath12k_pci 0000:05:00.0: qmi dma allocation failed (29360128 B type 1), will try later with small size 08:29:11 kernel: ath12k_pci 0000:05:00.0: memory type 10 not supported 08:29:11 kernel: ath12k_pci 0000:05:00.0: chip_id 0x0 chip_family 0xb board_id 0xff soc_id 0x401a 2200 08:29:11 kernel: ath12k_pci 0000:05:00.0: fw_version 0x131400ad fw_build_timestamp 2024-10-08 11: 45 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1 08:29:11 kernel: ath12k_pci 0000:05:00.0: leaving PCI ASPM disabled to avoid MHI M2 problems 08:29:11 kernel: ath12k_pci 0000:05:00.0: HTC Service WMI MAC1 connect request failed: 0x1) 08:29:11 kernel: ath12k_pci 0000:05:00.0: failed to connect to WMI CONTROL service status: -71 08:29:11 kernel: ath12k_pci 0000:05:00.0: Invalid module id 2 08:29:11 kernel: ath12k_pci 0000:05:00.0: failed to parse tlv -22 and mine works fine with hostapd (far from perfect, like I said before, but stable). So maybe it's something in your config? But that should not be discussed here. Greetings
Thanks, I'll look into it! The difference between our setups will be that I'm using NetworkManager and you're using hostapd. So the *workaround* not working for both of us seems to be a config problem on my end. So to sum it up, it seems we can use Wifi 7 cards with QCN9274 chipset in AP mode, when using the manual steps described here in comment #14. But only with a single frequency (2.4 GHz OR 5 GHz OR 6 GHz). Reason why we can't use split-phy cards is because of lacking board.bin for split-phy cards. Best would be to have a board.bin from the card manufacturer, but second best option would be a default board.bin from the ath12k team. The ath12k team could provide a board.bin for split-phy configuration to solve this problem and enable the workaround for cards like mine. Would this be possible to do, @ath12k team?