Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2227724/?format=api
{ "id": 2227724, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2227724/?format=api", "web_url": "http://patchwork.ozlabs.org/project/hostap/patch/20260424091256.8180265f0957.I30cf5f46efb2836cb2b340248dee3ba429d10738@changeid/", "project": { "id": 22, "url": "http://patchwork.ozlabs.org/api/1.1/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": "" }, "msgid": "<20260424091256.8180265f0957.I30cf5f46efb2836cb2b340248dee3ba429d10738@changeid>", "date": "2026-04-24T07:11:54", "name": "[v3,2/8] common: add UHR NPCA bit definitions", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "9f52a932624aa1a1917f2581939b0ebc2c83acfa", "submitter": { "id": 265, "url": "http://patchwork.ozlabs.org/api/1.1/people/265/?format=api", "name": "Johannes Berg", "email": "johannes@sipsolutions.net" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/hostap/patch/20260424091256.8180265f0957.I30cf5f46efb2836cb2b340248dee3ba429d10738@changeid/mbox/", "series": [ { "id": 501311, "url": "http://patchwork.ozlabs.org/api/1.1/series/501311/?format=api", "web_url": "http://patchwork.ozlabs.org/project/hostap/list/?series=501311", "date": "2026-04-24T07:11:54", "name": null, "version": 3, "mbox": "http://patchwork.ozlabs.org/series/501311/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2227724/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2227724/checks/", "tags": {}, "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=1oykghLZ;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n secure) header.d=sipsolutions.net header.i=@sipsolutions.net\n header.a=rsa-sha256 header.s=mail header.b=DeKWOvSI;\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 4g242608Tbz1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 17:13:50 +1000 (AEST)", "from localhost ([::1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1wGAj2-0000000CmTT-3Woy;\n\tFri, 24 Apr 2026 07:13:20 +0000", "from s3.sipsolutions.net ([2a01:4f8:242:246e::2]\n helo=sipsolutions.net)\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1wGAiq-0000000CmN5-2yFC\n\tfor hostap@lists.infradead.org;\n\tFri, 24 Apr 2026 07:13:19 +0000", "by sipsolutions.net with esmtpsa\n (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)\n\t(Exim 4.98.2)\n\t(envelope-from <johannes@sipsolutions.net>)\n\tid 1wGAij-00000008vqe-2rtl;\n\tFri, 24 Apr 2026 09:13:01 +0200" ], "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=2T6Kcbv5yCafrvV75GonOQEoeH3jHhuPdQCogAOTVts=; b=1oykghLZzayzoE\n\tBpwTLm1iMs1MlL9FBUw8g2j2BwzTBDNKjNK+pDiLLySSWG6Rtq1V6jqjHY1JGFZQHwSZDazROmozW\n\t1/TsKFF2L6ZfCb4VsgzKA41hUbZNJ7c9Ac2XhqGJcDlTkhcMvbWFTdszjeHteq/+RoJIRDQso7XcY\n\tkc7pSuCBW7bkJv1K+rKC8vnNFbrnQG+pFvTqNLKxBL8pXDaf8yU3/NjApMoTKCrfOmSou78E0KHq6\n\tYCoQbhOJ3nomtlFBJDNaujuzqTY4MTDXRKopOyrFBINEg83qzZdrBf2IzhLYspObXfsvjn2Trco9a\n\tZv7KpDTbRPGOQTfE8SIA==;", "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version:\n\tReferences:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Content-Type:Sender\n\t:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To:\n\tResent-Cc:Resent-Message-ID; bh=NWOxmYmtKF2gtKzoh7R6mOtJywpjKNw+f7aUsiex/a0=;\n\tt=1777014788; x=1778224388; b=DeKWOvSIbZfdyZ7RdZtK8zXIJ0YoyR4Zv51uT2bwZ8iKy+l\n\tbr6D6BT+AO+PCbWUlJodYWaKUr3n2tJSe1GPi2LQ5i0JIqYd+IBTgiIecsLHz7TAUS1K/L+Z84Nct\n\tqiNCWfQN/3jU/XjTxADVWjYNeAu3h2493FXiDnJRMKdjZKCc3+SiY2mSCxtENvp4LLMTotuNWaooX\n\tSAzBwKbvVXgTTE7o1OQjZRFeNitZeoDE5zip7ZWZx19Z39F1iS9GQgZOL/F71Q1gdcK3Y3XVM5iCf\n\t3rrCjGJnTGT2SL/8YUAIzJ/iVYjHbbMV/bhVO6PPItA9C5iY8khd6x9iOCAE/0fw==;" ], "From": "Johannes Berg <johannes@sipsolutions.net>", "To": "hostap@lists.infradead.org", "Cc": "Johannes Berg <johannes.berg@intel.com>", "Subject": "[PATCH v3 2/8] common: add UHR NPCA bit definitions", "Date": "Fri, 24 Apr 2026 09:11:54 +0200", "Message-ID": "\n <20260424091256.8180265f0957.I30cf5f46efb2836cb2b340248dee3ba429d10738@changeid>", "X-Mailer": "git-send-email 2.53.0", "In-Reply-To": "<20260424071256.71834-10-johannes@sipsolutions.net>", "References": "<20260424071256.71834-10-johannes@sipsolutions.net>", "MIME-Version": "1.0", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20260424_001308_746489_12514D71 ", "X-CRM114-Status": "UNSURE ( 9.78 )", "X-CRM114-Notice": "Please train this message.", "X-Spam-Score": "-2.1 (--)", "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: From: Johannes Berg <johannes.berg@intel.com> Define the\n bits\n needed for UHR Operation NPCA parameters, based on Draft P802.11bn_D1.3.\n Signed-off-by: Johannes Berg <johannes.berg@intel.com> ---\n src/common/ieee802_11_defs.h\n | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)\n Content analysis details: (-2.1 points, 5.0 required)\n pts rule name description\n ---- ----------------------\n --------------------------------------------------\n -0.0 SPF_PASS SPF: sender matches SPF record\n -0.0 SPF_HELO_PASS SPF: HELO matches SPF record\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 -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from\n envelope-from domain\n 0.1 DKIM_SIGNED Message has a DKIM or DK signature,\n not necessarily valid\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": "From: Johannes Berg <johannes.berg@intel.com>\n\nDefine the bits needed for UHR Operation NPCA parameters,\nbased on Draft P802.11bn_D1.3.\n\nSigned-off-by: Johannes Berg <johannes.berg@intel.com>\n---\n src/common/ieee802_11_defs.h | 11 ++++++++++-\n 1 file changed, 10 insertions(+), 1 deletion(-)", "diff": "diff --git a/src/common/ieee802_11_defs.h b/src/common/ieee802_11_defs.h\nindex 15ea0fbdb20c..7ec295e5a248 100644\n--- a/src/common/ieee802_11_defs.h\n+++ b/src/common/ieee802_11_defs.h\n@@ -3314,13 +3314,22 @@ struct ieee80211_uhr_capabilities {\n struct ieee80211_uhr_operation {\n \tle16 oper_params; /* UHR Operation Parameters: UHR_OPER_* bits */\n \tu8 basic_uhr_mcs_nss_set[4];\n-\t/* FIXME: DPS, NPCA, P-EDCA, DBE */\n+\t/* FIXME: DPS, P-EDCA, DBE */\n } STRUCT_PACKED;\n \n /* Max size in Draft P802.11bn D1.3 with DPS, NPCA, P-EDCA, DBE */\n #define IEEE80211_UHR_OPER_MAX_SIZE\t\\\n \t(sizeof(struct ieee80211_uhr_operation) + 4 + 6 + 3 + 3)\n \n+/* IEEE P802.11bn/D1.3, Figure 9-aa4 */\n+#define UHR_OPER_PARAMS_NPCA_PRIM_CHAN_OFFS\t\t0x0000000F\n+#define UHR_OPER_PARAMS_NPCA_NPCA_MIN_DUR_THRESH\t0x000000F0\n+#define UHR_OPER_PARAMS_NPCA_NPCA_SWITCH_DELAY\t\t0x00003F00\n+#define UHR_OPER_PARAMS_NPCA_NPCA_SWITCH_BACK_DELAY\t0x000FC000\n+#define UHR_OPER_PARAMS_NPCA_INIT_NPCA_QRSC\t\t0x00300000\n+#define UHR_OPER_PARAMS_NPCA_MOPLEN_NPCA\t\t0x00400000\n+#define UHR_OPER_PARAMS_NPCA_DIS_SUBCH_BITMAP_PRES\t0x00800000\n+\n #ifdef _MSC_VER\n #pragma pack(pop)\n #endif /* _MSC_VER */\n", "prefixes": [ "v3", "2/8" ] }