Skip to content

wifi: cfg80211/mac80211: Add support to stop a link instead of whole interface

Manish Dharanenthiran linux-wireless 1 version New

Get series with b4
b4 am [email protected] change-id 20251127-stop_link-14013df5fe28

Versions newest first

  1. v2 Latest2 patches 0 repliesNew

Changes in v2 from the cover letter

- Added a new API cfg80211_stop_link() based on the feedback.
- Updated the authorship accordingly.
- Rebased to ToT.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2wifi: cfg80211: add cfg80211_stop_link() for per-link teardowninclude/net/cfg80211.h net/wireless/core.c net/wireless/core.h +4 more+55 -170 replies
2/2wifi: mac80211: Update csa_finalize to use link_idnet/mac80211/cfg.c+11 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH wireless-next v2 0/2] wifi: cfg80211/mac80211: Add support to stop a link instead of whole interface

Currently whenever stop iface is called, the complete iface is getting stopped. However, there could be a need for AP/P2P_GO type, where one would like to stop a link alone instead of the whole interface.

This series introduces new API cfg80211_stop_link() to allow drivers to tear down only a specified AP/P2P_GO link during MLO operation.

---
Changes in v2:
- Added a new API cfg80211_stop_link() based on the feedback.
- Updated the authorship accordingly.
- Rebased to ToT.

---
Aditya Kumar Singh (1):
wifi: mac80211: Update csa_finalize to use link_id

Manish Dharanenthiran (1):

      wifi: cfg80211: add cfg80211_stop_link() for per-link teardown
 include/net/cfg80211.h | 16 ++++++++++++++++
 net/mac80211/cfg.c     | 13 +++++++++++--
 net/wireless/core.c    | 30 +++++++++++++++++++++++-------
 net/wireless/core.h    |  4 +++-
 net/wireless/reg.c     |  2 +-
 net/wireless/sysfs.c   |  2 +-
 net/wireless/trace.h   | 13 ++++++++-----
 net/wireless/util.c    |  5 +++--
 8 files changed, 66 insertions(+), 19 deletions(-)

---
base-commit: f9e788c5fd3a23edecd808ebb354e2cb1aef87c3
change-id: 20251127-stop_link-14013df5fe28