get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2225521,
    "url": "http://patchwork.ozlabs.org/api/patches/2225521/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/hostap/patch/20260421062336.170024-1-thiyagarajan@aerlync.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": "<20260421062336.170024-1-thiyagarajan@aerlync.com>",
    "list_archive_url": null,
    "date": "2026-04-21T06:23:36",
    "name": "mesh: Make mesh ttl configurable",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "20275fb70fadcff83b01186a431f9bff2a112724",
    "submitter": {
        "id": 93200,
        "url": "http://patchwork.ozlabs.org/api/people/93200/?format=api",
        "name": "Thiyagarajan Pandiyan",
        "email": "thiyagarajan@aerlync.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/hostap/patch/20260421062336.170024-1-thiyagarajan@aerlync.com/mbox/",
    "series": [
        {
            "id": 500741,
            "url": "http://patchwork.ozlabs.org/api/series/500741/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/hostap/list/?series=500741",
            "date": "2026-04-21T06:23:36",
            "name": "mesh: Make mesh ttl configurable",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/500741/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2225521/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2225521/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=CENGAr/8;\n\tdkim=fail reason=\"key not found in DNS\" header.d=aerlync.com\n header.i=@aerlync.com header.a=rsa-sha256 header.s=google header.b=IRZJScFM;\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 4g0C4v4rV6z1yGt\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 21 Apr 2026 16:24:41 +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 1wF4WS-000000085vI-0oOU;\n\tTue, 21 Apr 2026 06:23:48 +0000",
            "from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1wF4WP-000000085uu-1UXH\n\tfor hostap@lists.infradead.org;\n\tTue, 21 Apr 2026 06:23:46 +0000",
            "by mail-pj1-x1030.google.com with SMTP id\n 98e67ed59e1d1-358d80f60ccso2133231a91.3\n        for <hostap@lists.infradead.org>;\n Mon, 20 Apr 2026 23:23:45 -0700 (PDT)",
            "from localhost.localdomain ([60.243.50.177])\n        by smtp.gmail.com with ESMTPSA id\n d9443c01a7336-2b5faa2f129sm114404155ad.29.2026.04.20.23.23.42\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Mon, 20 Apr 2026 23:23:43 -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:Message-ID:Date:Subject:Cc\n\t:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:\n\tList-Owner; bh=mNfkpgYH9Cip80C47NPnU9/bcQFW6kr8k+88U3UJTlw=; b=CENGAr/8WVPMVf\n\tqinpoD7+NH/afZiRVKI3AsrXvjCr3V3BsU22ov/hsquiDzgMDykfYBWtTcN57n79igR1IKuISgA6/\n\tIX7Em/dwwO2lbkZoLSIxUk99wLrzD9mCVaHIn/RbK4PN/7BCfLF9HhHU4VXLWDHLVCM5KOuUnHNZI\n\tNbHJbBNKIGxC23NXVwcEGJtFKTZATagE3rGhJD1E3VgE/kEtFFDpMkEw0QOP75lVr6EXN/jTkNVIJ\n\tXmqAi+24jteqT8BWwfs+bLbk4iMXkwVuh6tftoJQxkcmSVtQwv1coiRSWPou/thx6VxkRwsV3YWSc\n\tgO0y0NAMEyRGVttiVTxA==;",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=aerlync.com; s=google; t=1776752624; x=1777357424;\n darn=lists.infradead.org;\n        h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n         :to:from:from:to:cc:subject:date:message-id:reply-to;\n        bh=Y/+1U7aMfv2aXit9DjM1vjbza+Zh0H/rJC18pCIFmak=;\n        b=IRZJScFM/DOhnbX5tloyb2lQzHe+ajDZsUWXleEgbOErGHCi3zNeLOnqJdSRIZlHg5\n         MEDBV2b5CtRYTarPtQCeUCYeFQtF59hsCeaFHGQA8MlRT8YbKSw3+45VoIJMwarMCTAf\n         5bwPjPOq9S14KYdAMTtDifvp0co/K/gGdwvBxcR6G3LMX0/vrj33abM6AeQcWDOnTRHf\n         LzqxZppP80lUMOXtz/4Tds5zRWC4hY08MELrPSrLo/ya7NFY3GUGoKmYalKgpLhJE58c\n         5wq45RBVd4dTyK/y2vXM26rp249EIc6PutR4MVwJ9I9pelAAhrn1ZkpwoCgV0HC7bteQ\n         Drng=="
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1776752624; x=1777357424;\n        h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n         :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=Y/+1U7aMfv2aXit9DjM1vjbza+Zh0H/rJC18pCIFmak=;\n        b=dCgJNKA8gIDeD2do5KVDAR71aLtnfsQLlsoMBHMi2Qv2PYY66DXgGmGagZ7NR81uky\n         2KgmOFmA4Hic1rR8gLRloT2FZa1f0cERGad6noQyeZ4nDfA2mh+dSP+6zoPlKcQTxhwj\n         QfCFkYacT7OCU0bVCdgcZwDWKbopN9ZSYaWZmTwVJazPwopcnx+F+/ZX8mwitYBZpEws\n         rfpuQlAfec1dmqhjr7Xe9S5u+w6U8l6FNshGTuUVkC+OEw/g3JUscWOR+5pxBkzmIb8/\n         M8omcVj71Yc55c8zclyvF3WADoWZMOZ9BIkvUjWTrfsdxI7jIlOT/zr97e7y/mOC4nA2\n         GREA==",
        "X-Gm-Message-State": "AOJu0YwKkCG2TiKFPyaJurw3s2CbiYLIJTxOOoUJeRwWxit9YS9ByXWj\n\tzp+u2IAUoBcEiPAzq8OXHKCPuhfLDCGxkvmQkhFEDe8W5BySJBN9DV5D2zl0m7s0LZ3FsMtfWA6\n\tGW1cylVw=",
        "X-Gm-Gg": "AeBDieu1oa5vAOcI4SrvaPf2q5qvs6CsaA0rn4qP0opGpjwF5Tf2jU4a627E1kpZmmD\n\thzziikBTGipbcf/JqjQP9hfD3ZuFsYabc3pHse2sBJaHOHdd7x73/+S7WCnvbUErWIaYXX2VLFA\n\tpIn3+BZqd+APYvzNyHsmWbzqDSOgGcexbvv0XWssOYp5C/YJxFfqQBbBm2E9LpE0127vzbVCcnd\n\t+WwYNIT84uH45dAEHJ9T2uu4KNUspEhicsKcBkvCCycEFDvklZOsSLhavqtneQAEJZ+djNyiz9G\n\tVtDyOCi6ATiZjulloiwdV7lMpHxAD5X8DEzRslnB2LcPgQ1R3WJXPxm8Pg2nMIMP95X0l18Wvc6\n\tU9hhWBfu6K3Y80liEk9NvQjsQAaiBzymrXKqc+fVu4FEW7r/A5z73asfyzV+kivoCdrjeQZtB9E\n\tLRGeOaG7iHvkYDL5ge9T38Khs6HnhsSiAcoLaHluyCLMoGC/PpZbI=",
        "X-Received": "by 2002:a17:902:d590:b0:2b0:608d:d8a8 with SMTP id\n d9443c01a7336-2b5f9e8e4a9mr165172155ad.1.1776752623800;\n        Mon, 20 Apr 2026 23:23:43 -0700 (PDT)",
        "From": "Thiyagarajan Pandiyan <thiyagarajan@aerlync.com>",
        "To": "hostap@lists.infradead.org",
        "Cc": "Thiyagarajan Pandiyan <thiyagarajan@aerlync.com>",
        "Subject": "[PATCH] mesh: Make mesh ttl configurable",
        "Date": "Tue, 21 Apr 2026 11:53:36 +0530",
        "Message-ID": "<20260421062336.170024-1-thiyagarajan@aerlync.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "MIME-Version": "1.0",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20260420_232345_403050_72FD0B46 ",
        "X-CRM114-Status": "GOOD (  15.83  )",
        "X-Spam-Score": "-1.7 (-)",
        "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:  Allow mesh_ttl (dot11MeshTTL) to be configurable, pass that\n    to the driver (only nl80211 implemented). Signed-off-by: Thiyagarajan\n Pandiyan\n    <thiyagarajan@aerlync.com> --- src/drivers/driver.h | 2 ++\n src/drivers/driver_nl80211.c\n    | 4 ++++ wpa_supplicant/config.c | 2 ++ wpa_supplicant/config.h | 8\n +++++++\n    [...]\n Content analysis details:   (-1.7 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_NONE          SPF: HELO does not publish an SPF Record\n  0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n not necessarily valid\n  0.1 DKIM_INVALID           DKIM or DK signature exists, but is not valid\n -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n                             [score: 0.0000]\n -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/, no\n                             trust\n                             [2607:f8b0:4864:20:0:0:0:1030 listed in]\n                             [list.dnswl.org]",
        "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": "Allow mesh_ttl (dot11MeshTTL) to be configurable, pass that to the\ndriver (only nl80211 implemented).\n\nSigned-off-by: Thiyagarajan Pandiyan <thiyagarajan@aerlync.com>\n---\n src/drivers/driver.h               | 2 ++\n src/drivers/driver_nl80211.c       | 4 ++++\n wpa_supplicant/config.c            | 2 ++\n wpa_supplicant/config.h            | 8 ++++++++\n wpa_supplicant/config_file.c       | 3 +++\n wpa_supplicant/wpa_supplicant.conf | 3 +++\n 6 files changed, 22 insertions(+)",
    "diff": "diff --git a/src/drivers/driver.h b/src/drivers/driver.h\nindex 3807fc0f8..e71e1c86d 100644\n--- a/src/drivers/driver.h\n+++ b/src/drivers/driver.h\n@@ -1942,6 +1942,7 @@ struct wpa_driver_mesh_bss_params {\n #define WPA_DRIVER_MESH_CONF_FLAG_HT_OP_MODE\t\t0x00000008\n #define WPA_DRIVER_MESH_CONF_FLAG_RSSI_THRESHOLD\t0x00000010\n #define WPA_DRIVER_MESH_CONF_FLAG_FORWARDING\t\t0x00000020\n+#define WPA_DRIVER_MESH_CONF_FLAG_TTL\t\t\t0x00000040\n \t/*\n \t * TODO: Other mesh configuration parameters would go here.\n \t * See NL80211_MESHCONF_* for all the mesh config parameters.\n@@ -1952,6 +1953,7 @@ struct wpa_driver_mesh_bss_params {\n \tint max_peer_links;\n \tint rssi_threshold;\n \tint forwarding;\n+\tint mesh_ttl;\n \tu16 ht_opmode;\n };\n \ndiff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c\nindex e87aecc58..5ed940c4b 100644\n--- a/src/drivers/driver_nl80211.c\n+++ b/src/drivers/driver_nl80211.c\n@@ -12803,6 +12803,9 @@ static int nl80211_put_mesh_config(struct nl_msg *msg,\n \t    ((params->flags & WPA_DRIVER_MESH_CONF_FLAG_MAX_PEER_LINKS) &&\n \t     nla_put_u16(msg, NL80211_MESHCONF_MAX_PEER_LINKS,\n \t\t\t params->max_peer_links)) ||\n+\t    ((params->flags & WPA_DRIVER_MESH_CONF_FLAG_TTL) &&\n+\t     nla_put_u32(msg, NL80211_MESHCONF_TTL,\n+\t\t\t params->mesh_ttl)) ||\n \t    ((params->flags & WPA_DRIVER_MESH_CONF_FLAG_RSSI_THRESHOLD) &&\n \t     nla_put_u32(msg, NL80211_MESHCONF_RSSI_THRESHOLD,\n \t\t\t params->rssi_threshold)))\n@@ -12881,6 +12884,7 @@ static int nl80211_join_mesh(struct i802_bss *bss,\n \tparams->conf.flags |= WPA_DRIVER_MESH_CONF_FLAG_AUTO_PLINKS;\n \tparams->conf.flags |= WPA_DRIVER_MESH_CONF_FLAG_PEER_LINK_TIMEOUT;\n \tparams->conf.flags |= WPA_DRIVER_MESH_CONF_FLAG_MAX_PEER_LINKS;\n+\tparams->conf.flags |= WPA_DRIVER_MESH_CONF_FLAG_TTL;\n \tif (nl80211_put_mesh_config(msg, &params->conf) < 0)\n \t\tgoto fail;\n \ndiff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c\nindex e99036366..3e98f3794 100644\n--- a/wpa_supplicant/config.c\n+++ b/wpa_supplicant/config.c\n@@ -4913,6 +4913,7 @@ struct wpa_config * wpa_config_alloc_empty(const char *ctrl_interface,\n \tconfig->max_peer_links = DEFAULT_MAX_PEER_LINKS;\n \tconfig->mesh_max_inactivity = DEFAULT_MESH_MAX_INACTIVITY;\n \tconfig->mesh_fwding = DEFAULT_MESH_FWDING;\n+\tconfig->mesh_ttl = DEFAULT_MESH_TTL;\n \tconfig->dot11RSNASAERetransPeriod =\n \t\tDEFAULT_DOT11_RSNA_SAE_RETRANS_PERIOD;\n \tconfig->fast_reauth = DEFAULT_FAST_REAUTH;\n@@ -5819,6 +5820,7 @@ static const struct global_parse_data global_fields[] = {\n \t{ INT_RANGE(max_peer_links, 0, 255), 0 },\n \t{ INT(mesh_max_inactivity), 0 },\n \t{ INT_RANGE(mesh_fwding, 0, 1), 0 },\n+\t{ INT_RANGE(mesh_ttl, 1, 255), 0 },\n \t{ INT(dot11RSNASAERetransPeriod), 0 },\n #endif /* CONFIG_MESH */\n \t{ INT(disable_scan_offload), 0 },\ndiff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h\nindex b3f7cd062..e9cd418ff 100644\n--- a/wpa_supplicant/config.h\n+++ b/wpa_supplicant/config.h\n@@ -19,6 +19,7 @@\n #define DEFAULT_MAX_PEER_LINKS 99\n #define DEFAULT_MESH_MAX_INACTIVITY 300\n #define DEFAULT_MESH_FWDING 1\n+#define DEFAULT_MESH_TTL 31\n /*\n  * The default dot11RSNASAERetransPeriod is defined as 40 ms in the standard,\n  * but use 1000 ms in practice to avoid issues on low power CPUs.\n@@ -1539,6 +1540,13 @@ struct wpa_config {\n \t */\n \tint mesh_fwding;\n \n+\t/**\n+\t * mesh_ttl - Mesh action frames Time-to-live\n+\t *\n+\t * Maximum number of hops that the mesh frames shall be forwarded\n+\t */\n+\tint mesh_ttl;\n+\n \t/**\n \t * dot11RSNASAERetransPeriod - Timeout to retransmit SAE Auth frame\n \t *\ndiff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c\nindex 81d92b7dd..40856c7a3 100644\n--- a/wpa_supplicant/config_file.c\n+++ b/wpa_supplicant/config_file.c\n@@ -1690,6 +1690,9 @@ static void wpa_config_write_global(FILE *f, struct wpa_config *config)\n \tif (config->mesh_fwding != DEFAULT_MESH_FWDING)\n \t\tfprintf(f, \"mesh_fwding=%d\\n\", config->mesh_fwding);\n \n+\tif (config->mesh_ttl != DEFAULT_MESH_TTL)\n+\t\tfprintf(f, \"mesh_ttl=%d\\n\", config->mesh_ttl);\n+\n \tif (config->dot11RSNASAERetransPeriod !=\n \t    DEFAULT_DOT11_RSNA_SAE_RETRANS_PERIOD)\n \t\tfprintf(f, \"dot11RSNASAERetransPeriod=%d\\n\",\ndiff --git a/wpa_supplicant/wpa_supplicant.conf b/wpa_supplicant/wpa_supplicant.conf\nindex 56533cb17..1b9e4ac81 100644\n--- a/wpa_supplicant/wpa_supplicant.conf\n+++ b/wpa_supplicant/wpa_supplicant.conf\n@@ -153,6 +153,9 @@ ap_scan=1\n # Enable 802.11s layer-2 routing and forwarding (dot11MeshForwarding)\n #mesh_fwding=1\n \n+# Maximum number of hops that the mesh frames shall be forwarded\n+#mesh_ttl=31\n+\n # cert_in_cb - Whether to include a peer certificate dump in events\n # This controls whether peer certificates for authentication server and\n # its certificate chain are included in EAP peer certificate events. This is\n",
    "prefixes": []
}