【ath12k】 Issues about MLO

Chee Hou Lai laicheehou9 at gmail.com
Tue Jan 7 16:58:43 PST 2025


Hi,

I'm currently attempting to implement MLO on x86_64.
I have installed the latest kernel and driver from ath.git,
The branch is ath12k-mlo-qcn9274 and the commit is
09fa3b6974a1245ddd0751747609431494ba5b4f.
However, I encountered some issues while trying to get MLO working.

The kernel, firmware, and hardware I am currently using are as follows:
Kernel    : 6.13.0-rc3-wt-ath
Firmware   : QC_IMAGE_VERSION_STRING=WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1
WiFi module: Compex WLE7002E25 WiFi 7(qcn9274 hw2.0, 2.4G and 5G bands)
------------------------------------------------------------------------------------------------------------
Question 1

When I try to test MLO using hostapd, my hostapd gives the following message:
MLD: Not supported by the driver

I found that the driver still initializes 2G and 5G as two separate
physical interfaces (see iw_phy_1).

To check how the driver determines whether to enable MLO, I added some
"printk" in ath12k_core_hw_group_set_mlo_capable() in core.c(please
refer to core.c.modify for the print statements,I did not make any
other modify).
The results are as follows(Please refer to dmesg_log_1 for the complete log):
kwan at kwan-H610MHP:~/Desktop$ sudo dmesg | grep ath12k
[ 3247.394989] ath12k: Number of devices: 1
[ 3247.394998] ath12k: Initial MLO capable: 0
[ 3247.395001] ath12k: Single device, MLO capable: 0
[ 3247.395004] ath12k: def_num_link: 0
[ 3247.395006] ath12k: MLO not capable

>From the results, it seems that the driver does not consider my WiFi
module to have the single_chip_mlo_supp capability.
However, this module has previously been tested on QSDK and can
perform MLO for both 2G and 5G.
I would like to ask if there is anything I need to modify or add in
the BDF? or if there are any other settings that need to be
configured?

---------------------------------------------------------------------------------------------------------------------------
Question 2

Here are some tests I conducted. I forced "ag->mlo_capable = true" and
then "return" to see if the MLO could be enabled.
>From the results of "iw_phy_2", the driver successfully initialized my
WLE7002E25 as a single physical interface.

For "iw_dev" when running hostapd, please refer to “iw_dev“

However, when the station (MT7925, driver version: 5.4.0.3044)
connects to my hostapd, the following error occurs:
wlp1s0: STA 1c:ce:51:ef:04:00 IEEE 802.11: Could not add STA to kernel driver

I would like to ask if the error is caused by my forcing the MLO
functionality to be enabled, or if it is due to an issue with my
hostapd configuration,
is there anything specific that needs to be configured in hostapd.conf?

Thank you very much for your help.
Kwan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iw_phy_1
Type: application/octet-stream
Size: 29058 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath12k/attachments/20250108/acfdc7a1/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg_log_1
Type: application/octet-stream
Size: 2774 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath12k/attachments/20250108/acfdc7a1/attachment-0008.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iw_phy_2
Type: application/octet-stream
Size: 25277 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath12k/attachments/20250108/acfdc7a1/attachment-0009.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iw_dev
Type: application/octet-stream
Size: 472 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath12k/attachments/20250108/acfdc7a1/attachment-0010.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hostapd_log
Type: application/octet-stream
Size: 309355 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath12k/attachments/20250108/acfdc7a1/attachment-0011.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hostapd-phy00_band0.conf
Type: application/octet-stream
Size: 1701 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath12k/attachments/20250108/acfdc7a1/attachment-0012.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hostapd-phy00_band1.conf
Type: application/octet-stream
Size: 1943 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath12k/attachments/20250108/acfdc7a1/attachment-0013.obj>


More information about the ath12k mailing list