Skip to content

wifi: cfg80211/mac80211: extend link support for stop iface handler

Manish Dharanenthiran linux-wireless 1 version In review

Get series with b4
b4 am [email protected] change-id 20250908-stop_iface-split-be69429a0718

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2wifi: cfg80211: extend link support for stop iface handlerdrivers/net/wireless/microchip/wilc1000/cfg80211.c include/net/cfg80211.h net/mac80211/cfg.c +8 more+40 -202 replies
2/2wifi: mac80211: Update csa_finalize to use link_idnet/mac80211/cfg.c+7 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH wireless-next 0/2] wifi: cfg80211/mac80211: extend link support for stop iface handler

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.

Hence, extend stop iface infra to handle the event on the passed link id and stop that link alone instead of the whole iface. This would be useful during cases such as failed to finalize CSA. In that case, a link alone could be stopped instead of stopping the whole interface.

---
Aditya Kumar Singh (2):
wifi: cfg80211: extend link support for stop iface handler
wifi: mac80211: Update csa_finalize to use link_id

 drivers/net/wireless/microchip/wilc1000/cfg80211.c |  2 +-
 include/net/cfg80211.h                             |  6 +++++-
 net/mac80211/cfg.c                                 |  8 +++++++-
 net/mac80211/chan.c                                |  2 +-
 net/mac80211/iface.c                               |  5 +++--
 net/wireless/core.c                                | 22 ++++++++++++++++------
 net/wireless/core.h                                |  3 ++-
 net/wireless/reg.c                                 |  2 +-
 net/wireless/sysfs.c                               |  2 +-
 net/wireless/trace.h                               | 11 +++++++----
 net/wireless/util.c                                |  3 ++-
 11 files changed, 46 insertions(+), 20 deletions(-)

---
base-commit: ee6960bdbb74499516261b84eadb19acc01cb361
change-id: 20250908-stop_iface-split-be69429a0718