Thread (3 messages) 3 messages, 1 author, 2d ago
WARM2d
Revisions (2)
  1. v1 [diff vs current]
  2. v2 current

[PATCH wireless-next v2 0/2] wifi: cfg80211/mac80211: Add Max Channel Switch Time (MCST) in channel switch started notify event

From: Shashikala Prabhu <hidden>
Date: 2026-07-06 08:39:10

IEEE Std 802.11-2024 subclause 9.4.2.216 (Max Channel Switch Time element)
defines a Switch Time field in the Channel Switch Announcement (CSA)
element that indicates the time delta between the time the last beacon
is transmitted by the AP in the current channel and the expected time
of the first beacon transmitted by the AP in the new channel.
 
Add a new u32 nl80211 attribute, NL80211_ATTR_MAX_CH_SWITCH_TIME, to
carry this value in the NL80211_CMD_CH_SWITCH_STARTED_NOTIFY event to
userspace. This enables userspace to decide whether to remain connected
or disconnect before the AP moves to the new channel.

Chandru Gopi (2):
  wifi: nl80211/cfg80211: Add MCST value to channel switch started
    notification
  wifi: mac80211: Pass MCST element value in ch_switch_started_notify

---
Changes in v2:
- Reorganize the patch to group nl80211 and cfg80211 changes together.
- Advertise NL80211_ATTR_MAX_CH_SWITCH_TIME only for STA and P2P client
channel switch notifications.
- Addressed review comments from v1.
- Update subjects and commit messages to reflect the revised patches.
---

 include/net/cfg80211.h       |  4 +++-
 include/uapi/linux/nl80211.h | 11 +++++++++++
 net/mac80211/cfg.c           |  2 +-
 net/mac80211/mlme.c          |  2 +-
 net/wireless/nl80211.c       | 13 +++++++++----
 5 files changed, 25 insertions(+), 7 deletions(-)

-- 
2.34.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help