| Message ID | 20260513100010.1947710-32-kavita.kavita@oss.qualcomm.com |
|---|---|
| State | Deferred |
| 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=wsd+QTNM;
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=UeCoP0P5;
dkim=fail reason="signature verification failed" (2048-bit key;
unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com
header.a=rsa-sha256 header.s=google header.b=IKD72L4B;
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 4gFpsv1yNzz1yLV
for <incoming@patchwork.ozlabs.org>; Wed, 13 May 2026 20:02:27 +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=GEJqSBCWOTSaZ+7SMW0oq6dM42SVOdykjbGFivOqIhs=; b=wsd+QTNM5Jf2Zc
9hYBiqZXB9CTjBYLsdwuIAmSbLZHLHha7qekWsE70d9wy2EPOOJdSm1O6Qi4znOozIA51qIFQl31e
dXDssb3aZPZBBHC6XPYCwHm2MGcbuoo1T5wbWgWjhEI+OL4ut5MYY0T1t9VYBB9zy49N+QVTcQXgS
oyiufhSmzNf2uszuXpKw1FWqUQ3dMPJDMaRFqSKjXP8cshJ3+//3ZISHYceds9Cr57GmcNt+2Wf+T
L+DE6hpDTvJkbVwk5StJO3va7Uumq9oV7yiv8kRyvikfb5yK+FabuFfcLAfIsENfZ1qJMz/92Besw
C76xVFWTMwOsboP6Re8Q==;
Received: from localhost ([::1] helo=bombadil.infradead.org)
by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux))
id 1wN6Pb-000000022Io-1yHk;
Wed, 13 May 2026 10:01:55 +0000
Received: from mx0b-0031df01.pphosted.com ([205.220.180.131])
by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux))
id 1wN6PW-0000000227i-12JB
for hostap@lists.infradead.org;
Wed, 13 May 2026 10:01:52 +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
64D6FIua3324667
for <hostap@lists.infradead.org>; Wed, 13 May 2026 10:01:49 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=EI6IhVboIeB
GJkCzxDO2S6zwIhrFrNskiLgyga+IdHE=; b=UeCoP0P5ct5VGX+jtINECeSaSsw
pqPJxpobR15mDqODsp2oAugA8/Hd8CHaqyeC9MREWLKnDmaRw6BsTbXLSZ8HvN05
YVahtkDMv1WsHB0K47nUjEfptGGorP0GuwxzwdQ1hSOK4tDf7p5N6Ai9MoFZ36Uy
mQMaC5kqdVbmWPTJRtzdQEhfJW2ukIC6iKKX6bPGNw5DXfHx6u5AbMEeZ6w0IYbT
WU1Pc6yaXwK4Efb9V1R/c2zP1+/F3jArbbQ3qMLqEnzmu+KNuhBQm5mLGEYBwm5c
n/OKpK8Fepyn8AZ0GdFKekxZYU2kll5pjEYMKn3LLISXwlmXdhb3lv3/lTg==
Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com
[209.85.214.199])
by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4e4kvd8wpa-1
(version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)
for <hostap@lists.infradead.org>; Wed, 13 May 2026 10:01:49 +0000 (GMT)
Received: by mail-pl1-f199.google.com with SMTP id
d9443c01a7336-2bc6899bfb1so51922395ad.2
for <hostap@lists.infradead.org>;
Wed, 13 May 2026 03:01:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=oss.qualcomm.com; s=google; t=1778666508; x=1779271308;
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=EI6IhVboIeBGJkCzxDO2S6zwIhrFrNskiLgyga+IdHE=;
b=IKD72L4Bmm8uAfjETFVZXCmnAfQGUqemxEb7uHrJemH4XY5m0T0dDai9+E+BtMjlW7
j27DPxKAEjbGbmgbsZibxSD4AaAA31vAS3VV13prWgGNcLq65km9jx484i+OeIGBuoDa
uBLYQVb1lnBfGNgTNwsJI7+1Df8btiYPzIVhQn7BRLfUDeNN+qIRl7y1mga2GDzDTYKY
3VePeTvO3za5T3DZITK/X+QAhVlugkNxpeQ1ZXlFGM/dDM5dZsBI7/7EZV23wv1327XH
/6npUnm2HtOKOdYCr44HTazazIDygCWDd5/+CEnDjGqNdhBt2Cz6mXTyJ0CH14npor0v
ct3g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1778666508; x=1779271308;
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=EI6IhVboIeBGJkCzxDO2S6zwIhrFrNskiLgyga+IdHE=;
b=SC865wwd5QIa/XJejlKsfG3CDN9wOg87tvUPWP6kU1X/lVVYKdOgIENDTbJd7lAl7E
5sA4d4ZCfj+yn4l+eHxw58pi1iK1NiqShrmkm5KblSZY17G0yM58b3rMzdfrM8zIgJi/
Gox6DwFKSmb32JIUgdikiZC17ubsJs8/fVMoW2GCUL7Cvl6dg0dOBpHtoO1RbWbajozy
kxPvkpGia2Nu3IIO/7R2UEKF64ky4bFU6EPyILuMS8AI3h9a+WT77tHb5lFY0Uvau/uR
MDNVfxOZPldkBcV60Obol4nex6LbqGoEjYB4Y5XQAGIqT2AoLoH+YoZMro+WJiOzavv+
w73w==
X-Gm-Message-State: AOJu0YzxS0vYVA/5qZx0wCp2OUneWAEjtWLdyPePUrt+wH/ij+yoBQKY
UjQR0XWtNePc7vOmSy736ViKTD1MjkAneDqOS0x8dikdwC+AfnJ0zZoNRFpxmIN75gc1Q7TLWGW
qQzNZMo+sQgUfgMK8kYzPXbM8iUYO+GEq3mLXE5XuW4+Nqv+6vPdpqsTKWQmv5A/fFsUBzASb
X-Gm-Gg: Acq92OGFT2kmKI+/WobZ5yrcIXf3S9C4Mn8ynBo7tDMkH9uQyDwygUCeM2gu3TsX9fV
A8MCHDJ/0dEcbSrXRI3rBqNZNAlrxbO4KbsKEVps/Cv5l94IBqlJ1ymUBlTVCV2MFK5ZBWaZe7/
eW8qhN+xwfVyaeiachVidcanbpwQWSCsdAFRRj0RBzPkA+mbPCPRG89GObKdlRjvPQJgobMxyZT
/P05BmV9L/A13AA2cTcj2fLlfoac6YDwOj5d8i4ultX47Eqy1fCkfW0A24Kyqle55eM5u+jpcBo
XQp2Gn1c6zWySZugEPshohO7xK7QTuIKiPv++FAFHJCcAte7vCPoU5h5YwRkcto2KdjS/qn9KXf
EYFUVzy5iSTY9UH4iZcv+bSXR7nj2ftPRNE1rz1Ao+tbdS+gR2w2jMw==
X-Received: by 2002:a17:902:8e88:b0:2b0:61c2:8e83 with SMTP id
d9443c01a7336-2bd275b1898mr19048985ad.20.1778666507734;
Wed, 13 May 2026 03:01:47 -0700 (PDT)
X-Received: by 2002:a17:902:8e88:b0:2b0:61c2:8e83 with SMTP id
d9443c01a7336-2bd275b1898mr19048705ad.20.1778666506777;
Wed, 13 May 2026 03:01:46 -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.01.44
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 13 May 2026 03:01:46 -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 31/46] PR: Use session time as total ROC budget for PASN
responder
Date: Wed, 13 May 2026 15:29:55 +0530
Message-Id: <20260513100010.1947710-32-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: WkfRTCEWeR3rkTQT-o0-PBAldkktKpPo
X-Proofpoint-ORIG-GUID: WkfRTCEWeR3rkTQT-o0-PBAldkktKpPo
X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTEzMDEwMyBTYWx0ZWRfXyysFr4MTQfxi
GLAiRk7+013ocFODtOMz9i7AsUlCDm8LNw9ETQ93Z1nIOsGXc7/KKf+eBXpXXbc4vuwV3IOO+Yb
atjgg965sRsa9yxlHSpCcDxZo6QAcbzGlRE45WFxE45mI6aU3eZlavDXeORFIJ5KiTNehM3g8wk
gei4fcGbT+h30zzSBcA5fu4J7NpIvFbb7oAv7FAvzMbu6WYlyk6Aku5qWr+s3V0G4BvjAT8Sd9D
D6+yEJNvEitjfDa5IPWogS1RNlo5xBuYrY3JoXRJ8/VQuLvlNhFeNFKJ0Y4t81IsUsFHkbe6sjD
u2XcRxjm1ZulsokmeyT8v9CKHDeDPegDFW9rGama+FOsXVQLOgrZc7JYT0jAkQpSw4rgFXs6ZXs
FUw+v4KDfDEuj5iHhSKY0O52VFCsIu/vtvI6dlb535e1KdejZ1LWAuziwtlyMgcqgM6vH74PjpU
zgGEYeNFOayW7SCHWBQ==
X-Authority-Analysis: v=2.4 cv=Iu0utr/g c=1 sm=1 tr=0 ts=6a044c0d cx=c_pps
a=JL+w9abYAAE89/QcEU+0QA==: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=iiPnwz07CiLcL-Urlk8A:9 a=324X-CrmTo6CU4MGRt3R: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_030151_723868_B4DEE124
X-CRM114-Status: GOOD ( 16.42 )
X-Spam-Score: -2.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: Peddolla Harshavardhan Reddy
<peddolla.reddy@oss.qualcomm.com>
When continuous_ranging_session_time is configured,
use it as the total ROC
budget for the PASN responder instead of the fixed
PR_PASN_RESPONDER_ROC_DURATION
default. This ensures the responder stops [...]
Content analysis details: (-2.8 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_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_SIGNED Message has a DKIM or DK signature,
not necessarily valid
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
-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/wpa_supplicant/pr_supplicant.c b/wpa_supplicant/pr_supplicant.c index 923fe9d0f..7a0557ea7 100644 --- a/wpa_supplicant/pr_supplicant.c +++ b/wpa_supplicant/pr_supplicant.c @@ -1073,6 +1073,8 @@ int wpas_pr_initiate_pasn_auth(struct wpa_supplicant *wpa_s, if (pasn_role == PR_ROLE_PASN_RESPONDER) { struct wpa_pr_pasn_roc_work *rwork; + struct pr_data *pr = wpa_s->global->pr; + unsigned int roc_time_ms = PR_PASN_RESPONDER_ROC_DURATION; bool has_src_addr = src_addr && !is_zero_ether_addr(src_addr); wpa_printf(MSG_DEBUG, @@ -1112,9 +1114,16 @@ int wpas_pr_initiate_pasn_auth(struct wpa_supplicant *wpa_s, /* * Register the total-budget timer. When it fires it clears * pr_responder_mode so the cancel callback stops restarting - * chunks. + * chunks. Defaults to PR_PASN_RESPONDER_ROC_DURATION; overridden + * by continuous_ranging_session_time when non-zero. */ - eloop_register_timeout(0, PR_PASN_RESPONDER_ROC_DURATION * 1000, + if (pr && pr->pr_pasn_params && + pr->pr_pasn_params->continuous_ranging_session_time > 0) + roc_time_ms = + pr->pr_pasn_params->continuous_ranging_session_time; + + eloop_register_timeout(roc_time_ms / 1000, + (roc_time_ms % 1000) * 1000, wpas_pr_pasn_roc_total_timeout, wpa_s, NULL); return 0;