Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2218347/?format=api
{ "id": 2218347, "url": "http://patchwork.ozlabs.org/api/patches/2218347/?format=api", "web_url": "http://patchwork.ozlabs.org/project/hostap/patch/20260401054901.3780435-7-peddolla.reddy@oss.qualcomm.com/", "project": { "id": 22, "url": "http://patchwork.ozlabs.org/api/projects/22/?format=api", "name": "HostAP Development", "link_name": "hostap", "list_id": "hostap.lists.infradead.org", "list_email": "hostap@lists.infradead.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260401054901.3780435-7-peddolla.reddy@oss.qualcomm.com>", "list_archive_url": null, "date": "2026-04-01T05:48:44", "name": "[RFC,06/23] nl80211: Add dedicated flag for PR 6GHz capability", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "5237c653f04a52e16763b4b6644d9e5533e6489f", "submitter": { "id": 93026, "url": "http://patchwork.ozlabs.org/api/people/93026/?format=api", "name": "Peddolla Harshavardhan Reddy", "email": "peddolla.reddy@oss.qualcomm.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/hostap/patch/20260401054901.3780435-7-peddolla.reddy@oss.qualcomm.com/mbox/", "series": [ { "id": 498276, "url": "http://patchwork.ozlabs.org/api/series/498276/?format=api", "web_url": "http://patchwork.ozlabs.org/project/hostap/list/?series=498276", "date": "2026-04-01T05:48:44", "name": "PR: Add nl80211 support and ranging for Proximity Detection", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/498276/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2218347/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2218347/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <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;\n\tdkim=pass (2048-bit key;\n secure) header.d=lists.infradead.org header.i=@lists.infradead.org\n header.a=rsa-sha256 header.s=bombadil.20210309 header.b=vsShPh1G;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=C9mG0OkY;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=YT75ePMu;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=none (no SPF record) smtp.mailfrom=lists.infradead.org\n (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org;\n envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from bombadil.infradead.org (bombadil.infradead.org\n [IPv6:2607:7c80:54:3::133])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4flvGc0RKDz1yGH\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 01 Apr 2026 16:50:29 +1100 (AEDT)", "from localhost ([::1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1w7oSc-0000000E0dv-3hoY;\n\tWed, 01 Apr 2026 05:49:50 +0000", "from mx0a-0031df01.pphosted.com ([205.220.168.131])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1w7oSZ-0000000E0cT-1XUE\n\tfor hostap@lists.infradead.org;\n\tWed, 01 Apr 2026 05:49:48 +0000", "from pps.filterd (m0279863.ppops.net [127.0.0.1])\n\tby mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 6310mxPW3103831\n\tfor <hostap@lists.infradead.org>; Wed, 1 Apr 2026 05:49:47 GMT", "from mail-pl1-f197.google.com (mail-pl1-f197.google.com\n [209.85.214.197])\n\tby mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4d8js22q9j-1\n\t(version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n\tfor <hostap@lists.infradead.org>; Wed, 01 Apr 2026 05:49:46 +0000 (GMT)", "by mail-pl1-f197.google.com with SMTP id\n d9443c01a7336-2b0c96f5d9aso71672555ad.3\n for <hostap@lists.infradead.org>;\n Tue, 31 Mar 2026 22:49:46 -0700 (PDT)", "from hu-peddolla-hyd.qualcomm.com ([202.46.23.25])\n by smtp.gmail.com with ESMTPSA id\n d9443c01a7336-2b24268aa4fsm129919665ad.36.2026.03.31.22.49.44\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 31 Mar 2026 22:49:45 -0700 (PDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20210309; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:\n\tMessage-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=zLIS976SO9/mwuScSzLahoff/BzgDzPeGRIa6hqylSk=; b=vsShPh1GseHs1f\n\tujnxLqB2jM0ihoYWoQoTH2fwKUpds0j7WB3yJxe4izp8GbLDQ/7MVFwa7E52MVyCx/c2ZpSDmSQMI\n\te2oKDwhQ40fCVFZ6ko8lpeCl6idyLrYWqVvZ5GGNCXM8ohrGMHgGu3mZjHEZbxM9ZLTgFlSpB9Gvx\n\tp+QGEFzJwBH4LhHcNxmgFmpxFjo3gZ0G6M+m1prkmDms2xOS21GpOWoDQQ6hfdAse5i70pFbzLo1r\n\tmP7hNlaB684xGix6pfTe2/1txFPVIgSwFSf3yXRCKC/9mzufzbwDHbqeTrGqUcbh++ttLCZuRPdZR\n\tGsnm2Fc0Wy+H8JZOJ6UA==;", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n\tcc:content-transfer-encoding:date:from:in-reply-to:message-id\n\t:mime-version:references:subject:to; s=qcppdkim1; bh=4H6AMnc/Vgm\n\ty8H2D+rAB/DGAdffOhjT1rgbyaz+zlYg=; b=C9mG0OkYq/BJTWvnnNcu7xJOqbD\n\tq3x9mP1PGE+avY86V+KiOlu1VjnsPVVSIWERwTXDhs5wZ+IYfXnXZydqAqFgzkXU\n\tLnWuzQgnoxG4l5l6Foojb94/TAfhptLtpQR0HXa+s+9VSXAc+rWdpkwm5cnl0OMU\n\tI6LDEcVd5UMfA0yi5fFIeoyuQMsGWYNyWp1o2rBXn7EzkHKlVgXbT0u3Z2oOghpo\n\tdHyI9+HRcVIHHhGfCIJkDTr4GflRzG6mwicZ4WZdb2WkucopIPH3DHrr2ampYq+a\n\tWzPYCGQujJa/yz3IH688XPBUdr0fhrOrGbH0ZBPHpxnpYz21CUwUarFg7Vg==", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oss.qualcomm.com; s=google; t=1775022586; x=1775627386;\n darn=lists.infradead.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=4H6AMnc/Vgmy8H2D+rAB/DGAdffOhjT1rgbyaz+zlYg=;\n b=YT75ePMu0vBXsAEa/C71TYRQ/v8tQFha/r2F7v4u3gVZBFvb5eVmHLz0G3lNDMMEBA\n Nyr+6Fqe5xmFlH1/6LYIlNA3nQBR+tp+btg9AJpDk12svuVK8SQaUGySAt6ptqFrJ+9+\n iJA+D6lrCRGI4RrVAsrJWndwfF285QEp4pILtYns167QLqFtNwKobCFKnhzU5vNwoyVo\n LBWaRbCfD4ZFwNposh0adX03b+m0Ek74B/zCUtN215irZq6tE20wlu58YprvcHCbqGWk\n 8XzwKYU6TMeWYHyljkBSXJSM4BetIbXi3OEIIs76CtVGcBkFsE6/khEVSSCdJqp7zM5o\n JH6g==" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775022586; x=1775627386;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=4H6AMnc/Vgmy8H2D+rAB/DGAdffOhjT1rgbyaz+zlYg=;\n b=L9/ngtkjBbCX4wTgUq/LCA811EPLxxnOQmB0lw2mmIEL6QMpjN7JNETrXICFa6bv7s\n UaZAtaBbh5f+4PBPKZuhUaMUCgaUqxLSXT8TE87oQo4td3zFL6Eu9WVfEowLh5VeOo3N\n eKjbIliXuA/dfk3Kd4yagowEVB/5e9vX8BHLyjRorUcrrlk0ndVO2JxvWhwePY5ZGk8n\n pSQIDhXtUShGw1UEZtBSZcjumPlpM+3GZVnPRYuYXojxi9KpzX2nTzydGRI+RYSZGy4o\n eJC38dAs0HmEesv2JPF5XvXJHG+v/Bu6M4Y6IG7ft+nlqtecHlTv+w2rYmVaWV7zUoXW\n N59Q==", "X-Gm-Message-State": "AOJu0Yxxgi4JFPHz6A2dTmHdesFzcMyE+icu+XM3ehc4zB+KDvJPwRhx\n\tQU3l4WKeMK+HxQKFsObqbIbVB4dljEiAoYDwcx9a8T1uh3x/yL+v/AcF1dTGko7izg4fOB2EQBY\n\tu06rcJ6+EgmMpAbJ29z8S2vJ7N9vKX6OoTzKRtFjnsv9okn6k7Ea7nsiZGu+IlOvf9M3HASU=", "X-Gm-Gg": "ATEYQzyHiWfh03WFyiqeihCSe35qnL7B7xEVaMKPYB9yZ0rYHlWRTADrcV0Og0TLryr\n\tMeZhl5xtg5p92J5gKNkfXwGhp6RxMadM+m9aOqb+B1Ok9xUTA2R57vhHRd5O+H/fg08+Duw9xGo\n\tG5Doj5qLaKSZbH5DEqqZqJweked48vTlrQcLDRjB5cE7uYFd1vxOfAh5Y8jKBOtymO6t5TKMk+l\n\ty6qzhZ6rcOXH7TlktxUbKoK5v223WLD8t01aXX+RXYKVmrQu6SsHljc+bf4fnHWC3OhaSRhnonF\n\tB68sDGM1aAs7IuK6L7MVmmzvXZ53c9b+Iy3FzYxBX0D4EUTgdni9WTUhGUTdxCFfllpEPYaOwjS\n\tSkbnZo0fS8154wQ3o/kwxuzdDNps+wYe3kO1xJe30m3JR5a1UBI9qCQs=", "X-Received": [ "by 2002:a17:903:44cb:b0:2b0:6d56:8d29 with SMTP id\n d9443c01a7336-2b269c3ef24mr14873225ad.32.1775022586070;\n Tue, 31 Mar 2026 22:49:46 -0700 (PDT)", "by 2002:a17:903:44cb:b0:2b0:6d56:8d29 with SMTP id\n d9443c01a7336-2b269c3ef24mr14873085ad.32.1775022585529;\n Tue, 31 Mar 2026 22:49:45 -0700 (PDT)" ], "From": "Peddolla Harshavardhan Reddy <peddolla.reddy@oss.qualcomm.com>", "To": "hostap@lists.infradead.org", "Cc": "vjakkam@qti.qualcomm.com", "Subject": "[RFC PATCH 06/23] nl80211: Add dedicated flag for PR 6GHz capability", "Date": "Wed, 1 Apr 2026 11:18:44 +0530", "Message-Id": "<20260401054901.3780435-7-peddolla.reddy@oss.qualcomm.com>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20260401054901.3780435-1-peddolla.reddy@oss.qualcomm.com>", "References": "<20260401054901.3780435-1-peddolla.reddy@oss.qualcomm.com>", "MIME-Version": "1.0", "X-Proofpoint-ORIG-GUID": "YY7T5ERDysQyjBBf2ulbsdw_pSSZCZwP", "X-Authority-Analysis": "v=2.4 cv=XfqEDY55 c=1 sm=1 tr=0 ts=69ccb1fa cx=c_pps\n a=cmESyDAEBpBGqyK7t0alAg==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17\n a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22\n a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=EUspDBNiAAAA:8\n a=cjsgMw76cZe1ifA_o0oA:9 a=1OuFwYUASf3TG4hYMiVC:22", "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNDAxMDA0NyBTYWx0ZWRfX7yEn8TwBhFZL\n 9H4FALimh6vAdPg9pZPQqkVRuZ6iPnDUt4R0fbegXoLXda9IXt11d/kuY7BM9nl0uaDnC1qx4JD\n U2KNkknoSTPhTT3gDmuCrhUGOE7EHL5gBZlWhSUzTyfObI2PBTXEG7LQsZj7AC+UEnju41W+GhI\n 7vm5wAk7mxzIUqSkhE4GVh64HcYxknmw/zg5pMCvUUPY3pqtt+GQtpGoXH4/m9f2shBMBbQ6aSn\n H6lK0k/1xxoD6JPY8w9ViElPU4VBaC+8E8YL/I5DPIYPpdUNK+X9kF7aNACZbxRJgKm1hYsr9Dj\n 99PtZGcgj9/+7Jb2WlKg7vPm+TOHH1zLH7pEaSmLIf6tjoGNyRyAZSOTkYHSlMtz6UP2+3whj0b\n UNrkCHkXi+2NElEJfGNl+EH3PCsfvEt0Oazcd3IA3d4z7nS4RWgcjzoawoy0Pin/xkOkY0vH9gQ\n nGFh6/cNQr42+uqCUzg==", "X-Proofpoint-GUID": "YY7T5ERDysQyjBBf2ulbsdw_pSSZCZwP", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-04-01_02,2026-03-31_02,2025-10-01_01", "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n spamscore=0 adultscore=0 priorityscore=1501 impostorscore=0\n lowpriorityscore=0 phishscore=0 suspectscore=0 clxscore=1015 bulkscore=0\n malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc=\n route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2603050001\n definitions=main-2604010047", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20260331_224947_402844_C72CC3C3 ", "X-CRM114-Status": "GOOD ( 17.93 )", "X-Spam-Score": "0.2 (/)", "X-Spam-Report": "Spam detection software,\n running on the system \"bombadil.infradead.org\",\n has NOT identified this incoming email as spam. The original\n message has been attached to this so you can view it or label\n similar future email. If you have any questions, see\n the administrator of that system for details.\n Content preview: Currently,\n wpas_pr_init uses a generic function call wpas_is_6ghz_supported\n to determine Proximity Ranging (PR) 6 GHz support. This can be inaccurate\n as the generic check may be true for reasons unrel [...]\n Content analysis details: (0.2 points, 5.0 required)\n pts rule name description\n ---- ----------------------\n --------------------------------------------------\n -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low\n trust\n [205.220.168.131 listed in list.dnswl.org]\n 1.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to\n Validity was blocked. See\n https://knowledge.validity.com/hc/en-us/articles/20961730681243\n for more information.\n [205.220.168.131 listed in\n bl.score.senderscore.com]\n 1.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The\n query to Validity was blocked. See\n https://knowledge.validity.com/hc/en-us/articles/20961730681243\n for more information.\n [205.220.168.131 listed in\n sa-trusted.bondedsender.org]\n 1.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to\n Validity was blocked. See\n https://knowledge.validity.com/hc/en-us/articles/20961730681243\n for more information.\n [205.220.168.131 listed in\n sa-accredit.habeas.com]\n 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record\n -0.0 SPF_PASS SPF: sender matches SPF record\n 0.1 DKIM_SIGNED Message has a DKIM or DK signature,\n not necessarily valid\n -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from\n envelope-from domain\n -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n author's\n domain\n -0.1 DKIM_VALID Message has at least one valid DKIM or DK\n signature\n -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%\n [score: 0.0000]", "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>,\n <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>,\n <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" }, "content": "Currently, wpas_pr_init uses a generic function call wpas_is_6ghz_supported\nto determine Proximity Ranging (PR) 6 GHz support. This can be inaccurate\nas the generic check may be true for reasons unrelated to PR.\n\nThis patch introduces a new dedicated driver flag for PR 6GHz support:\n - WPA_DRIVER_FLAGS2_PR_6GHZ_SUPPORT\n\nThis flag is set by parsing the NL80211_PMSR_FTM_CAPA_ATTR_6GHZ_SUPPORT\npeer measurement capability attribute in driver_nl80211_capa.c.\n\nIn pr_supplicant.c, the wpas_is_6ghz_supported() call is replaced\nwith the new WPA_DRIVER_FLAGS2_PR_6GHZ_SUPPORT flag. This ensures\nthat PR 6GHz capability is determined by its specific PMSR attribute\nrather than a generic system setting.\n\nFixes: f45cc220e4bb (\"PR: Update PR device configs and capabilities from driver\")\nSigned-off-by: Peddolla Harshavardhan Reddy <peddolla.reddy@oss.qualcomm.com>\n---\n src/drivers/driver.h | 2 ++\n src/drivers/driver_nl80211_capa.c | 3 +++\n wpa_supplicant/pr_supplicant.c | 3 ++-\n 3 files changed, 7 insertions(+), 1 deletion(-)", "diff": "diff --git a/src/drivers/driver.h b/src/drivers/driver.h\nindex 2aa61c893..4463f6d3d 100644\n--- a/src/drivers/driver.h\n+++ b/src/drivers/driver.h\n@@ -2452,6 +2452,8 @@ struct wpa_driver_capa {\n #define WPA_DRIVER_FLAGS2_PR_CONCURRENT_ISTA_RSTA\t0x0000004000000000ULL\n /** Driver supports EDCA-based ranging as RSTA role for PR */\n #define WPA_DRIVER_FLAGS2_PR_EDCA_RSTA_SUPPORT\t\t0x0000008000000000ULL\n+/** Driver supports PR ranging on 6 GHz band */\n+#define WPA_DRIVER_FLAGS2_PR_6GHZ_SUPPORT\t\t0x0000010000000000ULL\n \n \tu64 flags2;\n \ndiff --git a/src/drivers/driver_nl80211_capa.c b/src/drivers/driver_nl80211_capa.c\nindex 52dceb802..0a6d999ba 100644\n--- a/src/drivers/driver_nl80211_capa.c\n+++ b/src/drivers/driver_nl80211_capa.c\n@@ -1021,6 +1021,9 @@ static void pmsr_type_ftm_handler(struct wpa_driver_nl80211_data *drv,\n \t tb[NL80211_PMSR_FTM_CAPA_ATTR_RSTA_SUPPORT_EDCA])\n \t\tdrv->capa.flags2 |= WPA_DRIVER_FLAGS2_PR_EDCA_RSTA_SUPPORT;\n \n+\tif (tb[NL80211_PMSR_FTM_CAPA_ATTR_6GHZ_SUPPORT])\n+\t\tdrv->capa.flags2 |= WPA_DRIVER_FLAGS2_PR_6GHZ_SUPPORT;\n+\n \tif (tb[NL80211_PMSR_FTM_CAPA_ATTR_MAX_NUM_TX_ANTENNAS])\n \t\tdrv->capa.max_tx_antenna =\n \t\t\tnla_get_u8(tb[NL80211_PMSR_FTM_CAPA_ATTR_MAX_NUM_TX_ANTENNAS]);\ndiff --git a/wpa_supplicant/pr_supplicant.c b/wpa_supplicant/pr_supplicant.c\nindex 98e67ef09..1d4dc9fe1 100644\n--- a/wpa_supplicant/pr_supplicant.c\n+++ b/wpa_supplicant/pr_supplicant.c\n@@ -380,7 +380,8 @@ int wpas_pr_init(struct wpa_global *global, struct wpa_supplicant *wpa_s,\n \tpr.pr_max_peer_ista_role = capa->pr_max_peer_ista_role;\n \tpr.pr_max_peer_rsta_role = capa->pr_max_peer_rsta_role;\n \n-\tpr.support_6ghz = wpas_is_6ghz_supported(wpa_s, true);\n+\tpr.support_6ghz = !!(wpa_s->drv_flags2 &\n+\t\t\t WPA_DRIVER_FLAGS2_PR_6GHZ_SUPPORT);\n \n \tpr.pasn_send_mgmt = wpas_pr_pasn_send_mgmt;\n \tpr.pasn_result = wpas_pr_pasn_result;\n", "prefixes": [ "RFC", "06/23" ] }