Message ID | 20250107125149.1820266-6-andrei.otcheretianski@intel.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=OXso7soj; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=l1R0lmaX; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4YSB9h4mh9z1yPQ for <incoming@patchwork.ozlabs.org>; Wed, 8 Jan 2025 00:05:28 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=n2/7SuWzBsV9G7MjzklP+5jiW8amo2Wjc2IM8sswN+M=; b=OXso7sojGJYygL asdQvfmLwk9EOaS1SCdri9CLT60MKXVEOYVfoQEGsUbl5qRHHie7t8aoZgSLAhAH8bQas160r9K5/ 210EOYywl7WVoKcjAH4BzRZUlL6IqEnezBKd54QnNC3i+/pkqlcPmU3PgBbuz/8Oa1i/HIjagHHDN AKI+CQUA2P+q0wroAxIak9PFU0Ait4Q1MuqfvON+/hxyeGK84QyQAnyXeMSXy2pa9HP5Gt2IBi/IH Rav6tswgROwFQVtWGt4D0m9doPbr49KoVjir0tgQrtcuEhac620adG5nfC1QBNwiMjuT6t8slCrMj KNVKeM0a1HpzyRbvd91w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tV9GU-00000004u6z-2CAA; Tue, 07 Jan 2025 13:04:58 +0000 Received: from mgamail.intel.com ([192.198.163.15]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tV9Cq-00000004t0l-0NAf for hostap@lists.infradead.org; Tue, 07 Jan 2025 13:01:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1736254872; x=1767790872; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=6p4d5ewsi7Yyi6GejfhtNaFmHIuUOeyd7KDbucu6tHY=; b=l1R0lmaXOEbdK5QoXRQcRK3Nf4pAnr8btLlqoHIgbxAA7KaJvgyZhX6o 7/Pqf/R+y6DIvNVJc2Xm6plvmjSVOHcRdH+uYi5CifYDrKElXM9O7Is43 jlAEO/PJfR6O+D0bufBcrroXw3ERgDKAo7LcaF2rkyrLyEa/4jMRxyi97 niyd8G/NjyYN5OSxdn9a9Zq7F+twAkkC6UZ9qcUdPIZ48wMSAHhzABm4s YYHEB8SeWNZZKHEaXdlg7RbovkuJRgd+U02Tbrumkza50pfQVA8wcc4Am 9AYkivqjlGoF+oq8134iTbkenVTHSDeGfXGD3uAXm96o6IozSAIfwFlEX g==; X-CSE-ConnectionGUID: 4KpOK6YAT6yAxJsIBrFy3A== X-CSE-MsgGUID: kU370muXT5O44VL57V24fg== X-IronPort-AV: E=McAfee;i="6700,10204,11308"; a="36595670" X-IronPort-AV: E=Sophos;i="6.12,295,1728975600"; d="scan'208";a="36595670" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jan 2025 05:01:12 -0800 X-CSE-ConnectionGUID: JRj3VYS7Q3C5KSPYyqO3eA== X-CSE-MsgGUID: 43aP3VRrSr25am36jNQfUw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,295,1728975600"; d="scan'208";a="102954833" Received: from weis0042.iil.intel.com ([10.12.217.211]) by fmviesa008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jan 2025 05:01:10 -0800 From: Andrei Otcheretianski <andrei.otcheretianski@intel.com> To: hostap@lists.infradead.org Cc: Daniel Gabay <daniel.gabay@intel.com> Subject: [PATCH 6/8] nl80211: Add option to tell driver about SPP A-MSDUs in assoc params Date: Tue, 7 Jan 2025 14:51:47 +0200 Message-ID: <20250107125149.1820266-6-andrei.otcheretianski@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250107125149.1820266-1-andrei.otcheretianski@intel.com> References: <20250107125149.1820266-1-andrei.otcheretianski@intel.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250107_050112_144115_FB84642E X-CRM114-Status: GOOD ( 12.02 ) X-Spam-Score: -4.8 (----) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Daniel Gabay <daniel.gabay@intel.com> Use NL80211_ATTR_ASSOC_SPP_AMSDU attribute to indicate the driver whether SPP A-MSDUs are used on this connection. Signed-off-by: Daniel Gabay <daniel.gabay@intel.com> --- src/drivers/driver.h | 6 +++++- src/drivers/driver_nl80211.c | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) Content analysis details: (-4.8 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [192.198.163.15 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [192.198.163.15 listed in bl.score.senderscore.com] -0.4 DKIMWL_WL_HIGH DKIMwl.org - High trust sender 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [192.198.163.15 listed in sa-accredit.habeas.com] 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [192.198.163.15 listed in sa-trusted.bondedsender.org] X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <hostap.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/hostap>, <mailto:hostap-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/hostap/> List-Post: <mailto:hostap@lists.infradead.org> List-Help: <mailto:hostap-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/hostap>, <mailto:hostap-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Hostap" <hostap-bounces@lists.infradead.org> Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
[1/8] defs: Add RSNXE SPP A-MSDU capable definition
|
expand
|
diff --git a/src/drivers/driver.h b/src/drivers/driver.h index fb6b69ef43..e24568572b 100644 --- a/src/drivers/driver.h +++ b/src/drivers/driver.h @@ -1397,11 +1397,15 @@ struct wpa_driver_associate_params { */ struct wpa_driver_mld_params mld_params; - /** * rsn_overriding - wpa_supplicant RSN overriding support */ bool rsn_overriding; + + /** + * spp_amsdu - SPP A-MSDUs used on this connection + */ + int spp_amsdu; }; enum hide_ssid { diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 0e897f25ba..246f51bc4f 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -7221,6 +7221,12 @@ static int nl80211_connect_common(struct wpa_driver_nl80211_data *drv, nla_put_flag(msg, NL80211_ATTR_MLO_SUPPORT)) return -1; + if (params->spp_amsdu) { + wpa_printf(MSG_DEBUG, " * SPP A-MSDU"); + if (nla_put_flag(msg, NL80211_ATTR_ASSOC_SPP_AMSDU)) + return -1; + } + return 0; }