get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2218568,
    "url": "http://patchwork.ozlabs.org/api/patches/2218568/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/hostap/patch/20260401052713.3761478-15-peddolla.reddy@oss.qualcomm.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": "<20260401052713.3761478-15-peddolla.reddy@oss.qualcomm.com>",
    "list_archive_url": null,
    "date": "2026-04-01T05:27:04",
    "name": "[RFC,14/23] nl80211: Route MLME TX via PD wdev based on source address",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "807bf17c2127a38ab2afd693502488550bf40c7f",
    "submitter": {
        "id": 93026,
        "url": "http://patchwork.ozlabs.org/api/people/93026/?format=api",
        "name": "Peddolla Harshavardhan Reddy",
        "email": "peddolla.reddy@oss.qualcomm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/hostap/patch/20260401052713.3761478-15-peddolla.reddy@oss.qualcomm.com/mbox/",
    "series": [
        {
            "id": 498338,
            "url": "http://patchwork.ozlabs.org/api/series/498338/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/hostap/list/?series=498338",
            "date": "2026-04-01T05:26:59",
            "name": "[RFC,01/23] nl80211_copy.h changes related to Proximity Ranging",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498338/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2218568/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2218568/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=C1tb3Rw2;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=LOHb0H40;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=ilCSD1u1;\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 4fm6KC256vz1yGw\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 02 Apr 2026 01:08:27 +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 1w7wEf-0000000FNox-2R9Q;\n\tWed, 01 Apr 2026 14:07:57 +0000",
            "from mx0a-0031df01.pphosted.com ([205.220.168.131])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1w7o81-0000000DzpW-3Tv3\n\tfor hostap@lists.infradead.org;\n\tWed, 01 Apr 2026 05:28:34 +0000",
            "from pps.filterd (m0279864.ppops.net [127.0.0.1])\n\tby mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 6313VFYv1459094\n\tfor <hostap@lists.infradead.org>; Wed, 1 Apr 2026 05:28:33 GMT",
            "from mail-pf1-f198.google.com (mail-pf1-f198.google.com\n [209.85.210.198])\n\tby mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4d8uhg0dbk-1\n\t(version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n\tfor <hostap@lists.infradead.org>; Wed, 01 Apr 2026 05:28:33 +0000 (GMT)",
            "by mail-pf1-f198.google.com with SMTP id\n d2e1a72fcca58-82cd9fa609aso1094123b3a.3\n        for <hostap@lists.infradead.org>;\n Tue, 31 Mar 2026 22:28:33 -0700 (PDT)",
            "from hu-peddolla-hyd.qualcomm.com ([202.46.23.25])\n        by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-82ca843e1desm15021223b3a.4.2026.03.31.22.28.30\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Tue, 31 Mar 2026 22:28:31 -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: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=3iNS0UVk5Afzc07D97WHZnPWV6Lj3Bla1QBmzYI69dY=; b=C1tb3Rw2p3ZMGY\n\t4+f1sWa0vhlazyL6dF7ro39ZKVxwDOnqOMUK1DXe7OnQlLsYDmYCIaxKwdEA/vlN1iCtvdPA7hGrz\n\tmw53cjdf+lDDW4smacTyLQf6Fpr+wuWQil0poAThb+TBCE53WfCVes3Mm7JdkgpPlpN4wzruFMDf/\n\tELt5oN2CpqZn19tXIwgP6j0ZDwl0EXW/io2DZw2+y4ZMm+OGyGDwx8pJiuT9KJhF2ERtrEekAibR/\n\taAbIh2T5HikjPLIo0GLHUtjBn4Kx/mkYWv6kxceqO7HpnNPtnGy3njm4J+4XFnqytqNBnQr5qAi8r\n\tg9fW+A2AQu0EhjTLpRYw==;",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n\tcc:content-transfer-encoding:date:from:in-reply-to:message-id\n\t:mime-version:references:subject:to; s=qcppdkim1; bh=fpmQ7puiMhN\n\t+5DboozMN/IHYXiKnmr9rqjQE11OwqSQ=; b=LOHb0H40YRKA9h1Nnl+4SHD9ToP\n\tZXxVXUtFM3GNApR/FjU5BegFdq1smUxCisKD6ZPTPRfwEDwY/jDYr8NUXEtp8UG9\n\tNPfw1CPUvnQEAx1+runNDDCenlq5un8zNpFrjG7UIhx1IHq2fRUupBjooz19+V7C\n\t4nYgOaHoFw42PkQsdLj6JZ7oXLLOugk2AG791orDX3gv6SHcxhxxutI1/KvjIy7j\n\tpPAXvmp8LL7FULJPIu+Ow25MwanSJO/1EQmTjHtZu3oZXFAy6odP88QLuvFb0qRL\n\t7Y3diDCvkYNHYm9zSpjQiepxS1hzsj9TKuR3jAHIJj4B4WZX/8jMGOqHMSQ==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=oss.qualcomm.com; s=google; t=1775021313; x=1775626113;\n darn=lists.infradead.org;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=fpmQ7puiMhN+5DboozMN/IHYXiKnmr9rqjQE11OwqSQ=;\n        b=ilCSD1u1fxVbwAm9mr/+/XQ3jxMwG9r0/VltozbvkXzKKJ5d61zPafBSjsRyShVVPu\n         TXqaUctr9Nk7JJvpH8N1LZZei7+fTLRdl8tsWjg7t7BLSb5RzyWXb9YaAYbmp7vjnPMI\n         +Ty7YIPjF4zO8AXalTkSvupMJg4lHhIHDoH7xgg0GVK3M53PvPSp6HaRxFkNYdGIJTJm\n         +HcNhqh4FlRheziE/znD8CvuTcPLTdHpnQVM/JaC4sA6CNmqgDsQAJlx8KR1GASNNG7a\n         Z/Xdvf5q1patQgtWtJM/QlfupY91yIoNfg/R6MBKhT998nTQ0NQ0R9ICiFbQe5Nz3Gn7\n         JA+g=="
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1775021313; x=1775626113;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n         :to:cc:subject:date:message-id:reply-to;\n        bh=fpmQ7puiMhN+5DboozMN/IHYXiKnmr9rqjQE11OwqSQ=;\n        b=hC8KDnQE9pAJ8oApZLy4Wz9rX2TQVUPmGXU8DUsKGT6qm+IvexTPjUcQja0VzdEk94\n         +QVdXg8zC6nF+RrevoDzAMC3AjBenxxYrZuFxjLCASrjkLY2r9ECbaOEA4dWsKOkpmv4\n         tBjXjpAT1swWdNSzIQM2xuuqGh+jlpedumXWKOZwUU1I/3lgabgOBOz9IwRWGMqEwF4F\n         VdbNCv1tu2Q7aY0OOLV362clZ+qh23tXe9N3ZmWbIOqq74S86e+aIp8TRdQjEgaZ/WC2\n         M7IcQ/c084nt3HXVImWRVhL3zlHdIxuKxWjZe7fJJFwggH7cO4+H7Zq2wMPOTvvm9Uac\n         S/zw==",
        "X-Gm-Message-State": "AOJu0YyWJDSyaheJDKl2OavHb99e2bYKop7ZLAEjoqIFaqBasWzpY/6c\n\tuSEQ5e1meup/oVv2RBRIDNbE037uXI72pNb7bCkrrI4QN5btTAYgg3uaR2SD5jU5IOsg9G68487\n\t6iB6IUoqG2cvF0x1vC8nGzpNQ6AoBEGortpTfdxMDeUrGHd2fbb0W2L1819UgA/RGB1UWCtc=",
        "X-Gm-Gg": "ATEYQzw5ALsUGToqA7I0A8/BOSTzmFfL71Q2g2zeNKDTF/CoZECpZGAS89OsQeKUMRW\n\tYMHpFRPCJrNu6Yb/i168n4+tVTnk6ReMC/4BGDUsuiuXqIO0xDH69Harfq/jP1xG4cQxDpfKnx4\n\t5WGsI5Gku41tnzt090FtFKgiRw2NlJMwkJuGfhPxpRIm7mtjBkAhNeJmrQIN88qGYTBfh261sIl\n\tQhOyt5inEhNh/VqzYITgoKwuiKPlBLekq/LlzIjIeLZyAWEb27Dk6sm07tv51DcI/GCfXwu5SYj\n\tNvoH4SuNuMwXOtjcWF//SmbAEwSeGN0QV6dbrR+DvMXPuxdH4+xoyuzAsAQ5ET1eiSzwN3yiG28\n\tdmQU9+N1B2t1uW38B0nvzuHfk3Vq1IxYDBKfaCpG4jUvzXdbuPAR/P4o=",
        "X-Received": [
            "by 2002:a05:6a00:4c08:b0:827:3b3d:5c8 with SMTP id\n d2e1a72fcca58-82ce8ca4e16mr2332692b3a.54.1775021312630;\n        Tue, 31 Mar 2026 22:28:32 -0700 (PDT)",
            "by 2002:a05:6a00:4c08:b0:827:3b3d:5c8 with SMTP id\n d2e1a72fcca58-82ce8ca4e16mr2332649b3a.54.1775021311967;\n        Tue, 31 Mar 2026 22:28:31 -0700 (PDT)"
        ],
        "From": "Peddolla Harshavardhan Reddy <peddolla.reddy@oss.qualcomm.com>",
        "To": "hostap@lists.infradead.org",
        "Cc": "vjakkam@qti.qualcomm.com",
        "Subject": "[RFC PATCH 14/23] nl80211: Route MLME TX via PD wdev based on source\n address",
        "Date": "Wed,  1 Apr 2026 10:57:04 +0530",
        "Message-Id": "<20260401052713.3761478-15-peddolla.reddy@oss.qualcomm.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20260401052713.3761478-1-peddolla.reddy@oss.qualcomm.com>",
        "References": "<20260401052713.3761478-1-peddolla.reddy@oss.qualcomm.com>",
        "MIME-Version": "1.0",
        "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNDAxMDA0NCBTYWx0ZWRfXw0TwaweVz0Ra\n 4GDUftOJpc4hBtOTvb7zwzYQq6spDtpwkCV5/8isSmUS9xfJQCggSd0ocrJLl/vOYZd3i2B4egU\n i0iW3bhr+QWMeISoWyp1441YOiESLMWkAsjw+baSpTFhUAj/qHPSRjlRdMjaq+GiNhOxDjVP/ij\n wWH9pNo/Qn451z4gJN2Cle95iWxAlq19H9mEgfNg81BBrzylfNR1zcaSVWeYOye6l3DzoBmc5m3\n pWXQoCfRqzGHBa0vZ/gASz3/2QE+jwgnoZvdthqh2JYCHnmuAz6QD77lI08KSGRai0D81BnVRF4\n z544dD77od6mtyTWooF2We31tMzjqz//eBmVt14BgwW7DtLpwqHMPm3iYUsCUwxuJD7O71xxivo\n yvDFHUHFQZnOgB8IBUHzA48QQwNOCrxwVyx6ZGKaRLgxJ8dVqhbW0BdrKXSTrUQ0u60T1zCIj1v\n 63j3ODLlNRzqdb4cK2w==",
        "X-Authority-Analysis": "v=2.4 cv=YcawJgRf c=1 sm=1 tr=0 ts=69ccad01 cx=c_pps\n a=m5Vt/hrsBiPMCU0y4gIsQw==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17\n a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22\n a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=EUspDBNiAAAA:8\n a=qdmJSObNesnNg3OJMMIA:9 a=IoOABgeZipijB_acs4fv:22",
        "X-Proofpoint-GUID": "QNqtcNROMn1wFkOgvxPBAgQQa2EPnlOV",
        "X-Proofpoint-ORIG-GUID": "QNqtcNROMn1wFkOgvxPBAgQQa2EPnlOV",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-04-01_02,2026-03-31_02,2025-10-01_01",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n phishscore=0 priorityscore=1501 adultscore=0 clxscore=1015 suspectscore=0\n malwarescore=0 impostorscore=0 spamscore=0 lowpriorityscore=0 bulkscore=0\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2603050001 definitions=main-2604010044",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20260331_222833_872827_E6D280F0 ",
        "X-CRM114-Status": "GOOD (  16.07  )",
        "X-Spam-Score": "0.2 (/)",
        "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: Veerendranath Jakkam <vjakkam@qti.qualcomm.com> Use\n   the PD i802_bss when sending MLME frames if the source address matches a PD\n    BSS. This ensures the frames are transmitted via the correct wdev when a\n   PD interface is present. When such a PD BSS is [...]\n Content analysis details:   (0.2 points, 5.0 required)\n  pts rule name              description\n ---- ----------------------\n --------------------------------------------------\n -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/, low\n                             trust\n                             [205.220.168.131 listed in list.dnswl.org]\n  1.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                           [205.220.168.131 listed in\n bl.score.senderscore.com]\n  1.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                        [205.220.168.131 listed in\n sa-trusted.bondedsender.org]\n  1.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                             [205.220.168.131 listed in\n sa-accredit.habeas.com]\n  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record\n -0.0 SPF_PASS               SPF: sender 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]",
        "X-Mailman-Approved-At": "Wed, 01 Apr 2026 07:07:49 -0700",
        "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: Veerendranath Jakkam <vjakkam@qti.qualcomm.com>\n\nUse the PD i802_bss when sending MLME frames if the source address\nmatches a PD BSS. This ensures the frames are transmitted via the\ncorrect wdev when a PD interface is present. When such a PD BSS is\nfound, update the bss used for TX and the associated link reference,\nand add a debug log to indicate that the frame is routed via the PD\nwdev.\n\nSigned-off-by: Veerendranath Jakkam <vjakkam@qti.qualcomm.com>\n---\n src/drivers/driver_nl80211.c | 10 ++++++++++\n 1 file changed, 10 insertions(+)",
    "diff": "diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c\nindex c68f343e8..2543bc187 100644\n--- a/src/drivers/driver_nl80211.c\n+++ b/src/drivers/driver_nl80211.c\n@@ -4952,6 +4952,7 @@ static int wpa_driver_nl80211_send_mlme(struct i802_bss *bss, const u8 *data,\n \t\t\t\t\tint link_id)\n {\n \tstruct wpa_driver_nl80211_data *drv = bss->drv;\n+\tstruct i802_bss *pd_bss;\n \tstruct ieee80211_mgmt *mgmt;\n \tu16 fc;\n \tint use_cookie = 1;\n@@ -4967,6 +4968,15 @@ static int wpa_driver_nl80211_send_mlme(struct i802_bss *bss, const u8 *data,\n \t\t   noack, freq, no_cck, offchanok, wait_time,\n \t\t   no_encrypt, fc, fc2str(fc), drv->nlmode);\n \n+\tpd_bss = nl80211_get_pd_bss_by_addr(drv, mgmt->sa);\n+\tif (pd_bss) {\n+\t\tbss = pd_bss;\n+\t\twpa_printf(MSG_DEBUG,\n+\t\t\t   \"nl80211: send_mlme - route via PD wdev sa=\" MACSTR,\n+\t\t\t   MAC2STR(mgmt->sa));\n+\t\tlink = bss->flink;\n+\t}\n+\n \tif ((is_sta_interface(drv->nlmode) ||\n \t     drv->nlmode == NL80211_IFTYPE_P2P_DEVICE) &&\n \t    WLAN_FC_GET_TYPE(fc) == WLAN_FC_TYPE_MGMT &&\n",
    "prefixes": [
        "RFC",
        "14/23"
    ]
}