| Message ID | 20260513100010.1947710-42-kavita.kavita@oss.qualcomm.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=exE+KfPN;
dkim=fail reason="signature verification failed" (2048-bit key;
secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256
header.s=desiato.20200630 header.b=YfIUPXmw;
dkim=fail reason="signature verification failed" (2048-bit key;
unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256
header.s=qcppdkim1 header.b=DwD7PXYS;
dkim=neutral header.d=oss.qualcomm.com header.i=@oss.qualcomm.com
header.a=rsa-sha256 header.s=google header.b=S+F49i8I;
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 4gFpv76V2Bz1yJ5
for <incoming@patchwork.ozlabs.org>; Wed, 13 May 2026 20:03:31 +1000 (AEST)
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=fIf4dF1D/6vT1LX+zhIg9Y9UXfGYDDTSHwPji6YLOxM=; b=exE+KfPN5VZcXD
Dp4Z4B+9Xxv8AevDf3vT+/5zOkBBBkx6q6O2pc+/NnIfl/neGrzOLpaytHgLxPajpDVMbNALrr/Yl
1vAgvQaGrtgmvQIWRDhj8bn7lpilANB8kCGNUygWULdWcnqXr1Hj9Qi09AwVqSm0mMIjoG8kmPqiE
NXOgiM98hZAVVMKmjKm+EY76EmUJiQiyWJuPaML/CMNdWBrU3eB7tyru7/uX9uzGRIJE4XqZ2kOSs
lQUMChRTcuQVby62vYeFGSrVyBEXurHfDDoCiUbGWbsqZvEqhOlGdqydlixx2NjIo2Q+0T2mO+Ad6
nyiL0VaxeTaEYL/vHn8g==;
Received: from localhost ([::1] helo=bombadil.infradead.org)
by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux))
id 1wN6QZ-000000023oU-31tl;
Wed, 13 May 2026 10:02:57 +0000
Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05])
by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux))
id 1wN6Q0-000000022ps-2Ryu
for hostap@bombadil.infradead.org;
Wed, 13 May 2026 10:02:20 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version
:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:
Content-Type:Content-ID:Content-Description;
bh=4clunu2+tKc0s/KmAulUs634oXi5cRLPRDpBSFz4TWI=; b=YfIUPXmwJmmqL580CSeZ0I4Y0i
mjJQE9Htu6IWuxE4VJFT/DSSr0fZGogp2HHg6QaWjW2ztQclaJUIJG+xqqwyCagv2m39Tjlw9s+Cc
BCZdKt6MKnzIcJhT9r7mrTwY2l1ailtzfjSDpsrxGg/xsmY9dVgX4Tfset0xrG7W/LiKMtr5lN3QR
v9Dkm16zGwui88TY/Z/fH3YgBUWBqcMNR1u9Nytd+2ute7P2oCYG78VH8XtjOg61QuhEP321K336X
usWFuUSGgHYP9QGrx0vUXl6/4VLI+l6/x0r6YJfAG40fBjHn4KjqK/EBtIlzfnhtCxG1pccK7BTqp
SVEkW3Dg==;
Received: from mx0b-0031df01.pphosted.com ([205.220.180.131])
by desiato.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux))
id 1wN6Ps-0000000H4vn-39cG
for hostap@lists.infradead.org;
Wed, 13 May 2026 10:02:18 +0000
Received: from pps.filterd (m0279871.ppops.net [127.0.0.1])
by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id
64D6FJEF3324682
for <hostap@lists.infradead.org>; Wed, 13 May 2026 10:02:11 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=
cc:content-transfer-encoding:date:from:in-reply-to:message-id
:mime-version:references:subject:to; s=qcppdkim1; bh=4clunu2+tKc
0s/KmAulUs634oXi5cRLPRDpBSFz4TWI=; b=DwD7PXYSQToY/ZcgYS9EZ0AqS36
8kwLD9wGcZEkUCX2zUpyFCdGyCKuQjDAK6pqc+nxEM3L0wiP5Jjx4gq8BiGTvo02
uuIuKKeMJUx+oahTqqzyFQQZNPXz+VQV2X/zYwZzALh/lSJ04kyFn2aS8I+YRTaM
MTz23eclpGFIqaqXeXMCfLME/OnKwuXRD3ihbuei6/9ThzdYa9YekBsBn6+J7vdD
7Shwl+OJhsEXpe32BcSg3abn4hB0NRjfHjEkRfoldlFKOc2NG6apMUciKdnEu76J
pESzEPo1nhxSu/PKzXV3if6koCPPCbtKM29MCgKAT7Q6qVOKQ6QgJDp9STg==
Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com
[209.85.214.197])
by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4e4kvd8wrd-1
(version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)
for <hostap@lists.infradead.org>; Wed, 13 May 2026 10:02:11 +0000 (GMT)
Received: by mail-pl1-f197.google.com with SMTP id
d9443c01a7336-2b9a3c3c4eeso71935825ad.3
for <hostap@lists.infradead.org>;
Wed, 13 May 2026 03:02:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=oss.qualcomm.com; s=google; t=1778666530; x=1779271330;
darn=lists.infradead.org;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to;
bh=4clunu2+tKc0s/KmAulUs634oXi5cRLPRDpBSFz4TWI=;
b=S+F49i8Iqd/C6X0SZ2lApSe98az89Jvo8ctImA6WlicYqE8j+hF0wPor6aotRgF21d
mt7fxnXQnN1VMA/Bkwaw4Njpiii9swJTN5Tja5y/sEzBG4BWzdOYnmCftXNrAzfTITCj
Sz6lwy20KYcF3GWPHP4Mk/TVKD7wHungPKHodzwN6dKG5aI45A28UbqBfje/kWq9Jlxe
Hw2aq6DQdANS9bHv+mZlAqlSgMeWLwQivHurjOiJP3ayj7DDGR9qH2Vgw4le6SBfSILN
T2M/MXGzjnHvXE5mabacI0NVnzGGrHQRoYPktkNeDGfiYcbpa93FEVhpyV9twzVCpsN7
5c8w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1778666530; x=1779271330;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to;
bh=4clunu2+tKc0s/KmAulUs634oXi5cRLPRDpBSFz4TWI=;
b=YYa0BX4AUa1RbjqPMeP8cbaekZKPlsHsBnX0oZnTLUjpS6fCJ4Aibyz+dsBjT2Kk0W
16N1KuiJZFAyEQDUo1J6pdIA37d6iuVSawCVnhxnG0lS9cIHRGFQpOUglWJDTz9Zpg+q
XUDniQic4uE443W1jiMyWghen8X+GSzyUUK1HAdmlGiTtgRIXoSqsVcHE61sZF7sImkB
zqhm8Fq/hZxRGExycUYxzbqAUzW0n0ZjWh93q+dA67DwDKkLNvZXnXKgsgYw2GH9eQru
UnOvgLxA//py0QCbraz6Yd3TCB8ayh/fxJ6X930gHyqwJAIl6hiW7bJBVkI+6mm+nCb2
M2Pw==
X-Gm-Message-State: AOJu0YybwtEUCMrqzaI7/BfLpCWMKI4ustOJvRR2O0vC3E7ywdreqQ42
PSlWq5bhp+tSwV34rx7D8GRfUH0a+8gMRRKTKN9nCm7FSvcdsAopGjcdK9JkoMKYJLVJFURtRSa
EPn4hcMsE/PVow+9oPQGhk+JNSmLYy8/1jAnQKMtyAK4m+40SpOUpvuhuvmScW3W63q8ZJfYC
X-Gm-Gg: Acq92OHX2IQwyi7CmeMmV7155tty4ippjGl8OjxytlQzcTFb9fIEDKfnDWahzmDrZLU
Vb/fNpguX6ZjA9I8GbAzpZFIE7eAPnBY9hj7fLR4nyTIOGql3FGsoVcGJ4fxkXh7uC+eN7GoQIa
V+X2dgSXSoaLJTxZ9BeGOwKnFGQiUL6J48RVwFxw1bjzaT43/0rhW1lMzMnWxoA250yhnJTsimq
/Ws1817cSIQCPH4S8k4+0I5vOBiKZmh0lAyeU6qw/BraAyK2MdymbDAD5+QYJGRxmlccNDmNAoI
GTUc2/4SDwljoagwzWva7iiYPKnDBN6K8WnAmiKuJD31RdAiWWwcJRhcWt2L/r9czr9RNIKYVKj
XEqOlNQbNEGhT/WhrytH5pdvvV7QgJkmL8jIsXzWQpH4gtDJtIFGC1w==
X-Received: by 2002:a17:903:32c3:b0:2b0:c90f:449d with SMTP id
d9443c01a7336-2bd2fe21b31mr22001325ad.19.1778666530375;
Wed, 13 May 2026 03:02:10 -0700 (PDT)
X-Received: by 2002:a17:903:32c3:b0:2b0:c90f:449d with SMTP id
d9443c01a7336-2bd2fe21b31mr22000815ad.19.1778666529863;
Wed, 13 May 2026 03:02:09 -0700 (PDT)
Received: from hu-kkavita-hyd.qualcomm.com ([202.46.22.19])
by smtp.gmail.com with ESMTPSA id
d9443c01a7336-2baf1e35632sm168983355ad.53.2026.05.13.03.02.07
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 13 May 2026 03:02:09 -0700 (PDT)
From: Kavita Kavita <kavita.kavita@oss.qualcomm.com>
To: hostap@lists.infradead.org
Cc: kavita.kavita@oss.qualcomm.com, peddolla.reddy@oss.qualcomm.com,
vamsin@qti.qualcomm.com
Subject: [PATCH v3 41/46] PR: Flush PMKSA cache after TK is configured for
ranging
Date: Wed, 13 May 2026 15:30:05 +0530
Message-Id: <20260513100010.1947710-42-kavita.kavita@oss.qualcomm.com>
X-Mailer: git-send-email 2.34.1
In-Reply-To: <20260513100010.1947710-1-kavita.kavita@oss.qualcomm.com>
References: <20260513100010.1947710-1-kavita.kavita@oss.qualcomm.com>
MIME-Version: 1.0
X-Proofpoint-GUID: kQh6TauagCMF7kGeK-Hqt1cxD71qr4vm
X-Proofpoint-ORIG-GUID: kQh6TauagCMF7kGeK-Hqt1cxD71qr4vm
X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTEzMDEwMyBTYWx0ZWRfX/Y1PfICZEGq6
MRUDO7YoV5fn38RFXu5RtiL1EzcLr1s//SUHjiaazKjBmmKLyIYYg6ijmu/20QVHaU9PlahxBK4
4HhHNf1RqYGx7e8ZS4Mn6T7tI8nhhQ3eu4bRf8GxwXZDkpAQ89Wz+Aq4r/RSB31VXEUqck1A8n2
E3Xz5FZeudbtkMwO0hOMU4zaNxnI8kfqN4rGUrxgQbZvP4hPHYee4xGi6cviSWQq0FW3wOIVGsW
JRS6VVHPdqCe6xt5XsGk7fFmHCxNhVkOpVCjJa+DpNczGRmiQrSxui/uMs4ai4/KJGZEqCN4fbO
6g0zoM3sjp4yliK0DyVuHs0+FBw8FlEHt/yq3nI9V7oCec3UEjWNhazuAjg6iF4F5x234PD+hc8
qJZfgDY5Qz4dh7BobYU4TTWGmiG+rY/l/908v6dcW7bipOi3OxMwKuhyPs7ZatvP03b0zjuNOjG
Sq2rDbhTjZB4A2dQwZA==
X-Authority-Analysis: v=2.4 cv=Iu0utr/g c=1 sm=1 tr=0 ts=6a044c23 cx=c_pps
a=cmESyDAEBpBGqyK7t0alAg==:117 a=fChuTYTh2wq5r3m49p7fHw==:17
a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22
a=u7WPNUs3qKkmUXheDGA7:22 a=3WHJM1ZQz_JShphwDgj5:22 a=EUspDBNiAAAA:8
a=MPEJBYxa9eQ-4ns7YeAA:9 a=1OuFwYUASf3TG4hYMiVC:22
X-Proofpoint-Virus-Version: vendor=baseguard
engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49
definitions=2026-05-11_05,2026-05-08_02,2025-10-01_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
priorityscore=1501 phishscore=0 spamscore=0 adultscore=0 impostorscore=0
bulkscore=0 clxscore=1015 malwarescore=0 lowpriorityscore=0 suspectscore=0
classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0
reason=mlx scancount=1 engine=8.22.0-2605050000 definitions=main-2605130103
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3
X-CRM114-CacheID: sfid-20260513_110213_371494_DB6FE26A
X-CRM114-Status: GOOD ( 13.26 )
X-Spam-Score: -0.9 (/)
X-Spam-Report: Spam detection software,
running on the system "desiato.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: In the ranging use case, PASN is performed solely to derive
and install the encryption keys (TK) into the driver. Once set_keys() has
been called, the PMK and any cached PMKSA entry serve no further p [...]
Content analysis details: (-0.9 points, 5.0 required)
pts rule name description
---- ----------------------
--------------------------------------------------
-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low
trust
[205.220.180.131 listed in list.dnswl.org]
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_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_VALID_EF Message has a valid DKIM or DK signature from
envelope-from domain
0.1 DKIM_SIGNED Message has a DKIM or DK signature,
not necessarily valid
-0.0 DMARC_PASS DMARC pass policy
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 |
PR: Add nl80211 support and ranging for Proximity Detection
|
expand
|
diff --git a/src/common/proximity_ranging.c b/src/common/proximity_ranging.c index 5b5f3bf8a..d728e0030 100644 --- a/src/common/proximity_ranging.c +++ b/src/common/proximity_ranging.c @@ -2048,6 +2048,7 @@ int pr_pasn_auth_tx_status(struct pr_data *pr, const u8 *data, size_t data_len, dev->final_op_channel, self_format_bw, peer_format_bw); + pr_flush(pr); } out: @@ -2516,6 +2517,7 @@ static int pr_pasn_handle_auth_3(struct pr_data *pr, struct pr_device *dev, dev->final_op_channel, self_format_bw, peer_format_bw); + pr_flush(pr); return 0; fail:
In the ranging use case, PASN is performed solely to derive and install the encryption keys (TK) into the driver. Once set_keys() has been called, the PMK and any cached PMKSA entry serve no further purpose. Flush the PMKSA cache after get_ranging_params() is invoked on both the initiator and responder to ensure the PMKID is not included in M1 on any subsequent PASN attempt. Signed-off-by: Kavita Kavita <kavita.kavita@oss.qualcomm.com> --- src/common/proximity_ranging.c | 2 ++ 1 file changed, 2 insertions(+)