Lines Matching +full:attribute +full:- +full:set
6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
13 * Copyright 2015-2017 Intel Deutschland GmbH
14 * Copyright (C) 2018-2023 Intel Corporation
32 * be careful not to break things - i.e. don't move anything around or so
74 * - a setup station entry is added, not yet authorized, without any rate
76 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid
79 * - %NL80211_TDLS_ENABLE_LINK is then used
80 * - after this, the only valid operation is to remove it by tearing down
95 * Frame registration is done on a per-interface basis and registrations
132 * the %NL80211_ATTR_SUPPORTED_IFTYPES attribute, but by listing the
137 * software, like the AP-VLAN type in mac80211 for example, there's
139 * are only restricted by some semantic restrictions (e.g. AP-VLAN
141 * is exported in the %NL80211_ATTR_SOFTWARE_IFTYPES attribute.
144 * in the %NL80211_ATTR_INTERFACE_COMBINATIONS attribute. Basically,
168 * a) Expiration of hardware timer whose expiration time is set to maximum
193 * set by drivers indicating offload support of the PTK/GTK EAPOL
196 * %NL80211_ATTR_WANT_1X_4WAY_HS attribute flag. Drivers supporting this
197 * offload may reject the %NL80211_CMD_CONNECT when the attribute flag is
208 * For 802.1X the PMK or PMK-R0 are set by providing %NL80211_ATTR_PMK
223 * %NL80211_ATTR_FILS_ERP_USERNAME - used to construct keyname_nai
224 * %NL80211_ATTR_FILS_ERP_REALM - used to construct keyname_nai
225 * %NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM - used to construct erp message
226 * %NL80211_ATTR_FILS_ERP_RRK - used to generate the rIK and rMSK
235 * %NL80211_ATTR_FILS_KEK - used for key renewal
236 * %NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM - used in further EAP-RP exchanges
237 * %NL80211_ATTR_PMKID - used to identify the PMKSA used/generated
238 * %Nl80211_ATTR_PMK - used to update PMKSA cache in userspace
255 * support offloading SAE authentication for WPA3-Personal networks in station
256 * mode. Similarly @NL80211_EXT_FEATURE_SAE_OFFLOAD_AP flag can be set by
269 * single netdev that uses VLAN tagged frames and separate VLAN-specific netdevs
284 * attribute given in wiphy capabilities.
294 * the %NL80211_TID_CONFIG_ATTR_OVERRIDE flag is set, peer specific values
318 * %NL80211_ATTR_MAC - STA MAC address, used for storing FILS AAD per STA
319 * %NL80211_ATTR_FILS_KEK - Used for encryption or decryption
320 * %NL80211_ATTR_FILS_NONCES - Used for encryption or decryption
327 * DOC: Multi-Link Operation
329 * In Multi-Link Operation, a connection between to MLDs utilizes multiple
331 * to or will include the new %NL80211_ATTR_MLO_LINKS attribute.
333 * now need to be given the %NL80211_ATTR_MLO_LINK_ID attribute, e.g. to
338 * enum nl80211_commands - supported nl80211 commands
344 * @NL80211_CMD_SET_WIPHY: set wiphy parameters, needs %NL80211_ATTR_WIPHY or
345 * %NL80211_ATTR_IFINDEX; can be used to set %NL80211_ATTR_WIPHY_NAME,
363 * @NL80211_CMD_SET_INTERFACE: Set type of a virtual interface, requires
374 * attribute %NL80211_ATTR_IFINDEX. If multiple BSSID advertisements are
377 * the non-transmitting interfaces are deleted as well.
383 * @NL80211_CMD_SET_KEY: Set key attributes %NL80211_ATTR_KEY_DEFAULT,
385 * For MLO connection, the link to set default key is identified by
412 * The channel to use can be set on the interface or be given using the
421 * @NL80211_CMD_SET_STATION: Set station attributes for station identified by
437 * @NL80211_CMD_SET_MPATH: Set mesh path attributes for mesh path to
449 * @NL80211_CMD_SET_BSS: Set BSS attributes for BSS identified by
452 * @NL80211_CMD_GET_REG: ask the wireless core to send us its currently set
462 * If a wiphy is self-managed (%NL80211_ATTR_WIPHY_SELF_MANAGED_REG), then
465 * @NL80211_CMD_SET_REG: Set current regulatory domain. CRDA sends this command
467 * domain structure which consists of %NL80211_ATTR_REG_ALPHA set to our
469 * NL80211_ATTR_REG_RULE_FLAGS, and a set of regulatory rules. Each
470 * regulatory rule is a nested set of attributes given by
475 * @NL80211_CMD_REQ_SET_REG: ask the wireless core to set the regulatory domain
476 * to the specified ISO/IEC 3166-1 alpha2 country code. The core will
482 * @NL80211_CMD_SET_MESH_CONFIG: Set mesh networking properties for the
485 * @NL80211_CMD_SET_MGMT_EXTRA_IE: Set extra IEs for management frames. The
493 * point to avoid re-using existing command number. The functionality this
528 * using the %NL80211_ATTR_IE attribute. The first cycle of the
531 * scans, it will allow such when the caller provides the flag attribute
532 * %NL80211_ATTR_SCHED_SCAN_MULTI to indicate user-space support for it.
533 * @NL80211_CMD_STOP_SCHED_SCAN: stop a scheduled scan. Returns -ENOENT if
572 * set (%NL80211_ATTR_REG_TYPE), if the type of regulatory domain is
579 * if you are world roaming (regulatory domain set to world or if your
584 * never be used for channels 1-11 on the 2 GHz band as they are always
609 * state. This is similar to MLME-AUTHENTICATE.confirm primitive in the
611 * included %NL80211_ATTR_FRAME attribute contains the management frame
614 * case the %NL80211_ATTR_FRAME attribute is replaced with a
619 * (similar to MLME-ASSOCIATE.request, MLME-REASSOCIATE.request,
620 * MLME-ASSOCIATE.confirm or MLME-REASSOCIATE.confirm primitives). The
621 * %NL80211_ATTR_PREV_BSSID attribute is used to specify whether the
622 * request is for the initial association to an ESS (that attribute not
623 * included) or for reassociation within the ESS (that attribute is
627 * MLME-DEAUTHENTICATION.request and MLME-DEAUTHENTICATE.indication
631 * MLME-DISASSOCIATE.request and MLME-DISASSOCIATE.indication primitives).
639 * event matches with MLME-MICHAELMICFAILURE.indication() primitive
641 * @NL80211_CMD_JOIN_IBSS: Join a new IBSS -- given at least an SSID and a
642 * FREQ attribute (for the initial frequency if no peer can be found)
643 * and optionally a MAC (as BSSID) and FREQ_FIXED attribute if those
647 * given in the %NL80211_ATTR_BEACON_INTERVAL attribute, which if not
649 * @NL80211_CMD_LEAVE_IBSS: Leave the IBSS -- no special arguments, the IBSS is
652 * @NL80211_CMD_TESTMODE: testmode command, takes a wiphy (or ifindex) attribute
653 * to identify the device, and the TESTDATA blob attribute to pass through
659 * %NL80211_ATTR_SSID attribute, and can optionally specify the association
673 * set of BSSID,frequency parameters is used (i.e., either the enforcing
691 * This attribute is ignored if driver does not support roam scan.
694 * determined by the %NL80211_ATTR_STATUS_CODE attribute (0 = success,
695 * non-zero = failure). If %NL80211_ATTR_TIMED_OUT is included in the
698 * Non-zero %NL80211_ATTR_STATUS_CODE value is indicated in that case as
712 * @NL80211_CMD_SET_WIPHY_NETNS: Set a wiphy's netns. Note that all devices
717 * off-channel operations like transmit a Public Action frame and wait for
731 * pending remain-on-channel duration if the desired operation has been
734 * radio. The %NL80211_ATTR_COOKIE attribute must be given as well to
737 * remain-on-channel duration has expired.
739 * @NL80211_CMD_SET_TX_BITRATE_MASK: Set the mask of rates to be used in TX
741 * and @NL80211_ATTR_TX_RATES the set of allowed rates.
745 * requires an interface index, a frame type attribute (optional for
747 * and a match attribute containing the first few bytes of the frame
752 * The %NL80211_ATTR_RECEIVE_MULTICAST flag attribute can be given if
765 * received. If this channel is not the current channel (remain-on-channel
774 * counters which will be updated to the current value. This attribute
783 * @NL80211_CMD_FRAME_WAIT_CANCEL: When an off-channel TX was requested, this
786 * also sent as an event whenever the driver has completed the off-channel
799 * @NL80211_CMD_SET_POWER_SAVE: Set powersave, using %NL80211_ATTR_PS_STATE
808 * @NL80211_CMD_SET_CHANNEL: Set the channel (using %NL80211_ATTR_WIPHY_FREQ
812 * with which it switches channels is implementation-defined.
818 * @NL80211_CMD_SET_WDS_PEER: Set the MAC address of the peer on a WDS interface
837 * @NL80211_CMD_LEAVE_MESH: Leave the mesh network -- no special arguments, the
852 * @NL80211_MESH_SETUP_USERSPACE_MPM is set. On reception of this
859 * @NL80211_CMD_GET_WOWLAN: get Wake-on-Wireless-LAN (WoWLAN) settings.
860 * @NL80211_CMD_SET_WOWLAN: set Wake-on-Wireless-LAN (WoWLAN) settings.
863 * command with the %NL80211_ATTR_WOWLAN_TRIGGERS attribute. For
868 * @NL80211_ATTR_WOWLAN_TRIGGERS attribute will contain the reason
877 * contains the data in sub-attributes). After rekeying happened,
884 * @NL80211_CMD_TDLS_OPER: Perform a high-level TDLS command (e.g. link setup).
886 * actions on TDLS links (set up a new link or tear down an existing one).
892 * %NL80211_ATTR_TDLS_ACTION attribute determines the type of frame to be
893 * sent. Public Action codes (802.11-2012 8.1.5.1) will be sent as
894 * 802.11 management frames, while TDLS action codes (802.11-2012
905 * For the event, the %NL80211_ATTR_MAC attribute carries the TA and
913 * and wasn't already in a 4-addr VLAN. The event will be sent similarly
922 * has %NL80211_ATTR_ACK set if the frame was ACKed.
936 * sent when a remotely-initiated switch (e.g., when a STA receives a CSA
951 * P2P Device can be used for P2P operations, e.g. remain-on-channel and
986 * @NL80211_CMD_UPDATE_FT_IES: Pass down the most up-to-date Fast Transition
994 * @NL80211_CMD_CRIT_PROTOCOL_START: Indicates user-space will start running
1005 * new channel information (Channel Switch Announcement - CSA)
1014 * @NL80211_CMD_VENDOR: Vendor-specified command/event. The command is specified
1015 * by the %NL80211_ATTR_VENDOR_ID attribute and a sub-command in
1018 * For feature advertisement, the %NL80211_ATTR_VENDOR_DATA attribute is
1019 * used in the wiphy data as a nested attribute containing descriptions
1023 * @NL80211_CMD_SET_QOS_MAP: Set Interworking QoS mapping for IP DSCP values.
1025 * that attribute is not included, QoS mapping is disabled. Since this
1035 * If the admitted time attribute is not added then the request just checks
1051 * @NL80211_CMD_LEAVE_OCB: Leave the OCB network -- no special arguments, the
1054 * @NL80211_CMD_TDLS_CHANNEL_SWITCH: Start channel-switching with a TDLS peer,
1059 * The driver is responsible for continually initiating channel-switching
1062 * @NL80211_CMD_TDLS_CANCEL_CHANNEL_SWITCH: Stop channel-switching with a TDLS
1067 * as an event to indicate changes for devices with wiphy-specific regdom
1070 * @NL80211_CMD_ABORT_SCAN: Stop an ongoing scan. Returns -ENOENT if a scan is
1079 * %NL80211_ATTR_NAN_MASTER_PREF attribute and optional
1081 * omitted or set to 0, it means don't-care and the device will
1087 * with %NL80211_ATTR_NAN_FUNC nested attribute. When called, this
1091 * Since instance ID's can be re-used, this cookie is the right
1110 * set to zero, the configuration is changed to don't-care
1113 * This will contain a %NL80211_ATTR_NAN_MATCH nested attribute and
1122 * @NL80211_CMD_SET_PMK: For offloaded 4-Way handshake, set the PMK or PMK-R0
1124 * When %NL80211_ATTR_PMKR0_NAME is set, %NL80211_ATTR_PMK specifies the
1125 * PMK-R0, otherwise it specifies the PMK.
1126 * @NL80211_CMD_DEL_PMK: For offloaded 4-Way handshake, delete the previously
1144 * the link to transmit on and the source address will be set to the link
1167 * %NL80211_ATTR_STATUS_CODE attribute in %NL80211_CMD_EXTERNAL_AUTH
1197 * the %NL80211_ATTR_FTM_RESPONDER_STATS attribute.
1199 * @NL80211_CMD_PEER_MEASUREMENT_START: start a (set of) peer measurement(s)
1201 * %NL80211_ATTR_PEER_MEASUREMENTS attribute. Optionally, MAC address
1204 * If a timeout is requested, use the %NL80211_ATTR_TIMEOUT attribute.
1244 * Here attribute %NL80211_ATTR_MAC is used to specify connected mesh
1249 * is passed using %NL80211_ATTR_TID_CONFIG attribute.
1281 * @NL80211_CMD_SET_FILS_AAD: Set FILS AAD data to the driver using -
1282 * &NL80211_ATTR_MAC - for STA MAC address
1283 * &NL80211_ATTR_FILS_KEK - for KEK
1284 * &NL80211_ATTR_FILS_NONCES - for FILS Nonces
1293 * %NL80211_ATTR_MLO_LINK_ID attribute is used for the new link.
1296 * in preparation for e.g. roaming to a regular (non-MLO) AP.
1314 * Multi-Link reconfiguration. %NL80211_ATTR_MLO_LINKS is used to provide
1576 NL80211_CMD_MAX = __NL80211_CMD_AFTER_LAST - 1
1594 /* source-level API compatibility */
1600 * enum nl80211_attrs - nl80211 netlink attributes
1602 * @NL80211_ATTR_UNSPEC: unspecified attribute to catch errors
1610 * %NL80211_ATTR_WIPHY_CHANNEL_TYPE attribute or the attributes
1613 * @NL80211_ATTR_CHANNEL_WIDTH: u32 attribute containing one of the values
1624 * this attribute)
1628 * This attribute is now deprecated.
1637 * fragmentation with (u32)-1; dot11FragmentationThreshold; u32
1640 * 0..65536, disable with (u32)-1; dot11RTSThreshold; u32
1648 * @NL80211_ATTR_WDEV: wireless device identifier, used for pseudo-devices
1656 * @NL80211_ATTR_KEY_IDX: key ID (u8, 0-3)
1661 * @NL80211_ATTR_KEY_DEFAULT: Flag attribute indicating the key is default key
1662 * @NL80211_ATTR_KEY_DEFAULT_MGMT: Flag attribute indicating the key is the
1685 * given for %NL80211_CMD_GET_STATION, nested attribute containing
1691 * @NL80211_ATTR_MESH_ID: mesh id (1-32 bytes).
1696 * info given for %NL80211_CMD_GET_MPATH, nested attribute described at
1702 * @NL80211_ATTR_REG_ALPHA2: an ISO-3166-alpha2 country code for which the
1703 * current regulatory domain should be set to or is already set to.
1704 * For example, 'CR', for Costa Rica. This attribute is used by the kernel
1705 * to query the CRDA to retrieve one regulatory domain. This attribute can
1706 * also be used by userspace to query the kernel for the currently set
1708 * IEEE-802.11 country information element to identify a country.
1709 * Users can also simply ask the wireless core to set regulatory domain
1726 * @NL80211_ATTR_SUPPORTED_IFTYPES: nested attribute containing all
1727 * supported interface types, each a flag attribute with the number
1737 * a single scan request, a wiphy attribute.
1739 * scan with a single scheduled scan request, a wiphy attribute.
1745 * used with @NL80211_ATTR_SCHED_SCAN_MATCH, a wiphy attribute.
1747 * @NL80211_ATTR_SCAN_FREQUENCIES: nested attribute with frequencies (in MHz)
1748 * @NL80211_ATTR_SCAN_SSIDS: nested attribute with SSIDs, leave out for passive
1749 * scanning and include a zero-length SSID (wildcard) for wildcard scan
1755 * set. This can be one of the nl80211_reg_type (%NL80211_REGDOM_TYPE_*)
1757 * @NL80211_ATTR_SUPPORTED_COMMANDS: wiphy attribute that specifies
1761 * @NL80211_ATTR_FRAME: frame data (binary attribute), including frame header
1764 * @NL80211_ATTR_SSID: SSID (binary attribute, 0..32 octets)
1774 * due to considerations from a beacon hint. This attribute reflects
1776 * attributes consists of a nested attribute containing
1779 * due to considerations from a beacon hint. This attribute reflects
1781 * attributes consists of a nested attribute containing
1784 * @NL80211_ATTR_CIPHER_SUITES: a set of u32 values indicating the supported
1795 * this attribute can be used with %NL80211_CMD_ASSOCIATE and
1802 * @NL80211_ATTR_STA_FLAGS2: Attribute containing a
1811 * @NL80211_ATTR_CONTROL_PORT_ETHERTYPE: A 16-bit value indicating the
1815 * attribute is also used as a flag in the wiphy information to
1823 * socket. If this attribute is missing, then legacy behavior of sending
1828 * flag. When used with %NL80211_ATTR_CONTROL_PORT_NO_PREAUTH, pre-auth
1832 * We recommend using nested, driver-specific attributes within this.
1839 * @NL80211_ATTR_PRIVACY: Flag attribute, used with connect(), indicating
1854 * This attribute is also sent in response to @NL80211_CMD_GET_WIPHY,
1868 * Reassociate Request frame (with the value of this attribute in the
1872 * @NL80211_ATTR_KEY: key information in a nested attribute with
1873 * %NL80211_KEY_* sub-attributes
1875 * and join_ibss(), key information is in a nested attribute each
1876 * with %NL80211_KEY_* sub-attributes
1888 * @NL80211_ATTR_4ADDR: Use 4-address frames on a virtual interface
1891 * the survey response for %NL80211_CMD_GET_SURVEY, nested attribute
1896 * cache, a wiphy attribute.
1899 * @NL80211_ATTR_MAX_REMAIN_ON_CHANNEL_DURATION: Device attribute that
1901 * remain-on-channel operation, in milliseconds, u32.
1903 * @NL80211_ATTR_COOKIE: Generic 64-bit cookie to identify objects.
1905 * @NL80211_ATTR_TX_RATES: Nested set of attributes
1909 * rates based on negotiated supported rates information. This attribute
1919 * @NL80211_ATTR_FRAME_MATCH: A binary attribute which typically must contain
1923 * @NL80211_ATTR_TX_FRAME_TYPES: wiphy capability attribute, which is a
1924 * nested attribute of %NL80211_ATTR_FRAME_TYPE attributes, containing
1927 * @NL80211_ATTR_RX_FRAME_TYPES: wiphy capability attribute, which is a
1928 * nested attribute of %NL80211_ATTR_FRAME_TYPE attributes, containing
1931 * @NL80211_ATTR_ACK: Flag attribute indicating that the frame was
1937 * nested attribute with %NL80211_ATTR_CQM_* sub-attributes.
1939 * @NL80211_ATTR_LOCAL_STATE_CHANGE: Flag attribute to indicate that a command
1952 * for non-automatic settings.
1955 * means support for per-station GTKs.
1969 * Non-802.11n drivers can derive wether to use diversity or not.
1971 * support by returning -EINVAL.
1990 * flag isn't set, the frame will be rejected. This is also used as an
1995 * @NL80211_ATTR_KEY_DEFAULT_TYPES: A nested attribute containing flags
1996 * attributes, specifying what a key should be set as default as.
2001 * @NL80211_ATTR_MESH_CONFIG: Mesh configuration parameters, a nested attribute
2021 * @NL80211_ATTR_SCHED_SCAN_MATCH: Nested attribute with one or more
2024 * pass-thru filter rules.
2026 * set. Since not every hardware supports matching all types of
2030 * Thus, the implementation is somewhat hardware-dependent, but
2032 * needs to handle all the non-filtered results anyway.
2036 * will never let it go through), -EINVAL may be returned.
2039 * @NL80211_ATTR_INTERFACE_COMBINATIONS: Nested attribute listing the supported
2042 * @NL80211_ATTR_SOFTWARE_IFTYPES: Nested attribute (just like
2047 * @NL80211_ATTR_REKEY_DATA: nested attribute containing the information
2051 * nested array attribute containing an entry for each band, with the entry
2069 * @NL80211_ATTR_STA_WME: Nested attribute containing the wme configuration
2077 * @NL80211_ATTR_PMKSA_CANDIDATE: Nested attribute containing the PMKSA caching
2083 * applications use this attribute.
2084 * This attribute is used with %NL80211_CMD_TRIGGER_SCAN and
2090 * @NL80211_ATTR_TDLS_DIALOG_TOKEN: Non-zero token for uniquely identifying a
2101 * @NL80211_ATTR_DEVICE_AP_SME: This u32 attribute may be listed for devices
2103 * with support for the features listed in this attribute, see
2111 * @NL80211_ATTR_FEATURE_FLAGS: This u32 attribute contains flags from
2114 * requests while operating in AP-mode.
2115 * This attribute holds a bitmap of the supported protocols for
2119 * probe-response frame. The DA field in the 802.11 header is zero-ed out,
2122 * this feature during association. This is a flag attribute.
2125 * this feature during association. This is a flag attribute.
2128 * this feature during association. This is a flag attribute.
2134 * MCS rates, MAX-AMSDU, HT-20-40 and HT_CAP_SGI_40
2153 * @NL80211_ATTR_RX_SIGNAL_DBM: signal strength in dBm (as a 32-bit int);
2154 * this attribute is (depending on the driver capabilities) added to
2162 * a user. If set code could specify exactly what type of source
2171 * This contains the authentication frame body (non-IE and IE data),
2177 * Status code). However, those fields are included in the attribute data
2178 * for all authentication algorithms to keep the attribute definition
2193 * @NL80211_ATTR_LOCAL_MESH_POWER_MODE: local mesh STA link-specific power mode
2197 * carried in a u32 attribute
2202 * @NL80211_ATTR_MAC_ACL_MAX: u32 attribute to advertise the maximum
2211 * 802.11-2012 8.4.2.29 for more information.
2213 * has set in the %NL80211_ATTR_EXT_CAPA value, for multibit fields.
2216 * the driver, e.g., to enable TDLS power save (PU-APSD).
2220 * and PU-APSD.
2223 * &enum nl80211_protocol_features, the attribute is a u32.
2225 * @NL80211_ATTR_SPLIT_WIPHY_DUMP: flag attribute, userspace supports
2246 * @NL80211_ATTR_CH_SWITCH_COUNT: u32 attribute specifying the number of TBTT's
2248 * @NL80211_ATTR_CH_SWITCH_BLOCK_TX: flag attribute specifying that transmission
2252 * @NL80211_ATTR_CSA_IES: Nested set of attributes containing the IE information
2283 * u8 attribute.
2285 * @NL80211_ATTR_VENDOR_ID: The vendor ID, either a 24-bit OUI or, if
2286 * %NL80211_VENDOR_ID_IS_LINUX is set, a special Linux ID (not used yet)
2287 * @NL80211_ATTR_VENDOR_SUBCMD: vendor sub-command
2289 * attribute is also used for vendor command feature advertisement
2294 * data is in the format defined for the payload of the QoS Map Set element
2295 * in IEEE Std 802.11-2012, 8.4.2.97.
2300 * @NL80211_ATTR_MAX_AP_ASSOC_STA: Device attribute that indicates how many
2309 * @NL80211_ATTR_MAX_CSA_COUNTERS: U8 attribute used to advertise the maximum
2315 * @NL80211_ATTR_SOCKET_OWNER: Flag attribute, if set during interface
2318 * If set during scheduled scan start then the new scan req will be
2321 * If set during configuration of regulatory indoor operation then the
2325 * If set during NAN interface creation, the interface will be destroyed
2328 * attribute, the notifications will be sent to the %NL80211_MCGRP_NAN
2330 * If set during %NL80211_CMD_ASSOCIATE or %NL80211_CMD_CONNECT the
2332 * If set during %NL80211_CMD_JOIN_IBSS the IBSS will be automatically
2334 * If set during %NL80211_CMD_JOIN_MESH the mesh setup will be
2336 * If set during %NL80211_CMD_START_AP the AP will be automatically
2339 * @NL80211_ATTR_TDLS_INITIATOR: flag attribute indicating the current end is
2343 * shall support Radio Resource Measurements (11k). This attribute can be
2352 * association request. In addition, it must also set the RRM capability
2355 * @NL80211_ATTR_WIPHY_DYN_ACK: flag attribute used to enable ACK timeout
2357 * %NL80211_FEATURE_ACKTO_ESTIMATION feature flag must be set by lower
2361 * @NL80211_ATTR_TSID: a TSID value (u8 attribute)
2362 * @NL80211_ATTR_USER_PRIO: user priority value (u8 attribute)
2364 * (per second) (u16 attribute)
2373 * @NL80211_ATTR_WIPHY_SELF_MANAGED_REG: flag attribute indicating this device
2374 * is self-managing its regulatory information and any regulatory domain
2381 * least-significant bit of the first byte in the array, ie. bit index 0
2386 * returned along with other survey data. If set, @NL80211_CMD_GET_SURVEY
2395 * net-detect scan is started, counting from the moment the
2398 * @NL80211_ATTR_REG_INDOOR: flag attribute, if set indicates that the device
2402 * scheduled scan supported by the device (u32), a wiphy attribute.
2404 * a scan plan (u32), a wiphy attribute.
2406 * a scan plan (u32), a wiphy attribute.
2412 * Each scan plan is a nested attribute of &enum nl80211_sched_scan_plan.
2413 * @NL80211_ATTR_PBSS: flag attribute. If set it means operate
2417 * @NL80211_ATTR_BSS_SELECT: nested attribute for driver supporting the
2421 * it contains the behaviour-specific attribute containing the parameters for
2427 * @NL80211_ATTR_PAD: attribute used for padding for 64-bit alignment
2429 * @NL80211_ATTR_IFTYPE_EXT_CAPA: Nested attribute of the following attributes:
2432 * other interface-type specific capabilities per interface type. For MLO,
2436 * @NL80211_ATTR_MU_MIMO_GROUP_DATA: array of 24 bytes that defines a MU-MIMO
2440 * each bit represents a group and set to 1 for being a member in
2446 * This attribute is used only if all interfaces are in monitor mode.
2447 * Set this attribute in order to monitor packets using the given MU-MIMO
2449 * to turn off that feature set all the bits of the groupID to zero.
2451 * when using MU-MIMO air sniffer.
2452 * to turn that feature off set an invalid mac address
2458 * attribute must not be included).
2460 * %NL80211_ATTR_SCAN_START_TIME_TSF is set.
2462 * %NL80211_ATTR_MEASUREMENT_DURATION_MANDATORY is not set, this is the
2463 * maximum measurement duration allowed. This attribute is used with
2466 * @NL80211_ATTR_MEASUREMENT_DURATION_MANDATORY: flag attribute that indicates
2468 * mandatory. If this flag is not set, the duration is the maximum duration
2482 * would be set. This attribute is used with
2484 * it is optional. If no bands are set, it means don't-care and
2488 * attribute.
2489 * @NL80211_ATTR_NAN_MATCH: used to report a match. This is a nested attribute.
2494 * Request/Response frame protection. This attribute contains the 16 octet
2498 * packets should be send out as unicast to all stations (flag attribute).
2514 * better BSSs. The attribute value is a packed structure
2518 * u32 attribute with an &enum nl80211_timeout_reason value. This is used,
2521 * @NL80211_ATTR_FILS_ERP_USERNAME: EAP Re-authentication Protocol (ERP)
2525 * @NL80211_ATTR_FILS_ERP_REALM: EAP Re-authentication Protocol (ERP) realm part
2529 * @NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM: Unsigned 16-bit ERP next sequence number
2533 * @NL80211_ATTR_FILS_ERP_RRK: ERP re-authentication Root Key (rRK) for the
2539 * @NL80211_ATTR_FILS_CACHE_ID: A 2-octet identifier advertized by a FILS AP
2543 * @NL80211_ATTR_PMK: attribute for passing PMK key material. Used with
2546 * PSK for offloading 4-way handshake for WPA/WPA2-PSK networks. For 802.1X
2548 * support this attribute specifies the PMK-R0 if NL80211_ATTR_PMKR0_NAME
2551 * @NL80211_ATTR_SCHED_SCAN_MULTI: flag attribute which user-space shall use to
2556 * @NL80211_ATTR_WANT_1X_4WAY_HS: flag attribute which user-space can include
2558 * wants to use the supported offload of the 4-way handshake.
2559 * @NL80211_ATTR_PMKR0_NAME: PMK-R0 Name for offloaded FT.
2563 * authentication operation (u32 attribute with an
2566 * @NL80211_ATTR_EXTERNAL_AUTH_SUPPORT: Flag attribute indicating that the user
2567 * space supports external authentication. This attribute shall be used
2571 * attribute deprecated for %NL80211_CMD_START_AP, use
2575 * u8 attribute. This is used with %NL80211_CMD_STA_OPMODE_CHANGED.
2577 * @NL80211_ATTR_TXQ_STATS: TXQ statistics (nested attribute, see &enum
2587 * association request when used with NL80211_CMD_NEW_STATION). Can be set
2588 * only if %NL80211_STA_FLAG_WME is set.
2590 * @NL80211_ATTR_FTM_RESPONDER: nested attribute which user-space can include
2595 * @NL80211_ATTR_FTM_RESPONDER_STATS: Nested attribute with FTM responder
2599 * if the attribute is not given no timeout is requested. Note that 0 is an
2606 * with the appropriate sub-attributes.
2615 * allows to set Tx power for a station. If this attribute is not included,
2616 * the default per-interface tx power setting will be overriding. Driver
2617 * should be picking up the lowest tx power, either tx power per-interface
2618 * or per-station.
2620 * @NL80211_ATTR_SAE_PASSWORD: attribute for passing SAE password material. It
2622 * SAE authentication for WPA3-Personal networks.
2626 * @NL80211_ATTR_HE_OBSS_PD: nested attribute for OBSS Packet Detection
2631 * Defined by IEEE P802.11ay/D4.0 section 9.4.2.251. (u8 attribute)
2633 * the allowed channel bandwidth configurations. (u8 attribute)
2639 * @NL80211_ATTR_HE_BSS_COLOR: nested attribute for BSS Color Settings.
2641 * @NL80211_ATTR_IFTYPE_AKM_SUITES: nested array attribute, with each entry
2643 * attribute is sent in a response to %NL80211_CMD_GET_WIPHY indicating
2649 * nested attribute with &enum nl80211_tid_config_attr sub-attributes;
2650 * on output (in wiphy attributes) it contains only the feature sub-
2686 * @NL80211_ATTR_SCAN_FREQ_KHZ: nested attribute with KHz frequencies
2692 * discovery. It is a nested attribute, see
2696 * unsolicited broadcast probe response. It is a nested attribute, see
2706 * derivation in WPA3-Personal networks which are using SAE authentication.
2707 * This is a u8 attribute that encapsulates one of the values from
2715 * @NL80211_ATTR_RECONNECT_REQUESTED: flag attribute, used with deauth and
2722 * @NL80211_ATTR_COLOR_CHANGE_COUNT: u8 attribute specifying the number of TBTT's
2724 * @NL80211_ATTR_COLOR_CHANGE_COLOR: u8 attribute specifying the color that we are
2726 * @NL80211_ATTR_COLOR_CHANGE_ELEMS: Nested set of attributes containing the IE
2729 * @NL80211_ATTR_MBSSID_CONFIG: Nested attribute for multiple BSSID
2731 * Kernel uses this attribute to indicate the driver's support for MBSSID
2732 * and enhanced multi-BSSID advertisements (EMA AP) to the userspace.
2733 * Userspace should use this attribute to configure per interface MBSSID
2739 * Optional for the non-transmitting interfaces.
2748 * @NL80211_ATTR_AP_SETTINGS_FLAGS: u32 attribute contains ap settings flags,
2749 * enumerated in &enum nl80211_ap_settings_flags. This attribute shall be
2753 * association request when used with NL80211_CMD_NEW_STATION). Can be set
2754 * only if %NL80211_STA_FLAG_WME is set.
2759 * per-link information and a link ID.
2763 * @NL80211_ATTR_MLO_SUPPORT: Flag attribute to indicate user space supports MLO
2764 * connection. Used with %NL80211_CMD_CONNECT. If this attribute is not
2767 * @NL80211_ATTR_MAX_NUM_AKM_SUITES: U16 attribute. Indicates maximum number of
2770 * attribute is not present userspace shall consider maximum number of AKM
2772 * number prior to the introduction of this attribute.
2793 * bit corresponds to the lowest 20 MHz channel. Each bit set to 1
2794 * indicates that the sub-channel is punctured. Higher 16 bits are
2798 * timestamping can be enabled for concurrently (u16), a wiphy attribute.
2802 * be enabled or not (flag attribute).
2804 * @NL80211_ATTR_EMA_RNR_ELEMS: Optional nested attribute for
2805 * reduced neighbor report (RNR) elements. This attribute can be used
2808 * elements such that each element excludes the non-transmitting
2815 * @NL80211_ATTR_MLO_LINK_DISABLED: Flag attribute indicating that the link is
2819 * @NL80211_ATTR_MAX: highest attribute number currently defined
3360 NL80211_ATTR_MAX = __NL80211_ATTR_AFTER_LAST - 1
3363 /* source-level API compatibility */
3422 #define NL80211_SCAN_RSSI_THOLD_OFF -300
3427 * enum nl80211_iftype - (virtual) interface types
3434 * are a bit special in that they must always be tied to a pre-existing
3452 * to set the type of an interface.
3472 NL80211_IFTYPE_MAX = NUM_NL80211_IFTYPES - 1
3476 * enum nl80211_sta_flags - station flags
3481 * @__NL80211_STA_FLAG_INVALID: attribute number 0 is reserved
3488 * @NL80211_STA_FLAG_TDLS_PEER: station is a TDLS peer -- this flag should
3511 NL80211_STA_FLAG_MAX = __NL80211_STA_FLAG_AFTER_LAST - 1
3515 * enum nl80211_sta_p2p_ps_status - station support of P2P PS
3531 * struct nl80211_sta_flag_update - station flags mask/set
3532 * @mask: mask of station flags to set
3533 * @set: which values to set them to
3535 * Both mask and set contain bits as per &enum nl80211_sta_flags.
3539 __u32 set; member
3543 * enum nl80211_he_gi - HE guard interval
3555 * enum nl80211_he_ltf - HE long training field
3567 * enum nl80211_he_ru_alloc - HE RU allocation values
3568 * @NL80211_RATE_INFO_HE_RU_ALLOC_26: 26-tone RU allocation
3569 * @NL80211_RATE_INFO_HE_RU_ALLOC_52: 52-tone RU allocation
3570 * @NL80211_RATE_INFO_HE_RU_ALLOC_106: 106-tone RU allocation
3571 * @NL80211_RATE_INFO_HE_RU_ALLOC_242: 242-tone RU allocation
3572 * @NL80211_RATE_INFO_HE_RU_ALLOC_484: 484-tone RU allocation
3573 * @NL80211_RATE_INFO_HE_RU_ALLOC_996: 996-tone RU allocation
3574 * @NL80211_RATE_INFO_HE_RU_ALLOC_2x996: 2x996-tone RU allocation
3587 * enum nl80211_eht_gi - EHT guard interval
3599 * enum nl80211_eht_ru_alloc - EHT RU allocation values
3600 * @NL80211_RATE_INFO_EHT_RU_ALLOC_26: 26-tone RU allocation
3601 * @NL80211_RATE_INFO_EHT_RU_ALLOC_52: 52-tone RU allocation
3602 * @NL80211_RATE_INFO_EHT_RU_ALLOC_52P26: 52+26-tone RU allocation
3603 * @NL80211_RATE_INFO_EHT_RU_ALLOC_106: 106-tone RU allocation
3605 * @NL80211_RATE_INFO_EHT_RU_ALLOC_242: 242-tone RU allocation
3606 * @NL80211_RATE_INFO_EHT_RU_ALLOC_484: 484-tone RU allocation
3608 * @NL80211_RATE_INFO_EHT_RU_ALLOC_996: 996-tone RU allocation
3611 * @NL80211_RATE_INFO_EHT_RU_ALLOC_2x996: 2x996-tone RU allocation
3613 * @NL80211_RATE_INFO_EHT_RU_ALLOC_3x996: 3x996-tone RU allocation
3615 * @NL80211_RATE_INFO_EHT_RU_ALLOC_4x996: 4x996-tone RU allocation
3637 * enum nl80211_rate_info - bitrate information
3639 * These attribute types are used with %NL80211_STA_INFO_TXRATE
3642 * a 16-bit value, and new one that represents a 32-bit value.
3645 * (>6.5535Gbps) only 32-bit attribute is included.
3646 * User space tools encouraged to use the 32-bit attribute and fall
3647 * back to the 16-bit one for compatibility with older kernels.
3649 * @__NL80211_RATE_INFO_INVALID: attribute number 0 is reserved
3659 * @NL80211_RATE_INFO_80P80_MHZ_WIDTH: unused - 80+80 is treated the
3662 * @NL80211_RATE_INFO_10_MHZ_WIDTH: 10 MHz width - note that this is
3665 * @NL80211_RATE_INFO_5_MHZ_WIDTH: 5 MHz width - note that this is
3668 * @NL80211_RATE_INFO_HE_MCS: HE MCS index (u8, 0-11)
3669 * @NL80211_RATE_INFO_HE_NSS: HE NSS value (u8, 1-8)
3674 * non-OFDMA was used (u8, see &enum nl80211_he_ru_alloc)
3676 * @NL80211_RATE_INFO_EHT_MCS: EHT MCS index (u8, 0-15)
3677 * @NL80211_RATE_INFO_EHT_NSS: EHT NSS value (u8, 1-8)
3681 * non-OFDMA was used (u8, see &enum nl80211_eht_ru_alloc)
3682 * @NL80211_RATE_INFO_S1G_MCS: S1G MCS index (u8, 0-10)
3683 * @NL80211_RATE_INFO_S1G_NSS: S1G NSS value (u8, 1-4)
3725 NL80211_RATE_INFO_MAX = __NL80211_RATE_INFO_AFTER_LAST - 1
3729 * enum nl80211_sta_bss_param - BSS information collected by STA
3731 * These attribute types are used with %NL80211_STA_INFO_BSS_PARAM
3734 * @__NL80211_STA_BSS_PARAM_INVALID: attribute number 0 is reserved
3755 NL80211_STA_BSS_PARAM_MAX = __NL80211_STA_BSS_PARAM_AFTER_LAST - 1
3759 * enum nl80211_sta_info - station information
3761 * These attribute types are used with %NL80211_ATTR_STA_INFO
3764 * @__NL80211_STA_INFO_INVALID: attribute number 0 is reserved
3775 * @NL80211_STA_INFO_TX_BITRATE: current unicast tx rate, nested attribute
3790 * attribute, like NL80211_STA_INFO_TX_BITRATE.
3791 * @NL80211_STA_INFO_BSS_PARAM: current station's view of BSS, nested attribute
3797 * @NL80211_STA_INFO_LOCAL_PM: local mesh STA link-specific power mode
3798 * @NL80211_STA_INFO_PEER_PM: peer mesh STA link-specific power mode
3800 * non-peer STA
3801 * @NL80211_STA_INFO_CHAIN_SIGNAL: per-chain signal strength of last PPDU
3803 * @NL80211_STA_INFO_CHAIN_SIGNAL_AVG: per-chain signal strength average
3812 * @NL80211_STA_INFO_TID_STATS: per-TID statistics (see &enum nl80211_tid_stats)
3813 * This is a nested attribute where each the inner attribute number is the
3814 * TID+1 and the special TID 16 (i.e. value 17) is used for non-QoS frames;
3819 * @NL80211_STA_INFO_PAD: attribute used for padding for 64-bit alignment
3828 * @NL80211_STA_INFO_CONNECTED_TO_GATE: set to true if STA has a path to a
3836 * @NL80211_STA_INFO_CONNECTED_TO_AS: set to true if STA has a path to a
3839 * @NL80211_STA_INFO_MAX: highest possible station info attribute
3889 NL80211_STA_INFO_MAX = __NL80211_STA_INFO_AFTER_LAST - 1
3892 /* we renamed this - stay compatible */
3897 * enum nl80211_tid_stats - per TID statistics attributes
3898 * @__NL80211_TID_STATS_INVALID: attribute number 0 is reserved
3906 * @NL80211_TID_STATS_PAD: attribute used for padding for 64-bit alignment
3907 * @NL80211_TID_STATS_TXQ_STATS: TXQ stats (nested attribute)
3909 * @NL80211_TID_STATS_MAX: highest numbered attribute here
3922 NL80211_TID_STATS_MAX = NUM_NL80211_TID_STATS - 1
3926 * enum nl80211_txq_stats - per TXQ statistics attributes
3927 * @__NL80211_TXQ_STATS_INVALID: attribute number 0 is reserved
3937 * (only for per-phy stats)
3942 * @NL80211_TXQ_STATS_MAX: highest numbered attribute here
3960 NL80211_TXQ_STATS_MAX = NUM_NL80211_TXQ_STATS - 1
3964 * enum nl80211_mpath_flags - nl80211 mesh path flags
3969 * @NL80211_MPATH_FLAG_FIXED: the mesh path has been manually set
3981 * enum nl80211_mpath_info - mesh path information
3983 * These attribute types are used with %NL80211_ATTR_MPATH_INFO when getting
3986 * @__NL80211_MPATH_INFO_INVALID: attribute number 0 is reserved
3997 * @NL80211_MPATH_INFO_MAX: highest mesh path information attribute number
4015 NL80211_MPATH_INFO_MAX = __NL80211_MPATH_INFO_AFTER_LAST - 1
4019 * enum nl80211_band_iftype_attr - Interface type data attributes
4021 * @__NL80211_BAND_IFTYPE_ATTR_INVALID: attribute number 0 is reserved
4022 * @NL80211_BAND_IFTYPE_ATTR_IFTYPES: nested attribute containing a flag attribute
4045 * @NL80211_BAND_IFTYPE_ATTR_MAX: highest band attribute currently defined
4064 NL80211_BAND_IFTYPE_ATTR_MAX = __NL80211_BAND_IFTYPE_ATTR_AFTER_LAST - 1
4068 * enum nl80211_band_attr - band attributes
4069 * @__NL80211_BAND_ATTR_INVALID: attribute number 0 is reserved
4074 * @NL80211_BAND_ATTR_HT_MCS_SET: 16-byte attribute containing the MCS set as
4077 * @NL80211_BAND_ATTR_HT_AMPDU_FACTOR: A-MPDU factor, as in 11n
4078 * @NL80211_BAND_ATTR_HT_AMPDU_DENSITY: A-MPDU density, as in 11n
4079 * @NL80211_BAND_ATTR_VHT_MCS_SET: 32-byte attribute containing the MCS set as
4082 * @NL80211_BAND_ATTR_IFTYPE_DATA: nested array attribute, with each entry using
4090 * @NL80211_BAND_ATTR_S1G_MCS_NSS_SET: S1G capabilities, supported S1G-MCS and NSS
4091 * set subfield, as in the S1G information IE, 5 bytes
4094 * @NL80211_BAND_ATTR_MAX: highest band attribute currently defined
4119 NL80211_BAND_ATTR_MAX = __NL80211_BAND_ATTR_AFTER_LAST - 1
4125 * enum nl80211_wmm_rule - regulatory wmm rule
4127 * @__NL80211_WMMR_INVALID: attribute number 0 is reserved
4144 NL80211_WMMR_MAX = __NL80211_WMMR_LAST - 1
4148 * enum nl80211_frequency_attr - frequency attributes
4149 * @__NL80211_FREQUENCY_ATTR_INVALID: attribute number 0 is reserved
4164 * @NL80211_FREQUENCY_ATTR_NO_HT40_MINUS: HT40- isn't possible with this
4176 * channel. A channel that has the INDOOR_ONLY attribute can only be
4184 * band), and IEEE80211_CHAN_RADAR is not set. Instantiating a GO or TDLS
4185 * off-channel on a channel that has the IR_CONCURRENT attribute set can be
4188 * off-channel while the device is also connected to an AP with DFS and
4189 * radar detection on the UNII band (it is up to user-space, i.e.,
4191 * attribute for IR is disallowed for master interfaces (IBSS, AP).
4197 * This is a nested attribute that contains the wmm limitation per AC.
4216 * @NL80211_FREQUENCY_ATTR_MAX: highest frequency attribute number
4257 NL80211_FREQUENCY_ATTR_MAX = __NL80211_FREQUENCY_ATTR_AFTER_LAST - 1
4268 * enum nl80211_bitrate_attr - bitrate attributes
4269 * @__NL80211_BITRATE_ATTR_INVALID: attribute number 0 is reserved
4273 * @NL80211_BITRATE_ATTR_MAX: highest bitrate attribute number
4284 NL80211_BITRATE_ATTR_MAX = __NL80211_BITRATE_ATTR_AFTER_LAST - 1
4288 * enum nl80211_initiator - Indicates the initiator of a reg domain request
4291 * @NL80211_REGDOM_SET_BY_USER: User asked the wireless core to set the
4299 * structure passed by userspace (CRDA) from our wireless-regdb.
4301 * be disabled we disable the channel and re-enable it upon disassociation.
4311 * enum nl80211_reg_type - specifies the type of regulatory domain
4312 * @NL80211_REGDOM_TYPE_COUNTRY: the regulatory domain set is one that pertains
4313 * to a specific country. When this is set you can count on the
4315 * @NL80211_REGDOM_TYPE_WORLD: the regulatory set domain is the world regulatory
4317 * @NL80211_REGDOM_TYPE_CUSTOM_WORLD: the regulatory domain set is a custom
4318 * driver specific world regulatory domain. These do not apply system-wide
4321 * @NL80211_REGDOM_TYPE_INTERSECTION: the regulatory domain set is the product
4322 * of an intersection between two regulatory domains -- the previously
4323 * set regulatory domain on the system and the last accepted regulatory
4334 * enum nl80211_reg_rule_attr - regulatory rule attributes
4335 * @__NL80211_REG_RULE_ATTR_INVALID: attribute number 0 is reserved
4336 * @NL80211_ATTR_REG_RULE_FLAGS: a set of flags which specify additional
4354 * @NL80211_REG_RULE_ATTR_MAX: highest regulatory rule attribute number
4373 NL80211_REG_RULE_ATTR_MAX = __NL80211_REG_RULE_ATTR_AFTER_LAST - 1
4377 * enum nl80211_sched_scan_match_attr - scheduled scan match attributes
4378 * @__NL80211_SCHED_SCAN_MATCH_ATTR_INVALID: attribute number 0 is reserved
4384 * if this attribute is in a match set of its own, then it is treated as
4389 * attribute) is if there's only a single matchset with the RSSI attribute.
4394 * BSS-es in the specified band is to be adjusted before doing
4395 * RSSI-based BSS selection. The attribute value is a packed structure
4399 * @NL80211_SCHED_SCAN_MATCH_PER_BAND_RSSI: Nested attribute that carries the
4402 * band shall be encapsulated in attribute with type value equals to one
4405 * within an attribute of type NL80211_BAND_2GHZ. And one or more of such
4406 * attributes will be nested within this attribute.
4408 * attribute number currently defined
4424 __NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST - 1
4431 * enum nl80211_reg_rule_flags - regulatory rule flags
4447 * @NL80211_RRF_NO_HT40MINUS: channels can't be used in HT40- operation
4487 * enum nl80211_dfs_regions - regulatory DFS regions
4502 * enum nl80211_user_reg_hint_type - type of user regulatory hint
4505 * assumed if the attribute is not set.
4525 * enum nl80211_survey_info - survey information
4527 * These attribute types are used with %NL80211_ATTR_SURVEY_INFO
4530 * @__NL80211_SURVEY_INFO_INVALID: attribute number 0 is reserved
4546 * @NL80211_SURVEY_INFO_PAD: attribute used for padding for 64-bit alignment
4549 * @NL80211_SURVEY_INFO_MAX: highest survey info attribute number
4571 NL80211_SURVEY_INFO_MAX = __NL80211_SURVEY_INFO_AFTER_LAST - 1
4582 * enum nl80211_mntr_flags - monitor configuration flags
4611 NL80211_MNTR_FLAG_MAX = __NL80211_MNTR_FLAG_AFTER_LAST - 1
4615 * enum nl80211_mesh_power_mode - mesh power save modes
4618 * not known or has not been set yet.
4628 * @__NL80211_MESH_POWER_AFTER_LAST - internal use
4629 * @NL80211_MESH_POWER_MAX - highest possible power save level
4639 NL80211_MESH_POWER_MAX = __NL80211_MESH_POWER_AFTER_LAST - 1
4643 * enum nl80211_meshconf_params - mesh configuration parameters
4666 * @NL80211_MESHCONF_TTL: specifies the value of TTL field set at a source mesh
4672 * set.
4698 * @NL80211_MESHCONF_ELEMENT_TTL: specifies the value of TTL field set at a
4712 * @NL80211_MESHCONF_FORWARDING: set Mesh STA as forwarding or non-forwarding
4713 * or forwarding entity (default is TRUE - forwarding entity)
4723 * @NL80211_MESHCONF_HT_OPMODE: set mesh HT protection mode.
4725 * @NL80211_MESHCONF_ATTR_MAX: highest possible mesh configuration attribute
4745 * remove it from the STA's list of peers. You may set this to 0 to disable
4748 * @NL80211_MESHCONF_CONNECTED_TO_GATE: If set to true then this mesh STA
4753 * @NL80211_MESHCONF_NOLEARN: Try to avoid multi-hop path discovery (e.g.
4755 * this might not be the optimal decision as a multi-hop route might be
4759 * @NL80211_MESHCONF_CONNECTED_TO_AS: If set to true then this mesh STA
4801 NL80211_MESHCONF_ATTR_MAX = __NL80211_MESHCONF_ATTR_AFTER_LAST - 1
4805 * enum nl80211_mesh_setup_params - mesh setup parameters
4831 * a userspace daemon. When this flag is set, the kernel will send peer
4849 * @NL80211_MESH_SETUP_ATTR_MAX: highest possible mesh setup attribute number
4866 NL80211_MESH_SETUP_ATTR_MAX = __NL80211_MESH_SETUP_ATTR_AFTER_LAST - 1
4870 * enum nl80211_txq_attr - TX queue parameter attributes
4871 * @__NL80211_TXQ_ATTR_INVALID: Attribute number 0 is reserved
4876 * 2^n-1 in the range 1..32767]
4878 * 2^n-1 in the range 1..32767]
4881 * @NL80211_TXQ_ATTR_MAX: Maximum TXQ attribute number
4893 NL80211_TXQ_ATTR_MAX = __NL80211_TXQ_ATTR_AFTER_LAST - 1
4912 * enum nl80211_channel_type - channel type
4913 * @NL80211_CHAN_NO_HT: 20 MHz, non-HT channel
4928 * enum nl80211_key_mode - Key mode
4949 * enum nl80211_chan_width - channel width definitions
4952 * attribute.
4954 * @NL80211_CHAN_WIDTH_20_NOHT: 20 MHz, non-HT channel
4957 * attribute must be provided as well
4959 * attribute must be provided as well
4963 * attribute must be provided as well
4972 * attribute must be provided as well
4992 * enum nl80211_bss_scan_width - control channel width for a BSS
4994 * These values are used with the %NL80211_BSS_CHAN_WIDTH attribute.
5011 * enum nl80211_bss - netlink attributes for a BSS
5022 * @NL80211_BSS_INFORMATION_ELEMENTS: binary attribute containing the
5024 * if the %NL80211_BSS_BEACON_IES attribute is present and the data is
5029 * If present, the @NL80211_BSS_PRESP_DATA attribute indicates that the
5037 * @NL80211_BSS_BEACON_IES: binary attribute containing the raw information
5045 * @NL80211_BSS_TSF is known to be from a probe response (flag attribute)
5049 * @NL80211_BSS_PAD: attribute used for padding for 64-bit alignment
5055 * is set.
5056 * @NL80211_BSS_CHAIN_SIGNAL: per-chain signal strength of last BSS update.
5063 * @NL80211_BSS_MAX: highest BSS attribute
5092 NL80211_BSS_MAX = __NL80211_BSS_AFTER_LAST - 1
5096 * enum nl80211_bss_status - BSS "status"
5104 * The BSS status is a BSS attribute in scan dumps, which
5114 * enum nl80211_auth_type - AuthenticationType
5127 * trying multiple times); this is invalid in netlink -- leave out
5128 * the attribute for this on CONNECT commands.
5142 NL80211_AUTHTYPE_MAX = __NL80211_AUTHTYPE_NUM - 1,
5147 * enum nl80211_key_type - Key Type
5162 * enum nl80211_mfp - Management frame protection state
5180 * enum nl80211_key_default_types - key default types
5197 * enum nl80211_key_attributes - key attributes
5202 * @NL80211_KEY_IDX: key ID (u8, 0-3)
5212 * @NL80211_KEY_DEFAULT_TYPES: A nested attribute containing flags
5213 * attributes, specifying what a key should be set as default as.
5220 * @NL80211_KEY_MAX: highest key attribute
5237 NL80211_KEY_MAX = __NL80211_KEY_AFTER_LAST - 1
5241 * enum nl80211_tx_rate_attributes - TX rate set attributes
5243 * @NL80211_TXRATE_LEGACY: Legacy (non-MCS) rates allowed for TX rate selection
5257 * @NL80211_TXRATE_MAX: highest TX rate attribute
5271 NL80211_TXRATE_MAX = __NL80211_TXRATE_AFTER_LAST - 1
5278 * struct nl80211_txrate_vht - VHT MCS/NSS txrate bitmap
5287 * struct nl80211_txrate_he - HE MCS/NSS txrate bitmap
5301 * enum nl80211_band - Frequency band
5303 * @NL80211_BAND_5GHZ: around 5 GHz band (4.9 - 5.7 GHz)
5304 * @NL80211_BAND_60GHZ: around 60 GHz band (58.32 - 69.12 GHz)
5305 * @NL80211_BAND_6GHZ: around 6 GHz band (5.9 - 7.2 GHz)
5323 * enum nl80211_ps_state - powersave state
5333 * enum nl80211_attr_cqm - connection quality monitor attributes
5338 * set, multiple values can be supplied as a low-to-high sorted array of
5357 * %NL80211_CMD_NOTIFY_CQM. Set to 0 to turn off TX error reporting.
5358 * @NL80211_ATTR_CQM_BEACON_LOSS_EVENT: flag attribute that's set in a beacon
5363 * @NL80211_ATTR_CQM_MAX: highest key attribute
5379 NL80211_ATTR_CQM_MAX = __NL80211_ATTR_CQM_AFTER_LAST - 1
5383 * enum nl80211_cqm_rssi_threshold_event - RSSI threshold event
5398 * enum nl80211_tx_power_setting - TX power adjustment
5410 * enum nl80211_tid_config - TID config state
5419 /* enum nl80211_tx_rate_setting - TX rate configuration type
5430 /* enum nl80211_tid_config_attr - TID specific configuration.
5431 * @NL80211_TID_CONFIG_ATTR_PAD: pad attribute for 64-bit values
5433 * for per-vif configuration; doesn't list the ones that are generic
5435 * @NL80211_TID_CONFIG_ATTR_PEER_SUPP: same as the previous per-vif one, but
5437 * @NL80211_TID_CONFIG_ATTR_OVERRIDE: flag attribue, if set indicates
5447 * transmission, user-space sets this configuration in
5449 * the max value is advertised by the driver in this attribute on
5452 * transmission, user-space sets this configuration in
5454 * the max value is advertised by the driver in this attribute on
5465 * @NL80211_TID_CONFIG_ATTR_TX_RATE_TYPE: This attribute will be useful
5492 NL80211_TID_CONFIG_ATTR_MAX = __NL80211_TID_CONFIG_ATTR_AFTER_LAST - 1
5496 * enum nl80211_packet_pattern_attr - packet pattern attribute
5497 * @__NL80211_PKTPAT_INVALID: invalid number for nested attribute
5501 * a bit for each byte in the pattern. The lowest-order bit corresponds
5503 * in a little-endian-like format, i.e. the 9th byte of the pattern
5504 * corresponds to the lowest-order bit in the second byte of the mask.
5514 * @MAX_NL80211_PKTPAT: max attribute number
5523 MAX_NL80211_PKTPAT = NUM_NL80211_PKTPAT - 1,
5527 * struct nl80211_pattern_support - packet pattern support information
5556 * enum nl80211_wowlan_triggers - WoWLAN trigger definitions
5559 * the chip into a special state -- works best with chips that have
5560 * support for low-power operation already (flag)
5564 * is detected is implementation-specific (flag)
5568 * which are passed in an array of nested attributes, each nested attribute
5575 * In %NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED, it is a binary attribute
5578 * When reporting wakeup. it is a u32 attribute containing the 0-based
5588 * @NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE: wake up on 4-way handshake (flag)
5594 * attribute contains the original length.
5597 * attribute if the packet was truncated somewhere.
5600 * be truncated, the @NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023_LEN attribute
5604 * attribute if the packet was truncated somewhere.
5606 * "TCP connection wakeup" for more details. This is a nested attribute
5617 * is detected. This is a nested attribute that contains the
5622 * attribute is also sent in a response to
5625 * @NL80211_WOWLAN_TRIG_NET_DETECT_RESULTS: nested attribute
5631 * Each element in the array is a nested attribute that contains
5632 * one optional %NL80211_ATTR_SSID attribute and one optional
5633 * %NL80211_ATTR_SCAN_FREQUENCIES attribute. At least one of
5639 * @MAX_NL80211_WOWLAN_TRIG: highest wowlan trigger attribute number
5668 MAX_NL80211_WOWLAN_TRIG = NUM_NL80211_WOWLAN_TRIG - 1
5681 * optionally, a token from a list of tokens. This serves as a keep-alive
5684 * During this keep-alive period, the server doesn't send any data to the
5695 * struct nl80211_wowlan_tcp_data_seq - WoWLAN TCP data sequence
5709 * struct nl80211_wowlan_tcp_data_token - WoWLAN TCP data token config
5721 * struct nl80211_wowlan_tcp_data_token_feature - data token features
5731 * enum nl80211_wowlan_tcp_attrs - WoWLAN TCP connection parameters
5744 * For feature advertising, a u32 attribute holding the maximum length
5755 * u32 attribute holding the maximum length
5760 * @MAX_NL80211_WOWLAN_TCP: highest attribute number
5778 MAX_NL80211_WOWLAN_TCP = NUM_NL80211_WOWLAN_TCP - 1
5782 * struct nl80211_coalesce_rule_support - coalesce rule support information
5797 * enum nl80211_attr_coalesce_rule - coalesce rule attribute
5798 * @__NL80211_COALESCE_RULE_INVALID: invalid number for nested attribute
5805 * @NL80211_ATTR_COALESCE_RULE_MAX: max attribute number
5815 NL80211_ATTR_COALESCE_RULE_MAX = NUM_NL80211_ATTR_COALESCE_RULE - 1
5819 * enum nl80211_coalesce_condition - coalesce rule conditions
5831 * enum nl80211_iface_limit_attrs - limit attributes
5834 * can be chosen from this set of interface types (u32)
5835 * @NL80211_IFACE_LIMIT_TYPES: nested attribute containing a
5836 * flag attribute for each interface type in this set
5838 * @MAX_NL80211_IFACE_LIMIT: highest attribute number
5847 MAX_NL80211_IFACE_LIMIT = NUM_NL80211_IFACE_LIMIT - 1
5851 * enum nl80211_if_combination_attrs -- interface combination attributes
5856 * @NL80211_IFACE_COMB_MAXNUM: u32 attribute giving the total number of
5859 * in a separate attribute %NL80211_ATTR_INTERFACES_SOFTWARE.
5860 * @NL80211_IFACE_COMB_STA_AP_BI_MATCH: flag attribute specifying that
5864 * @NL80211_IFACE_COMB_NUM_CHANNELS: u32 attribute specifying how many
5866 * @NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS: u32 attribute containing the bitmap
5868 * @NL80211_IFACE_COMB_RADAR_DETECT_REGIONS: u32 attribute containing the bitmap
5870 * @NL80211_IFACE_COMB_BI_MIN_GCD: u32 attribute specifying the minimum GCD of
5874 * @MAX_NL80211_IFACE_COMB: highest attribute number
5880 * numbers = [ #{AP, P2P-GO} <= 8 ], BI min gcd, channels = 1, max = 8,
5886 * numbers = [ #{STA} <= 1, #{P2P-client,P2P-GO} <= 3 ], max = 4
5890 * within the %NL80211_ATTR_INTERFACE_COMBINATIONS attribute to indicate
5911 MAX_NL80211_IFACE_COMB = NUM_NL80211_IFACE_COMB - 1
5916 * enum nl80211_plink_state - state of a mesh peer link finite state machine
5944 MAX_NL80211_PLINK_STATES = NUM_NL80211_PLINK_STATES - 1
5948 * enum nl80211_plink_action - actions to perform in mesh peers
5972 * enum nl80211_rekey_data - attributes for GTK rekey offload
5979 * @MAX_NL80211_REKEY_DATA: highest rekey attribute (internal)
5990 MAX_NL80211_REKEY_DATA = NUM_NL80211_REKEY_DATA - 1
5994 * enum nl80211_hidden_ssid - values for %NL80211_ATTR_HIDDEN_SSID
5997 * @NL80211_HIDDEN_SSID_ZERO_LEN: hide SSID by using zero-length SSID element
6009 * enum nl80211_sta_wme_attr - station WME attributes
6010 * @__NL80211_STA_WME_INVALID: invalid number for nested attribute
6016 * @NL80211_STA_WME_MAX: highest station WME attribute
6025 NL80211_STA_WME_MAX = __NL80211_STA_WME_AFTER_LAST - 1
6029 * enum nl80211_pmksa_candidate_attr - attributes for PMKSA caching candidates
6034 * @NL80211_PMKSA_CANDIDATE_PREAUTH: RSN pre-authentication supported (flag)
6037 * @MAX_NL80211_PMKSA_CANDIDATE: highest PMKSA caching candidate attribute
6048 MAX_NL80211_PMKSA_CANDIDATE = NUM_NL80211_PMKSA_CANDIDATE - 1
6052 * enum nl80211_tdls_operation - values for %NL80211_ATTR_TDLS_OPERATION
6068 * enum nl80211_ap_sme_features - device-integrated AP features
6078 * enum nl80211_feature_flags - device/driver features
6096 * @NL80211_FEATURE_VIF_TXPOWER: The driver supports per-vif TX power setting
6114 * stations the authenticated/associated bits have to be set in the mask.
6116 * (HT40, VHT 80/160 MHz) if this flag is set
6126 * channel bandwidth change (e.g., HT 20 <-> 40 MHz channel) during the
6129 * Set IE to probe requests.
6139 * estimation (dynack). %NL80211_ATTR_WIPHY_DYN_ACK flag attribute is used
6149 * TSPEC sessions (TID aka TSID 0-7) with the %NL80211_CMD_ADD_TX_TS
6151 * needs to be able to handle Block-Ack agreements and other things.
6159 * %NL80211_SCAN_FLAG_RANDOM_ADDR flag may be set for scans and the MAC
6164 * be set for scheduled scan and the MAC address mask/value will be used.
6168 * be set for scheduled scan and the MAC address mask/value will be used.
6206 * enum nl80211_ext_feature_index - bit index of extended features.
6210 * %NL80211_CMD_ASSOCIATE and %NL80211_CMD_CONNECT requests, which will set
6213 * @NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER: This device supports MU-MIMO air
6216 * %NL80211_ATTR_MU_MIMO_GROUP_DATA attribute,
6218 * %NL80211_ATTR_MU_MIMO_FOLLOW_MAC_ADDR attribute.
6245 * %NL80211_ATTR_CQM_RSSI_THOLD attribute accepts a list of zero or more
6249 * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK: Device wants to do 4-way
6252 * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X: Device wants to do doing 4-way
6257 * the max channel attribute in the FILS request params IE with the
6271 * Device or driver will do all DFS-related actions by itself,
6272 * informing user-space about CAC progress, radar detection event,
6274 * No need to start CAC from user-space, no need to react to
6280 * @NL80211_EXT_FEATURE_TXQS: Driver supports FQ-CoDel-enabled intermediate
6291 * able to rekey an in-use key correctly. Userspace must not rekey PTK keys
6292 * if this flag is not set. Ignoring this can leak clear text packets and/or
6295 * Individually Addressed Frames" from IEEE802.11-2016.
6302 * (set/del PMKSA operations) in AP mode.
6314 * with VLAN tagged frames and separate VLAN-specific netdevs added using
6349 * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_AP_PSK: Device wants to do 4-way
6435 /* we renamed this - stay compatible */
6477 MAX_NL80211_EXT_FEATURES = NUM_NL80211_EXT_FEATURES - 1
6481 * enum nl80211_probe_resp_offload_support_attr - optional supported
6482 * protocols for probe-response offloading by the driver/FW.
6483 * To be used with the %NL80211_ATTR_PROBE_RESP_OFFLOAD attribute.
6485 * protocols. Typically a subset of probe-requests belonging to a
6502 * enum nl80211_connect_failed_reason - connection request failed reasons
6513 * enum nl80211_timeout_reason - timeout reasons
6528 * enum nl80211_scan_flags - scan request control flags
6541 * as AP and the beaconing has already been configured. This attribute is
6543 * will be lost while scanning off-channel, therefore it must be used only
6547 * flag is set, depending on device capabilities the @NL80211_ATTR_MAC and
6561 * tx deferral (dot11FILSProbeDelay shall be set to 15ms)
6564 * a suitable candidate for (re-)association - suitable in terms of
6589 * 2.4/5 GHz APs. When the flag is set, the scan logic will use the
6592 * channels on which APs are expected to be found. Note that when not set,
6596 * is set, in addition to the colocated APs, PSC channels would also be
6618 * enum nl80211_acl_policy - access control policy
6620 * Access control policy is applied on a MAC list set by
6636 * enum nl80211_smps_mode - SMPS mode
6651 NL80211_SMPS_MAX = __NL80211_SMPS_AFTER_LAST - 1
6655 * enum nl80211_radar_event - type of radar event for DFS operation
6666 * @NL80211_RADAR_NOP_FINISHED: The Non-Occupancy Period for this channel is
6669 * non-operating channel is expired and no longer valid. New CAC must
6671 * applicable for ETSI dfs domain where pre-CAC is valid for ever.
6685 * enum nl80211_dfs_state - DFS states for channels
6702 * enum nl80211_protocol_features - nl80211 protocol features
6704 * wiphy dumps (if requested by the application with the attribute
6714 * enum nl80211_crit_proto_id - nl80211 critical protocol identifiers
6735 * enum nl80211_rxmgmt_flags - flags for received management frame.
6751 * If this flag is unset, the lower 24 bits are an OUI, if set
6758 * struct nl80211_vendor_cmd_info - vendor command data
6760 * value is a 24-bit OUI; if it is set then a separately allocated ID
6763 * @subcmd: sub-command ID for the command
6771 * enum nl80211_tdls_peer_capability - TDLS peer flags.
6789 * enum nl80211_sched_scan_plan - scanning plan for scheduled scan
6790 * @__NL80211_SCHED_SCAN_PLAN_INVALID: attribute number 0 is reserved
6794 * scan plan (u32). The last scan plan must not specify this attribute
6797 * @NL80211_SCHED_SCAN_PLAN_MAX: highest scheduled scan plan attribute number
6809 __NL80211_SCHED_SCAN_PLAN_AFTER_LAST - 1
6813 * struct nl80211_bss_select_rssi_adjust - RSSI adjustment parameters.
6825 * enum nl80211_bss_select_attr - attributes for bss selection.
6828 * @NL80211_BSS_SELECT_ATTR_RSSI: Flag indicating only RSSI-based BSS selection
6830 * @NL80211_BSS_SELECT_ATTR_BAND_PREF: attribute indicating BSS
6832 * When there are multiple BSS-es in the preferred band, the driver
6833 * shall use RSSI-based BSS selection as a second step. The value of
6834 * this attribute is according to &enum nl80211_band (u32).
6836 * BSS-es in the specified band is to be adjusted before doing
6837 * RSSI-based BSS selection. The attribute value is a packed structure
6839 * @NL80211_BSS_SELECT_ATTR_MAX: highest bss select attribute number.
6854 NL80211_BSS_SELECT_ATTR_MAX = __NL80211_BSS_SELECT_ATTR_AFTER_LAST - 1
6858 * enum nl80211_nan_function_type - NAN function type
6864 * @NL80211_NAN_FUNC_FOLLOW_UP: function is follow-up
6873 NL80211_NAN_FUNC_MAX_TYPE = __NL80211_NAN_FUNC_TYPE_AFTER_LAST - 1,
6877 * enum nl80211_nan_publish_type - NAN publish tx type
6890 * enum nl80211_nan_func_term_reason - NAN functions termination reason
6909 * enum nl80211_nan_func_attributes - NAN function attributes
6913 * specified in NAN spec. This is a binary attribute.
6928 * follow up Service Discovery Frame. This is a binary attribute.
6935 * specific info. This is a binary attribute.
6936 * @NL80211_NAN_FUNC_SRF: Service Receive Filter. This is a nested attribute.
6939 * attribute. It is a list of binary values.
6941 * nested attribute. It is a list of binary values.
6948 * @NL80211_NAN_FUNC_ATTR_MAX: highest NAN function attribute
6971 NL80211_NAN_FUNC_ATTR_MAX = NUM_NL80211_NAN_FUNC_ATTR - 1
6975 * enum nl80211_nan_srf_attributes - NAN Service Response filter attributes
6977 * @NL80211_NAN_SRF_INCLUDE: present if the include bit of the SRF set.
6980 * %NL80211_NAN_SRF_MAC_ADDRS isn't present. This attribute is binary.
6985 * attribute. Each nested attribute is a MAC address.
6987 * @NL80211_NAN_SRF_ATTR_MAX: highest NAN SRF attribute
6998 NL80211_NAN_SRF_ATTR_MAX = NUM_NL80211_NAN_SRF_ATTR - 1,
7002 * enum nl80211_nan_match_attributes - NAN match attributes
7005 * match. This is a nested attribute.
7008 * that caused the match. This is a nested attribute.
7012 * @NL80211_NAN_MATCH_ATTR_MAX: highest NAN match attribute
7021 NL80211_NAN_MATCH_ATTR_MAX = NUM_NL80211_NAN_MATCH_ATTR - 1
7025 * nl80211_external_auth_action - Action to perform with external
7036 * enum nl80211_ftm_responder_attributes - fine timing measurement
7041 * (9.4.2.22 in 802.11-2016) with type 8 - LCI (9.4.2.22.10),
7044 * (9.4.2.22 in 802.11-2016) with type 11 - Civic (Section 9.4.2.22.13),
7047 * @NL80211_FTM_RESP_ATTR_MAX: highest FTM responder attribute.
7058 NL80211_FTM_RESP_ATTR_MAX = __NL80211_FTM_RESP_ATTR_LAST - 1,
7062 * enum nl80211_ftm_responder_stats - FTM responder statistics
7064 * These attribute types are used with %NL80211_ATTR_FTM_RESPONDER_STATS
7067 * @__NL80211_FTM_STATS_INVALID: attribute number 0 is reserved
7074 * @NL80211_FTM_STATS_NON_ASAP_NUM: number of non-ASAP sessions (u32)
7075 * @NL80211_FTM_STATS_TOTAL_DURATION_MSEC: total sessions durations - gives an
7077 * @NL80211_FTM_STATS_UNKNOWN_TRIGGERS_NUM: number of unknown FTM triggers -
7081 * - initiator asks for a new scheduling although it already has scheduled
7087 * @NL80211_FTM_STATS_MAX: highest possible FTM responder stats attribute
7104 NL80211_FTM_STATS_MAX = __NL80211_FTM_STATS_AFTER_LAST - 1
7108 * enum nl80211_preamble - frame preamble types
7124 * enum nl80211_peer_measurement_type - peer measurement types
7139 NL80211_PMSR_TYPE_MAX = NUM_NL80211_PMSR_TYPES - 1
7143 * enum nl80211_peer_measurement_status - peer measurement status
7147 * @NL80211_PMSR_STATUS_FAILURE: measurement failed, a type-dependent
7158 * enum nl80211_peer_measurement_req - peer measurement request attributes
7161 * @NL80211_PMSR_REQ_ATTR_DATA: This is a nested attribute with measurement
7162 * type-specific request data inside. The attributes used are from the
7165 * (flag attribute)
7168 * @NL80211_PMSR_REQ_ATTR_MAX: highest attribute number
7178 NL80211_PMSR_REQ_ATTR_MAX = NUM_NL80211_PMSR_REQ_ATTRS - 1
7182 * enum nl80211_peer_measurement_resp - peer measurement response attributes
7185 * @NL80211_PMSR_RESP_ATTR_DATA: This is a nested attribute with measurement
7186 * type-specific results inside. The attributes used are from the enums
7198 * (*e.g. with FTM per-burst data) this flag will be cleared on all but
7199 * the last result; if all results are combined it's set on the single
7201 * @NL80211_PMSR_RESP_ATTR_PAD: padding for 64-bit attributes, ignore
7204 * @NL80211_PMSR_RESP_ATTR_MAX: highest attribute number
7218 NL80211_PMSR_RESP_ATTR_MAX = NUM_NL80211_PMSR_RESP_ATTRS - 1
7222 * enum nl80211_peer_measurement_peer_attrs - peer attributes for measurement
7226 * @NL80211_PMSR_PEER_ATTR_CHAN: channel definition, nested, using top-level
7228 * @NL80211_PMSR_PEER_ATTR_REQ: This is a nested attribute indexed by
7231 * @NL80211_PMSR_PEER_ATTR_RESP: This is a nested attribute indexed by
7236 * @NL80211_PMSR_PEER_ATTR_MAX: highest attribute number
7248 NL80211_PMSR_PEER_ATTR_MAX = NUM_NL80211_PMSR_PEER_ATTRS - 1,
7252 * enum nl80211_peer_measurement_attrs - peer measurement attributes
7255 * @NL80211_PMSR_ATTR_MAX_PEERS: u32 attribute used for capability
7258 * @NL80211_PMSR_ATTR_REPORT_AP_TSF: flag attribute in capability
7261 * @NL80211_PMSR_ATTR_RANDOMIZE_MAC_ADDR: flag attribute in capability
7265 * type-specific capabilities inside, which are from the enums
7267 * @NL80211_PMSR_ATTR_PEERS: nested attribute, the nesting index is
7269 * sub-attributes taken from
7273 * @NL80211_PMSR_ATTR_MAX: highest attribute number
7286 NL80211_PMSR_ATTR_MAX = NUM_NL80211_PMSR_ATTR - 1
7290 * enum nl80211_peer_measurement_ftm_capa - FTM capabilities
7293 * @NL80211_PMSR_FTM_CAPA_ATTR_ASAP: flag attribute indicating ASAP mode
7295 * @NL80211_PMSR_FTM_CAPA_ATTR_NON_ASAP: flag attribute indicating non-ASAP
7297 * @NL80211_PMSR_FTM_CAPA_ATTR_REQ_LCI: flag attribute indicating if LCI
7299 * @NL80211_PMSR_FTM_CAPA_ATTR_REQ_CIVICLOC: flag attribute indicating if civic
7301 * @NL80211_PMSR_FTM_CAPA_ATTR_PREAMBLES: u32 bitmap attribute of bits
7308 * @NL80211_PMSR_FTM_CAPA_ATTR_MAX_BURSTS_EXPONENT: u32 attribute indicating
7311 * @NL80211_PMSR_FTM_CAPA_ATTR_MAX_FTMS_PER_BURST: u32 attribute indicating
7313 * @NL80211_PMSR_FTM_CAPA_ATTR_TRIGGER_BASED: flag attribute indicating if
7315 * @NL80211_PMSR_FTM_CAPA_ATTR_NON_TRIGGER_BASED: flag attribute indicating
7319 * @NL80211_PMSR_FTM_CAPA_ATTR_MAX: highest attribute number
7337 NL80211_PMSR_FTM_CAPA_ATTR_MAX = NUM_NL80211_PMSR_FTM_CAPA_ATTR - 1
7341 * enum nl80211_peer_measurement_ftm_req - FTM request attributes
7348 * 802.11-2016 9.4.2.168 "Fine Timing Measurement Parameters element"
7349 * (u8, 0-15, optional with default 15 i.e. "no preference")
7352 * @NL80211_PMSR_FTM_REQ_ATTR_BURST_DURATION: burst duration, as in 802.11-2016
7353 * Table 9-257 "Burst Duration field encoding" (u8, 0-15, optional with
7357 * (u8, 0-31, optional with default 0 i.e. "no preference")
7365 * This attribute and %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED are
7368 * %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED is set, EDCA based
7372 * This attribute and %NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED are
7375 * %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED is set, EDCA based
7379 * %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED is set.
7382 * or %NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED is set.
7385 * @NL80211_PMSR_FTM_REQ_ATTR_MAX: highest attribute number
7406 NL80211_PMSR_FTM_REQ_ATTR_MAX = NUM_NL80211_PMSR_FTM_REQ_ATTR - 1
7410 * enum nl80211_peer_measurement_ftm_failure_reasons - FTM failure reasons
7437 * enum nl80211_peer_measurement_ftm_resp - FTM response attributes
7440 * @NL80211_PMSR_FTM_RESP_ATTR_FAIL_REASON: FTM-specific failure reason
7443 * as separate results then it will be the burst index 0...(N-1) and
7478 * this is the contents of the Measurement Report Element (802.11-2016
7483 * this is the contents of the Measurement Report Element (802.11-2016
7489 * @NL80211_PMSR_FTM_RESP_ATTR_MAX: highest attribute number
7518 NL80211_PMSR_FTM_RESP_ATTR_MAX = NUM_NL80211_PMSR_FTM_RESP_ATTR - 1
7522 * enum nl80211_obss_pd_attributes - OBSS packet detection attributes
7527 * @NL80211_HE_OBSS_PD_ATTR_NON_SRG_MAX_OFFSET: the non-SRG OBSS PD maximum
7536 * @NL80211_HE_OBSS_PD_ATTR_MAX: highest OBSS PD attribute.
7550 NL80211_HE_OBSS_PD_ATTR_MAX = __NL80211_HE_OBSS_PD_ATTR_LAST - 1,
7554 * enum nl80211_bss_color_attributes - BSS Color attributes
7562 * @NL80211_HE_BSS_COLOR_ATTR_MAX: highest BSS Color attribute.
7573 NL80211_HE_BSS_COLOR_ATTR_MAX = __NL80211_HE_BSS_COLOR_ATTR_LAST - 1,
7577 * enum nl80211_iftype_akm_attributes - interface type AKM attributes
7580 * @NL80211_IFTYPE_AKM_ATTR_IFTYPES: nested attribute containing a flag
7581 * attribute for each interface type that supports AKM suites specified in
7587 * @NL80211_IFTYPE_AKM_ATTR_MAX: highest interface type AKM attribute.
7597 NL80211_IFTYPE_AKM_ATTR_MAX = __NL80211_IFTYPE_AKM_ATTR_LAST - 1,
7601 * enum nl80211_fils_discovery_attributes - FILS discovery configuration
7602 * from IEEE Std 802.11ai-2016, Annex C.3 MIB detail.
7614 * @NL80211_FILS_DISCOVERY_ATTR_MAX: highest attribute
7625 NL80211_FILS_DISCOVERY_ATTR_MAX = __NL80211_FILS_DISCOVERY_ATTR_LAST - 1
7635 * enum nl80211_unsol_bcast_probe_resp_attributes - Unsolicited broadcast probe
7647 * @NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_MAX: highest attribute
7658 __NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_LAST - 1
7662 * enum nl80211_sae_pwe_mechanism - The mechanism(s) allowed for SAE PWE
7663 * derivation. Applicable only when WPA3-Personal SAE authentication is
7667 * attribute is not present from userspace.
7668 * @NL80211_SAE_PWE_HUNT_AND_PECK: hunting-and-pecking loop only
7669 * @NL80211_SAE_PWE_HASH_TO_ELEMENT: hash-to-element only
7670 * @NL80211_SAE_PWE_BOTH: both hunting-and-pecking loop and hash-to-element
7681 * enum nl80211_sar_type - type of SAR specs
7696 * enum nl80211_sar_attrs - Attributes for SAR spec
7701 * limit specifications. Each specification contains a set
7704 * For SET operation, it contains array of %NL80211_SAR_ATTR_SPECS_POWER
7712 * @NL80211_SAR_ATTR_MAX: highest sar attribute
7723 NL80211_SAR_ATTR_MAX = __NL80211_SAR_ATTR_LAST - 1,
7727 * enum nl80211_sar_specs_attrs - Attributes for SAR power limit specs
7738 * Userspace isn't required to set all the ranges advertised by WLAN driver,
7743 * limitation is removed, but it's required to set at least one range.
7744 * It's not allowed to set duplicated range in one SET operation.
7746 * Every SET operation overwrites previous SET operation.
7757 * @NL80211_SAR_ATTR_SPECS_MAX: highest sar specs attribute
7768 NL80211_SAR_ATTR_SPECS_MAX = __NL80211_SAR_ATTR_SPECS_LAST - 1,
7772 * enum nl80211_mbssid_config_attributes - multiple BSSID (MBSSID) and enhanced
7773 * multi-BSSID advertisements (EMA) in AP mode.
7784 * wiphy->mbssid_max_interfaces to a value more than or equal to 2.
7789 * by setting wiphy->ema_max_profile_periodicity to
7790 * a non-zero value.
7793 * this BSS (u8) in the multiple BSSID set.
7794 * Value must be set to 0 for the transmitting interface and non-zero for
7795 * all non-transmitting interfaces. The userspace will be responsible
7797 * Range: 0 to wiphy->mbssid_max_interfaces-1.
7800 * a non-transmitted profile which provides the interface index (u32) of
7802 * indices advertised by the kernel. Optional if the interface being set up
7808 * by setting wiphy->ema_max_profile_periodicity to non-zero.
7811 * @NL80211_MBSSID_CONFIG_ATTR_MAX: highest attribute
7824 NL80211_MBSSID_CONFIG_ATTR_MAX = __NL80211_MBSSID_CONFIG_ATTR_LAST - 1,
7828 * enum nl80211_ap_settings_flags - AP settings flags
7835 * ignore SA Query procedures and validations when this flag is set by