get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.0/patches/2198440/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2198440,
    "url": "http://patchwork.ozlabs.org/api/1.0/patches/2198440/?format=api",
    "project": {
        "id": 22,
        "url": "http://patchwork.ozlabs.org/api/1.0/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": "<20260219202514.5781-40-andrei.otcheretianski@intel.com>",
    "date": "2026-02-19T20:24:55",
    "name": "[39/58] NAN: Add a function for adding the CSIA attribute",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "43b0ea0edfc9a1e0b94a99c85bb4576ebd43b431",
    "submitter": {
        "id": 62065,
        "url": "http://patchwork.ozlabs.org/api/1.0/people/62065/?format=api",
        "name": "Andrei Otcheretianski",
        "email": "andrei.otcheretianski@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/hostap/patch/20260219202514.5781-40-andrei.otcheretianski@intel.com/mbox/",
    "series": [
        {
            "id": 492721,
            "url": "http://patchwork.ozlabs.org/api/1.0/series/492721/?format=api",
            "date": "2026-02-19T20:24:21",
            "name": "NAN: Add NAN Data Path (NDP) support",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/492721/mbox/"
        }
    ],
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2198440/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=SrqEJWbC;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256\n header.s=desiato.20200630 header.b=h8nsF1ai;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256\n header.s=Intel header.b=UU57UrNC;\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 4fH4jS0mYsz1xpY\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 20 Feb 2026 07:29:16 +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 1vtAdk-0000000BzrS-1QGE;\n\tThu, 19 Feb 2026 20:28:48 +0000",
            "from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1vtAdA-0000000Bz4Y-1HQC\n\tfor hostap@bombadil.infradead.org;\n\tThu, 19 Feb 2026 20:28:12 +0000",
            "from mgamail.intel.com ([198.175.65.10])\n\tby desiato.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1vtAd1-00000001pxP-1iOO\n\tfor hostap@lists.infradead.org;\n\tThu, 19 Feb 2026 20:28:07 +0000",
            "from orviesa004.jf.intel.com ([10.64.159.144])\n  by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 19 Feb 2026 12:27:21 -0800",
            "from aotchere-mobl1.ger.corp.intel.com (HELO\n aotchere-mobl1.intel.com) ([10.245.246.171])\n  by orviesa004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 19 Feb 2026 12:27:18 -0800"
        ],
        "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=yixAtDo2+qssq+TjdcY4S2FFs7rCEua5dplXniC7hrw=; b=SrqEJWbCTcDamH\n\tbIfwUlRNse4ifo8x2EHekrIg3irQ+xNvT2R/KeddKK0E2yB1WiHwL3hV87xjTN/54Lpk7m0flSONC\n\tHZwmQX5H08h8bCAGcvQ3ET+OCy5BEsDFtViwB2JIe2CZSMbEGrUABH7Sx1jU80JxxgvMyTRZfSnn6\n\tW813vBrEP8ilqKRTlWyOZGCBxMn3EyXPs7LL6s6u1WxD+7/Q1fRXcCwVQhyoChZsMGiLLX8mY/OOq\n\tSeYPG3e5tyV0GnNEBgd7TbH2z/V21zMvaKMuH36UzAiwBUQpquFCWs56hJHNKklyYOyqSZ6EUnMka\n\tChT1ClLqtZXRQ/lB9ipQ==;",
            "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version\n\t:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:\n\tContent-Type:Content-ID:Content-Description;\n\tbh=m5dBkIpfipbrfv92dkusH0SHJ4u3MHT44VOfwaoAaaI=; b=h8nsF1aidb7x+p0Y/0agMU8/lP\n\t+VDli53wOQ8i2I4s2T1ErVVJRYJCveKo8gfOJ2soldJZKDH58Ovl15fLc2Qk3jSLuEphJyfyVPW1P\n\tHiuDsXNUdZeREIdp9QB7qay89vIixtUkQ3c8uizZ3bN79mW3NbH070ppU+qZdfReIFdvQhqqQK/8N\n\tWcLTa7+II7j8StvCqgXrb7nHKTzgiy2i3G3Y5++y2pmXpg0snvJ3Ez+8McUYU3rBuWy3oICNrkoNU\n\tRPwi5kzLsaUU+okpJDihqm2LVrrL0231KXw0gZifL0xSH/36PEbSwgG+H21wIatjlDvB3gPno5Amw\n\tZSTu6WOA==;",
            "v=1; a=rsa-sha256; c=relaxed/simple;\n  d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n  t=1771532884; x=1803068884;\n  h=from:to:cc:subject:date:message-id:in-reply-to:\n   references:mime-version:content-transfer-encoding;\n  bh=UUjFvT9NLGEvwS3cB5S0SFYU6gVeZz4ucnaPSpxuJD4=;\n  b=UU57UrNC+FQPz2+Zo5DMoplOe+MERARkSAs3f4eA+vNQBs8wstu9wN9W\n   T7a66MxBQz55nVqvXN5TWtSbCmagpViks1xH4iWHrjD2nlDGm2eLrPCcP\n   3aiaJM3GUXm/bHQ6wUNLKOX1sHcVk8LRnayVyElxAlaByQE3RWjgyUGVQ\n   ZOihkn1VklUwigakLg5zzLn9nBmGaC50NZu+NaccAmJc19fdzh7tKQjQk\n   nSAivLhdAYrCDbz4pfY7xGRS/XEa4gUCLXQiEkvynjIsXUxc+63zRvYCG\n   xHlaGSbKqyLnY8q8dSr+pPg1cWRZZJ5T5wZue+UDsyx58cxeXpRhcxfXF\n   A==;"
        ],
        "X-CSE-ConnectionGUID": [
            "H3oqqvnNRuGE98P0bz7TUA==",
            "3zACuLmAQWq0M3XKusiA+g=="
        ],
        "X-CSE-MsgGUID": [
            "vpudoImMQminCq5D+8VwOw==",
            "KW9Alo1CRvqw7Hq99ra2Rw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6800,10657,11706\"; a=\"90040112\"",
            "E=Sophos;i=\"6.21,300,1763452800\";\n   d=\"scan'208\";a=\"90040112\"",
            "E=Sophos;i=\"6.21,300,1763452800\";\n   d=\"scan'208\";a=\"219153975\""
        ],
        "X-ExtLoop1": "1",
        "From": "Andrei Otcheretianski <andrei.otcheretianski@intel.com>",
        "To": "hostap@lists.infradead.org,\n\tvamsin@qti.qualcomm.com,\n\tvganneva@qti.qualcomm.com,\n\tmaheshkkv@google.com",
        "Cc": "Avraham Stern <avraham.stern@intel.com>,\n\tAndrei Otcheretianski <andrei.otcheretianski@intel.com>",
        "Subject": "[PATCH 39/58] NAN: Add a function for adding the CSIA attribute",
        "Date": "Thu, 19 Feb 2026 22:24:55 +0200",
        "Message-ID": "<20260219202514.5781-40-andrei.otcheretianski@intel.com>",
        "X-Mailer": "git-send-email 2.52.0",
        "In-Reply-To": "<20260219202514.5781-1-andrei.otcheretianski@intel.com>",
        "References": "<20260219202514.5781-1-andrei.otcheretianski@intel.com>",
        "MIME-Version": "1.0",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20260219_202806_315608_B01161FF ",
        "X-CRM114-Status": "GOOD (  12.71  )",
        "X-Spam-Score": "-2.5 (--)",
        "X-Spam-Report": "Spam detection software,\n running on the system \"desiato.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: Avraham Stern <avraham.stern@intel.com> Add a\n function\n    for adding the Cipher Suite Information attribute. Signed-off-by: Avraham\n    Stern <avraham.stern@intel.com> Signed-off-by: Andrei Otcheretianski\n <andrei.otcheretianski@intel.com>\n    --- src/nan/nan_i.h | 2 ++ src/nan/nan_util.c | 41 +++++++++++++++++++++++\n    [...]\n Content analysis details:   (-2.5 points, 5.0 required)\n  pts rule name              description\n ---- ----------------------\n --------------------------------------------------\n -2.3 RCVD_IN_DNSWL_MED      RBL: Sender listed at https://www.dnswl.org/,\n                             medium trust\n                             [198.175.65.10 listed in list.dnswl.org]\n -0.0 SPF_PASS               SPF: sender matches SPF record\n  0.0 SPF_HELO_NONE          SPF: HELO does not publish an 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  0.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                             [198.175.65.10 listed in sa-accredit.habeas.com]\n -0.0 DKIMWL_WL_HIGH         DKIMwl.org - High trust sender\n  0.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                          [198.175.65.10 listed in\n sa-trusted.bondedsender.org]\n  0.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                             [198.175.65.10 listed in\n bl.score.senderscore.com]",
        "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: Avraham Stern <avraham.stern@intel.com>\n\nAdd a function for adding the Cipher Suite Information attribute.\n\nSigned-off-by: Avraham Stern <avraham.stern@intel.com>\nSigned-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>\n---\n src/nan/nan_i.h    |  2 ++\n src/nan/nan_util.c | 41 +++++++++++++++++++++++++++++++++++++++++\n 2 files changed, 43 insertions(+)",
    "diff": "diff --git a/src/nan/nan_i.h b/src/nan/nan_i.h\nindex ccba63503c..8f64c3d332 100644\n--- a/src/nan/nan_i.h\n+++ b/src/nan/nan_i.h\n@@ -586,4 +586,6 @@ int nan_crypto_key_mic(const u8 *buf, size_t len, const u8 *kck,\n void nan_sec_reset(struct nan_data *nan, struct nan_ndp_sec *ndp_sec);\n int nan_sec_rx(struct nan_data *nan, struct nan_peer *peer,\n \t       struct nan_msg *msg);\n+int nan_add_csia(struct wpabuf *buf, u8 capab, size_t cs_list_len,\n+\t\t struct nan_cipher_suite *cs_list);\n #endif /* NAN_I_H */\ndiff --git a/src/nan/nan_util.c b/src/nan/nan_util.c\nindex 7a7c276e50..840b39c4b0 100644\n--- a/src/nan/nan_util.c\n+++ b/src/nan/nan_util.c\n@@ -343,6 +343,47 @@ void nan_add_dev_capa_attr(struct nan_data *nan, struct wpabuf *buf)\n }\n \n \n+/*\n+ * nan_add_csia - Add Cipher Suite Information Attribute (CSIA) to a buffer\n+ *\n+ * @buf: Buffer to add the attribute to\n+ * @capab: Capabilities field (1 octet)\n+ * @cs_list_len: Number of cipher suites in the list\n+ * @cs_list: Array of cipher suite structures (see &struct nan_cipher_suite)\n+ *\n+ * This function constructs and appends a NAN Cipher Suite Information Attribute\n+ * to the provided buffer.\n+ *\n+ * Returns: 0 on success, -1 on failure (insufficient buffer space)\n+ */\n+int nan_add_csia(struct wpabuf *buf, u8 capab, size_t cs_list_len,\n+\t\t struct nan_cipher_suite *cs_list)\n+{\n+\tsize_t i;\n+\n+\t/* Capabilities (1 octet) + Cipher Suite List */\n+\tsize_t attr_len = sizeof(capab) + cs_list_len * sizeof(*cs_list);\n+\n+\tif (wpabuf_tailroom(buf) <\n+\t    (unsigned int)(NAN_ATTR_HDR_LEN + attr_len)) {\n+\t\twpa_printf(MSG_DEBUG,\n+\t\t\t   \"NAN: Not enough space to add CSIA attribute\");\n+\t\treturn -1;\n+\t}\n+\n+\twpabuf_put_u8(buf, NAN_ATTR_CSIA);\n+\twpabuf_put_le16(buf, attr_len);\n+\twpabuf_put_u8(buf, capab);\n+\n+\tfor (i = 0; i < cs_list_len; i++) {\n+\t\twpabuf_put_u8(buf, cs_list[i].csid);\n+\t\twpabuf_put_u8(buf, cs_list[i].instance_id);\n+\t}\n+\n+\treturn 0;\n+}\n+\n+\n /**\n  * nan_chan_to_chan_idx_map - convert an op_class and chan to channel\n  * bitmap\n",
    "prefixes": [
        "39/58"
    ]
}