Patch 1 and 2 are pre-req fixes (applies to non-MLO as well) Patch 3 basically uses arvif->link_id to enable MLO for CSA while adding support to update counters throughout the CSA time. Patch 4 fixes a potential problem seen when medium is busy. Again this applies to both MLO and non-MLO. But this is exposed only when Patch 3 is there. --- Changes in v2: - Rebased on ToT. - Link to v1: https://lore.kernel.org/r/20241223-ath12k_mlo_csa-v1-0-78b6d7515568@xxxxxxxxxxx --- Aditya Kumar Singh (4): wifi: ath12k: update beacon template function to use arvif structure wifi: ath12k: fix handling of CSA offsets in beacon template command wifi: ath12k: update the latest CSA counter wifi: ath12k: prevent CSA counter to reach 0 and hit WARN_ON_ONCE drivers/net/wireless/ath/ath12k/core.h | 2 ++ drivers/net/wireless/ath/ath12k/mac.c | 7 ++-- drivers/net/wireless/ath/ath12k/mac.h | 3 +- drivers/net/wireless/ath/ath12k/wmi.c | 61 +++++++++++++++++++++++++++------- drivers/net/wireless/ath/ath12k/wmi.h | 2 +- 5 files changed, 57 insertions(+), 18 deletions(-) --- base-commit: 376673aa393c1c232299be3e910d7f2e6d974b2f change-id: 20241217-ath12k_mlo_csa-35bd512a05ae