Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2219030/?format=api
{ "id": 2219030, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2219030/?format=api", "web_url": "http://patchwork.ozlabs.org/project/hostap/patch/20260402095356.1401176-4-allen.ye@mediatek.com/", "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": "<20260402095356.1401176-4-allen.ye@mediatek.com>", "date": "2026-04-02T09:53:52", "name": "[v11,3/7] hostapd: Expand hostapd_cli and ctrl_iface buffer size", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "3260259d658c4feae0eae91190e93aee8b96cfd6", "submitter": { "id": 86975, "url": "http://patchwork.ozlabs.org/api/1.1/people/86975/?format=api", "name": "Allen Ye", "email": "Allen.Ye@mediatek.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/hostap/patch/20260402095356.1401176-4-allen.ye@mediatek.com/mbox/", "series": [ { "id": 498460, "url": "http://patchwork.ozlabs.org/api/1.1/series/498460/?format=api", "web_url": "http://patchwork.ozlabs.org/project/hostap/list/?series=498460", "date": "2026-04-02T09:53:56", "name": "Introduce Automated Frequency Coordination (AFC) support", "version": 11, "mbox": "http://patchwork.ozlabs.org/series/498460/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2219030/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2219030/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=39w2Fm6G;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=mediatek.com header.i=@mediatek.com header.a=rsa-sha256\n header.s=dk header.b=gxdHqVDA;\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 4fmczV5K5xz1yGH\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 02 Apr 2026 21:09:58 +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 1w8EzU-0000000HMDE-10Jo;\n\tThu, 02 Apr 2026 10:09:32 +0000", "from mailgw02.mediatek.com ([216.200.240.185])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1w8EzR-0000000HMBS-1ine\n\tfor hostap@lists.infradead.org;\n\tThu, 02 Apr 2026 10:09:30 +0000", "from mtkmbs09n2.mediatek.inc [(172.21.101.94)] by\n mailgw02.mediatek.com\n\t(envelope-from <allen.ye@mediatek.com>)\n\t(musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384\n 256/256)\n\twith ESMTP id 1493498345; Thu, 02 Apr 2026 02:54:14 -0700", "from mtkmbs13n2.mediatek.inc (172.21.101.108) by\n MTKMBS09N2.mediatek.inc (172.21.101.94) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.2.2562.29; Thu, 2 Apr 2026 17:54:12 +0800", "from mtksitap99.mediatek.inc (10.233.130.16) by\n mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id\n 15.2.2562.29 via Frontend Transport; Thu, 2 Apr 2026 17:54:12 +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=Z/21oC097EDz7RUHewcGAtvdI17HHbQDPlK9FQFF2XE=; b=39w2Fm6Galw6wc\n\tpUNedDQftNTTq7e4tUpbMLkZvY17ezAuRizqLvSpOK6E13EhXbxFhTzfMsOGQO6Y/Bovw4CYOdglp\n\tvvmveCloqcjJ2e1qoJHnOhGufm/i39GMZndL7g8Qwyr8wFp8c8feIghfbASNC+TPhuYA6Tvc5GJ29\n\tFJlhgqPHHUcOEgIxb6rBrRVFTi558QPJ01T8FBHKxJt2eXyBS+0rKZlCsPClQSdwv/9YRA8Jo1+3u\n\tljHQAjmotcPJ3+h5BFy7ylxRpGI2WLg5L+0sp8KtBZGygzqht6z9wol1t4wXOOTuGDcx7kNI0lZn6\n\tO6HCHJrhVZF+p0D+qGwg==;", "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n d=mediatek.com; s=dk;\n\th=Content-Type:Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From;\n bh=xE5cC5QESukjVnHZIIyL/dc0PA/zk6AZ+by9Dcqdu8Q=;\n\tb=gxdHqVDAb1lA0IhV7lsIszraez1RO3Xp+Wm5vrMuCJuYpIgF1nSrnP1Y/O3xXmsn+fYi4eruxnFVZ6kcL6cN/BToO+I91DziaTIqe6OWnq82DO6JGmS8EL2HsqExxflJP5/4w2OmK9T/Gu+RhPKXRVFroB0ywVrYF6ItEDfX5iA=;" ], "X-UUID": [ "e82448382e7911f1a6de359d7043e138-20260402", "e82448382e7911f1a6de359d7043e138-20260402" ], "X-CID-P-RULE": "Release_Ham", "X-CID-O-INFO": "VERSION:1.3.12,REQID:b199d634-2f95-449f-abbd-adfedb3aa13d,IP:0,U\n\tRL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION\n\t:release,TS:-5", "X-CID-META": "VersionHash:e7bac3a,CLOUDID:fb538194-f8ef-4ca8-bea0-143568f9ca1d,B\n\tulkID:nil,BulkQuantity:0,Recheck:0,SF:81|82|102|836|865|888|898,TC:-5,Cont\n\tent:0|15|50,EDM:-3,IP:nil,URL:0,File:130,RT:0,Bulk:nil,QS:nil,BEC:-1,COL:0\n\t,OSI:0,OSA:0,AV:0,LES:1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0,ARC:0", "X-CID-BVR": "2,SSN|SDN", "X-CID-BAS": "2,SSN|SDN,0,_", "X-CID-FACTOR": "TF_CID_SPAM_SNR", "X-CID-RHF": "D41D8CD98F00B204E9800998ECF8427E", "From": "Allen Ye <allen.ye@mediatek.com>", "To": "Jouni Malinen <j@w1.fi>", "CC": "<hostap@lists.infradead.org>, Felix Fietkau <nbd@nbd.name>, Evelyn Tsai\n\t<evelyn.tsai@mediatek.com>, \"Mark-MC . Lee\" <mark-mc.lee@mediatek.com>, Tarun\n Radhakrishnan <tarun.r@tataelxsi.co.in>, Allen Ye <allen.ye@mediatek.com>", "Subject": "[PATCH v11 3/7] hostapd: Expand hostapd_cli and ctrl_iface buffer\n size", "Date": "Thu, 2 Apr 2026 17:53:52 +0800", "Message-ID": "<20260402095356.1401176-4-allen.ye@mediatek.com>", "X-Mailer": "git-send-email 2.45.2", "In-Reply-To": "<20260402095356.1401176-1-allen.ye@mediatek.com>", "References": "<20260402095356.1401176-1-allen.ye@mediatek.com>", "MIME-Version": "1.0", "X-MTK": "N", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20260402_030929_451020_87EC3D8C ", "X-CRM114-Status": "GOOD ( 11.64 )", "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: Increase the buffer size from 4096 to 8192 bytes to\n accommodate\n potentially large AFC JSON responses. Signed-off-by: Allen Ye\n <allen.ye@mediatek.com>\n --- hostapd/ctrl_iface.c | 6 +++--- hostapd/hostapd_cli.c | 2 +- 2 files\n changed, 4 insertions(+), 4 deletions(-)\n Content analysis details: (-2.1 points, 5.0 required)\n pts rule name description\n ---- ----------------------\n --------------------------------------------------\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 [216.200.240.185 listed in\n sa-trusted.bondedsender.org]\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 [216.200.240.185 listed in\n sa-accredit.habeas.com]\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 [216.200.240.185 listed in\n bl.score.senderscore.com]\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_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]\n 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay\n lines", "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": "Increase the buffer size from 4096 to 8192 bytes to accommodate\npotentially large AFC JSON responses.\n\nSigned-off-by: Allen Ye <allen.ye@mediatek.com>\n---\n hostapd/ctrl_iface.c | 6 +++---\n hostapd/hostapd_cli.c | 2 +-\n 2 files changed, 4 insertions(+), 4 deletions(-)", "diff": "diff --git a/hostapd/ctrl_iface.c b/hostapd/ctrl_iface.c\nindex dc5dbdc58..317356618 100644\n--- a/hostapd/ctrl_iface.c\n+++ b/hostapd/ctrl_iface.c\n@@ -4594,7 +4594,7 @@ static void hostapd_ctrl_iface_receive(int sock, void *eloop_ctx,\n \tstruct sockaddr_storage from;\n \tsocklen_t fromlen = sizeof(from);\n \tchar *reply, *pos = buf;\n-\tconst int reply_size = 4096;\n+\tconst int reply_size = 8192;\n \tint reply_len;\n \tint level = MSG_DEBUG;\n #ifdef CONFIG_CTRL_IFACE_UDP\n@@ -4773,7 +4773,7 @@ static void hostapd_mld_ctrl_iface_receive(int sock, void *eloop_ctx,\n \tstruct sockaddr_storage from;\n \tsocklen_t fromlen = sizeof(from);\n \tchar *reply, *pos = buf;\n-\tconst size_t reply_size = 4096;\n+\tconst size_t reply_size = 8192;\n \tint reply_len;\n \tint level = MSG_DEBUG;\n \n@@ -5701,7 +5701,7 @@ static void hostapd_global_ctrl_iface_receive(int sock, void *eloop_ctx,\n \tsocklen_t fromlen = sizeof(from);\n \tchar *reply;\n \tint reply_len;\n-\tconst int reply_size = 4096;\n+\tconst int reply_size = 8192;\n #ifdef CONFIG_CTRL_IFACE_UDP\n \tunsigned char lcookie[CTRL_IFACE_COOKIE_LEN];\n #endif /* CONFIG_CTRL_IFACE_UDP */\ndiff --git a/hostapd/hostapd_cli.c b/hostapd/hostapd_cli.c\nindex 797fd41f8..371f990fe 100644\n--- a/hostapd/hostapd_cli.c\n+++ b/hostapd/hostapd_cli.c\n@@ -200,7 +200,7 @@ static void hostapd_cli_msg_cb(char *msg, size_t len)\n \n static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd, int print)\n {\n-\tchar buf[4096];\n+\tchar buf[8192];\n \tsize_t len;\n \tint ret;\n \n", "prefixes": [ "v11", "3/7" ] }