| Message ID | 20260513100010.1947710-30-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=r0etpRBY;
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=dUikhuWO;
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=GJAE/x7U;
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 4gFpsp00dnz1yJ5
for <incoming@patchwork.ozlabs.org>; Wed, 13 May 2026 20:02:21 +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=Bf/92V1BuLM/w/aFeYLen4hQipzj+jstZ2ye711Mg4g=; b=r0etpRBY/yGLVx
cZcMOkA6ejtB16odz8WIHwpT+qNWepzllPBBVNfVHrKfcFgRuqzIRBhO22Hskd+fmBjX2XCiertMN
u0K7fXxeh9u4er6O+da7INOLCgm6zwBV8Y83+fejrWJTN9sSYpNPnkgkQFRzomonZEQgt2+iH1ZA3
aOC6zCqgJXipxFtd5oVf02hy6ha8nTQsktku2Zy1TZoe1s8mn2tuPB4936pA3k642C6CrSqdTEpg2
hTygtwL53A/4FcRJM1VuP3B8plctfoDLxz8ATEZN+Y5cDR9kwdkDjdFko1PebwWS//5cev+U3+dcp
ulpZrJIGEH533oknR7Lg==;
Received: from localhost ([::1] helo=bombadil.infradead.org)
by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux))
id 1wN6Pa-000000022HB-1QAb;
Wed, 13 May 2026 10:01:54 +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 1wN6PS-0000000221F-2gmJ
for hostap@lists.infradead.org;
Wed, 13 May 2026 10:01:51 +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
64D6FLBg3324708
for <hostap@lists.infradead.org>; Wed, 13 May 2026 10:01:44 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=yW+FMU8Dhb0
cZ7/1MG0a3FZjr2bxFe2TykFzmG5ug7M=; b=dUikhuWOHwp16TOviWDvefaF9AZ
y0MExh0s4WUe/tErdxr/8J0ax7Kxv1chdIQsT9QgNmIL7YPEy8rdtq4Se0Eumk2o
A0y+LL4vHczu5hCkGtcaKE83dVqftS508aOR7hlciMlTURQ+KtMv2Y3UCgScH3hd
eB80M+oYQItDUyA8MUmFIj4ftuWtU82FjQjfSZjNH1pfiEh0g1EgqD18GYB54+7J
CSdHzeYxbz9O2CTTcdADwrm6JUWt/vgvdtZ8XtV6xXz8Zm+l2VnOaPa47hu3NxgO
zWNX7m9BVHG90BVPcD6FxncRb6cmGxIXqVJXvc8ryPRByGj5NfjqdTDI/0Q==
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 4e4kvd8wnx-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:44 +0000 (GMT)
Received: by mail-pl1-f197.google.com with SMTP id
d9443c01a7336-2ba86e35aa1so102721645ad.1
for <hostap@lists.infradead.org>;
Wed, 13 May 2026 03:01:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=oss.qualcomm.com; s=google; t=1778666503; x=1779271303;
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=yW+FMU8Dhb0cZ7/1MG0a3FZjr2bxFe2TykFzmG5ug7M=;
b=GJAE/x7UVRKRQEcIXgtmBFrNSrQ9+jHT7iV9u32WTWHRsYN+cvQ/RoUcZN+LHLImXl
/Wf4KUW48eGwOlmVFIE+x8k2NRvkiuVO0XmEx+y3XlQ2SPJReEemT/eWpdq+JQcwbsTd
Dcf7O/jg9H+faXKGMcod2nGjxMX6Xy7sDvM4/orR23hkvvPpuZ8qt4q+JhlHi7KfmUAr
1yjiKjqsF7bu5vIUI8axen4onGhwM4+WKSKKpCZfnPsOHimik0o7+XYhyCN1Bp7G57zV
ia8YnbhX0E1kohQl3LXwlfkou0SGf9aPN3VgQGUrVJ4VBxphSwsud0jqqKMc4pCelIfY
mwEw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1778666503; x=1779271303;
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=yW+FMU8Dhb0cZ7/1MG0a3FZjr2bxFe2TykFzmG5ug7M=;
b=E7UfBctA3TOI2ncSyNJVNbKdihSuyQnGvRBnxqDhtLypX7xL90/g/gW0kebPsmKBGY
qqvdNEEXfXePhBBdiX7GdKjRsIPr6OPi6RkhNvTNZnVnfLYC44ECvcozoE86Whdx37i6
MZyCDa3nPPiVvLPVhZLl2+UC/yJCpcB0rQCjWF9b225SukoHbtTnJiK0GETV+JyHYFRD
b1cB45QRRpb/udemhOVgZ7ZxulSfG+x1RCfMQiYiGQLm5Cvr3XaNnvGjsGBaRiZpgCGO
rHjJDYULUTHNUS9z0t2fMdl6HBwiDbgoo/S8SQbRhQ2VOh8ScgxXqFZW6DeFbtOMdqyS
4M4w==
X-Gm-Message-State: AOJu0YzUUdSuBqHevl8FzKTvJJNrDADCbBAOQP3B9ZyLSPupIQYcfg11
BdIpwsSXRyKphxs0Ldg7TokzH8sQdOUq8ele+sr44u2Psipl5HxR2dQeqG3s297c0MWBHaXHl1N
ZsoWpC3qOiVoLlf2qr2QZVnKaAPSN3gndP4ZOIlo/vjbgjzK3jneOF/8NTbdSoSM5OiRllTbX
X-Gm-Gg: Acq92OFrv1lD1/vvzxZQkgPvK2JQJbilRi1Czos9+3eFhIDFxuF3TYP75wMnVH7V3WW
9mQKY7z1gDp7gSZojk6GUdN1WbIkeaLWz5lfoSGaMQiMuvAzzPx6l3fVCdbVK3ukQW+mSX1t/4Q
OlO4bCyk1LgPqgdqQlnK063ldPdBBbmTITJ12Y3X0HdXQl+9XjdbAlD2v6YbQpzZbVSPQCZP/2z
4JqiJ/WsPn0MOUCbWUmbn8qpLlE778Xk6jTC0cnPIkHJ3FMdkjRfiDJDY1wnCLy/G2wCK4/HV9f
5TVUMWKMfR+PFMz6axixePttO3E/mTOthCMc5t/WHLtXSX3sND1gmgfW2+OVcuT+R6HXAaOhZw+
hDBer6AH5RJFRa4iLzonYKt//Waz6DxJAykaZQrzoHzn+LNT63rzkJQ==
X-Received: by 2002:a17:903:198c:b0:2bc:a577:70c2 with SMTP id
d9443c01a7336-2bd276e9861mr33997085ad.31.1778666502923;
Wed, 13 May 2026 03:01:42 -0700 (PDT)
X-Received: by 2002:a17:903:198c:b0:2bc:a577:70c2 with SMTP id
d9443c01a7336-2bd276e9861mr33996635ad.31.1778666502359;
Wed, 13 May 2026 03:01:42 -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.40
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 13 May 2026 03:01:41 -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 29/46] PR: Use op_class_to_bandwidth() in
wpas_pr_ranging_params()
Date: Wed, 13 May 2026 15:29:53 +0530
Message-Id: <20260513100010.1947710-30-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: zs_mbEePrTMmaD-6IWsHhxCPZcL9DGC9
X-Proofpoint-ORIG-GUID: zs_mbEePrTMmaD-6IWsHhxCPZcL9DGC9
X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTEzMDEwMyBTYWx0ZWRfXw3VKXD28vWnx
O3oSrgEMs0yEZ0/dmpEM69gFrhHSydOJ41Jvu195Odg8NKrAtM8C2B05vSyjsPj30jJbjtib2Ci
Yu8F/NxZe0vuSciEIWcC17l9qAuXDafN5kupZ5j5VRMobHFXVix419YJ10DZmk3uP7X/lA0LvLJ
nP4FnicJc41IhDLCTbEpde6nohxlaVAKO3W3fTJEqu7h3URK6w0ROmgoncotIw46zN6HMHNgAKJ
lAz2ilyqsFv2mje73MlLXY1G5NwH02PkZMQxIDsXPNLqgiuxQR3gaZIfOaaT9xEuGak8qXM8h7N
0syAGSCCjQyF5Id1emr5vd/a7i8eBgUvvBidQZ2FRmfO+UUh+Kf5NQSKsa91tTXZ3p28VZZTsUh
QyYIK1dYx5qCnVSF5ykT2ciew+GIgWjwC+z3hJbrwxf+nMRAPQEO+g6QKk2AW+wndM9Z93dAHF9
y5uoB1mXe9MRhtwAQvQ==
X-Authority-Analysis: v=2.4 cv=Iu0utr/g c=1 sm=1 tr=0 ts=6a044c08 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=E4FyMVKsbN1YmFMLC84A: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_030146_882082_121160DF
X-CRM114-Status: GOOD ( 13.69 )
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>
Replace oper_class_bw_to_int(get_oper_class(NULL,
op_class)) with the simpler
and more direct op_class_to_bandwidth(op_class) which achieves the same
result
without the intermediate get_oper_class() l [...]
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 f3f3ad11d..f1120c8a2 100644 --- a/wpa_supplicant/pr_supplicant.c +++ b/wpa_supplicant/pr_supplicant.c @@ -299,7 +299,7 @@ static void wpas_pr_ranging_params(void *ctx, const u8 *dev_addr, struct wpa_supplicant *wpa_s = ctx; int bw, format_bw, freq; - bw = oper_class_bw_to_int(get_oper_class(NULL, op_class)); + bw = op_class_to_bandwidth(op_class); format_bw = self_format_bw < peer_format_bw ? self_format_bw : peer_format_bw; freq = ieee80211_chan_to_freq(NULL, op_class, op_channel);