This is a preparation for supporting Multi-Link reconfigure link removal procedure[IEEE P802.11be/D5.0 - 35.3.6.3 Removing affiliated APs] for driver which supports offloaded Multi-Link reconfigure link removal. Multi-Link reconfigure link removal offloaded drivers will take care of updating the reconfiguration MLE in self and partner beacons. It also updates the AP removal timer automatically and notifies once the counter is expired. This patchset also adds mac80211 routine to support sending link removal command from userspace to offloaded driver which accepts reconfigure Multi-Link element and the TBTT count for the link to be removed. Driver (ath12k) changes that utilize this will be posted in the future versions. Manish Dharanenthiran (2): wifi: cfg80211/mac80211: Introduce nl80211 commands to support MLD link removal offload wifi: mac80211: Add support for link reconfigure removal --- v2: - Addressed Johannes comments - Some of the open items are yet to be finalized from previous version Lore link for the same: [0/2]: https://lore.kernel.org/linux-wireless/1f0ae919-0562-4da0-8218-69cbb21e6068@xxxxxxxxxxx/ [1/2]: https://lore.kernel.org/linux-wireless/20240404185950.776062-2-quic_mdharane@xxxxxxxxxxx/ [2/2]: https://lore.kernel.org/linux-wireless/20240404185950.776062-3-quic_mdharane@xxxxxxxxxxx/ v1: - Addressed Johannes comments on coding style and return usage. - Still some of the open items are yet to be discussed from the previous version Lore link to the previous discussion is below, [0/2]: https://lore.kernel.org/linux-wireless/544b2adc-9b4f-4198-8547-c556c9ebdaa9@xxxxxxxxxxx/ [1/2]: https://lore.kernel.org/linux-wireless/70d9c885-d528-4892-8cc8-3450dfca6ac4@xxxxxxxxxxx/ [2/2]: https://lore.kernel.org/linux-wireless/8b0f6f62-ff3a-483c-bceb-2f9c56526f44@xxxxxxxxxxx/ --- include/net/cfg80211.h | 52 ++++++++++++++++++++++ include/net/mac80211.h | 25 +++++++++++ include/uapi/linux/nl80211.h | 30 +++++++++++++ net/mac80211/cfg.c | 12 +++++ net/mac80211/driver-ops.h | 19 ++++++++ net/mac80211/ieee80211_i.h | 4 ++ net/mac80211/link.c | 34 ++++++++++++++ net/mac80211/trace.h | 31 +++++++++++++ net/wireless/core.h | 2 + net/wireless/nl80211.c | 86 ++++++++++++++++++++++++++++++++++++ net/wireless/rdev-ops.h | 17 +++++++ net/wireless/trace.h | 58 ++++++++++++++++++++++++ net/wireless/util.c | 17 +++++++ 13 files changed, 387 insertions(+) base-commit: 338a93cf4a18c2036b567e9f613367f7a52f2511 -- 2.34.1