Posted on

WIFi 7 drivers finally works aka how we tested QCN9274 hw 2.0. board-2.bin and firmware-2.bin file for Linux development and Ath12k Driver MLO debug 9274

October 2025 update :

🚀 Exciting News from 524WiFi !

Our 524WiFi DR9274 Series WiFi 7 Network Cards are now fully supported on the DR9574 platform using ath12k driver! And MLO fully working and supported too !

Experience the next generation of wireless performance — faster, smarter, and more reliable.

Sample units and demo tests are now available.

Actually. The Customer can use our board-2.bin from our ftp or from Compex on our DR9274 Cards. Because these Cards are standard Card of Qualcomm. There is no reason for any differences. You can download board-2.bin for all our 524WiFi DR9274 modules from our link : https://wifi5.eu/dls/Wallys/DR9274/

Additionally. If a Customer needs ath12k support, then we can do demo ath12k on our DR9574 boards to support DR9274 cards. Customer can take it as reference. If Customer need support for their own software, it needs check the project scale and then we can offer our support for LINUX / OpenWRT development.

———————————————————————————————-

Dear customers,

You can log in the link and can find latest sources for your development using Ath12k firmware. If there is any mistake, please let us know.

https://git.codelinaro.org/clo/ath-firmware/ath12k-firmware/-/tree/main/QCN9274/hw2.0?ref_type=heads

This is general frimware for QCN 9274 / 6274 based modules. For special function, you need ask the vendor to develop special firmware. They do not provide it for free. For example COMPEX need you to buy it , but the price is about $50000.

For 524wifi DR9274 and also COMPEX modules the bdf is not changed, so you can use the generic board-2, firmware-2  and add your board-id of your module if not included in already. Please read bellow how to use and debug Ath12k driver for our dual band modules.

There are also many known Ath12k bugs and limitations, you can solve known issues using a driver patch – for example :

https://patchwork.kernel.org/project/linux-wireless/list/?series=954967

For examples you can add the 160Mhz Channel Support for 5GHz range.

More general informations :

https://wireless.docs.kernel.org/en/latest/en/users/drivers/ath12k.html

EXAMPLE  1 : 

A modified general board-2.bin file for all QCN6274 modules (including dual band 5G6G) is available here. The public file doesn’t support board-id 0x1006 (dual band 5G+6G) , our engineer added support for 0x1006 in to the file : 

 https://wifi5.eu/dls/Wallys/DR9274/

For example WLE7002-E56 or DR9274-5G6G by 524WiFi modules require this modified board-2.bin file, then 6GHz issue is solved via regulatory db. signing the file. And you will also need to apply an existing driver patch from Patchwork.kernel.org

https://patchwork.kernel.org/project/linux-wireless/list/?series=&submitter=&state=&q=ath12k&archive=&delegate=

After this setup tuning and modifications you can achieve working WiFi 7 Dual band card under Linux or OpenWRT. For example openwrt latest trunk is working excellent, + adding right board-2.bin file as mentioned higher. After appling the 160MHZ channel patch we are testing DR9274-5G6G and WLE7002-E56 with MLO support:

current transfer is about 1400MBps for 6GHz/320Mhz with iphone 15 pro max 

and  1500MBps for 5GHz/160Mhz with iphone 15 pro max. Distance is half a meter for this testing.

For big customers , there is a good solution – like this : the customer can evaluate the wifi card on a QCA based router board, like for example DR9574 , and if performance and features are good then they will have confidence to put project to 524WiFi and Wallys to develop software for ath12k. We can allocate a engineer to fix these Customers requirements and if the Customer has a good project with us. MOQ and SW development contract is required.

Are you interested in in testing and development on dr9574 board using DR9274-5G6G module ? You will see how it works with original QCA driver. Please contact us !

Unfortunaly, it seems only single band modules can work with current ath12k without extra development, unfortunately dual band support requires additional development as we show you for wle7002-e25 card bellow:

————————————————————————————————————————————————

COMPEX WLE7002E25 dual band needs to separate phy firmware. 

https://github.com/quic/upstream-wifi-fw/tree/main/ath12k-firmware/QCN9274/hw2.0/1.3.1/WLAN.WBE.1.3.1-00130-QCAHKSWPL_SILICONZ-1

The official firmware It can be downloaded from the following link https://git.codelinaro.org/clo/ath-firmware/ath12k-firmware/-/blob/main/QCN9274/hw2.0/testing/1.1.1/WLAN.WBE.1.1.1-00210-QCAHKSWPL_SILICONZ-1/firmware-2.bin?ref_type=heads
Put the firmware into /lib/firmware/ath12k/QCN9274/hw2.0/

But split phy and firmware-2.bin does not support linux kernel 6.8. You need to download backportfrom https://mirror2.openwrt.org/sources/backports-6.9.1.tar.xz.
Install software to build backports with “sudo apt install build-essential flex bison ncurses-dev”.
The command need to prepare the backport
tar -xf backports-6.9.1.tar.xz
Patch the attached patch files. This will enable support linux kernel 6.xx and add defconfig-ath12k
cd backports-6.9.1/
patch -p1 < [patch file location]
The command need to compile and install backport
make defconfig-ath12k
make
sudo make INSTALL_MOD_STRIP=1 install

—————————-

We have tested this and it works. you can use the link provided directly.

See if it works on your end.

split phy and firmware-2.bin does not support linux kernel 6.8. Need to download backport from https://mirror2.openwrt.org/sources/backports-6.9.1.tar.xz.
Install software to build backports with “sudo apt install build-essential flex bison ncurses-dev”.
The command need to prepare the backport
tar -xf backports-6.9.1.tar.xz
Patch the attached patch files. This will enable support linux kernel 6.xx and add defconfig-ath12k
cd backports-6.9.1/
patch -p1 < [patch file location]
The command need to compile and install backport
make defconfig-ath12k
make
sudo make INSTALL_MOD_STRIP=1 install 

Please check our customer modified working board-2.bin file as an example and guide for your development – https://wifi5.eu/dls/compex/WLE7000

And dont forget as always , comment react or add some info – you will be automaticly added to possibly win set of our designed special 5G or WIFI anntennas

———————————————

Best Regards

524wifi team

 

Posted on

Support 524 wifi 6 DR9074 Tri-band card on rockchip-5b

Dear Linux users,

Please see our reference guide how to run QCN 9024 / 9074 DR9074-Triband module with our ath11k driver on Rockship board .

The driver is sensitive to the hardware, so we refer you to use the Rockchip board to try these driver. If you have a bigger project, then lets discuss on the driver issues or send us the hardware description and we would help you to develope the ath11k driver for your application.

First step, download development for rockchip-5b:

you can get source code by

git clone https://github.com/Joshua-Riek/ubuntu-rockchip

Use -ko compilation option can only build the kernel to deb, -uo can only build uboot and -ro can only build rootfs.

Then, you can move to development create you img by

./build.sh –board=rock-5b –suite=oracular –flavor=desktop

Then download our ath11k driver from our ftp, dowload teh DR9074 rockchip.rar file :

https://wifi5.eu/dls/Wallys/DR9074

In order to support tri band cards, modifications need to be made to the kernel module.

Firstly, the ath11k_pci module needs to be added to support QCOM PCI cards. Move config.common.ubuntu to

build/linux-rockchip/debian.rockchip/config/config.common.ubuntu

in the compiled environment. This directory may not be available in the newly downloaded environment. You can compile the kernel to obtain this directory.

Move mac.c to

build/linux-rockchip/drivers/net/wireless/ath/ath11k/mac.c

Move reg.c to

build/linux-rockchip/drivers/net/wireless/ath/ath11k/reg.c

Compile the kernel so you can get a new kernel deb with ath11k_pci.

Secondly, the correct firmware of the WiFi card is also required to activate it, you can move our firmware (amss.bin, board-2.bin) to:

/lib/firmware/ath11k/QCN9074/hw1.0

and delete the amss.bin.zst and board-2.bin.zst from the directory.

Setup wireless on ubuntu

Download hostapd

 you can download hostapd by use command:

sudo apt-get install hostapd

Use hostapd to create a wireless access point

First, you should turn off ubuntu’s wifi tool by this command:

sudo nmcli radio wifi off

it will block you wifi function unblock wifi by use this command:

sudo rfkill unblock wifi

You can setup an access point by using command:

sudo hostapd hostapd.conf

hostapd.config is a configuration which has set the type of wi-fi you want to enable and the following figure shows its typical structure:

I have marked the most important part with a red box, where ssid represents the name of the wifi and interface represents the device selected to enable wifi. By the way if you don’t know your interface name, you can use command: ip addr    which can show you the information about the interface, the wireless interface always seem like wlan* or wlp*.

If you see following output after you use hostapd command:

this means you have successfully started the AP.

And when you see this:

it means a device connected to you access point.

This also means connect if you not set password:

Use wpa_supplicant to connect a access point

First, you should turn off ubuntu’s wifi tool by this command:

sudo nmcli radio wifi off

it will block you wifi function unblock wifi by use this command:

sudo rfkill unblock wifi

You can connect an access point by using command:

sudo wpa_supplicant  -Dnl80211 -iwlp1s0 -c wpa.conf

-i can set the interface you want to use to connect. wpa.config is a configuration which has set the type of wi-fi you want to connect and the following figure shows its typical structure:

you can change the ssid to which access point you want.

If you see following output after you use hostapd command:

this means connect successful.

If you want to connect a access point which has a password you should change the wpa_supplicant configuration like this:

the psk is the password proto and key_mgmt is the encryption options.

FAQ

when you see this output you can use: sudo rfkill unblock wifi

when you see this output that means you may run another wpa_supplicant, you should close it then you can run another wpa_supplicant if you don’t know where is it, you can use command: sudo killall wpa_supplicant to kill all wpa_supplicant.