[PATCH ath-next 0/9] wifi: ath12k: support MLO for WCN7850

From: Baochen Qiang
Date: Tue Apr 01 2025 - 22:46:45 EST


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>
---
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: ba613742db305037ca2193b2b552b769c4f2a5f7
change-id: 20250327-ath12k-wcn7850-mlo-support-bfed592d139b

Best regards,
--
Baochen Qiang <quic_bqiang@xxxxxxxxxxx>