Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796207316; b=LxOVZxZJHa9g2ofX2IHzRoywtWrmm3eAKA9E+sBjoSeISd2rOmU9F1FwmKU44KAjcmT4 JSXSufWBvVKXNffJihDZh6thDGhe4LkJJpYAhvAHeWeGFDuTvw5g4u/mao1EuiDGRqXiE Y7xHpCdUzY9NHa+Et0MxKpfKaXmw3UxlNYqKYsvzLUSeNiYheZS4f1nPU0mBAAA98/wKU l983FhUR0D2ukQfNhf7e284aKfu01LzlQSpAUvT8wKQEA68gYwQPT/DYaXPzNpuB2Dxx2 t7c93t32eGo6iGUbfezzjvAJeiybSXN9KE5bKhznZZSBBIwm0+6M/g2iTJsQhOO3odA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796207316; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg: X-Received:X-Received:Received:From:Date:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-Id:References: In-Reply-To:To:Cc:X-Mailer:X-Authority-Analysis: X-Proofpoint-Spam-Info:X-Proofpoint-Spam-Details-Enc: X-Proofpoint-ORIG-GUID:X-Proofpoint-GUID:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=W6XATkrmlbYySb4w40G5/CkwNnnviSBpSmTnSvhyGew=; b=IoOd84iZ7lXK6ViBKevybgC6Hi8qIa6qUKMr7sP4lAPkk9k0XlhpF2rNEuN4rqHtkOYz KjvFOqYxO0vVj7Ok/+VjPGDsQO7iVar+kKtQ16vr+Y97G8yREeJEBWyZ8wgs4W6OEhyfh UAfkWfJgS+ZjqBAqgx0Y7BbYtqe+Y+sdcNXLM01t/akGXZit+fUHM+a0ibv+H2UAwu6js hBOshYZKIX5Y2G74XTvnDB5WuYYXR2s09KjlrrvneQvNosngpsr+BqpSVKBCdUekCiLcb oudEnMkOeUzkRC6qVFEFRhWeodbtEG8c98W1f1nj0CgYlt78WyK+LEvMnfOUKtDSpwA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b="l/TqQhWg"; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=N3eto9t9; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7076A606A329 for ; Wed, 2 Dec 2026 10:28:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7076A606A329 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=l/TqQhWg; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=N3eto9t9 Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B26p7Le2382959 for ; Wed, 2 Dec 2026 10:28:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= W6XATkrmlbYySb4w40G5/CkwNnnviSBpSmTnSvhyGew=; b=l/TqQhWg1PTc+WLC O2cQB745qRostqHaTU4p2Cnoupce0zW8AJS8eeLkGcRdr2170dHdJwqv0PrNG9jC 4ZNGvADo+nJ3Tn9AEJmLCJWRKBX6XJgJXZ0EcITabzzqT92INvFlz0g/epKko7Fg WuqI88h00Wtsh7lOd8k9JhC0l99Ssdr1e2/jxhGM+RxP9kNmLe0TA3yesOjHJui1 v+/3SaML8CaN+RuKOxE1J8l5TYe2Og7Fi9L6SZGkHJ+YkM2ar3zLQGjwySvYr09b aYocJLPeIyHFT1+idmm/n2kh5F13vIbwiBPahxqfMgQV+yVUIuqEc1aVRDsU9JUZ NGpZuQ== Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ja5p9jv5y-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 02 Dec 2026 10:28:35 +0000 (GMT) Received: by mail-pg1-f198.google.com with SMTP id 41be03b00d2f7-cdb8c46e240so7738367a12.1 for ; Wed, 02 Dec 2026 02:28:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796207315; x=1796812115; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=W6XATkrmlbYySb4w40G5/CkwNnnviSBpSmTnSvhyGew=; b=N3eto9t9WwHsye7PlbKNPgBTxbnqVuTP9ev+bivtn0p9bbJ8IkXemOPRi5NuqVyh/D l4nILUKan+LGIPU78Zp4SzVpMsleiLm5zBd+47AsJwxXgYjFrqSSOAXBfMbTbR3k42zE zaOPlxNy93kR2u2/chSRji1Hjm5OwJJiL6SF/gAMRDDysdpVuDVnTLJlwbJgX3LPrJbl ABpxsAKQ5K/m1kdK6xt6KWDVxe8GPejQnwlSATOI0z+FIXGD7SHhMifU1lgNTKJXN+bO dIzx1hm7sFWSzvPrMCqw2JSLoCTHFRqTykKOkJWXZe7Ho/hQau+LUJIeDaDAO037Ajlc BTJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796207315; x=1796812115; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=W6XATkrmlbYySb4w40G5/CkwNnnviSBpSmTnSvhyGew=; b=s7kXZf0FFrqJB2S8afBVoJjfsHxC/wuz15oGUoMIVp2gcgELtqNoRQjI7pNjRHKPkW AYFQTAiaFY/NZouQMurQZhREiQVWomEunod4bUkRKDfSXm7F0ryWpQ2bkMTtqSEkDWPA CTZ2mjCVlE0X7oigCiE7WSKFWqjEoLkUa5ADH80vbhMud8g+nOTGiYuExcvsKXeUaOGV S8xKdGJRHRvkXsV2aF5TMwxBSLLt2kNGCPIUGv3dyD/632h+jcI9ls980PE2ItYLuh1T 7k7NFdMNnK5Km8D+Go/GjitORUzBWdqbsfg46rBBjVFwb0K8s3YrDGE7noqmDXDnSX6O a6+Q== X-Gm-Message-State: APuU4Z/CpES3sSLYqHa/GQjpEgjxKyUgboHxF+SMdxMorcafR7qcjuze KYX4kzZjJi+IKIA5s4Z8LtXL4xcr7bfAk8osVgIJSkJYbcc9SOP1TH6JTAvP94RUJlDToS9J1Vp pp4UPJJ/84gQA84oht8O/upofcZ/9MdeR0NvLAYvG0q8gdMlaR9UniYgzUdZhBQIHi8S2VhWEnH MO X-Gm-Gg: AZFdTZfCoiFIL2TnfiTyY5sG+RIlLUJ957pLuVMhESSMLL25+D2ABfHbONSQP69PX5M zLcaXj1gwA8u5C9TXT3RKZClSMtgd8CbcgQAUZ4Kt0ftYgoOwE3ArF21w1uWyn5kg94U2Hcxlc1 eFgolHHEQs2vuR9pAxA6oLQYX+3kUAQsFRrMiWKs+bN62N6AEEJ06Qmv6vk975ShpwB6sp8pQhe lO4aNqKtuFq3P6F9oGyWcD+wIGwHx5kmPJDujmBFRa6I8ZgkGssLPZ684DmnRpdsci8v9xVYUj3 B9ZgYWW0Ey8XCEGoOcXyousD/dc8DBWFV3s04dnfycs3sDJWmnQJp5ovKI0uCH8NHWhWKTFrPJ5 l2U1ehGoMwyYR8ciUL3fTQ+yvagk4DT1rj9sPJjbQudN7PlXfXQBMR8ol4rcVrQJ+3CqbPGE2ml +Sm/Z1eu/Xaw1vdkeb1vEQb6U5j2aj518e57pHOS9XCPmyjuPsBSU2lNFP8etAUi4hiWVwkMQ= X-Received: by 2002:a05:6a21:38e:b0:3e2:9025:5c50 with SMTP id adf61e73a8af0-4014d25486bmr49333841637.24.1796207314929; Wed, 02 Dec 2026 02:28:34 -0800 (PST) X-Received: by 2002:a05:6a21:38e:b0:3e2:9025:5c50 with SMTP id adf61e73a8af0-4014d25486bmr49333822637.24.1796207314471; Wed, 02 Dec 2026 02:28:34 -0800 (PST) Received: from hu-pooventh-blr.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-cde6d026d6fsm21699027a12.19.2026.12.02.02.28.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 02:28:34 -0800 (PST) From: Pooventhiran G Date: Wed, 02 Dec 2026 15:57:56 +0530 Subject: [PATCH wireless-next v5 01/19] wifi: nl80211: define Seamless Mobility Domain (SMD) device capability X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261202-smd-v5-1-1b020be65c7c@oss.qualcomm.com> References: <20261202-smd-v5-0-1b020be65c7c@oss.qualcomm.com> In-Reply-To: <20261202-smd-v5-0-1b020be65c7c@oss.qualcomm.com> To: Johannes Berg Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, pooventhiran.g@oss.qualcomm.com X-Mailer: b4 0.14.3 X-Authority-Analysis: v=2.4 cv=Ft6QbGrq c=1 sm=1 tr=0 ts=6b0ff2d3 cx=c_pps a=Qgeoaf8Lrialg5Z894R3/Q==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=EUspDBNiAAAA:8 a=-9rhnhb8Ej--qkh-m00A:9 a=QEXdDO2ut3YA:10 a=x9snwWr2DeNwDh03kgHS:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAyMDA0MSBTYWx0ZWRfXz0RhsHFAd6a1 E4iDlyzz9WKWO5Qe9yLaTGJoID+RRn/jsdqP/qiWuF88/wU1VgTh/P3zVlCie5QgD7w5dE9TgX/ CNBxVp7hlMfcvDW9yu00e02HHmsuJ9I= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAyMDA0MSBTYWx0ZWRfX+SFN2GT5zaP6 13Io+MbwA8ih89rv4pX6nN/uzAGuog1mg7RJCcQ6dxp9fRm91MmZBqV7bHXOOWin6gxRAMeAJVI +Yvbh8zVc3yOzZsylw7eHdio2iA1nA1gCZilD3P69UchP6gCGHNrcwVX5hAN3ha7XlbwwfF9LNE t73j3YFEt+JirS5s+Z8mXRa/ZHPUIo+kHBB/m0ZUeFkz3663ObxaLmdiYEHDGoK0FMgXPUhtyqT k0I2wr5wyx+Cd4rrNwz/SJ5qIQ+fUxrN071bOPzak1mtXHwKSAdMJCChDeQYjT2zd9kAtxZa4yt T2mAdDwra/vWyGdRghqmDPzi18vAFZDV3xajOzyFkpjYCnw41QkIR12+Q8iQAhQVSWMcvPVvgWQ w508M07009gZU+JmOxL/4xx1iHse0bBVcLMtW+MCcX4fS142TniTEwlGxhw40+Pdj8TLD2zHaTG q8Kmwtc/pNnyW/QvmbA== X-Proofpoint-ORIG-GUID: xbnGty8mStNPQuRXvWjgbxO-0lxElz3Z X-Proofpoint-GUID: xbnGty8mStNPQuRXvWjgbxO-0lxElz3Z X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-12-02_02,2026-12-01_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 phishscore=0 malwarescore=0 adultscore=0 suspectscore=0 priorityscore=1501 lowpriorityscore=0 bulkscore=0 clxscore=1015 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612020041 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