get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 805678,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/805678/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/lede/patch/20170824214034.9309-5-hauke@hauke-m.de/",
    "project": {
        "id": 54,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/54/?format=api",
        "name": "LEDE development",
        "link_name": "lede",
        "list_id": "lede-dev.lists.infradead.org",
        "list_email": "lede-dev@lists.infradead.org",
        "web_url": "http://lede-project.org/",
        "scm_url": "",
        "webscm_url": "http://git.lede-project.org/",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170824214034.9309-5-hauke@hauke-m.de>",
    "list_archive_url": null,
    "date": "2017-08-24T21:40:34",
    "name": "[LEDE-DEV,RFC,4/4] iw: sync with backports-4.13-rc6",
    "commit_ref": null,
    "pull_url": null,
    "state": "rfc",
    "archived": false,
    "hash": "5a6edea81baddf74e05c5432204e8c9383e73b0c",
    "submitter": {
        "id": 3794,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/3794/?format=api",
        "name": "Hauke Mehrtens",
        "email": "hauke@hauke-m.de"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/lede/patch/20170824214034.9309-5-hauke@hauke-m.de/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/805678/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/805678/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"pVmDRDNz\"; \n\tdkim-atps=neutral"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xdd7S3fwWz9sRV\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 25 Aug 2017 07:42:44 +1000 (AEST)",
            "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dkztY-0007ZH-3P; Thu, 24 Aug 2017 21:42:32 +0000",
            "from mx1.mailbox.org ([80.241.60.212])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dkzsH-0006lA-Pn\n\tfor lede-dev@lists.infradead.org; Thu, 24 Aug 2017 21:41:19 +0000",
            "from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby mx1.mailbox.org (Postfix) with ESMTPS id 0EAC44286B;\n\tThu, 24 Aug 2017 23:40:50 +0200 (CEST)",
            "from smtp1.mailbox.org ([80.241.60.240])\n\tby spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de\n\t[80.241.56.116]) (amavisd-new, port 10030)\n\twith ESMTP id up5VFsNPmWWU; Thu, 24 Aug 2017 23:40:48 +0200 (CEST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:References:\n\tIn-Reply-To:Message-Id:Date: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=1Eugsc779s//C9t/idzyC3dR15T/D8WB9civ5AJ9XUk=;\n\tb=pVmDRDNzagy07F\n\tDcdaIqd0SyKbi/LvZNVOvCB6AoUqjrdVwJYDShoK0O+I7ENpNdpP6emmFA33HOhMvAOXLgsoZtWZI\n\ttuZJxgd+LLSvw/2NSP/sY1gFKnoEq8Gm/KVCQYxCMN2iviAv/WVX0osofrL4dFeYJ0K38fGfqFnq4\n\t2ynD/90zqPeYmC1D/sJEArg/epdjYOJQ7D9yBS+IE4xkOHR2cEE3U2hbnHTHwmjcsMnrG8anhssGu\n\tfxhcLnDh3BP0EkAed92YVNNLTdCmfmlUtjVBT0LZsTM1p/vfouAC72tssJwkitop9poMpGTazxTJa\n\txyKIWTad8x8MW+Qv/WOQ==;",
        "X-Virus-Scanned": "amavisd-new at heinlein-support.de",
        "From": "Hauke Mehrtens <hauke@hauke-m.de>",
        "To": "nbd@nbd.name,\n\tlede-dev@lists.infradead.org",
        "Date": "Thu, 24 Aug 2017 23:40:34 +0200",
        "Message-Id": "<20170824214034.9309-5-hauke@hauke-m.de>",
        "In-Reply-To": "<20170824214034.9309-1-hauke@hauke-m.de>",
        "References": "<20170824214034.9309-1-hauke@hauke-m.de>",
        "X-Bad-Reply": "References and In-Reply-To but no 'Re:' in Subject.",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20170824_144114_251231_9BCC03FF ",
        "X-CRM114-Status": "GOOD (  24.62  )",
        "X-Spam-Score": "-2.6 (--)",
        "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-2.6 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/,\n\tlow trust [80.241.60.212 listed in list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]",
        "Subject": "[LEDE-DEV] [RFC 4/4] iw: sync with backports-4.13-rc6",
        "X-BeenThere": "lede-dev@lists.infradead.org",
        "X-Mailman-Version": "2.1.21",
        "Precedence": "list",
        "List-Id": "<lede-dev.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/lede-dev/>",
        "List-Post": "<mailto:lede-dev@lists.infradead.org>",
        "List-Help": "<mailto:lede-dev-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=subscribe>",
        "Cc": "Hauke Mehrtens <hauke@hauke-m.de>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "\"Lede-dev\" <lede-dev-bounces@lists.infradead.org>",
        "Errors-To": "lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "This syncs the nl80211.h file with the version from backports-4.13-rc6.\n\nSigned-off-by: Hauke Mehrtens <hauke@hauke-m.de>\n---\n .../utils/iw/patches/001-nl80211_h_sync.patch      | 407 +++++++++++++++++++--\n 1 file changed, 382 insertions(+), 25 deletions(-)",
    "diff": "diff --git a/package/network/utils/iw/patches/001-nl80211_h_sync.patch b/package/network/utils/iw/patches/001-nl80211_h_sync.patch\nindex 88e47cce82..25ec1263ad 100644\n--- a/package/network/utils/iw/patches/001-nl80211_h_sync.patch\n+++ b/package/network/utils/iw/patches/001-nl80211_h_sync.patch\n@@ -1,6 +1,81 @@\n --- a/nl80211.h\n +++ b/nl80211.h\n-@@ -323,7 +323,7 @@\n+@@ -10,7 +10,7 @@\n+  * Copyright 2008, 2009 Luis R. Rodriguez <lrodriguez@atheros.com>\n+  * Copyright 2008 Jouni Malinen <jouni.malinen@atheros.com>\n+  * Copyright 2008 Colin McCabe <colin@cozybit.com>\n+- * Copyright 2015\tIntel Deutschland GmbH\n++ * Copyright 2015-2017\tIntel Deutschland GmbH\n+  *\n+  * Permission to use, copy, modify, and/or distribute this software for any\n+  * purpose with or without fee is hereby granted, provided that the above\n+@@ -173,6 +173,65 @@\n+  */\n+ \n+ /**\n++ * DOC: WPA/WPA2 EAPOL handshake offload\n++ *\n++ * By setting @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK flag drivers\n++ * can indicate they support offloading EAPOL handshakes for WPA/WPA2\n++ * preshared key authentication. In %NL80211_CMD_CONNECT the preshared\n++ * key should be specified using %NL80211_ATTR_PMK. Drivers supporting\n++ * this offload may reject the %NL80211_CMD_CONNECT when no preshared\n++ * key material is provided, for example when that driver does not\n++ * support setting the temporal keys through %CMD_NEW_KEY.\n++ *\n++ * Similarly @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X flag can be\n++ * set by drivers indicating offload support of the PTK/GTK EAPOL\n++ * handshakes during 802.1X authentication. In order to use the offload\n++ * the %NL80211_CMD_CONNECT should have %NL80211_ATTR_WANT_1X_4WAY_HS\n++ * attribute flag. Drivers supporting this offload may reject the\n++ * %NL80211_CMD_CONNECT when the attribute flag is not present.\n++ *\n++ * For 802.1X the PMK or PMK-R0 are set by providing %NL80211_ATTR_PMK\n++ * using %NL80211_CMD_SET_PMK. For offloaded FT support also\n++ * %NL80211_ATTR_PMKR0_NAME must be provided.\n++ */\n++\n++/**\n++ * DOC: FILS shared key authentication offload\n++ *\n++ * FILS shared key authentication offload can be advertized by drivers by\n++ * setting @NL80211_EXT_FEATURE_FILS_SK_OFFLOAD flag. The drivers that support\n++ * FILS shared key authentication offload should be able to construct the\n++ * authentication and association frames for FILS shared key authentication and\n++ * eventually do a key derivation as per IEEE 802.11ai. The below additional\n++ * parameters should be given to driver in %NL80211_CMD_CONNECT.\n++ *\t%NL80211_ATTR_FILS_ERP_USERNAME - used to construct keyname_nai\n++ *\t%NL80211_ATTR_FILS_ERP_REALM - used to construct keyname_nai\n++ *\t%NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM - used to construct erp message\n++ *\t%NL80211_ATTR_FILS_ERP_RRK - used to generate the rIK and rMSK\n++ * rIK should be used to generate an authentication tag on the ERP message and\n++ * rMSK should be used to derive a PMKSA.\n++ * rIK, rMSK should be generated and keyname_nai, sequence number should be used\n++ * as specified in IETF RFC 6696.\n++ *\n++ * When FILS shared key authentication is completed, driver needs to provide the\n++ * below additional parameters to userspace.\n++ *\t%NL80211_ATTR_FILS_KEK - used for key renewal\n++ *\t%NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM - used in further EAP-RP exchanges\n++ *\t%NL80211_ATTR_PMKID - used to identify the PMKSA used/generated\n++ *\t%Nl80211_ATTR_PMK - used to update PMKSA cache in userspace\n++ * The PMKSA can be maintained in userspace persistently so that it can be used\n++ * later after reboots or wifi turn off/on also.\n++ *\n++ * %NL80211_ATTR_FILS_CACHE_ID is the cache identifier advertized by a FILS\n++ * capable AP supporting PMK caching. It specifies the scope within which the\n++ * PMKSAs are cached in an ESS. %NL80211_CMD_SET_PMKSA and\n++ * %NL80211_CMD_DEL_PMKSA are enhanced to allow support for PMKSA caching based\n++ * on FILS cache identifier. Additionally %NL80211_ATTR_PMK is used with\n++ * %NL80211_SET_PMKSA to specify the PMK corresponding to a PMKSA for driver to\n++ * use in a FILS shared key connection with PMKSA caching.\n++ */\n++\n++/**\n+  * enum nl80211_commands - supported nl80211 commands\n+  *\n+  * @NL80211_CMD_UNSPEC: unspecified command to catch errors\n+@@ -323,7 +382,7 @@\n   * @NL80211_CMD_GET_SCAN: get scan results\n   * @NL80211_CMD_TRIGGER_SCAN: trigger a new scan with the given parameters\n   *\t%NL80211_ATTR_TX_NO_CCK_RATE is used to decide whether to send the\n@@ -9,7 +84,56 @@\n   *\tspecify a BSSID to scan for; if not included, the wildcard BSSID will\n   *\tbe used.\n   * @NL80211_CMD_NEW_SCAN_RESULTS: scan notification (as a reply to\n-@@ -600,6 +600,20 @@\n+@@ -351,7 +410,9 @@\n+  *\tare used.  Extra IEs can also be passed from the userspace by\n+  *\tusing the %NL80211_ATTR_IE attribute.  The first cycle of the\n+  *\tscheduled scan can be delayed by %NL80211_ATTR_SCHED_SCAN_DELAY\n+- *\tis supplied.\n++ *\tis supplied. If the device supports multiple concurrent scheduled\n++ *\tscans, it will allow such when the caller provides the flag attribute\n++ *\t%NL80211_ATTR_SCHED_SCAN_MULTI to indicate user-space support for it.\n+  * @NL80211_CMD_STOP_SCHED_SCAN: stop a scheduled scan. Returns -ENOENT if\n+  *\tscheduled scan is not running. The caller may assume that as soon\n+  *\tas the call returns, it is safe to start a new scheduled scan again.\n+@@ -370,10 +431,18 @@\n+  * @NL80211_CMD_NEW_SURVEY_RESULTS: survey data notification (as a reply to\n+  *\tNL80211_CMD_GET_SURVEY and on the \"scan\" multicast group)\n+  *\n+- * @NL80211_CMD_SET_PMKSA: Add a PMKSA cache entry, using %NL80211_ATTR_MAC\n+- *\t(for the BSSID) and %NL80211_ATTR_PMKID.\n++ * @NL80211_CMD_SET_PMKSA: Add a PMKSA cache entry using %NL80211_ATTR_MAC\n++ *\t(for the BSSID), %NL80211_ATTR_PMKID, and optionally %NL80211_ATTR_PMK\n++ *\t(PMK is used for PTKSA derivation in case of FILS shared key offload) or\n++ *\tusing %NL80211_ATTR_SSID, %NL80211_ATTR_FILS_CACHE_ID,\n++ *\t%NL80211_ATTR_PMKID, and %NL80211_ATTR_PMK in case of FILS\n++ *\tauthentication where %NL80211_ATTR_FILS_CACHE_ID is the identifier\n++ *\tadvertized by a FILS capable AP identifying the scope of PMKSA in an\n++ *\tESS.\n+  * @NL80211_CMD_DEL_PMKSA: Delete a PMKSA cache entry, using %NL80211_ATTR_MAC\n+- *\t(for the BSSID) and %NL80211_ATTR_PMKID.\n++ *\t(for the BSSID) and %NL80211_ATTR_PMKID or using %NL80211_ATTR_SSID,\n++ *\t%NL80211_ATTR_FILS_CACHE_ID, and %NL80211_ATTR_PMKID in case of FILS\n++ *\tauthentication.\n+  * @NL80211_CMD_FLUSH_PMKSA: Flush all PMKSA cache entries.\n+  *\n+  * @NL80211_CMD_REG_CHANGE: indicates to userspace the regulatory domain\n+@@ -500,8 +569,13 @@\n+  *\tauthentication/association or not receiving a response from the AP.\n+  *\tNon-zero %NL80211_ATTR_STATUS_CODE value is indicated in that case as\n+  *\twell to remain backwards compatible.\n+- * @NL80211_CMD_ROAM: request that the card roam (currently not implemented),\n+- *\tsent as an event when the card/driver roamed by itself.\n++ * @NL80211_CMD_ROAM: notifcation indicating the card/driver roamed by itself.\n++ *\tWhen the driver roamed in a network that requires 802.1X authentication,\n++ *\t%NL80211_ATTR_PORT_AUTHORIZED should be set if the 802.1X authentication\n++ *\twas done by the driver or if roaming was done using Fast Transition\n++ *\tprotocol (in which case 802.1X authentication is not needed). If\n++ *\t%NL80211_ATTR_PORT_AUTHORIZED is not set, user space is responsible for\n++ *\tthe 802.1X authentication.\n+  * @NL80211_CMD_DISCONNECT: drop a given connection; also used to notify\n+  *\tuserspace that a connection was dropped by the AP or due to other\n+  *\treasons, for this the %NL80211_ATTR_DISCONNECTED_BY_AP and\n+@@ -600,6 +674,20 @@\n   *\n   * @NL80211_CMD_SET_WDS_PEER: Set the MAC address of the peer on a WDS interface.\n   *\n@@ -30,7 +154,45 @@\n   * @NL80211_CMD_JOIN_MESH: Join a mesh. The mesh ID must be given, and initial\n   *\tmesh config parameters may be given.\n   * @NL80211_CMD_LEAVE_MESH: Leave the mesh network -- no special arguments, the\n-@@ -874,6 +888,12 @@\n+@@ -840,12 +928,15 @@\n+  *\tcfg80211_scan_done().\n+  *\n+  * @NL80211_CMD_START_NAN: Start NAN operation, identified by its\n+- *\t%NL80211_ATTR_WDEV interface. This interface must have been previously\n+- *\tcreated with %NL80211_CMD_NEW_INTERFACE. After it has been started, the\n+- *\tNAN interface will create or join a cluster. This command must have a\n+- *\tvalid %NL80211_ATTR_NAN_MASTER_PREF attribute and optional\n+- *\t%NL80211_ATTR_NAN_DUAL attributes.\n+- *\tAfter this command NAN functions can be added.\n++ *\t%NL80211_ATTR_WDEV interface. This interface must have been\n++ *\tpreviously created with %NL80211_CMD_NEW_INTERFACE. After it\n++ *\thas been started, the NAN interface will create or join a\n++ *\tcluster. This command must have a valid\n++ *\t%NL80211_ATTR_NAN_MASTER_PREF attribute and optional\n++ *\t%NL80211_ATTR_BANDS attributes.  If %NL80211_ATTR_BANDS is\n++ *\tomitted or set to 0, it means don't-care and the device will\n++ *\tdecide what to use.  After this command NAN functions can be\n++ *\tadded.\n+  * @NL80211_CMD_STOP_NAN: Stop the NAN operation, identified by\n+  *\tits %NL80211_ATTR_WDEV interface.\n+  * @NL80211_CMD_ADD_NAN_FUNCTION: Add a NAN function. The function is defined\n+@@ -866,14 +957,32 @@\n+  *\tThis command is also used as a notification sent when a NAN function is\n+  *\tterminated. This will contain a %NL80211_ATTR_NAN_FUNC_INST_ID\n+  *\tand %NL80211_ATTR_COOKIE attributes.\n+- * @NL80211_CMD_CHANGE_NAN_CONFIG: Change current NAN configuration. NAN\n+- *\tmust be operational (%NL80211_CMD_START_NAN was executed).\n+- *\tIt must contain at least one of the following attributes:\n+- *\t%NL80211_ATTR_NAN_MASTER_PREF, %NL80211_ATTR_NAN_DUAL.\n++ * @NL80211_CMD_CHANGE_NAN_CONFIG: Change current NAN\n++ *\tconfiguration. NAN must be operational (%NL80211_CMD_START_NAN\n++ *\twas executed).  It must contain at least one of the following\n++ *\tattributes: %NL80211_ATTR_NAN_MASTER_PREF,\n++ *\t%NL80211_ATTR_BANDS.  If %NL80211_ATTR_BANDS is omitted, the\n++ *\tcurrent configuration is not changed.  If it is present but\n++ *\tset to zero, the configuration is changed to don't-care\n++ *\t(i.e. the device can decide what to do).\n+  * @NL80211_CMD_NAN_FUNC_MATCH: Notification sent when a match is reported.\n   *\tThis will contain a %NL80211_ATTR_NAN_MATCH nested attribute and\n   *\t%NL80211_ATTR_COOKIE.\n   *\n@@ -40,10 +202,18 @@\n + *\tdoes not result in a change for the current association. Currently,\n + *\tonly the %NL80211_ATTR_IE data is used and updated with this command.\n + *\n++ * @NL80211_CMD_SET_PMK: For offloaded 4-Way handshake, set the PMK or PMK-R0\n++ *\tfor the given authenticator address (specified with &NL80211_ATTR_MAC).\n++ *\tWhen &NL80211_ATTR_PMKR0_NAME is set, &NL80211_ATTR_PMK specifies the\n++ *\tPMK-R0, otherwise it specifies the PMK.\n++ * @NL80211_CMD_DEL_PMK: For offloaded 4-Way handshake, delete the previously\n++ *\tconfigured PMK for the authenticator address identified by\n++ *\t&NL80211_ATTR_MAC.\n++ *\n   * @NL80211_CMD_MAX: highest used command number\n   * @__NL80211_CMD_AFTER_LAST: internal use\n   */\n-@@ -1069,6 +1089,10 @@ enum nl80211_commands {\n+@@ -1069,6 +1178,13 @@ enum nl80211_commands {\n  \tNL80211_CMD_CHANGE_NAN_CONFIG,\n  \tNL80211_CMD_NAN_MATCH,\n  \n@@ -51,10 +221,13 @@\n +\n +\tNL80211_CMD_UPDATE_CONNECT_PARAMS,\n +\n++\tNL80211_CMD_SET_PMK,\n++\tNL80211_CMD_DEL_PMK,\n++\n  \t/* add new commands above here */\n  \n  \t/* used to define NL80211_CMD_MAX below */\n-@@ -1638,8 +1662,16 @@ enum nl80211_commands {\n+@@ -1638,8 +1754,16 @@ enum nl80211_commands {\n   *\tthe connection request from a station. nl80211_connect_failed_reason\n   *\tenum has different reasons of connection failure.\n   *\n@@ -73,7 +246,7 @@\n   *\n   * @NL80211_ATTR_VHT_CAPABILITY: VHT Capability information element (from\n   *\tassociation request when used with NL80211_CMD_NEW_STATION)\n-@@ -1740,7 +1772,9 @@ enum nl80211_commands {\n+@@ -1740,7 +1864,9 @@ enum nl80211_commands {\n   *\n   * @NL80211_ATTR_OPMODE_NOTIF: Operating mode field from Operating Mode\n   *\tNotification Element based on association request when used with\n@@ -84,16 +257,41 @@\n   *\n   * @NL80211_ATTR_VENDOR_ID: The vendor ID, either a 24-bit OUI or, if\n   *\t%NL80211_VENDOR_ID_IS_LINUX is set, a special Linux ID (not used yet)\n-@@ -1788,6 +1822,8 @@ enum nl80211_commands {\n-  *\tand remove functions. NAN notifications will be sent in unicast to that\n-  *\tsocket. Without this attribute, any socket can add functions and the\n-  *\tnotifications will be sent to the %NL80211_MCGRP_NAN multicast group.\n+@@ -1783,11 +1909,12 @@ enum nl80211_commands {\n+  *\tthat configured the indoor setting, and the indoor operation would be\n+  *\tcleared when the socket is closed.\n+  *\tIf set during NAN interface creation, the interface will be destroyed\n+- *\tif the socket is closed just like any other interface. Moreover, only\n+- *\tthe netlink socket that created the interface will be allowed to add\n+- *\tand remove functions. NAN notifications will be sent in unicast to that\n+- *\tsocket. Without this attribute, any socket can add functions and the\n+- *\tnotifications will be sent to the %NL80211_MCGRP_NAN multicast group.\n++ *\tif the socket is closed just like any other interface. Moreover, NAN\n++ *\tnotifications will be sent in unicast to that socket. Without this\n++ *\tattribute, the notifications will be sent to the %NL80211_MCGRP_NAN\n++ *\tmulticast group.\n + *\tIf set during %NL80211_CMD_ASSOCIATE or %NL80211_CMD_CONNECT the\n + *\tstation will deauthenticate when the socket is closed.\n   *\n   * @NL80211_ATTR_TDLS_INITIATOR: flag attribute indicating the current end is\n   *\tthe TDLS link initiator.\n-@@ -1936,6 +1972,38 @@ enum nl80211_commands {\n+@@ -1927,15 +2054,93 @@ enum nl80211_commands {\n+  *\t%NL80211_CMD_CHANGE_NAN_CONFIG. Its type is u8 and it can't be 0.\n+  *\tAlso, values 1 and 255 are reserved for certification purposes and\n+  *\tshould not be used during a normal device operation.\n+- * @NL80211_ATTR_NAN_DUAL: NAN dual band operation config (see\n+- *\t&enum nl80211_nan_dual_band_conf). This attribute is used with\n+- *\t%NL80211_CMD_START_NAN and optionally with\n+- *\t%NL80211_CMD_CHANGE_NAN_CONFIG.\n++ * @NL80211_ATTR_BANDS: operating bands configuration.  This is a u32\n++ *\tbitmask of BIT(NL80211_BAND_*) as described in %enum\n++ *\tnl80211_band.  For instance, for NL80211_BAND_2GHZ, bit 0\n++ *\twould be set.  This attribute is used with\n++ *\t%NL80211_CMD_START_NAN and %NL80211_CMD_CHANGE_NAN_CONFIG, and\n++ *\tit is optional.  If no bands are set, it means don't-care and\n++ *\tthe device will decide what to use.\n+  * @NL80211_ATTR_NAN_FUNC: a function that can be added to NAN. See\n+  *\t&enum nl80211_nan_func_attributes for description of this nested\n   *\tattribute.\n   * @NL80211_ATTR_NAN_MATCH: used to report a match. This is a nested attribute.\n   *\tSee &enum nl80211_nan_match_attributes.\n@@ -127,12 +325,55 @@\n + *\tu32 attribute with an &enum nl80211_timeout_reason value. This is used,\n + *\te.g., with %NL80211_CMD_CONNECT event.\n + *\n++ * @NL80211_ATTR_FILS_ERP_USERNAME: EAP Re-authentication Protocol (ERP)\n++ *\tusername part of NAI used to refer keys rRK and rIK. This is used with\n++ *\t%NL80211_CMD_CONNECT.\n++ *\n++ * @NL80211_ATTR_FILS_ERP_REALM: EAP Re-authentication Protocol (ERP) realm part\n++ *\tof NAI specifying the domain name of the ER server. This is used with\n++ *\t%NL80211_CMD_CONNECT.\n++ *\n++ * @NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM: Unsigned 16-bit ERP next sequence number\n++ *\tto use in ERP messages. This is used in generating the FILS wrapped data\n++ *\tfor FILS authentication and is used with %NL80211_CMD_CONNECT.\n++ *\n++ * @NL80211_ATTR_FILS_ERP_RRK: ERP re-authentication Root Key (rRK) for the\n++ *\tNAI specified by %NL80211_ATTR_FILS_ERP_USERNAME and\n++ *\t%NL80211_ATTR_FILS_ERP_REALM. This is used for generating rIK and rMSK\n++ *\tfrom successful FILS authentication and is used with\n++ *\t%NL80211_CMD_CONNECT.\n++ *\n++ * @NL80211_ATTR_FILS_CACHE_ID: A 2-octet identifier advertized by a FILS AP\n++ *\tidentifying the scope of PMKSAs. This is used with\n++ *\t@NL80211_CMD_SET_PMKSA and @NL80211_CMD_DEL_PMKSA.\n++ *\n++ * @NL80211_ATTR_PMK: attribute for passing PMK key material. Used with\n++ *\t%NL80211_CMD_SET_PMKSA for the PMKSA identified by %NL80211_ATTR_PMKID.\n++ *\tFor %NL80211_CMD_CONNECT it is used to provide PSK for offloading 4-way\n++ *\thandshake for WPA/WPA2-PSK networks. For 802.1X authentication it is\n++ *\tused with %NL80211_CMD_SET_PMK. For offloaded FT support this attribute\n++ *\tspecifies the PMK-R0 if NL80211_ATTR_PMKR0_NAME is included as well.\n++ *\n++ * @NL80211_ATTR_SCHED_SCAN_MULTI: flag attribute which user-space shall use to\n++ *\tindicate that it supports multiple active scheduled scan requests.\n++ * @NL80211_ATTR_SCHED_SCAN_MAX_REQS: indicates maximum number of scheduled\n++ *\tscan request that may be active for the device (u32).\n++ *\n++ * @NL80211_ATTR_WANT_1X_4WAY_HS: flag attribute which user-space can include\n++ *\tin %NL80211_CMD_CONNECT to indicate that for 802.1X authentication it\n++ *\twants to use the supported offload of the 4-way handshake.\n++ * @NL80211_ATTR_PMKR0_NAME: PMK-R0 Name for offloaded FT.\n++ * @NL80211_ATTR_PORT_AUTHORIZED: flag attribute used in %NL80211_CMD_ROAMED\n++ *\tnotification indicating that that 802.1X authentication was done by\n++ *\tthe driver or is not needed (because roaming used the Fast Transition\n++ *\tprotocol).\n++ *\n + * @NL80211_ATTR_WIPHY_ANTENNA_GAIN: Configured antenna gain. Used to reduce\n + *\ttransmit power to stay within regulatory limits. u32, dBi.\n   *\n   * @NUM_NL80211_ATTR: total number of nl80211_attrs available\n   * @NL80211_ATTR_MAX: highest attribute number currently defined\n-@@ -2195,7 +2263,7 @@ enum nl80211_attrs {\n+@@ -2195,7 +2400,7 @@ enum nl80211_attrs {\n  \n  \tNL80211_ATTR_CONN_FAILED_REASON,\n  \n@@ -141,7 +382,12 @@\n  \n  \tNL80211_ATTR_VHT_CAPABILITY,\n  \n-@@ -2336,6 +2404,20 @@ enum nl80211_attrs {\n+@@ -2332,10 +2537,39 @@ enum nl80211_attrs {\n+ \tNL80211_ATTR_MESH_PEER_AID,\n+ \n+ \tNL80211_ATTR_NAN_MASTER_PREF,\n+-\tNL80211_ATTR_NAN_DUAL,\n++\tNL80211_ATTR_BANDS,\n  \tNL80211_ATTR_NAN_FUNC,\n  \tNL80211_ATTR_NAN_MATCH,\n  \n@@ -157,12 +403,27 @@\n +\n +\tNL80211_ATTR_TIMEOUT_REASON,\n +\n++\tNL80211_ATTR_FILS_ERP_USERNAME,\n++\tNL80211_ATTR_FILS_ERP_REALM,\n++\tNL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM,\n++\tNL80211_ATTR_FILS_ERP_RRK,\n++\tNL80211_ATTR_FILS_CACHE_ID,\n++\n++\tNL80211_ATTR_PMK,\n++\n++\tNL80211_ATTR_SCHED_SCAN_MULTI,\n++\tNL80211_ATTR_SCHED_SCAN_MAX_REQS,\n++\n++\tNL80211_ATTR_WANT_1X_4WAY_HS,\n++\tNL80211_ATTR_PMKR0_NAME,\n++\tNL80211_ATTR_PORT_AUTHORIZED,\n++\n +\tNL80211_ATTR_WIPHY_ANTENNA_GAIN,\n +\n  \t/* add attributes here, update the policy in nl80211.c */\n  \n  \t__NL80211_ATTR_AFTER_LAST,\n-@@ -2347,6 +2429,7 @@ enum nl80211_attrs {\n+@@ -2347,6 +2581,7 @@ enum nl80211_attrs {\n  #define NL80211_ATTR_SCAN_GENERATION NL80211_ATTR_GENERATION\n  #define\tNL80211_ATTR_MESH_PARAMS NL80211_ATTR_MESH_CONFIG\n  #define NL80211_ATTR_IFACE_SOCKET_OWNER NL80211_ATTR_SOCKET_OWNER\n@@ -170,7 +431,15 @@\n  \n  /*\n   * Allow user space programs to use #ifdef on new attributes by defining them\n-@@ -3027,6 +3110,13 @@ enum nl80211_reg_rule_attr {\n+@@ -3019,6 +3254,7 @@ enum nl80211_reg_rule_attr {\n+  * @__NL80211_SCHED_SCAN_MATCH_ATTR_INVALID: attribute number 0 is reserved\n+  * @NL80211_SCHED_SCAN_MATCH_ATTR_SSID: SSID to be used for matching,\n+  *\tonly report BSS with matching SSID.\n++ *\t(This cannot be used together with BSSID.)\n+  * @NL80211_SCHED_SCAN_MATCH_ATTR_RSSI: RSSI threshold (in dBm) for reporting a\n+  *\tBSS in scan results. Filtering is turned off if not specified. Note that\n+  *\tif this attribute is in a match set of its own, then it is treated as\n+@@ -3027,6 +3263,15 @@ enum nl80211_reg_rule_attr {\n   *\thow this API was implemented in the past. Also, due to the same problem,\n   *\tthe only way to create a matchset with only an RSSI filter (with this\n   *\tattribute) is if there's only a single matchset with the RSSI attribute.\n@@ -181,19 +450,22 @@\n + *\tBSS-es in the specified band is to be adjusted before doing\n + *\tRSSI-based BSS selection. The attribute value is a packed structure\n + *\tvalue as specified by &struct nl80211_bss_select_rssi_adjust.\n++ * @NL80211_SCHED_SCAN_MATCH_ATTR_BSSID: BSSID to be used for matching\n++ *\t(this cannot be used together with SSID).\n   * @NL80211_SCHED_SCAN_MATCH_ATTR_MAX: highest scheduled scan filter\n   *\tattribute number currently defined\n   * @__NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST: internal use\n-@@ -3036,6 +3126,8 @@ enum nl80211_sched_scan_match_attr {\n+@@ -3036,6 +3281,9 @@ enum nl80211_sched_scan_match_attr {\n  \n  \tNL80211_SCHED_SCAN_MATCH_ATTR_SSID,\n  \tNL80211_SCHED_SCAN_MATCH_ATTR_RSSI,\n +\tNL80211_SCHED_SCAN_MATCH_ATTR_RELATIVE_RSSI,\n +\tNL80211_SCHED_SCAN_MATCH_ATTR_RSSI_ADJUST,\n++\tNL80211_SCHED_SCAN_MATCH_ATTR_BSSID,\n  \n  \t/* keep last */\n  \t__NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST,\n-@@ -3660,6 +3752,9 @@ enum nl80211_bss_status {\n+@@ -3660,6 +3908,9 @@ enum nl80211_bss_status {\n   * @NL80211_AUTHTYPE_FT: Fast BSS Transition (IEEE 802.11r)\n   * @NL80211_AUTHTYPE_NETWORK_EAP: Network EAP (some Cisco APs and mainly LEAP)\n   * @NL80211_AUTHTYPE_SAE: Simultaneous authentication of equals\n@@ -203,7 +475,7 @@\n   * @__NL80211_AUTHTYPE_NUM: internal\n   * @NL80211_AUTHTYPE_MAX: maximum valid auth algorithm\n   * @NL80211_AUTHTYPE_AUTOMATIC: determine automatically (if necessary by\n-@@ -3672,6 +3767,9 @@ enum nl80211_auth_type {\n+@@ -3672,6 +3923,9 @@ enum nl80211_auth_type {\n  \tNL80211_AUTHTYPE_FT,\n  \tNL80211_AUTHTYPE_NETWORK_EAP,\n  \tNL80211_AUTHTYPE_SAE,\n@@ -213,7 +485,36 @@\n  \n  \t/* keep last */\n  \t__NL80211_AUTHTYPE_NUM,\n-@@ -4280,6 +4378,9 @@ enum nl80211_iface_limit_attrs {\n+@@ -3839,7 +4093,10 @@ enum nl80211_ps_state {\n+  * @__NL80211_ATTR_CQM_INVALID: invalid\n+  * @NL80211_ATTR_CQM_RSSI_THOLD: RSSI threshold in dBm. This value specifies\n+  *\tthe threshold for the RSSI level at which an event will be sent. Zero\n+- *\tto disable.\n++ *\tto disable.  Alternatively, if %NL80211_EXT_FEATURE_CQM_RSSI_LIST is\n++ *\tset, multiple values can be supplied as a low-to-high sorted array of\n++ *\tthreshold values in dBm.  Events will be sent when the RSSI value\n++ *\tcrosses any of the thresholds.\n+  * @NL80211_ATTR_CQM_RSSI_HYST: RSSI hysteresis in dBm. This value specifies\n+  *\tthe minimum amount the RSSI level must change after an event before a\n+  *\tnew event may be issued (to reduce effects of RSSI oscillation).\n+@@ -3859,6 +4116,8 @@ enum nl80211_ps_state {\n+  *\t%NL80211_CMD_NOTIFY_CQM. Set to 0 to turn off TX error reporting.\n+  * @NL80211_ATTR_CQM_BEACON_LOSS_EVENT: flag attribute that's set in a beacon\n+  *\tloss event\n++ * @NL80211_ATTR_CQM_RSSI_LEVEL: the RSSI value in dBm that triggered the\n++ *\tRSSI threshold event.\n+  * @__NL80211_ATTR_CQM_AFTER_LAST: internal\n+  * @NL80211_ATTR_CQM_MAX: highest key attribute\n+  */\n+@@ -3872,6 +4131,7 @@ enum nl80211_attr_cqm {\n+ \tNL80211_ATTR_CQM_TXE_PKTS,\n+ \tNL80211_ATTR_CQM_TXE_INTVL,\n+ \tNL80211_ATTR_CQM_BEACON_LOSS_EVENT,\n++\tNL80211_ATTR_CQM_RSSI_LEVEL,\n+ \n+ \t/* keep last */\n+ \t__NL80211_ATTR_CQM_AFTER_LAST,\n+@@ -4280,6 +4540,9 @@ enum nl80211_iface_limit_attrs {\n   *\tof supported channel widths for radar detection.\n   * @NL80211_IFACE_COMB_RADAR_DETECT_REGIONS: u32 attribute containing the bitmap\n   *\tof supported regulatory regions for radar detection.\n@@ -223,7 +524,7 @@\n   * @NUM_NL80211_IFACE_COMB: number of attributes\n   * @MAX_NL80211_IFACE_COMB: highest attribute number\n   *\n-@@ -4287,8 +4388,8 @@ enum nl80211_iface_limit_attrs {\n+@@ -4287,8 +4550,8 @@ enum nl80211_iface_limit_attrs {\n   *\tlimits = [ #{STA} <= 1, #{AP} <= 1 ], matching BI, channels = 1, max = 2\n   *\t=> allows an AP and a STA that must match BIs\n   *\n@@ -234,7 +535,7 @@\n   *\n   *\tnumbers = [ #{STA} <= 2 ], channels = 2, max = 2\n   *\t=> allows two STAs on different channels\n-@@ -4314,6 +4415,7 @@ enum nl80211_if_combination_attrs {\n+@@ -4314,6 +4577,7 @@ enum nl80211_if_combination_attrs {\n  \tNL80211_IFACE_COMB_NUM_CHANNELS,\n  \tNL80211_IFACE_COMB_RADAR_DETECT_WIDTHS,\n  \tNL80211_IFACE_COMB_RADAR_DETECT_REGIONS,\n@@ -242,7 +543,7 @@\n  \n  \t/* keep last */\n  \tNUM_NL80211_IFACE_COMB,\n-@@ -4634,6 +4736,15 @@ enum nl80211_feature_flags {\n+@@ -4634,6 +4898,27 @@ enum nl80211_feature_flags {\n   *\tconfiguration (AP/mesh) with HT rates.\n   * @NL80211_EXT_FEATURE_BEACON_RATE_VHT: Driver supports beacon rate\n   *\tconfiguration (AP/mesh) with VHT rates.\n@@ -255,10 +556,22 @@\n + * @NL80211_EXT_FEATURE_SCHED_SCAN_RELATIVE_RSSI: The driver supports sched_scan\n + *\tfor reporting BSSs with better RSSI than the current connected BSS\n + *\t(%NL80211_ATTR_SCHED_SCAN_RELATIVE_RSSI).\n++ * @NL80211_EXT_FEATURE_CQM_RSSI_LIST: With this driver the\n++ *\t%NL80211_ATTR_CQM_RSSI_THOLD attribute accepts a list of zero or more\n++ *\tRSSI threshold values to monitor rather than exactly one threshold.\n++ * @NL80211_EXT_FEATURE_FILS_SK_OFFLOAD: Driver SME supports FILS shared key\n++ *\tauthentication with %NL80211_CMD_CONNECT.\n++ * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK: Device wants to do 4-way\n++ *\thandshake with PSK in station mode (PSK is passed as part of the connect\n++ *\tand associate commands), doing it in the host might not be supported.\n++ * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X: Device wants to do doing 4-way\n++ *\thandshake with 802.1X in station mode (will pass EAP frames to the host\n++ *\tand accept the set_pmk/del_pmk commands), doing it in the host might not\n++ *\tbe supported.\n   *\n   * @NUM_NL80211_EXT_FEATURES: number of extended features.\n   * @MAX_NL80211_EXT_FEATURES: highest extended feature index.\n-@@ -4648,6 +4759,10 @@ enum nl80211_ext_feature_index {\n+@@ -4648,6 +4933,14 @@ enum nl80211_ext_feature_index {\n  \tNL80211_EXT_FEATURE_BEACON_RATE_LEGACY,\n  \tNL80211_EXT_FEATURE_BEACON_RATE_HT,\n  \tNL80211_EXT_FEATURE_BEACON_RATE_VHT,\n@@ -266,10 +579,14 @@\n +\tNL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA,\n +\tNL80211_EXT_FEATURE_MGMT_TX_RANDOM_TA_CONNECTED,\n +\tNL80211_EXT_FEATURE_SCHED_SCAN_RELATIVE_RSSI,\n++\tNL80211_EXT_FEATURE_CQM_RSSI_LIST,\n++\tNL80211_EXT_FEATURE_FILS_SK_OFFLOAD,\n++\tNL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK,\n++\tNL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X,\n  \n  \t/* add new features before the definition below */\n  \tNUM_NL80211_EXT_FEATURES,\n-@@ -4687,6 +4802,21 @@ enum nl80211_connect_failed_reason {\n+@@ -4687,6 +4980,21 @@ enum nl80211_connect_failed_reason {\n  };\n  \n  /**\n@@ -291,7 +608,25 @@\n   * enum nl80211_scan_flags -  scan request control flags\n   *\n   * Scan request control flags are used to control the handling\n-@@ -4900,8 +5030,9 @@ enum nl80211_sched_scan_plan {\n+@@ -4768,12 +5076,17 @@ enum nl80211_smps_mode {\n+  *\tchange to the channel status.\n+  * @NL80211_RADAR_NOP_FINISHED: The Non-Occupancy Period for this channel is\n+  *\tover, channel becomes usable.\n++ * @NL80211_RADAR_PRE_CAC_EXPIRED: Channel Availability Check done on this\n++ *\tnon-operating channel is expired and no longer valid. New CAC must\n++ *\tbe done on this channel before starting the operation. This is not\n++ *\tapplicable for ETSI dfs domain where pre-CAC is valid for ever.\n+  */\n+ enum nl80211_radar_event {\n+ \tNL80211_RADAR_DETECTED,\n+ \tNL80211_RADAR_CAC_FINISHED,\n+ \tNL80211_RADAR_CAC_ABORTED,\n+ \tNL80211_RADAR_NOP_FINISHED,\n++\tNL80211_RADAR_PRE_CAC_EXPIRED,\n+ };\n+ \n+ /**\n+@@ -4900,8 +5213,9 @@ enum nl80211_sched_scan_plan {\n  /**\n   * struct nl80211_bss_select_rssi_adjust - RSSI adjustment parameters.\n   *\n@@ -303,3 +638,25 @@\n   */\n  struct nl80211_bss_select_rssi_adjust {\n  \t__u8 band;\n+@@ -4942,21 +5256,6 @@ enum nl80211_bss_select_attr {\n+ };\n+ \n+ /**\n+- * enum nl80211_nan_dual_band_conf - NAN dual band configuration\n+- *\n+- * Defines the NAN dual band mode of operation\n+- *\n+- * @NL80211_NAN_BAND_DEFAULT: device default mode\n+- * @NL80211_NAN_BAND_2GHZ: 2.4GHz mode\n+- * @NL80211_NAN_BAND_5GHZ: 5GHz mode\n+-  */\n+-enum nl80211_nan_dual_band_conf {\n+-\tNL80211_NAN_BAND_DEFAULT\t= 1 << 0,\n+-\tNL80211_NAN_BAND_2GHZ\t\t= 1 << 1,\n+-\tNL80211_NAN_BAND_5GHZ\t\t= 1 << 2,\n+-};\n+-\n+-/**\n+  * enum nl80211_nan_function_type - NAN function type\n+  *\n+  * Defines the function type of a NAN function\n",
    "prefixes": [
        "LEDE-DEV",
        "RFC",
        "4/4"
    ]
}