| Message ID | 20260401220220.4418-69-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=FJJcS73b;
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=PAtHF5iD;
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 4fmK2S4Rk6z1xtJ
for <incoming@patchwork.ozlabs.org>; Thu, 02 Apr 2026 09:11: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:To:From:Reply-To:Cc:Content-ID:Content-Description:
Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
List-Owner; bh=J/X/i0RwhPGJM25xz6bzuanby/+QvuOMpEuCj5hd6/k=; b=FJJcS73boW4sg5
08iF/DUwe7hGxQmujW7Jyp3yVFWUSFB6tdDfc5iC0lvyhbwSneopayJ3B/HVR1QyK44bNfZ281x30
HjyQfp4LETeXiA3ufo3vDxOpRC8eEr7tiDJhUppXdbFfhTfx+CU+j27GQJSw6gAda1qxC3NNJYGo4
+MYc2L8ZGcaFddy9T9UPMBBYWxbVRPBOkJojtJnwnxNPsZomd/I3yTL0Z9wyQ2SveDmxmB+Dt3N+n
GYZl5Xo0cMjDpZoNRbBVcfL3GqwzMa/d7K3z78kzCSmAyXxHDsWIG13/SoKarX0o1S7Z5sgIYIimC
jKSYdoOM2RVNexltUD2A==;
Received: from localhost ([::1] helo=bombadil.infradead.org)
by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))
id 1w83m6-0000000GH2v-2o2N;
Wed, 01 Apr 2026 22:10:58 +0000
Received: from mgamail.intel.com ([198.175.65.20])
by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))
id 1w83iB-0000000G9s8-3J9c
for hostap@lists.infradead.org;
Wed, 01 Apr 2026 22:07:04 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
d=intel.com; i=@intel.com; q=dns/txt; s=Intel;
t=1775081215; x=1806617215;
h=from:to:subject:date:message-id:in-reply-to:references:
mime-version:content-transfer-encoding;
bh=nyXR1w9PUi9nJq7wSBEaAhaksAbdEaOibAgjNA79aFI=;
b=PAtHF5iDjNPAZAs4qSdkZBEkjVkyTxd/QDkkQUiaLjRrEDYzzV7Lfi4r
j9DVjiNr6xnzJYNlROMPaseQrkAoEMmRT/HXqoy7j/ziK5nxdwqGsmEU2
zXco/mfqaFddux6ywwd5qF7OrRRapyXEViWZYcly/R2/FXnqxHZVL8T85
IN1KNgXpnPmuRRpu1JN+27xKxC+7V3emIIu3Krd6fR8JiaiclIrMp+f0T
/E45EygaaGerRMG3TAxsxBdZ6zJlZLqPl1e1uCNlR9IMfcjpwwiEkD/bC
ITMc0PzBM/xOdWccY774GZcZBxxWUOX5uAYENLJMgKOaRXBkvcZNSKngY
w==;
X-CSE-ConnectionGUID: pbnq2wYYSE2WN0Z8zJWJXg==
X-CSE-MsgGUID: IdIlvPBwSdygezaY5neqJw==
X-IronPort-AV: E=McAfee;i="6800,10657,11746"; a="75851697"
X-IronPort-AV: E=Sophos;i="6.23,153,1770624000";
d="scan'208";a="75851697"
Received: from fmviesa003.fm.intel.com ([10.60.135.143])
by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
01 Apr 2026 15:06:22 -0700
X-CSE-ConnectionGUID: wIGA+njtTsGjj23YjQVWVQ==
X-CSE-MsgGUID: GWV0MzBaQEidgICZDslG3Q==
X-ExtLoop1: 1
Received: from iapp347.iil.intel.com (HELO 87c02287900a.iil.intel.com)
([10.167.28.6])
by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
01 Apr 2026 15:06:21 -0700
From: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
To: hostap@lists.infradead.org
Subject: [PATCH 68/71] wpa_supplicant: Forward follow up SDFs to NAN module
Date: Thu, 2 Apr 2026 01:02:17 +0300
Message-ID: <20260401220220.4418-69-andrei.otcheretianski@intel.com>
X-Mailer: git-send-email 2.53.0
In-Reply-To: <20260401220220.4418-1-andrei.otcheretianski@intel.com>
References: <20260401220220.4418-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-20260401_150655_949008_F98354E5
X-CRM114-Status: UNSURE ( 8.81 )
X-CRM114-Notice: Please train this message.
X-Spam-Score: -1.9 (-)
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: So in case a follow up SDF contains NPBA with type request
or type response,
they could be processed in the NAN bootstrap logic. Signed-off-by:
Andrei Otcheretianski <andrei.otcheretianski@intel.com> ---
wpa_supplicant/nan_supplicant.c
| 4 ++++ 1 file changed, 4 insertions(+)
Content analysis details: (-1.9 points, 5.0 required)
pts rule name description
---- ----------------------
--------------------------------------------------
-2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/,
medium trust
[198.175.65.20 listed in list.dnswl.org]
1.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.
[198.175.65.20 listed in
bl.score.senderscore.com]
1.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.
[198.175.65.20 listed in
sa-trusted.bondedsender.org]
1.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.
[198.175.65.20 listed in sa-accredit.habeas.com]
0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
-0.0 SPF_PASS SPF: sender matches SPF record
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
-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
author's
domain
-0.1 DKIM_VALID Message has at least one valid DKIM or DK
signature
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
-0.5 DKIMWL_WL_HIGH DKIMwl.org - High trust sender
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 |
NAN Data Path and Bootstrapping support
|
expand
|
diff --git a/wpa_supplicant/nan_supplicant.c b/wpa_supplicant/nan_supplicant.c index 1185da7f53..1428adfc32 100644 --- a/wpa_supplicant/nan_supplicant.c +++ b/wpa_supplicant/nan_supplicant.c @@ -2761,6 +2761,10 @@ static void wpas_nan_de_receive(void *ctx, int id, int peer_instance_id, { struct wpa_supplicant *wpa_s = ctx; + if (nan_process_followup(wpa_s->nan, peer_addr, buf, len, + peer_instance_id, id)) + return; + wpas_notify_nan_receive(wpa_s, id, peer_instance_id, peer_addr, ssi, ssi_len); }
So in case a follow up SDF contains NPBA with type request or type response, they could be processed in the NAN bootstrap logic. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com> --- wpa_supplicant/nan_supplicant.c | 4 ++++ 1 file changed, 4 insertions(+)