WCN7850 firmware uses API-1 so it can not advertise MLO support via firmware IE, but instead it uses single_chip_mlo_support flag in QMI message, the first three patches serve for this purpose. Currently ml_arg->assoc_link flag is not set in WMI_VDEV_START_REQUEST_CMDID, this result in WCN7850 firmware crash in MLO case, so patch [04/9] sets it for assoc link. Patch [05/9] makes sure we do assoc for assoc link before any other links, as requested by WCN7850 firmware. Patch [08/9] change to send REO queue configuration to firmware for all links including non-primary link. For that purpose, preparation is done in patch [06,07/9]. The last patch increases number of different channels to 2 for single pdev device, to avoid failing in bringup the second link. Signed-off-by: Baochen Qiang <quic_bqiang@xxxxxxxxxxx> --- Changes in v2: - rebase on ToT - Link to v1: https://lore.kernel.org/r/20250402-ath12k-wcn7850-mlo-support-v1-0-bad47cf00704@xxxxxxxxxxx --- Baochen Qiang (9): wifi: ath12k: introduce ath12k_fw_feature_supported() wifi: ath12k: use fw_features only when it is valid wifi: ath12k: support MLO as well if single_chip_mlo_support flag is set wifi: ath12k: identify assoc link vif in station mode wifi: ath12k: make assoc link associate first wifi: ath12k: group REO queue buffer parameters together wifi: ath12k: alloc REO queue per station wifi: ath12k: don't skip non-primary links for WCN7850 wifi: ath12k: support 2 channels for single pdev device drivers/net/wireless/ath/ath12k/core.c | 23 ++--- drivers/net/wireless/ath/ath12k/core.h | 15 +++ drivers/net/wireless/ath/ath12k/dp_rx.c | 178 ++++++++++++++++++-------------- drivers/net/wireless/ath/ath12k/dp_rx.h | 4 +- drivers/net/wireless/ath/ath12k/fw.c | 9 +- drivers/net/wireless/ath/ath12k/fw.h | 3 +- drivers/net/wireless/ath/ath12k/hw.c | 8 ++ drivers/net/wireless/ath/ath12k/hw.h | 3 + drivers/net/wireless/ath/ath12k/mac.c | 62 ++++++++++- drivers/net/wireless/ath/ath12k/pci.c | 4 +- drivers/net/wireless/ath/ath12k/qmi.c | 6 +- 11 files changed, 213 insertions(+), 102 deletions(-) --- base-commit: ac17b1211841c98a9b4c2900ba2a7f457c80cf90 change-id: 20250327-ath12k-wcn7850-mlo-support-bfed592d139b Best regards, -- Baochen Qiang <quic_bqiang@xxxxxxxxxxx>