Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2227726/?format=api
{ "id": 2227726, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2227726/?format=api", "web_url": "http://patchwork.ozlabs.org/project/hostap/patch/20260424091257.f31619a1ef39.I02bef5299528386544846847cc3d500cd9afcae2@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": "<20260424091257.f31619a1ef39.I02bef5299528386544846847cc3d500cd9afcae2@changeid>", "date": "2026-04-24T07:11:58", "name": "[v3,6/8] tests: uhr: no connection if UHR required but not supported", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "7132620c339396ddc6a4120a850c4e43c23aeaac", "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/20260424091257.f31619a1ef39.I02bef5299528386544846847cc3d500cd9afcae2@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/2227726/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2227726/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=h7HsXdu/;\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=uFwZf69U;\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 4g24285tlyz1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 17:13:52 +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-0000000CmTB-28XQ;\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-0000000CmNK-2uuZ\n\tfor hostap@lists.infradead.org;\n\tFri, 24 Apr 2026 07:13:18 +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 1wGAim-00000008vqe-1AGj;\n\tFri, 24 Apr 2026 09:13:04 +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=AzU+J6tSBnsoDfIy7TPHCozngcw9Re/OlpLoZE6NL2k=; b=h7HsXdu/jOyIjm\n\tFFm+G1UxqHgG+uviNTM3wwAmHUnzunxmImnTsbPPiJ1vhlIj4fbjnpBNDk7fKwSb9Ho6JE1/EUZQA\n\tbqixgw6b5JAUQSMNecEjzGkuug8k+zaQcASh6ZBYV5pNq0J7tVAiYAo149wOGFjub6XuzJlTTncC4\n\tj3OWYtybq8rED0JdSwBEaQfmeKaHiF99tB6UirbjKS/b0tHi35ezTctmnvFUm//CIPWoUyfC+N6DH\n\tWzVb1hMI0WoAh+LzOUy2N0UMtwA1p9E8bij2L2b4oXBzgR3aOC93V2bxYFOmmiL961yaRQCIo1tXk\n\toa/v3RM+AHj58+IMgmvA==;", "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=Ol2KxcGFUKyKfIcCO9LHM3tUsuwY+NgZQ7CflBkRay4=;\n\tt=1777014788; x=1778224388; b=uFwZf69UQOboik8MCcvHnrPLFowu3qtc4i6d7JlnM2A6ss5\n\tKvRBtgf0sJ9h1zglquNQnC4kOguH7HEvVu+iP6cMUmpeaOhcTUqgl+SXJVqPzDdefwyMqeCeW/YLL\n\tFbb9V1ZIBx7F0zGdvUCDe+Flb4YkhzxGnt92sqPApNqMx3eLJuGL9/CFyTjrOvKtmgHVGyyyZLCMl\n\tv7JiiWjmFmqBK4RPAmNJKBglIPDEkvrtPBrVv9yZUqbweOOZxQKTIRTCbWR8/HqvSnUq7hQ3ZZYJl\n\tZIXgK3TkOntBAzT6bKTAp+7vg6PKnHyB+hy1fx7sDDN+2zMDyZyv8NMNR3qsMstA==;" ], "From": "Johannes Berg <johannes@sipsolutions.net>", "To": "hostap@lists.infradead.org", "Cc": "Johannes Berg <johannes.berg@intel.com>", "Subject": "[PATCH v3 6/8] tests: uhr: no connection if UHR required but not\n supported", "Date": "Fri, 24 Apr 2026 09:11:58 +0200", "Message-ID": "\n <20260424091257.f31619a1ef39.I02bef5299528386544846847cc3d500cd9afcae2@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_739373_6F937387 ", "X-CRM114-Status": "GOOD ( 11.45 )", "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> Add a test\n that\n checks there's no connection if UHR is required by the AP but not\n supported\n by (disabled on) the client. Signed-off-by: Johannes Berg\n <johannes.berg@intel.com>\n --- tests/hwsim/test_uhr.py | 23 +++++++++++++++++++++++\n tests/hwsim/wpasupplicant.py\n | 3 ++- 2 files changed, 25 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\nAdd a test that checks there's no connection if UHR is required\nby the AP but not supported by (disabled on) the client.\n\nSigned-off-by: Johannes Berg <johannes.berg@intel.com>\n---\n tests/hwsim/test_uhr.py | 23 +++++++++++++++++++++++\n tests/hwsim/wpasupplicant.py | 3 ++-\n 2 files changed, 25 insertions(+), 1 deletion(-)", "diff": "diff --git a/tests/hwsim/test_uhr.py b/tests/hwsim/test_uhr.py\nindex a5dfea0aee35..4917bcc6ff2d 100644\n--- a/tests/hwsim/test_uhr.py\n+++ b/tests/hwsim/test_uhr.py\n@@ -82,6 +82,29 @@ def test_uhr_open(dev, apdev):\n if \"wifi_generation=8\" not in status:\n raise Exception(\"STA STATUS did not indicate wifi_generation=7\")\n \n+def test_uhr_required_not_supported(dev, apdev):\n+ \"\"\"no connection if UHR is required but not supported by client\"\"\"\n+ params = {\n+ \"ssid\": \"uhr\",\n+ \"ieee80211ax\": \"1\",\n+ \"ieee80211be\": \"1\",\n+ \"ieee80211bn\": \"1\",\n+ \"require_uhr\": \"1\",\n+ }\n+ try:\n+ hapd = hostapd.add_ap(apdev[0], params)\n+ except Exception as e:\n+ if isinstance(e, Exception) and \\\n+ str(e) == \"Failed to set hostapd parameter ieee80211bn\":\n+ raise HwsimSkip(\"UHR not supported\")\n+ raise\n+ if hapd.get_status_field(\"ieee80211bn\") != \"1\":\n+ raise Exception(\"AP STATUS did not indicate ieee80211bn=1\")\n+ dev[0].connect(\"uhr\", key_mgmt=\"NONE\", scan_freq=\"2412\", disable_uhr=\"1\",\n+ wait_connect=False)\n+ ev = dev[0].wait_event([\"CTRL-EVENT-CONNECTED\"], timeout=10)\n+ assert ev is None, \"connected despite disable_uhr/require_uhr\"\n+\n def uhr_mld_ap_wpa2_params(ssid, passphrase=None, key_mgmt=\"WPA-PSK-SHA256\",\n mfp=\"2\", pwe=None, beacon_prot=\"1\", bridge=False):\n params = hostapd.wpa2_params(ssid=ssid, passphrase=passphrase,\ndiff --git a/tests/hwsim/wpasupplicant.py b/tests/hwsim/wpasupplicant.py\nindex ebce5519d719..520eefe1866e 100644\n--- a/tests/hwsim/wpasupplicant.py\n+++ b/tests/hwsim/wpasupplicant.py\n@@ -1146,7 +1146,8 @@ class WpaSupplicant:\n \"sae_password_id_change\",\n \"enable_4addr_mode\",\n \"pmksa_privacy\",\n- \"eap_over_auth_frame\"]\n+ \"eap_over_auth_frame\",\n+ \"disable_uhr\"]\n for field in not_quoted:\n if field in kwargs and kwargs[field]:\n self.set_network(id, field, kwargs[field])\n", "prefixes": [ "v3", "6/8" ] }