mbox series

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

Message ID 20250409-ath12k-wcn7850-mlo-support-v2-0-3801132ca2c3@quicinc.com
Headers show
Series wifi: ath12k: support MLO for WCN7850 | expand

Message

Baochen Qiang April 9, 2025, 2:26 a.m. UTC
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@quicinc.com>
---
Changes in v2:
- rebase on ToT
- Link to v1: https://lore.kernel.org/r/20250402-ath12k-wcn7850-mlo-support-v1-0-bad47cf00704@quicinc.com

---
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,

Comments

Jeff Johnson April 15, 2025, 2:43 p.m. UTC | #1
On Wed, 09 Apr 2025 10:26:33 +0800, Baochen Qiang wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/9] wifi: ath12k: introduce ath12k_fw_feature_supported()
      commit: dad6de9070a8dfc8268ed7c1684b81d1e2eeaa97
[2/9] wifi: ath12k: use fw_features only when it is valid
      commit: 6b85b83e46516ce38ce82dd2f1c4e40d183aa311
[3/9] wifi: ath12k: support MLO as well if single_chip_mlo_support flag is set
      commit: 32f7b19668bd2894f1a236580c2132fc4b9f4449
[4/9] wifi: ath12k: identify assoc link vif in station mode
      commit: 0cd46d1f36ced0e61bd6d8cdce7c9eec9563d294
[5/9] wifi: ath12k: make assoc link associate first
      commit: ead6d41116b81098061c878d9bfc0b1a6c629090
[6/9] wifi: ath12k: group REO queue buffer parameters together
      commit: 3aba3a1422656850dd1f87843ca34acd379a29ce
[7/9] wifi: ath12k: alloc REO queue per station
      commit: 3b9cbce6fdd3d511107e7eaf27a0f1e0d73038ea
[8/9] wifi: ath12k: don't skip non-primary links for WCN7850
      commit: bcdf2620f95752af542c18ee81a83231d4993953
[9/9] wifi: ath12k: support 2 channels for single pdev device
      commit: 176f3009ae598d0523b267db319fe16f69577231

Best regards,