From: Sidhanta Sahu Per IEEE P802.11bn/D2.0, Aug 2026, subclause 37.16, an AP MLD can be managed by a Seamless Mobility Domain Management Entity (SMD-ME) along with partner AP MLDs to enable seamless transition of an associated non-AP MLD from the current AP MLD to a target AP MLD. A non-AP MLD advertising SMD supports association to an SMD-ME and SMD Transition (ST) between AP MLDs within an SMD. Userspace needs a way to be aware of the driver's SMD capabilities so that it can enable SMD configuration and operation only on capable devices. Define nl80211 interfaces to advertise SMD support to userspace. Signed-off-by: Sidhanta Sahu Co-developed-by: Pooventhiran G Signed-off-by: Pooventhiran G --- include/uapi/linux/nl80211.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h index 439a08654274..2e4b08c41587 100644 --- a/include/uapi/linux/nl80211.h +++ b/include/uapi/linux/nl80211.h @@ -401,6 +401,22 @@ * of them. */ +/** + * DOC: Seamless Mobility Domain (AP) + * + * Seamless Mobility Domain (SMD) is a mobility domain consisting of multiple + * non-colocated AP multi-link devices where a non-AP MLD can perform SMD + * Transition (ST) between the AP MLDs without reassociation (hence, seamless). + * ST is done in two phases: + * Preparation (where the target AP MLD sets up the links for the non-AP + * MLD but keep in powersave) and + * Execution (actual roaming where the non-AP MLD transitions to the + * target AP MLD and continues traffic). + * + * Drivers can indicate userspace about the support for SMD (and ST) by setting + * %NL80211_EXT_FEATURE_SMD_SUPPORT. + */ + /** * enum nl80211_commands - supported nl80211 commands * @@ -7289,6 +7305,9 @@ enum nl80211_feature_flags { * @NL80211_EXT_FEATURE_UPDATE_BEACON: Driver supports * %NL80211_CMD_UPDATE_BEACON. * + * @NL80211_EXT_FEATURE_SMD_SUPPORT: Driver supports Seamless Mobility Domain + * (SMD) and Transition (ST). + * * @NUM_NL80211_EXT_FEATURES: number of extended features. * @MAX_NL80211_EXT_FEATURES: highest extended feature index. */ @@ -7373,6 +7392,7 @@ enum nl80211_ext_feature_index { NL80211_EXT_FEATURE_PROBE_AP, NL80211_EXT_FEATURE_FAST_ROAM_OFFLOAD, NL80211_EXT_FEATURE_UPDATE_BEACON, + NL80211_EXT_FEATURE_SMD_SUPPORT, /* add new features before the definition below */ NUM_NL80211_EXT_FEATURES, -- 2.34.1