From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796207316; b=OE+yiX1o29P/AlgvIqePAJIcXTdg9IfuD+ebHm09DlSnqRAg6t3ch78CQv4w7SmHujOt nPZ4yPI5LFd+UcZbu0mAkxqv1bYGC41wEw0wEdKCsPfiP43BtqgeP6yHGA9gvfP2YbB94 QC7eKDEMZhHLyWAW7BHiYJGGF9w1+IRdEmaES1u6oxIjmfXxTqQ5ibiNR1zwIkss/BOm3 07e/y0l0sUSIVOMFFv9YIvFt41N3BJOv7SdU1zYm3diEuo+QwKRFCOzrRY3HtdGj3Od+s 3Owcuarn/8CFmNdoo/1Y7ZtpAOO/G8Iy+moouBGSPx7EIw6l6zAAVefdzfevNUAxy7w== 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-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:From: Subject:Date:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:X-B4-Tracking:X-Change-ID:To:Cc:X-Mailer: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-GUID: X-Proofpoint-ORIG-GUID:X-Authority-Analysis:X-Proofpoint-Spam-Info: X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details; bh=WvQwQBBG8sFxrwOCUBW5E564zoI1BRnW5mz++sp090I=; b=SaaCjLBssHYdaE3kWpy6OkRWARz9Xk0mlhuM2s/RDodNG4CO1EGNDsZpPBiAZWpaTePg jk+bbm0js3ZFSOFHhGSZHPruadwIa8UezknuTYy1redlDqY73LHxalEF3A2Rlb071X9Wn yT4CMIelHCqd+yMdCepxa47w+xvCK+//h6vQl6QvecRYQpOBrxEXS2+AeI/p4j9Nz8vt4 6X+tF0R3nHvghTHqFJcnzv+9OKCPtfT8AXyyAhn+6slWyPCkpiufU9CGeWC7wLrwarLex 1bEpFuVIBgQ9dWzsMYHXRVTM5xzSPCRtSOoPdLJAK6wgv02XBkCsjz7JfcIsmkTuK1w== 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=fTLzyP0w; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=O8RFTjgP; arc=none smtp.remote-ip=205.220.180.131 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 762DE606A322 for ; Wed, 2 Dec 2026 10:28:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 762DE606A322 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=fTLzyP0w; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=O8RFTjgP Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B26p991018913 for ; Wed, 2 Dec 2026 10:28:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=WvQwQBBG8sFxrwOCUBW5E5 64zoI1BRnW5mz++sp090I=; b=fTLzyP0wkIdxetmC3WV0BDbt/BHLnJN/Ilva1J XY5SeOKRNzqjKSW0xujHR3weKFxcLaQ9USULpvBVCQ44e3/wBr6rdY18ogomYSO5 nawH8LoPaIwzRZf8NJuctjAOkZkMxXym8QFnf7Z5umZpJvWOnIhs/LI996foY6pU 7Xk2vvnN8USM5VFz1O8+04V299YKRluEjSQialGWMzufPSdW0GEgOWttY8eM1VXW +QVpjNktv+qtE8dNt+0L7zOB/3VOZpTa7vHl0HNpVotZ9b5vD/gBFFsg4UUA/sww 12lJbMu1mUIOUQvpHX02H3HtAUtj0LfKAGDWQ1Cx+keyg0ug== Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ja4k0b25u-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 02 Dec 2026 10:28:34 +0000 (GMT) Received: by mail-pg1-f199.google.com with SMTP id 41be03b00d2f7-cc4ac5feaa4so7837441a12.1 for ; Wed, 02 Dec 2026 02:28:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796207313; x=1796812113; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=WvQwQBBG8sFxrwOCUBW5E564zoI1BRnW5mz++sp090I=; b=O8RFTjgPB6l9r4K9Noi3Ggmn9mAQHrG68LJAqegn4mklrKLgIFM+R+ERmgdbgKpW0E l25DDjM08jP8gInPI1KlhqpNQV1LkDHjZ28gC+iVzyH5v23Qx8gX6oW2USv7bt+1vKHw v6Fa6bVGGBzLIqLuNwRfN9akJ7LvLgB6G7/Uh0j4P5HEKxdfVL33PNNyo+Gfd8e2QXMs Migyo168nl7Hfrv76hWulRo1GZ3h7fmPJyfqHs8U5/QBj5Yxk5KsJCpNO/A0Bltg6zTP 6hY6j2FK9ZlyV/0vUFKzjs5xqmarx1zMblzCeWVHC1j9b03HA4Pwxi4aYT0Wv8FtBzSo A6cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796207313; x=1796812113; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=WvQwQBBG8sFxrwOCUBW5E564zoI1BRnW5mz++sp090I=; b=te4cRHrUhjUlpOpNvrkPPil18KiqPlNOMweQgYEyVtTsKPuK9G9FiI6V8aA9beyFXU CEpsTY6e3Z2tn+ponIQXdQaQ4Ydc6tw6BP2xVm9P5hb4AbhNTnp+7TR3fG5vB3//vAga 5sJfgUTMBz4x+bFdrcrQLnPv4oNJ7KOSjvFk/95VT1BnEttBBsE0csuDmlLrAJ2sOubI pIkz7ffUvGp7MAuhpWnQd9u6qIR5mG6PeQAIx/1WxPNr3j5dIXPjnTrwuLQCcwiSaTL8 HRUOmNHsCvM7Z1FEOQHnXBPTEEt3eWmVeOlaBqFGeAO06Yv768KzOzRv+rh8FWZYjZcV 2d+g== X-Forwarded-Encrypted: i=1; AL+hErEL88iFyaz27mlBBqIV/Z71CU/au09Snf2iQ93ZIzMjIafL5Fc4jCT5U6JTFOnDoub+5iQ8sDXLaqenh2c=@vger.kernel.org X-Gm-Message-State: APuU4Z+2BBTaetQc7Sr0vJ39Ivgm309uQXF43De+Jxf3c7QoY/xP+EV3 ilCMffZJME2/kCFpwxbgOZbRJQ65GR2BaMVazgohaE3m49Hx3jFQ8A7ldzU2RBCm6dWGCEt8Idt 3cAI1bPV/5/030ssTul82ogKm1nLoUEMCIEzAzLf++LxTGomykePBo+fLTSw+/l3lqLOReJ7WcQ == X-Gm-Gg: AZFdTZfWOmF/sFBBFsASwaVOuSp/y/R+gTlGfB8grSEJi7FyH4tkxbi1f2/SlRlg+8V CXF2OIIlkBSvyyF1nTpizx8nSyl6W99qAtpG2Dah75LHT/B/tJpxdaH8kPcbFPTDb4hefUaqxaV atk0kcRPdlpor4A1lJAjovMuHLv3IEXSEo/sbu5RwHkudhO8UyplgepZAHPwdZxzLLnLmt/PnlC cwA0qTNTjeLWKH1PdbZexklKaPCiiPkp1WSu1IAMgMbvM/rVqCzRlZ+Jsys/R6djMU4RLDaAIVz PdZ6Cd11mO0CKsLLtrGTOZvcW2/yxnYIliNITNDe5IPeaCbh0c1KFS6uNOPSmZATFfv7Ak19etp YIIaUq/BiLh8MS+5w3v8Zo6FCk8NEA2PSnIv67VkhhLwbbKaMBuqn8GSNmBgEgHSnk4+FhSYTan loIDvue0xgfpi53G5NuWcXFJW2lrm3s+v85LbyZ+c3qpFfLuul0uAKg4kKKezUNf2lnL1IJdw= X-Received: by 2002:a05:6a21:4d91:b0:3f9:ffde:7cb5 with SMTP id adf61e73a8af0-4014e45b208mr41384004637.86.1796207312871; Wed, 02 Dec 2026 02:28:32 -0800 (PST) X-Received: by 2002:a05:6a21:4d91:b0:3f9:ffde:7cb5 with SMTP id adf61e73a8af0-4014e45b208mr41383976637.86.1796207312220; Wed, 02 Dec 2026 02:28:32 -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.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 02:28:31 -0800 (PST) From: Pooventhiran G Subject: [PATCH wireless-next v5 00/19] wifi: Add Seamless Mobility Domain (SMD) AP support Date: Wed, 02 Dec 2026 15:57:55 +0530 Message-Id: <20261202-smd-v5-0-1b020be65c7c@oss.qualcomm.com> X-Mailing-List: linux-kernel@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 X-B4-Tracking: v=1; b=H4sIAK3yD2sC/3XNTW7CMBAF4Ksgr2s0/o3NqveounDiSWOJONRDU yqUu9cYiRVsRhrNfO9dGWFJSOywu7KCa6K05LqYtx0bppC/kKdYdyZBWvDgOM2RC+uddQZiJw2 rn6eCY7q0lA/2mwoekYhnvJzZZz33gZD3JeRhukXNIeWbmhKdl/LXqlfZ7L1F6taySg687zWA1 zGIqN8Xov33TzgOyzzv62jpq3pQIcDeqapUdFJ5A6iG0b2g+gnVlVqJymvXjUaEJ3Tbtn/ZA/D sOQEAAA== X-Change-ID: 20260908-smd-16986850d725 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-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAyMDA0MSBTYWx0ZWRfX8pyc49tO7307 B1szvdgYX2FZbtog6gCCrKXIACfNttQlRTc1H10pUHfSk0lOqKnBdXBn2mAnun55tnKA2E25V7a upVt0UNe3i4rTNjs045H2MK07IE3HwxHE5xrt6/BrBIHZQmOAHYYPoarxb7VyJgDtZs+VwuU5w+ AWrORgvSESLdh2/CHkldvHUISkCUrVNoduZDFiRDEpCtdkB0JshLbFLXVmqMyizUmCkWuTJxXgf 0Ibes2mFKpriyKLNxWW0UlL66l48w11AQn+CTIGjqq0zyo0z3aqV7JHlxYancURnbfrLLpFy/yR H5XwS2u91GI4ZPQTH7pk6yRRoCafueOXyoDPA8ec1VI8SrBvBKI6pFF1FwcsdHw6GRzWaUP88X9 ZUe74PcWsUHKIZYsk4fJ90pJCU2oDBS+sG1aSg9n19EGgk1K6tpgItmpcyIzUc+AHac7I/Ibi0U OTEqYEN1cwJVwK5gR8w== X-Proofpoint-GUID: jgvnzQ3_8UxdPr_uvkZVOxOp7G-E86lc X-Proofpoint-ORIG-GUID: jgvnzQ3_8UxdPr_uvkZVOxOp7G-E86lc X-Authority-Analysis: v=2.4 cv=I+Tw19gg c=1 sm=1 tr=0 ts=6b0ff2d2 cx=c_pps a=Oh5Dbbf/trHjhBongsHeRQ==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22 a=VwQbUJbxAAAA:8 a=COk6AnOGAAAA:8 a=EUspDBNiAAAA:8 a=oj_VlsrpTkSlttZXBpIA:9 a=pcRw0M2nrLOtZIwx:21 a=QEXdDO2ut3YA:10 a=_Vgx9l1VpLgwpw_dHYaR:22 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAyMDA0MSBTYWx0ZWRfXxTz21ZjcUL5C /HlD81JzIF0gFMphm6jISMJMF352CYo965wp1V1UMY/NqxPZW9/S8GRieY4XdsNuxoZGdON0H+F 0VjwW8KmPGvl490veadHZi1dM38giB0= 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 impostorscore=0 suspectscore=0 clxscore=1015 malwarescore=0 spamscore=0 phishscore=0 adultscore=0 lowpriorityscore=0 bulkscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612020041 IEEE P802.11bn introduces the Seamless Mobility Domain (SMD) - a mobility domain uniquely identified by the SMD identifier MAC address - where a non-AP MLD that is associated to the SMD Management Entity (SMD-ME) can transition from its current AP MLD to a non-colocated target AP MLD without requiring reassociation via SMD Transition (ST) procedure. This series implements the nl80211, cfg80211, and mac80211 support for SMD Transition in AP mode. Along with a summary of the ST procedure, the design of this series and patch structure are presented below. The ST procedure broadly involves - ST Discovery and association to SMD-ME - ST Preparation - ST Execution and Downlink Draining - ST Context The communication between the current AP MLD and target AP MLD are via Inter-AP (IAP) communication (solicited and unsolicited) over the backhaul which is managed entirely within userspace (hostapd) - as per the discussions on the RFC [1]. The IEEE standard defines only the type of data that may be exchanged via IAP but does not define the format and method of the IAP communication protocol and keeps it out of scope (subclause 37.16.9). So, those details are not part of this series. ST Discovery and association to SMD-ME (subclauses 37.16.2 through 37.16.4) =========================================================================== A non-AP MLD may use techniques like active scanning, neighbor reports, or BSS Transition Management to discover the neighboring SMD AP MLDs. Once discoverred, the non-AP MLD can perform authentication and association with the SMD-ME and negotiate SMD capabilities. While generating PTK, based on SMD PTK mode, either SMD Identifier is involved in the PTK formula or only SMD KDK is generated. - This series supports managing the associated non-AP MLD that has negotiated SMD via NL80211_CMD_NEW_STATION. ST Preparation (subclauses 37.16.5 and 37.16.6) =============================================== The current AP MLD and non-AP MLD can use BTM frames to select a target AP MLD that the non-AP MLD can transition to. Once the target is selected, the ST procedure is invoked in two phases: ST Preparation and ST Execution. The non-AP MLD sends an ST Preparation Request (UHR Link Reconfiguration Request frame to with Type set to ST Preparation and Per-STA Profile subelements of the setup links for the target AP MLD carried in a Reconfiguration Multi-Link element) to the current AP MLD. On reception of this frame, the current AP MLD collects the non-AP MLD's dynamic sesion context and attach it to the same frame while delivering it to userspace. Userspace then sends this information as an IAP message to the target AP MLD. If Per-AP MLD PTK mode is used, DH key exchange happens in ST Preparation to derive the new PTK at the target AP MLD. The target, once processed the message, will set up the links as rquested and sends back the ST Preparation Response so that the current AP MLD can send the ST Preparation Response (UHR Link Reconfiguration Response frame with Type set to ST Preparation and statuses for each setup link) to the non-AP MLD. - This series defines the layout for STA's dynamic context and supports reporting the driver-attached STA's dynamic context along with the frame via NL80211_CMD_FRAME event (this avoids roundtrips between driver and userspace to separately request context for the recently received frame). - The target AP MLD leverages the existing flows to set up the links (NONE -> AUTH -> ASSOC). - This series supports moving the STA to the prepared state (4a) via the new STA flags (subclause 11.3.1). - This series supports programming the STA's dynamic context via NL80211_CMD_SET_ST_CTX on the target AP MLD. NOTE: (a) While implementing the suggestion to follow the approach similar to how radiotap headers are attached to the SKB, for tagging the STA's dynamic context to the frame SKB from driver to mac80211, an alternative approach was found. (b) This reserves a new field in &struct ieee80211_rx_status as part of an existing union (please see this patch [2]). Since this was simpler than _pushing_ the context pointer to the frame SKB and _pulling_ back, this series follows this approach. ST Execution and Downlink Draining (subclauses 37.16.7, 37.16.8, and 37.16.10) ============================================================================== When the non-AP STA is ready to transition to the target AP MLD that it has already been prepared with, it can send the ST Execution Request (UHR Link Reconfiguration Request frame with Type set to ST Execution) in two ways: Via the current AP MLD ---------------------- This path traces a similar flow to ST Preparation for context collection and reporting to userspace of the current AP MLD, transport to the target AP MLD, and ST Execution Response back to the current AP MLD and non-AP MLD. If there is a Nominal Maximum DL Draining Period Duration field is present in the ST Execution Response, the current AP MLD may start the DL draining period to drain the pendign buffered frames to the non-AP MLD. - This series supports moving the non-AP MLD to the execution in-progress state (state 4b) via the new STA flags on the current AP MLD upon reception of the ST Execution Rquest. - This series supports moving the non-AP MLD to the DL draining started state (state 4c) via the new STA flags on the current AP MLD and implements proper validation for these flags as they are mutually exclusive. - If the driver completes draining, the same can be intimated to userspace for cleanups using NL80211_CMD_ST_DRAIN_COMPLETION_EVENT. Upon successful ST Execution, the non-AP MLD moves to the authorized state (state 4) on the target AP MLD and the unauthenticated and unassociated state (state 1) on the current AP MLD, without reassociation. Via the target AP MLD --------------------- The non-AP MLD might send the ST Execution Request directly to the target AP MLD when the current AP MLD links are not reliable (RSSI drops after ST Preparation, etc.,). When the target AP MLD receives such a frame, it cannot collect the STA's dynamic context. Hence, the context is requested from the current AP MLD via IAP and then programmed on the target AP MLD. There is no DL draining in this path. - This series supports fetching of context on the current AP MLD on behalf of the target AP MLD via NL80211_CMD_GET_ST_CTX and NL80211_CMD_ST_CTX_EVENT. ST Context (subclause 37.16.9) ============================== The following information are part of the STA's dynamic context and transferred from the current AP MLD to the target AP MLD during ST Preparation and ST Execution: - Block-ack parameters and timeout per TID - Next DL sequence numbers per TID - Duplicate receiver cache entries - Replay counters - Starting PN for DL individually addressed frames - SCS stream descriptors - MSCS Descriptor - EPCS authorization info and priority access state - WinStartO for existing DL block-ack agreements The non-AP STA may optionally request that sequence numbers not be transferred (to reset SN at the target AP MLD). This series suporting ST is structured as: - nl80211/cfg80211 set of patches followed by their corresponding mac80211 set of patches. - nl80211/cfg80211: patches 1 to 11 - mac80211: patches 12 to 19 [1] RFC: https://lore.kernel.org/linux-wireless/fbf4209c-4fd8-4047-96d7-7fa34d9ba44d@quicinc.com/ [2] Patch ("wifi: mac80211: handle UHR Link Reconfiguration frame") Signed-off-by: Pooventhiran G --- Changes in v5: - Renamed SMD BSS Transition to SMD Transition (and ST) throughout the series - Used wiphy_ext_feature to advertise SMD support in ("wifi: nl80211: define Seamless Mobility Domain (SMD) device capability") - Removed SMD indication in AP setup from ("wifi: nl80211/cfg80211: define interfaces for SMD setup and STA update") and ("wifi: mac80211: set SMD parameters for AP setup and STA update") - Refactored &struct ieee80211_smd_ctx ("wifi: cfg80211: define layouts for SMD BSS Transition context") - Refactored per-TID attributes to use nest of same attribute enabling stricter policy checks in ("wifi: nl80211: define interfaces for SMD BSS Transition context transfer") - Replaced dynamic ST context size calculation with a static size in ("wifi: nl80211/cfg80211: pack SMD dynamic context along with frame") - Removed netdev tracker from ("wifi: nl80211/cfg80211: add support for querying SMD context for target AP MLD") - Removed wiphy_lock dependency from ("wifi: nl80211/cfg80211: define API to notify SMD Drain completion") - Refactored ST substates to just be a new state notification in ("wifi: mac80211: add driver_op for SMD substate changes") - Removed ("wifi: mac80211: send BlockAck policy in AMPDU action") commit - Fixed up ieee80211_*() wrappers in ("wifi: mac80211: add mac80211 support to handle NL80211_CMD_GET_SMD_CTX") and ("wifi: mac80211: define API to invoke SMD Drain Completion event") - Link to v4: https://lore.kernel.org/r/20261106-smd-v4-0-62e39487f51a@oss.qualcomm.com Changes in v4: - Fixed clang warning in ieee80211_tx_h_smd_state - Link to v3: https://lore.kernel.org/r/20261106-smd-v3-0-1723950e3cf8@oss.qualcomm.com Changes in v3: - Replaced deprecated dev_{hold,put} APIs with netdev_{hold,put} APIs. - Split and sorted the patches to list all nl80211/cfg80211 set of patches followed by mac80211 set of patches. - Relocated context layout and cleaned up driver context with standard fields defined - ("wifi: cfg80211: define layouts for SMD BSS Transition context"). - Split ("wifi: mac80211: handle UHR Link Reconfiguration frame") to pass @rx directly from ieee80211_rx_list() in ("wifi: mac80211: pass rx_data directly from ieee80211_rx_list()"). - Added nl80211 DOC for AP SMD operations in corresponding patches. - Added SMD state based frame filtering in ("wifi: mac80211: filter uplink and downlink frames based on SMD states"). - Added DL Drain early termination event support in ("wifi: mac80211: define API to invoke SMD Drain Completion event"). - Fixed up commit texts and kdocs because of patch reorder. - Rebased on top of the latest snapshot. - Link to v2: https://lore.kernel.org/r/20260924-smd-v2-0-bb40094da1d4@oss.qualcomm.com Changes in v2: - Replaced SKB extension with a mac80211-contained solution using ieee80211_rx_status to forward the ST Preparation and Execution frames along with the context. - Fixed cover letter, commit text, and kdocs to clean up the AI-suggested style and words. - Fixed the build failure from v1. - Rebased onto a latest snapshot of wireless-next (6c0b7357e3c7f365ec51dd8d2b626130ee983ce1). v1: https://lore.kernel.org/all/20260908-smd-v1-0-65ad4ab30fbd@oss.qualcomm.com/ --- Pooventhiran G (17): wifi: nl80211: add ST sub-state STA flags for non-AP MLD wifi: cfg80211: define layouts for ST context transfer wifi: nl80211: define interfaces for ST context transfer wifi: ieee80211: define APIs for UHR Link Reconfiguration frame checks wifi: ieee80211: define API to check if frame is class 3 wifi: nl80211/cfg80211: pack ST dynamic context along with frame wifi: nl80211/cfg80211: add support for ST context programming wifi: nl80211/cfg80211: add support for querying ST context for target AP MLD wifi: nl80211/cfg80211: define API to notify ST Drain completion wifi: mac80211: apply SMD indication and ST sub-states to STA wifi: mac80211: add driver_op for ST substate changes wifi: mac80211: filter uplink and downlink frames based on ST states wifi: mac80211: pass rx_data directly from ieee80211_rx_list() wifi: mac80211: handle UHR Link Reconfiguration frame wifi: mac80211: add mac80211 support to handle NL80211_CMD_SET_ST_CTX wifi: mac80211: add mac80211 support to handle NL80211_CMD_GET_ST_CTX wifi: mac80211: define API to invoke ST Drain Completion event Rohan Dutta (1): wifi: nl80211/cfg80211: define interfaces for SMD STA indications Sidhanta Sahu (1): wifi: nl80211: define Seamless Mobility Domain (SMD) device capability include/linux/ieee80211-uhr.h | 125 ++++++++ include/linux/ieee80211.h | 43 +++ include/net/cfg80211.h | 123 ++++++++ include/net/mac80211.h | 85 +++++- include/uapi/linux/nl80211.h | 219 +++++++++++++ net/mac80211/cfg.c | 134 ++++++++ net/mac80211/debugfs_sta.c | 3 + net/mac80211/driver-ops.c | 18 ++ net/mac80211/driver-ops.h | 53 ++++ net/mac80211/drop.h | 1 + net/mac80211/ieee80211_i.h | 2 + net/mac80211/rx.c | 141 +++++++-- net/mac80211/sta_info.c | 67 ++++ net/mac80211/sta_info.h | 15 + net/mac80211/trace.h | 91 ++++++ net/mac80211/tx.c | 43 +++ net/wireless/nl80211.c | 692 +++++++++++++++++++++++++++++++++++++++++- net/wireless/nl80211.h | 3 + net/wireless/rdev-ops.h | 28 ++ net/wireless/trace.h | 60 ++++ 20 files changed, 1907 insertions(+), 39 deletions(-) --- base-commit: 18d0bedbb5f0538396cb7f763ed9cd1dd69c5b23 change-id: 20260908-smd-16986850d725 Best regards, --