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.
293 * any peers that have peer-specific configuration for the TID by default; if
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 two 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
347 * enum nl80211_commands - supported nl80211 commands
353 * @NL80211_CMD_SET_WIPHY: set wiphy parameters, needs %NL80211_ATTR_WIPHY or
354 * %NL80211_ATTR_IFINDEX; can be used to set %NL80211_ATTR_WIPHY_NAME,
372 * @NL80211_CMD_SET_INTERFACE: Set type of a virtual interface, requires
383 * attribute %NL80211_ATTR_IFINDEX. If multiple BSSID advertisements are
386 * the non-transmitting interfaces are deleted as well.
392 * @NL80211_CMD_SET_KEY: Set key attributes %NL80211_ATTR_KEY_DEFAULT,
394 * For MLO connection, the link to set default key is identified by
421 * The channel to use can be set on the interface or be given using the
430 * @NL80211_CMD_SET_STATION: Set station attributes for station identified by
446 * @NL80211_CMD_SET_MPATH: Set mesh path attributes for mesh path to
458 * @NL80211_CMD_SET_BSS: Set BSS attributes for BSS identified by
461 * @NL80211_CMD_GET_REG: ask the wireless core to send us its currently set
471 * If a wiphy is self-managed (%NL80211_ATTR_WIPHY_SELF_MANAGED_REG), then
474 * @NL80211_CMD_SET_REG: Set current regulatory domain. CRDA sends this command
476 * domain structure which consists of %NL80211_ATTR_REG_ALPHA set to our
478 * NL80211_ATTR_REG_RULE_FLAGS, and a set of regulatory rules. Each
479 * regulatory rule is a nested set of attributes given by
484 * @NL80211_CMD_REQ_SET_REG: ask the wireless core to set the regulatory domain
485 * to the specified ISO/IEC 3166-1 alpha2 country code. The core will
491 * @NL80211_CMD_SET_MESH_CONFIG: Set mesh networking properties for the
494 * @NL80211_CMD_SET_MGMT_EXTRA_IE: Set extra IEs for management frames. The
502 * point to avoid re-using existing command number. The functionality this
537 * using the %NL80211_ATTR_IE attribute. The first cycle of the
540 * scans, it will allow such when the caller provides the flag attribute
541 * %NL80211_ATTR_SCHED_SCAN_MULTI to indicate user-space support for it.
542 * @NL80211_CMD_STOP_SCHED_SCAN: stop a scheduled scan. Returns -ENOENT if
582 * set (%NL80211_ATTR_REG_TYPE), if the type of regulatory domain is
589 * if you are world roaming (regulatory domain set to world or if your
594 * never be used for channels 1-11 on the 2 GHz band as they are always
619 * state. This is similar to MLME-AUTHENTICATE.confirm primitive in the
621 * included %NL80211_ATTR_FRAME attribute contains the management frame
624 * case the %NL80211_ATTR_FRAME attribute is replaced with a
629 * (similar to MLME-ASSOCIATE.request, MLME-REASSOCIATE.request,
630 * MLME-ASSOCIATE.confirm or MLME-REASSOCIATE.confirm primitives). The
631 * %NL80211_ATTR_PREV_BSSID attribute is used to specify whether the
632 * request is for the initial association to an ESS (that attribute not
633 * included) or for reassociation within the ESS (that attribute is
637 * MLME-DEAUTHENTICATION.request and MLME-DEAUTHENTICATE.indication
641 * MLME-DISASSOCIATE.request and MLME-DISASSOCIATE.indication primitives).
649 * event matches with MLME-MICHAELMICFAILURE.indication() primitive
651 * @NL80211_CMD_JOIN_IBSS: Join a new IBSS -- given at least an SSID and a
652 * FREQ attribute (for the initial frequency if no peer can be found)
653 * and optionally a MAC (as BSSID) and FREQ_FIXED attribute if those
657 * given in the %NL80211_ATTR_BEACON_INTERVAL attribute, which if not
659 * @NL80211_CMD_LEAVE_IBSS: Leave the IBSS -- no special arguments, the IBSS is
662 * @NL80211_CMD_TESTMODE: testmode command, takes a wiphy (or ifindex) attribute
663 * to identify the device, and the TESTDATA blob attribute to pass through
669 * %NL80211_ATTR_SSID attribute, and can optionally specify the association
683 * set of BSSID,frequency parameters is used (i.e., either the enforcing
701 * This attribute is ignored if driver does not support roam scan.
704 * determined by the %NL80211_ATTR_STATUS_CODE attribute (0 = success,
705 * non-zero = failure). If %NL80211_ATTR_TIMED_OUT is included in the
708 * Non-zero %NL80211_ATTR_STATUS_CODE value is indicated in that case as
722 * @NL80211_CMD_SET_WIPHY_NETNS: Set a wiphy's netns. Note that all devices
727 * off-channel operations like transmit a Public Action frame and wait for
741 * pending remain-on-channel duration if the desired operation has been
744 * radio. The %NL80211_ATTR_COOKIE attribute must be given as well to
747 * remain-on-channel duration has expired.
749 * @NL80211_CMD_SET_TX_BITRATE_MASK: Set the mask of rates to be used in TX
751 * and @NL80211_ATTR_TX_RATES the set of allowed rates.
755 * requires an interface index, a frame type attribute (optional for
757 * and a match attribute containing the first few bytes of the frame
762 * The %NL80211_ATTR_RECEIVE_MULTICAST flag attribute can be given if
775 * received. If this channel is not the current channel (remain-on-channel
784 * counters which will be updated to the current value. This attribute
793 * @NL80211_CMD_FRAME_WAIT_CANCEL: When an off-channel TX was requested, this
796 * also sent as an event whenever the driver has completed the off-channel
809 * @NL80211_CMD_SET_POWER_SAVE: Set powersave, using %NL80211_ATTR_PS_STATE
818 * @NL80211_CMD_SET_CHANNEL: Set the channel (using %NL80211_ATTR_WIPHY_FREQ
822 * with which it switches channels is implementation-defined.
828 * @NL80211_CMD_SET_WDS_PEER: Set the MAC address of the peer on a WDS interface
847 * @NL80211_CMD_LEAVE_MESH: Leave the mesh network -- no special arguments, the
862 * @NL80211_MESH_SETUP_USERSPACE_MPM is set. On reception of this
869 * @NL80211_CMD_GET_WOWLAN: get Wake-on-Wireless-LAN (WoWLAN) settings.
870 * @NL80211_CMD_SET_WOWLAN: set Wake-on-Wireless-LAN (WoWLAN) settings.
873 * command with the %NL80211_ATTR_WOWLAN_TRIGGERS attribute. For
878 * @NL80211_ATTR_WOWLAN_TRIGGERS attribute will contain the reason
887 * contains the data in sub-attributes). After rekeying happened,
894 * @NL80211_CMD_TDLS_OPER: Perform a high-level TDLS command (e.g. link setup).
896 * actions on TDLS links (set up a new link or tear down an existing one).
902 * %NL80211_ATTR_TDLS_ACTION attribute determines the type of frame to be
903 * sent. Public Action codes (802.11-2012 8.1.5.1) will be sent as
904 * 802.11 management frames, while TDLS action codes (802.11-2012
915 * For the event, the %NL80211_ATTR_MAC attribute carries the TA and
923 * and wasn't already in a 4-addr VLAN. The event will be sent similarly
932 * has %NL80211_ATTR_ACK set if the frame was ACKed.
946 * sent when a remotely-initiated switch (e.g., when a STA receives a CSA
961 * P2P Device can be used for P2P operations, e.g. remain-on-channel and
996 * @NL80211_CMD_UPDATE_FT_IES: Pass down the most up-to-date Fast Transition
1004 * @NL80211_CMD_CRIT_PROTOCOL_START: Indicates user-space will start running
1015 * new channel information (Channel Switch Announcement - CSA)
1024 * @NL80211_CMD_VENDOR: Vendor-specified command/event. The command is specified
1025 * by the %NL80211_ATTR_VENDOR_ID attribute and a sub-command in
1028 * For feature advertisement, the %NL80211_ATTR_VENDOR_DATA attribute is
1029 * used in the wiphy data as a nested attribute containing descriptions
1033 * @NL80211_CMD_SET_QOS_MAP: Set Interworking QoS mapping for IP DSCP values.
1035 * that attribute is not included, QoS mapping is disabled. Since this
1045 * If the admitted time attribute is not added then the request just checks
1061 * @NL80211_CMD_LEAVE_OCB: Leave the OCB network -- no special arguments, the
1064 * @NL80211_CMD_TDLS_CHANNEL_SWITCH: Start channel-switching with a TDLS peer,
1069 * The driver is responsible for continually initiating channel-switching
1072 * @NL80211_CMD_TDLS_CANCEL_CHANNEL_SWITCH: Stop channel-switching with a TDLS
1077 * as an event to indicate changes for devices with wiphy-specific regdom
1080 * @NL80211_CMD_ABORT_SCAN: Stop an ongoing scan. Returns -ENOENT if a scan is
1089 * %NL80211_ATTR_NAN_MASTER_PREF attribute and optional
1091 * omitted or set to 0, it means don't-care and the device will
1097 * with %NL80211_ATTR_NAN_FUNC nested attribute. When called, this
1101 * Since instance ID's can be re-used, this cookie is the right
1120 * set to zero, the configuration is changed to don't-care
1123 * This will contain a %NL80211_ATTR_NAN_MATCH nested attribute and
1132 * @NL80211_CMD_SET_PMK: For offloaded 4-Way handshake, set the PMK or PMK-R0
1134 * When %NL80211_ATTR_PMKR0_NAME is set, %NL80211_ATTR_PMK specifies the
1135 * PMK-R0, otherwise it specifies the PMK.
1136 * @NL80211_CMD_DEL_PMK: For offloaded 4-Way handshake, delete the previously
1140 * open for regular data traffic. For STA/P2P-client, this event is sent
1141 * with AP MAC address and for AP/P2P-GO, the event carries the STA/P2P-
1144 * STA/P2P-client after successful 4-way HS or after 802.1X FT following
1145 * NL80211_CMD_CONNECT or NL80211_CMD_ROAM. Drivers using AP/P2P-GO 4-way
1147 * 4-way handshake with the peer (STA/P2P-client).
1158 * the link to transmit on and the source address will be set to the link
1181 * %NL80211_ATTR_STATUS_CODE attribute in %NL80211_CMD_EXTERNAL_AUTH
1211 * the %NL80211_ATTR_FTM_RESPONDER_STATS attribute.
1213 * @NL80211_CMD_PEER_MEASUREMENT_START: start a (set of) peer measurement(s)
1215 * %NL80211_ATTR_PEER_MEASUREMENTS attribute. Optionally, MAC address
1218 * If a timeout is requested, use the %NL80211_ATTR_TIMEOUT attribute.
1258 * Here attribute %NL80211_ATTR_MAC is used to specify connected mesh
1263 * is passed using %NL80211_ATTR_TID_CONFIG attribute.
1295 * @NL80211_CMD_SET_FILS_AAD: Set FILS AAD data to the driver using -
1296 * &NL80211_ATTR_MAC - for STA MAC address
1297 * &NL80211_ATTR_FILS_KEK - for KEK
1298 * &NL80211_ATTR_FILS_NONCES - for FILS Nonces
1307 * %NL80211_ATTR_MLO_LINK_ID attribute is used for the new link.
1310 * in preparation for e.g. roaming to a regular (non-MLO) AP.
1328 * Multi-Link reconfiguration. %NL80211_ATTR_MLO_LINKS is used to provide
1331 * @NL80211_CMD_SET_TID_TO_LINK_MAPPING: Set the TID to Link Mapping for a
1332 * non-AP MLD station. The %NL80211_ATTR_MLO_TTLM_DLINK and
1597 NL80211_CMD_MAX = __NL80211_CMD_AFTER_LAST - 1
1615 /* source-level API compatibility */
1621 * enum nl80211_attrs - nl80211 netlink attributes
1623 * @NL80211_ATTR_UNSPEC: unspecified attribute to catch errors
1631 * %NL80211_ATTR_WIPHY_CHANNEL_TYPE attribute or the attributes
1634 * @NL80211_ATTR_CHANNEL_WIDTH: u32 attribute containing one of the values
1645 * this attribute)
1649 * This attribute is now deprecated.
1658 * fragmentation with (u32)-1; dot11FragmentationThreshold; u32
1661 * 0..65536, disable with (u32)-1; dot11RTSThreshold; u32
1669 * @NL80211_ATTR_WDEV: wireless device identifier, used for pseudo-devices
1677 * @NL80211_ATTR_KEY_IDX: key ID (u8, 0-3)
1682 * @NL80211_ATTR_KEY_DEFAULT: Flag attribute indicating the key is default key
1683 * @NL80211_ATTR_KEY_DEFAULT_MGMT: Flag attribute indicating the key is the
1706 * given for %NL80211_CMD_GET_STATION, nested attribute containing
1712 * @NL80211_ATTR_MESH_ID: mesh id (1-32 bytes).
1717 * info given for %NL80211_CMD_GET_MPATH, nested attribute described at
1723 * @NL80211_ATTR_REG_ALPHA2: an ISO-3166-alpha2 country code for which the
1724 * current regulatory domain should be set to or is already set to.
1725 * For example, 'CR', for Costa Rica. This attribute is used by the kernel
1726 * to query the CRDA to retrieve one regulatory domain. This attribute can
1727 * also be used by userspace to query the kernel for the currently set
1729 * IEEE-802.11 country information element to identify a country.
1730 * Users can also simply ask the wireless core to set regulatory domain
1747 * @NL80211_ATTR_SUPPORTED_IFTYPES: nested attribute containing all
1748 * supported interface types, each a flag attribute with the number
1758 * a single scan request, a wiphy attribute.
1760 * scan with a single scheduled scan request, a wiphy attribute.
1766 * used with @NL80211_ATTR_SCHED_SCAN_MATCH, a wiphy attribute.
1768 * @NL80211_ATTR_SCAN_FREQUENCIES: nested attribute with frequencies (in MHz)
1769 * @NL80211_ATTR_SCAN_SSIDS: nested attribute with SSIDs, leave out for passive
1770 * scanning and include a zero-length SSID (wildcard) for wildcard scan
1776 * set. This can be one of the nl80211_reg_type (%NL80211_REGDOM_TYPE_*)
1778 * @NL80211_ATTR_SUPPORTED_COMMANDS: wiphy attribute that specifies
1782 * @NL80211_ATTR_FRAME: frame data (binary attribute), including frame header
1785 * @NL80211_ATTR_SSID: SSID (binary attribute, 0..32 octets)
1795 * due to considerations from a beacon hint. This attribute reflects
1797 * attributes consists of a nested attribute containing
1800 * due to considerations from a beacon hint. This attribute reflects
1802 * attributes consists of a nested attribute containing
1805 * @NL80211_ATTR_CIPHER_SUITES: a set of u32 values indicating the supported
1816 * this attribute can be used with %NL80211_CMD_ASSOCIATE and
1823 * @NL80211_ATTR_STA_FLAGS2: Attribute containing a
1832 * @NL80211_ATTR_CONTROL_PORT_ETHERTYPE: A 16-bit value indicating the
1836 * attribute is also used as a flag in the wiphy information to
1844 * socket. If this attribute is missing, then legacy behavior of sending
1849 * flag. When used with %NL80211_ATTR_CONTROL_PORT_NO_PREAUTH, pre-auth
1853 * We recommend using nested, driver-specific attributes within this.
1860 * @NL80211_ATTR_PRIVACY: Flag attribute, used with connect(), indicating
1875 * This attribute is also sent in response to @NL80211_CMD_GET_WIPHY,
1889 * Reassociate Request frame (with the value of this attribute in the
1893 * @NL80211_ATTR_KEY: key information in a nested attribute with
1894 * %NL80211_KEY_* sub-attributes
1896 * and join_ibss(), key information is in a nested attribute each
1897 * with %NL80211_KEY_* sub-attributes
1909 * @NL80211_ATTR_4ADDR: Use 4-address frames on a virtual interface
1912 * the survey response for %NL80211_CMD_GET_SURVEY, nested attribute
1917 * cache, a wiphy attribute.
1920 * @NL80211_ATTR_MAX_REMAIN_ON_CHANNEL_DURATION: Device attribute that
1922 * remain-on-channel operation, in milliseconds, u32.
1924 * @NL80211_ATTR_COOKIE: Generic 64-bit cookie to identify objects.
1926 * @NL80211_ATTR_TX_RATES: Nested set of attributes
1930 * rates based on negotiated supported rates information. This attribute
1940 * @NL80211_ATTR_FRAME_MATCH: A binary attribute which typically must contain
1944 * @NL80211_ATTR_TX_FRAME_TYPES: wiphy capability attribute, which is a
1945 * nested attribute of %NL80211_ATTR_FRAME_TYPE attributes, containing
1948 * @NL80211_ATTR_RX_FRAME_TYPES: wiphy capability attribute, which is a
1949 * nested attribute of %NL80211_ATTR_FRAME_TYPE attributes, containing
1952 * @NL80211_ATTR_ACK: Flag attribute indicating that the frame was
1958 * nested attribute with %NL80211_ATTR_CQM_* sub-attributes.
1960 * @NL80211_ATTR_LOCAL_STATE_CHANGE: Flag attribute to indicate that a command
1973 * for non-automatic settings.
1976 * means support for per-station GTKs.
1990 * Non-802.11n drivers can derive whether to use diversity or not.
1992 * support by returning -EINVAL.
2011 * flag isn't set, the frame will be rejected. This is also used as an
2016 * @NL80211_ATTR_KEY_DEFAULT_TYPES: A nested attribute containing flags
2017 * attributes, specifying what a key should be set as default as.
2022 * @NL80211_ATTR_MESH_CONFIG: Mesh configuration parameters, a nested attribute
2042 * @NL80211_ATTR_SCHED_SCAN_MATCH: Nested attribute with one or more
2045 * pass-thru filter rules.
2047 * set. Since not every hardware supports matching all types of
2051 * Thus, the implementation is somewhat hardware-dependent, but
2053 * needs to handle all the non-filtered results anyway.
2057 * will never let it go through), -EINVAL may be returned.
2060 * @NL80211_ATTR_INTERFACE_COMBINATIONS: Nested attribute listing the supported
2063 * @NL80211_ATTR_SOFTWARE_IFTYPES: Nested attribute (just like
2068 * @NL80211_ATTR_REKEY_DATA: nested attribute containing the information
2072 * nested array attribute containing an entry for each band, with the entry
2090 * @NL80211_ATTR_STA_WME: Nested attribute containing the wme configuration
2098 * @NL80211_ATTR_PMKSA_CANDIDATE: Nested attribute containing the PMKSA caching
2104 * applications use this attribute.
2105 * This attribute is used with %NL80211_CMD_TRIGGER_SCAN and
2111 * @NL80211_ATTR_TDLS_DIALOG_TOKEN: Non-zero token for uniquely identifying a
2122 * @NL80211_ATTR_DEVICE_AP_SME: This u32 attribute may be listed for devices
2124 * with support for the features listed in this attribute, see
2132 * @NL80211_ATTR_FEATURE_FLAGS: This u32 attribute contains flags from
2135 * requests while operating in AP-mode.
2136 * This attribute holds a bitmap of the supported protocols for
2140 * probe-response frame. The DA field in the 802.11 header is zero-ed out,
2143 * this feature during association. This is a flag attribute.
2146 * this feature during association. This is a flag attribute.
2149 * this feature during association. This is a flag attribute.
2155 * MCS rates, MAX-AMSDU, HT-20-40 and HT_CAP_SGI_40
2174 * @NL80211_ATTR_RX_SIGNAL_DBM: signal strength in dBm (as a 32-bit int);
2175 * this attribute is (depending on the driver capabilities) added to
2183 * a user. If set code could specify exactly what type of source
2192 * This contains the authentication frame body (non-IE and IE data),
2198 * Status code). However, those fields are included in the attribute data
2199 * for all authentication algorithms to keep the attribute definition
2214 * @NL80211_ATTR_LOCAL_MESH_POWER_MODE: local mesh STA link-specific power mode
2218 * carried in a u32 attribute
2223 * @NL80211_ATTR_MAC_ACL_MAX: u32 attribute to advertise the maximum
2232 * 802.11-2012 8.4.2.29 for more information.
2234 * has set in the %NL80211_ATTR_EXT_CAPA value, for multibit fields.
2237 * the driver, e.g., to enable TDLS power save (PU-APSD).
2241 * and PU-APSD.
2244 * &enum nl80211_protocol_features, the attribute is a u32.
2246 * @NL80211_ATTR_SPLIT_WIPHY_DUMP: flag attribute, userspace supports
2267 * @NL80211_ATTR_CH_SWITCH_COUNT: u32 attribute specifying the number of TBTT's
2269 * @NL80211_ATTR_CH_SWITCH_BLOCK_TX: flag attribute specifying that transmission
2273 * @NL80211_ATTR_CSA_IES: Nested set of attributes containing the IE information
2304 * u8 attribute.
2306 * @NL80211_ATTR_VENDOR_ID: The vendor ID, either a 24-bit OUI or, if
2307 * %NL80211_VENDOR_ID_IS_LINUX is set, a special Linux ID (not used yet)
2308 * @NL80211_ATTR_VENDOR_SUBCMD: vendor sub-command
2310 * attribute is also used for vendor command feature advertisement
2315 * data is in the format defined for the payload of the QoS Map Set element
2316 * in IEEE Std 802.11-2012, 8.4.2.97.
2321 * @NL80211_ATTR_MAX_AP_ASSOC_STA: Device attribute that indicates how many
2330 * @NL80211_ATTR_MAX_CSA_COUNTERS: U8 attribute used to advertise the maximum
2336 * @NL80211_ATTR_SOCKET_OWNER: Flag attribute, if set during interface
2339 * If set during scheduled scan start then the new scan req will be
2342 * If set during configuration of regulatory indoor operation then the
2346 * If set during NAN interface creation, the interface will be destroyed
2349 * attribute, the notifications will be sent to the %NL80211_MCGRP_NAN
2351 * If set during %NL80211_CMD_ASSOCIATE or %NL80211_CMD_CONNECT the
2353 * If set during %NL80211_CMD_JOIN_IBSS the IBSS will be automatically
2355 * If set during %NL80211_CMD_JOIN_MESH the mesh setup will be
2357 * If set during %NL80211_CMD_START_AP the AP will be automatically
2360 * @NL80211_ATTR_TDLS_INITIATOR: flag attribute indicating the current end is
2364 * shall support Radio Resource Measurements (11k). This attribute can be
2373 * association request. In addition, it must also set the RRM capability
2376 * @NL80211_ATTR_WIPHY_DYN_ACK: flag attribute used to enable ACK timeout
2378 * %NL80211_FEATURE_ACKTO_ESTIMATION feature flag must be set by lower
2382 * @NL80211_ATTR_TSID: a TSID value (u8 attribute)
2383 * @NL80211_ATTR_USER_PRIO: user priority value (u8 attribute)
2385 * (per second) (u16 attribute)
2394 * @NL80211_ATTR_WIPHY_SELF_MANAGED_REG: flag attribute indicating this device
2395 * is self-managing its regulatory information and any regulatory domain
2402 * least-significant bit of the first byte in the array, ie. bit index 0
2407 * returned along with other survey data. If set, @NL80211_CMD_GET_SURVEY
2416 * net-detect scan is started, counting from the moment the
2419 * @NL80211_ATTR_REG_INDOOR: flag attribute, if set indicates that the device
2423 * scheduled scan supported by the device (u32), a wiphy attribute.
2425 * a scan plan (u32), a wiphy attribute.
2427 * a scan plan (u32), a wiphy attribute.
2433 * Each scan plan is a nested attribute of &enum nl80211_sched_scan_plan.
2434 * @NL80211_ATTR_PBSS: flag attribute. If set it means operate
2438 * @NL80211_ATTR_BSS_SELECT: nested attribute for driver supporting the
2442 * it contains the behaviour-specific attribute containing the parameters for
2448 * @NL80211_ATTR_PAD: attribute used for padding for 64-bit alignment
2450 * @NL80211_ATTR_IFTYPE_EXT_CAPA: Nested attribute of the following attributes:
2453 * other interface-type specific capabilities per interface type. For MLO,
2457 * @NL80211_ATTR_MU_MIMO_GROUP_DATA: array of 24 bytes that defines a MU-MIMO
2461 * each bit represents a group and set to 1 for being a member in
2467 * This attribute is used only if all interfaces are in monitor mode.
2468 * Set this attribute in order to monitor packets using the given MU-MIMO
2470 * to turn off that feature set all the bits of the groupID to zero.
2472 * when using MU-MIMO air sniffer.
2473 * to turn that feature off set an invalid mac address
2479 * attribute must not be included).
2481 * %NL80211_ATTR_SCAN_START_TIME_TSF is set.
2483 * %NL80211_ATTR_MEASUREMENT_DURATION_MANDATORY is not set, this is the
2484 * maximum measurement duration allowed. This attribute is used with
2487 * @NL80211_ATTR_MEASUREMENT_DURATION_MANDATORY: flag attribute that indicates
2489 * mandatory. If this flag is not set, the duration is the maximum duration
2503 * would be set. This attribute is used with
2505 * it is optional. If no bands are set, it means don't-care and
2509 * attribute.
2510 * @NL80211_ATTR_NAN_MATCH: used to report a match. This is a nested attribute.
2515 * Request/Response frame protection. This attribute contains the 16 octet
2519 * packets should be send out as unicast to all stations (flag attribute).
2535 * better BSSs. The attribute value is a packed structure
2539 * u32 attribute with an &enum nl80211_timeout_reason value. This is used,
2542 * @NL80211_ATTR_FILS_ERP_USERNAME: EAP Re-authentication Protocol (ERP)
2546 * @NL80211_ATTR_FILS_ERP_REALM: EAP Re-authentication Protocol (ERP) realm part
2550 * @NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM: Unsigned 16-bit ERP next sequence number
2554 * @NL80211_ATTR_FILS_ERP_RRK: ERP re-authentication Root Key (rRK) for the
2560 * @NL80211_ATTR_FILS_CACHE_ID: A 2-octet identifier advertised by a FILS AP
2564 * @NL80211_ATTR_PMK: attribute for passing PMK key material. Used with
2567 * PSK for offloading 4-way handshake for WPA/WPA2-PSK networks. For 802.1X
2569 * support this attribute specifies the PMK-R0 if NL80211_ATTR_PMKR0_NAME
2572 * @NL80211_ATTR_SCHED_SCAN_MULTI: flag attribute which user-space shall use to
2577 * @NL80211_ATTR_WANT_1X_4WAY_HS: flag attribute which user-space can include
2579 * wants to use the supported offload of the 4-way handshake.
2580 * @NL80211_ATTR_PMKR0_NAME: PMK-R0 Name for offloaded FT.
2584 * authentication operation (u32 attribute with an
2587 * @NL80211_ATTR_EXTERNAL_AUTH_SUPPORT: Flag attribute indicating that the user
2588 * space supports external authentication. This attribute shall be used
2592 * attribute deprecated for %NL80211_CMD_START_AP, use
2596 * u8 attribute. This is used with %NL80211_CMD_STA_OPMODE_CHANGED.
2598 * @NL80211_ATTR_TXQ_STATS: TXQ statistics (nested attribute, see &enum
2608 * association request when used with NL80211_CMD_NEW_STATION). Can be set
2609 * only if %NL80211_STA_FLAG_WME is set.
2611 * @NL80211_ATTR_FTM_RESPONDER: nested attribute which user-space can include
2616 * @NL80211_ATTR_FTM_RESPONDER_STATS: Nested attribute with FTM responder
2620 * if the attribute is not given no timeout is requested. Note that 0 is an
2627 * with the appropriate sub-attributes.
2636 * allows to set Tx power for a station. If this attribute is not included,
2637 * the default per-interface tx power setting will be overriding. Driver
2638 * should be picking up the lowest tx power, either tx power per-interface
2639 * or per-station.
2641 * @NL80211_ATTR_SAE_PASSWORD: attribute for passing SAE password material. It
2643 * SAE authentication for WPA3-Personal networks.
2647 * @NL80211_ATTR_HE_OBSS_PD: nested attribute for OBSS Packet Detection
2652 * Defined by IEEE P802.11ay/D4.0 section 9.4.2.251. (u8 attribute)
2654 * the allowed channel bandwidth configurations. (u8 attribute)
2660 * @NL80211_ATTR_HE_BSS_COLOR: nested attribute for BSS Color Settings.
2662 * @NL80211_ATTR_IFTYPE_AKM_SUITES: nested array attribute, with each entry
2664 * attribute is sent in a response to %NL80211_CMD_GET_WIPHY indicating
2670 * nested attribute with &enum nl80211_tid_config_attr sub-attributes;
2671 * on output (in wiphy attributes) it contains only the feature sub-
2707 * @NL80211_ATTR_SCAN_FREQ_KHZ: nested attribute with KHz frequencies
2713 * discovery. It is a nested attribute, see
2715 * nested attribute to disable this feature and delete the templates.
2718 * unsolicited broadcast probe response. It is a nested attribute, see
2720 * nested attribute to disable this feature and delete the templates.
2729 * derivation in WPA3-Personal networks which are using SAE authentication.
2730 * This is a u8 attribute that encapsulates one of the values from
2738 * @NL80211_ATTR_RECONNECT_REQUESTED: flag attribute, used with deauth and
2745 * @NL80211_ATTR_COLOR_CHANGE_COUNT: u8 attribute specifying the number of TBTT's
2747 * @NL80211_ATTR_COLOR_CHANGE_COLOR: u8 attribute specifying the color that we are
2749 * @NL80211_ATTR_COLOR_CHANGE_ELEMS: Nested set of attributes containing the IE
2752 * @NL80211_ATTR_MBSSID_CONFIG: Nested attribute for multiple BSSID
2754 * Kernel uses this attribute to indicate the driver's support for MBSSID
2755 * and enhanced multi-BSSID advertisements (EMA AP) to the userspace.
2756 * Userspace should use this attribute to configure per interface MBSSID
2762 * Optional for the non-transmitting interfaces.
2771 * @NL80211_ATTR_AP_SETTINGS_FLAGS: u32 attribute contains ap settings flags,
2772 * enumerated in &enum nl80211_ap_settings_flags. This attribute shall be
2776 * association request when used with NL80211_CMD_NEW_STATION). Can be set
2777 * only if %NL80211_STA_FLAG_WME is set.
2782 * per-link information and a link ID.
2786 * @NL80211_ATTR_MLO_SUPPORT: Flag attribute to indicate user space supports MLO
2787 * connection. Used with %NL80211_CMD_CONNECT. If this attribute is not
2790 * @NL80211_ATTR_MAX_NUM_AKM_SUITES: U16 attribute. Indicates maximum number of
2793 * attribute is not present userspace shall consider maximum number of AKM
2795 * number prior to the introduction of this attribute.
2816 * bit corresponds to the lowest 20 MHz channel. Each bit set to 1
2817 * indicates that the sub-channel is punctured. Higher 16 bits are
2821 * timestamping can be enabled for concurrently (u16), a wiphy attribute.
2825 * be enabled or not (flag attribute).
2827 * @NL80211_ATTR_EMA_RNR_ELEMS: Optional nested attribute for
2828 * reduced neighbor report (RNR) elements. This attribute can be used
2831 * elements such that each element excludes the non-transmitting
2838 * @NL80211_ATTR_MLO_LINK_DISABLED: Flag attribute indicating that the link is
2845 * @NL80211_ATTR_MLO_TTLM_DLINK: Binary attribute specifying the downlink TID to
2847 * mapping is as defined in section 9.4.2.314 (TID-To-Link Mapping element)
2849 * @NL80211_ATTR_MLO_TTLM_ULINK: Binary attribute specifying the uplink TID to
2851 * mapping is as defined in section 9.4.2.314 (TID-To-Link Mapping element)
2855 * @NL80211_ATTR_MAX: highest attribute number currently defined
3401 NL80211_ATTR_MAX = __NL80211_ATTR_AFTER_LAST - 1
3404 /* source-level API compatibility */
3463 #define NL80211_SCAN_RSSI_THOLD_OFF -300
3468 * enum nl80211_iftype - (virtual) interface types
3475 * are a bit special in that they must always be tied to a pre-existing
3493 * to set the type of an interface.
3513 NL80211_IFTYPE_MAX = NUM_NL80211_IFTYPES - 1
3517 * enum nl80211_sta_flags - station flags
3522 * @__NL80211_STA_FLAG_INVALID: attribute number 0 is reserved
3529 * @NL80211_STA_FLAG_TDLS_PEER: station is a TDLS peer -- this flag should
3552 NL80211_STA_FLAG_MAX = __NL80211_STA_FLAG_AFTER_LAST - 1
3556 * enum nl80211_sta_p2p_ps_status - station support of P2P PS
3572 * struct nl80211_sta_flag_update - station flags mask/set
3573 * @mask: mask of station flags to set
3574 * @set: which values to set them to
3576 * Both mask and set contain bits as per &enum nl80211_sta_flags.
3580 __u32 set; member
3584 * enum nl80211_he_gi - HE guard interval
3596 * enum nl80211_he_ltf - HE long training field
3608 * enum nl80211_he_ru_alloc - HE RU allocation values
3609 * @NL80211_RATE_INFO_HE_RU_ALLOC_26: 26-tone RU allocation
3610 * @NL80211_RATE_INFO_HE_RU_ALLOC_52: 52-tone RU allocation
3611 * @NL80211_RATE_INFO_HE_RU_ALLOC_106: 106-tone RU allocation
3612 * @NL80211_RATE_INFO_HE_RU_ALLOC_242: 242-tone RU allocation
3613 * @NL80211_RATE_INFO_HE_RU_ALLOC_484: 484-tone RU allocation
3614 * @NL80211_RATE_INFO_HE_RU_ALLOC_996: 996-tone RU allocation
3615 * @NL80211_RATE_INFO_HE_RU_ALLOC_2x996: 2x996-tone RU allocation
3628 * enum nl80211_eht_gi - EHT guard interval
3640 * enum nl80211_eht_ru_alloc - EHT RU allocation values
3641 * @NL80211_RATE_INFO_EHT_RU_ALLOC_26: 26-tone RU allocation
3642 * @NL80211_RATE_INFO_EHT_RU_ALLOC_52: 52-tone RU allocation
3643 * @NL80211_RATE_INFO_EHT_RU_ALLOC_52P26: 52+26-tone RU allocation
3644 * @NL80211_RATE_INFO_EHT_RU_ALLOC_106: 106-tone RU allocation
3646 * @NL80211_RATE_INFO_EHT_RU_ALLOC_242: 242-tone RU allocation
3647 * @NL80211_RATE_INFO_EHT_RU_ALLOC_484: 484-tone RU allocation
3649 * @NL80211_RATE_INFO_EHT_RU_ALLOC_996: 996-tone RU allocation
3652 * @NL80211_RATE_INFO_EHT_RU_ALLOC_2x996: 2x996-tone RU allocation
3654 * @NL80211_RATE_INFO_EHT_RU_ALLOC_3x996: 3x996-tone RU allocation
3656 * @NL80211_RATE_INFO_EHT_RU_ALLOC_4x996: 4x996-tone RU allocation
3678 * enum nl80211_rate_info - bitrate information
3680 * These attribute types are used with %NL80211_STA_INFO_TXRATE
3683 * a 16-bit value, and new one that represents a 32-bit value.
3686 * (>6.5535Gbps) only 32-bit attribute is included.
3687 * User space tools encouraged to use the 32-bit attribute and fall
3688 * back to the 16-bit one for compatibility with older kernels.
3690 * @__NL80211_RATE_INFO_INVALID: attribute number 0 is reserved
3700 * @NL80211_RATE_INFO_80P80_MHZ_WIDTH: unused - 80+80 is treated the
3703 * @NL80211_RATE_INFO_10_MHZ_WIDTH: 10 MHz width - note that this is
3706 * @NL80211_RATE_INFO_5_MHZ_WIDTH: 5 MHz width - note that this is
3709 * @NL80211_RATE_INFO_HE_MCS: HE MCS index (u8, 0-11)
3710 * @NL80211_RATE_INFO_HE_NSS: HE NSS value (u8, 1-8)
3715 * non-OFDMA was used (u8, see &enum nl80211_he_ru_alloc)
3717 * @NL80211_RATE_INFO_EHT_MCS: EHT MCS index (u8, 0-15)
3718 * @NL80211_RATE_INFO_EHT_NSS: EHT NSS value (u8, 1-8)
3722 * non-OFDMA was used (u8, see &enum nl80211_eht_ru_alloc)
3723 * @NL80211_RATE_INFO_S1G_MCS: S1G MCS index (u8, 0-10)
3724 * @NL80211_RATE_INFO_S1G_NSS: S1G NSS value (u8, 1-4)
3766 NL80211_RATE_INFO_MAX = __NL80211_RATE_INFO_AFTER_LAST - 1
3770 * enum nl80211_sta_bss_param - BSS information collected by STA
3772 * These attribute types are used with %NL80211_STA_INFO_BSS_PARAM
3775 * @__NL80211_STA_BSS_PARAM_INVALID: attribute number 0 is reserved
3796 NL80211_STA_BSS_PARAM_MAX = __NL80211_STA_BSS_PARAM_AFTER_LAST - 1
3800 * enum nl80211_sta_info - station information
3802 * These attribute types are used with %NL80211_ATTR_STA_INFO
3805 * @__NL80211_STA_INFO_INVALID: attribute number 0 is reserved
3816 * @NL80211_STA_INFO_TX_BITRATE: current unicast tx rate, nested attribute
3831 * attribute, like NL80211_STA_INFO_TX_BITRATE.
3832 * @NL80211_STA_INFO_BSS_PARAM: current station's view of BSS, nested attribute
3838 * @NL80211_STA_INFO_LOCAL_PM: local mesh STA link-specific power mode
3839 * @NL80211_STA_INFO_PEER_PM: peer mesh STA link-specific power mode
3841 * non-peer STA
3842 * @NL80211_STA_INFO_CHAIN_SIGNAL: per-chain signal strength of last PPDU
3844 * @NL80211_STA_INFO_CHAIN_SIGNAL_AVG: per-chain signal strength average
3853 * @NL80211_STA_INFO_TID_STATS: per-TID statistics (see &enum nl80211_tid_stats)
3854 * This is a nested attribute where each the inner attribute number is the
3855 * TID+1 and the special TID 16 (i.e. value 17) is used for non-QoS frames;
3860 * @NL80211_STA_INFO_PAD: attribute used for padding for 64-bit alignment
3869 * @NL80211_STA_INFO_CONNECTED_TO_GATE: set to true if STA has a path to a
3877 * @NL80211_STA_INFO_CONNECTED_TO_AS: set to true if STA has a path to a
3880 * @NL80211_STA_INFO_MAX: highest possible station info attribute
3930 NL80211_STA_INFO_MAX = __NL80211_STA_INFO_AFTER_LAST - 1
3933 /* we renamed this - stay compatible */
3938 * enum nl80211_tid_stats - per TID statistics attributes
3939 * @__NL80211_TID_STATS_INVALID: attribute number 0 is reserved
3947 * @NL80211_TID_STATS_PAD: attribute used for padding for 64-bit alignment
3948 * @NL80211_TID_STATS_TXQ_STATS: TXQ stats (nested attribute)
3950 * @NL80211_TID_STATS_MAX: highest numbered attribute here
3963 NL80211_TID_STATS_MAX = NUM_NL80211_TID_STATS - 1
3967 * enum nl80211_txq_stats - per TXQ statistics attributes
3968 * @__NL80211_TXQ_STATS_INVALID: attribute number 0 is reserved
3978 * (only for per-phy stats)
3983 * @NL80211_TXQ_STATS_MAX: highest numbered attribute here
4001 NL80211_TXQ_STATS_MAX = NUM_NL80211_TXQ_STATS - 1
4005 * enum nl80211_mpath_flags - nl80211 mesh path flags
4010 * @NL80211_MPATH_FLAG_FIXED: the mesh path has been manually set
4022 * enum nl80211_mpath_info - mesh path information
4024 * These attribute types are used with %NL80211_ATTR_MPATH_INFO when getting
4027 * @__NL80211_MPATH_INFO_INVALID: attribute number 0 is reserved
4038 * @NL80211_MPATH_INFO_MAX: highest mesh path information attribute number
4056 NL80211_MPATH_INFO_MAX = __NL80211_MPATH_INFO_AFTER_LAST - 1
4060 * enum nl80211_band_iftype_attr - Interface type data attributes
4062 * @__NL80211_BAND_IFTYPE_ATTR_INVALID: attribute number 0 is reserved
4063 * @NL80211_BAND_IFTYPE_ATTR_IFTYPES: nested attribute containing a flag attribute
4086 * @NL80211_BAND_IFTYPE_ATTR_MAX: highest band attribute currently defined
4105 NL80211_BAND_IFTYPE_ATTR_MAX = __NL80211_BAND_IFTYPE_ATTR_AFTER_LAST - 1
4109 * enum nl80211_band_attr - band attributes
4110 * @__NL80211_BAND_ATTR_INVALID: attribute number 0 is reserved
4115 * @NL80211_BAND_ATTR_HT_MCS_SET: 16-byte attribute containing the MCS set as
4118 * @NL80211_BAND_ATTR_HT_AMPDU_FACTOR: A-MPDU factor, as in 11n
4119 * @NL80211_BAND_ATTR_HT_AMPDU_DENSITY: A-MPDU density, as in 11n
4120 * @NL80211_BAND_ATTR_VHT_MCS_SET: 32-byte attribute containing the MCS set as
4123 * @NL80211_BAND_ATTR_IFTYPE_DATA: nested array attribute, with each entry using
4131 * @NL80211_BAND_ATTR_S1G_MCS_NSS_SET: S1G capabilities, supported S1G-MCS and NSS
4132 * set subfield, as in the S1G information IE, 5 bytes
4135 * @NL80211_BAND_ATTR_MAX: highest band attribute currently defined
4160 NL80211_BAND_ATTR_MAX = __NL80211_BAND_ATTR_AFTER_LAST - 1
4166 * enum nl80211_wmm_rule - regulatory wmm rule
4168 * @__NL80211_WMMR_INVALID: attribute number 0 is reserved
4185 NL80211_WMMR_MAX = __NL80211_WMMR_LAST - 1
4189 * enum nl80211_frequency_attr - frequency attributes
4190 * @__NL80211_FREQUENCY_ATTR_INVALID: attribute number 0 is reserved
4205 * @NL80211_FREQUENCY_ATTR_NO_HT40_MINUS: HT40- isn't possible with this
4217 * channel. A channel that has the INDOOR_ONLY attribute can only be
4225 * band), and IEEE80211_CHAN_RADAR is not set. Instantiating a GO or TDLS
4226 * off-channel on a channel that has the IR_CONCURRENT attribute set can be
4229 * off-channel while the device is also connected to an AP with DFS and
4230 * radar detection on the UNII band (it is up to user-space, i.e.,
4232 * attribute for IR is disallowed for master interfaces (IBSS, AP).
4238 * This is a nested attribute that contains the wmm limitation per AC.
4260 * allowed for peer-to-peer or adhoc communication under the control
4261 * of a DFS master which operates on the same channel (FCC-594280 D01
4267 * @NL80211_FREQUENCY_ATTR_MAX: highest frequency attribute number
4312 NL80211_FREQUENCY_ATTR_MAX = __NL80211_FREQUENCY_ATTR_AFTER_LAST - 1
4323 * enum nl80211_bitrate_attr - bitrate attributes
4324 * @__NL80211_BITRATE_ATTR_INVALID: attribute number 0 is reserved
4328 * @NL80211_BITRATE_ATTR_MAX: highest bitrate attribute number
4339 NL80211_BITRATE_ATTR_MAX = __NL80211_BITRATE_ATTR_AFTER_LAST - 1
4343 * enum nl80211_initiator - Indicates the initiator of a reg domain request
4346 * @NL80211_REGDOM_SET_BY_USER: User asked the wireless core to set the
4354 * structure passed by userspace (CRDA) from our wireless-regdb.
4356 * be disabled we disable the channel and re-enable it upon disassociation.
4366 * enum nl80211_reg_type - specifies the type of regulatory domain
4367 * @NL80211_REGDOM_TYPE_COUNTRY: the regulatory domain set is one that pertains
4368 * to a specific country. When this is set you can count on the
4370 * @NL80211_REGDOM_TYPE_WORLD: the regulatory set domain is the world regulatory
4372 * @NL80211_REGDOM_TYPE_CUSTOM_WORLD: the regulatory domain set is a custom
4373 * driver specific world regulatory domain. These do not apply system-wide
4376 * @NL80211_REGDOM_TYPE_INTERSECTION: the regulatory domain set is the product
4377 * of an intersection between two regulatory domains -- the previously
4378 * set regulatory domain on the system and the last accepted regulatory
4389 * enum nl80211_reg_rule_attr - regulatory rule attributes
4390 * @__NL80211_REG_RULE_ATTR_INVALID: attribute number 0 is reserved
4391 * @NL80211_ATTR_REG_RULE_FLAGS: a set of flags which specify additional
4411 * @NL80211_REG_RULE_ATTR_MAX: highest regulatory rule attribute number
4432 NL80211_REG_RULE_ATTR_MAX = __NL80211_REG_RULE_ATTR_AFTER_LAST - 1
4436 * enum nl80211_sched_scan_match_attr - scheduled scan match attributes
4437 * @__NL80211_SCHED_SCAN_MATCH_ATTR_INVALID: attribute number 0 is reserved
4443 * if this attribute is in a match set of its own, then it is treated as
4448 * attribute) is if there's only a single matchset with the RSSI attribute.
4453 * BSS-es in the specified band is to be adjusted before doing
4454 * RSSI-based BSS selection. The attribute value is a packed structure
4458 * @NL80211_SCHED_SCAN_MATCH_PER_BAND_RSSI: Nested attribute that carries the
4461 * band shall be encapsulated in attribute with type value equals to one
4464 * within an attribute of type NL80211_BAND_2GHZ. And one or more of such
4465 * attributes will be nested within this attribute.
4467 * attribute number currently defined
4483 __NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST - 1
4490 * enum nl80211_reg_rule_flags - regulatory rule flags
4506 * @NL80211_RRF_NO_HT40MINUS: channels can't be used in HT40- operation
4515 peer-to-peer or adhoc communication under the control of a DFS master
4516 which operates on the same channel (FCC-594280 D01 Section B.3).
4557 * enum nl80211_dfs_regions - regulatory DFS regions
4572 * enum nl80211_user_reg_hint_type - type of user regulatory hint
4575 * assumed if the attribute is not set.
4595 * enum nl80211_survey_info - survey information
4597 * These attribute types are used with %NL80211_ATTR_SURVEY_INFO
4600 * @__NL80211_SURVEY_INFO_INVALID: attribute number 0 is reserved
4616 * @NL80211_SURVEY_INFO_PAD: attribute used for padding for 64-bit alignment
4619 * @NL80211_SURVEY_INFO_MAX: highest survey info attribute number
4641 NL80211_SURVEY_INFO_MAX = __NL80211_SURVEY_INFO_AFTER_LAST - 1
4652 * enum nl80211_mntr_flags - monitor configuration flags
4681 NL80211_MNTR_FLAG_MAX = __NL80211_MNTR_FLAG_AFTER_LAST - 1
4685 * enum nl80211_mesh_power_mode - mesh power save modes
4688 * not known or has not been set yet.
4698 * @__NL80211_MESH_POWER_AFTER_LAST - internal use
4699 * @NL80211_MESH_POWER_MAX - highest possible power save level
4709 NL80211_MESH_POWER_MAX = __NL80211_MESH_POWER_AFTER_LAST - 1
4713 * enum nl80211_meshconf_params - mesh configuration parameters
4736 * @NL80211_MESHCONF_TTL: specifies the value of TTL field set at a source mesh
4742 * set.
4768 * @NL80211_MESHCONF_ELEMENT_TTL: specifies the value of TTL field set at a
4782 * @NL80211_MESHCONF_FORWARDING: set Mesh STA as forwarding or non-forwarding
4783 * or forwarding entity (default is TRUE - forwarding entity)
4793 * @NL80211_MESHCONF_HT_OPMODE: set mesh HT protection mode.
4795 * @NL80211_MESHCONF_ATTR_MAX: highest possible mesh configuration attribute
4815 * remove it from the STA's list of peers. You may set this to 0 to disable
4818 * @NL80211_MESHCONF_CONNECTED_TO_GATE: If set to true then this mesh STA
4823 * @NL80211_MESHCONF_NOLEARN: Try to avoid multi-hop path discovery (e.g.
4825 * this might not be the optimal decision as a multi-hop route might be
4829 * @NL80211_MESHCONF_CONNECTED_TO_AS: If set to true then this mesh STA
4871 NL80211_MESHCONF_ATTR_MAX = __NL80211_MESHCONF_ATTR_AFTER_LAST - 1
4875 * enum nl80211_mesh_setup_params - mesh setup parameters
4901 * a userspace daemon. When this flag is set, the kernel will send peer
4919 * @NL80211_MESH_SETUP_ATTR_MAX: highest possible mesh setup attribute number
4936 NL80211_MESH_SETUP_ATTR_MAX = __NL80211_MESH_SETUP_ATTR_AFTER_LAST - 1
4940 * enum nl80211_txq_attr - TX queue parameter attributes
4941 * @__NL80211_TXQ_ATTR_INVALID: Attribute number 0 is reserved
4946 * 2^n-1 in the range 1..32767]
4948 * 2^n-1 in the range 1..32767]
4951 * @NL80211_TXQ_ATTR_MAX: Maximum TXQ attribute number
4963 NL80211_TXQ_ATTR_MAX = __NL80211_TXQ_ATTR_AFTER_LAST - 1
4982 * enum nl80211_channel_type - channel type
4983 * @NL80211_CHAN_NO_HT: 20 MHz, non-HT channel
4998 * enum nl80211_key_mode - Key mode
5019 * enum nl80211_chan_width - channel width definitions
5022 * attribute.
5024 * @NL80211_CHAN_WIDTH_20_NOHT: 20 MHz, non-HT channel
5027 * attribute must be provided as well
5029 * attribute must be provided as well
5033 * attribute must be provided as well
5042 * attribute must be provided as well
5062 * enum nl80211_bss_scan_width - control channel width for a BSS
5064 * These values are used with the %NL80211_BSS_CHAN_WIDTH attribute.
5081 * enum nl80211_bss_use_for - bitmap indicating possible BSS use
5086 * the assoc link must have this flag set, and the assoc link must
5087 * additionally have %NL80211_BSS_USE_FOR_NORMAL set.
5095 * enum nl80211_bss_cannot_use_reasons - reason(s) connection to a
5108 * enum nl80211_bss - netlink attributes for a BSS
5119 * @NL80211_BSS_INFORMATION_ELEMENTS: binary attribute containing the
5121 * if the %NL80211_BSS_BEACON_IES attribute is present and the data is
5126 * If present, the @NL80211_BSS_PRESP_DATA attribute indicates that the
5134 * @NL80211_BSS_BEACON_IES: binary attribute containing the raw information
5138 * (u32, enum nl80211_bss_scan_width) - No longer used!
5142 * @NL80211_BSS_TSF is known to be from a probe response (flag attribute)
5146 * @NL80211_BSS_PAD: attribute used for padding for 64-bit alignment
5152 * is set.
5153 * @NL80211_BSS_CHAIN_SIGNAL: per-chain signal strength of last BSS update.
5159 * @NL80211_BSS_USE_FOR: u32 bitmap attribute indicating what the BSS can be
5164 * This is a u64 attribute containing a bitmap of values from
5165 * &enum nl80211_cannot_use_reasons, note that the attribute may be missing
5168 * @NL80211_BSS_MAX: highest BSS attribute
5199 NL80211_BSS_MAX = __NL80211_BSS_AFTER_LAST - 1
5203 * enum nl80211_bss_status - BSS "status"
5211 * The BSS status is a BSS attribute in scan dumps, which
5221 * enum nl80211_auth_type - AuthenticationType
5234 * trying multiple times); this is invalid in netlink -- leave out
5235 * the attribute for this on CONNECT commands.
5249 NL80211_AUTHTYPE_MAX = __NL80211_AUTHTYPE_NUM - 1,
5254 * enum nl80211_key_type - Key Type
5269 * enum nl80211_mfp - Management frame protection state
5287 * enum nl80211_key_default_types - key default types
5304 * enum nl80211_key_attributes - key attributes
5309 * @NL80211_KEY_IDX: key ID (u8, 0-3)
5319 * @NL80211_KEY_DEFAULT_TYPES: A nested attribute containing flags
5320 * attributes, specifying what a key should be set as default as.
5327 * @NL80211_KEY_MAX: highest key attribute
5344 NL80211_KEY_MAX = __NL80211_KEY_AFTER_LAST - 1
5348 * enum nl80211_tx_rate_attributes - TX rate set attributes
5350 * @NL80211_TXRATE_LEGACY: Legacy (non-MCS) rates allowed for TX rate selection
5364 * @NL80211_TXRATE_MAX: highest TX rate attribute
5378 NL80211_TXRATE_MAX = __NL80211_TXRATE_AFTER_LAST - 1
5385 * struct nl80211_txrate_vht - VHT MCS/NSS txrate bitmap
5394 * struct nl80211_txrate_he - HE MCS/NSS txrate bitmap
5408 * enum nl80211_band - Frequency band
5410 * @NL80211_BAND_5GHZ: around 5 GHz band (4.9 - 5.7 GHz)
5411 * @NL80211_BAND_60GHZ: around 60 GHz band (58.32 - 69.12 GHz)
5412 * @NL80211_BAND_6GHZ: around 6 GHz band (5.9 - 7.2 GHz)
5430 * enum nl80211_ps_state - powersave state
5440 * enum nl80211_attr_cqm - connection quality monitor attributes
5445 * set, multiple values can be supplied as a low-to-high sorted array of
5464 * %NL80211_CMD_NOTIFY_CQM. Set to 0 to turn off TX error reporting.
5465 * @NL80211_ATTR_CQM_BEACON_LOSS_EVENT: flag attribute that's set in a beacon
5470 * @NL80211_ATTR_CQM_MAX: highest key attribute
5486 NL80211_ATTR_CQM_MAX = __NL80211_ATTR_CQM_AFTER_LAST - 1
5490 * enum nl80211_cqm_rssi_threshold_event - RSSI threshold event
5505 * enum nl80211_tx_power_setting - TX power adjustment
5517 * enum nl80211_tid_config - TID config state
5526 /* enum nl80211_tx_rate_setting - TX rate configuration type
5537 /* enum nl80211_tid_config_attr - TID specific configuration.
5538 * @NL80211_TID_CONFIG_ATTR_PAD: pad attribute for 64-bit values
5540 * for per-vif configuration; doesn't list the ones that are generic
5542 * @NL80211_TID_CONFIG_ATTR_PEER_SUPP: same as the previous per-vif one, but
5544 * @NL80211_TID_CONFIG_ATTR_OVERRIDE: flag attribute, if set indicates
5554 * transmission, user-space sets this configuration in
5556 * the max value is advertised by the driver in this attribute on
5559 * transmission, user-space sets this configuration in
5561 * the max value is advertised by the driver in this attribute on
5572 * @NL80211_TID_CONFIG_ATTR_TX_RATE_TYPE: This attribute will be useful
5599 NL80211_TID_CONFIG_ATTR_MAX = __NL80211_TID_CONFIG_ATTR_AFTER_LAST - 1
5603 * enum nl80211_packet_pattern_attr - packet pattern attribute
5604 * @__NL80211_PKTPAT_INVALID: invalid number for nested attribute
5608 * a bit for each byte in the pattern. The lowest-order bit corresponds
5610 * in a little-endian-like format, i.e. the 9th byte of the pattern
5611 * corresponds to the lowest-order bit in the second byte of the mask.
5621 * @MAX_NL80211_PKTPAT: max attribute number
5630 MAX_NL80211_PKTPAT = NUM_NL80211_PKTPAT - 1,
5634 * struct nl80211_pattern_support - packet pattern support information
5663 * enum nl80211_wowlan_triggers - WoWLAN trigger definitions
5666 * the chip into a special state -- works best with chips that have
5667 * support for low-power operation already (flag)
5671 * is detected is implementation-specific (flag)
5675 * which are passed in an array of nested attributes, each nested attribute
5682 * In %NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED, it is a binary attribute
5685 * When reporting wakeup. it is a u32 attribute containing the 0-based
5695 * @NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE: wake up on 4-way handshake (flag)
5701 * attribute contains the original length.
5704 * attribute if the packet was truncated somewhere.
5707 * be truncated, the @NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023_LEN attribute
5711 * attribute if the packet was truncated somewhere.
5713 * "TCP connection wakeup" for more details. This is a nested attribute
5724 * is detected. This is a nested attribute that contains the
5729 * attribute is also sent in a response to
5732 * @NL80211_WOWLAN_TRIG_NET_DETECT_RESULTS: nested attribute
5738 * Each element in the array is a nested attribute that contains
5739 * one optional %NL80211_ATTR_SSID attribute and one optional
5740 * %NL80211_ATTR_SCAN_FREQUENCIES attribute. At least one of
5746 * @MAX_NL80211_WOWLAN_TRIG: highest wowlan trigger attribute number
5775 MAX_NL80211_WOWLAN_TRIG = NUM_NL80211_WOWLAN_TRIG - 1
5788 * optionally, a token from a list of tokens. This serves as a keep-alive
5791 * During this keep-alive period, the server doesn't send any data to the
5802 * struct nl80211_wowlan_tcp_data_seq - WoWLAN TCP data sequence
5816 * struct nl80211_wowlan_tcp_data_token - WoWLAN TCP data token config
5828 * struct nl80211_wowlan_tcp_data_token_feature - data token features
5838 * enum nl80211_wowlan_tcp_attrs - WoWLAN TCP connection parameters
5851 * For feature advertising, a u32 attribute holding the maximum length
5862 * u32 attribute holding the maximum length
5867 * @MAX_NL80211_WOWLAN_TCP: highest attribute number
5885 MAX_NL80211_WOWLAN_TCP = NUM_NL80211_WOWLAN_TCP - 1
5889 * struct nl80211_coalesce_rule_support - coalesce rule support information
5904 * enum nl80211_attr_coalesce_rule - coalesce rule attribute
5905 * @__NL80211_COALESCE_RULE_INVALID: invalid number for nested attribute
5912 * @NL80211_ATTR_COALESCE_RULE_MAX: max attribute number
5922 NL80211_ATTR_COALESCE_RULE_MAX = NUM_NL80211_ATTR_COALESCE_RULE - 1
5926 * enum nl80211_coalesce_condition - coalesce rule conditions
5938 * enum nl80211_iface_limit_attrs - limit attributes
5941 * can be chosen from this set of interface types (u32)
5942 * @NL80211_IFACE_LIMIT_TYPES: nested attribute containing a
5943 * flag attribute for each interface type in this set
5945 * @MAX_NL80211_IFACE_LIMIT: highest attribute number
5954 MAX_NL80211_IFACE_LIMIT = NUM_NL80211_IFACE_LIMIT - 1
5958 * enum nl80211_if_combination_attrs -- interface combination attributes
5963 * @NL80211_IFACE_COMB_MAXNUM: u32 attribute giving the total number of
5966 * in a separate attribute %NL80211_ATTR_INTERFACES_SOFTWARE.
5967 * @NL80211_IFACE_COMB_STA_AP_BI_MATCH: flag attribute specifying that
5971 * @NL80211_IFACE_COMB_NUM_CHANNELS: u32 attribute specifying how many
5973 * @NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS: u32 attribute containing the bitmap
5975 * @NL80211_IFACE_COMB_RADAR_DETECT_REGIONS: u32 attribute containing the bitmap
5977 * @NL80211_IFACE_COMB_BI_MIN_GCD: u32 attribute specifying the minimum GCD of
5981 * @MAX_NL80211_IFACE_COMB: highest attribute number
5987 * numbers = [ #{AP, P2P-GO} <= 8 ], BI min gcd, channels = 1, max = 8,
5993 * numbers = [ #{STA} <= 1, #{P2P-client,P2P-GO} <= 3 ], max = 4
5997 * within the %NL80211_ATTR_INTERFACE_COMBINATIONS attribute to indicate
6018 MAX_NL80211_IFACE_COMB = NUM_NL80211_IFACE_COMB - 1
6023 * enum nl80211_plink_state - state of a mesh peer link finite state machine
6026 * state of non-existent mesh peer links
6051 MAX_NL80211_PLINK_STATES = NUM_NL80211_PLINK_STATES - 1
6055 * enum nl80211_plink_action - actions to perform in mesh peers
6079 * enum nl80211_rekey_data - attributes for GTK rekey offload
6086 * @MAX_NL80211_REKEY_DATA: highest rekey attribute (internal)
6097 MAX_NL80211_REKEY_DATA = NUM_NL80211_REKEY_DATA - 1
6101 * enum nl80211_hidden_ssid - values for %NL80211_ATTR_HIDDEN_SSID
6104 * @NL80211_HIDDEN_SSID_ZERO_LEN: hide SSID by using zero-length SSID element
6116 * enum nl80211_sta_wme_attr - station WME attributes
6117 * @__NL80211_STA_WME_INVALID: invalid number for nested attribute
6123 * @NL80211_STA_WME_MAX: highest station WME attribute
6132 NL80211_STA_WME_MAX = __NL80211_STA_WME_AFTER_LAST - 1
6136 * enum nl80211_pmksa_candidate_attr - attributes for PMKSA caching candidates
6141 * @NL80211_PMKSA_CANDIDATE_PREAUTH: RSN pre-authentication supported (flag)
6144 * @MAX_NL80211_PMKSA_CANDIDATE: highest PMKSA caching candidate attribute
6155 MAX_NL80211_PMKSA_CANDIDATE = NUM_NL80211_PMKSA_CANDIDATE - 1
6159 * enum nl80211_tdls_operation - values for %NL80211_ATTR_TDLS_OPERATION
6175 * enum nl80211_ap_sme_features - device-integrated AP features
6185 * enum nl80211_feature_flags - device/driver features
6203 * @NL80211_FEATURE_VIF_TXPOWER: The driver supports per-vif TX power setting
6221 * stations the authenticated/associated bits have to be set in the mask.
6223 * (HT40, VHT 80/160 MHz) if this flag is set
6233 * channel bandwidth change (e.g., HT 20 <-> 40 MHz channel) during the
6236 * Set IE to probe requests.
6246 * estimation (dynack). %NL80211_ATTR_WIPHY_DYN_ACK flag attribute is used
6256 * TSPEC sessions (TID aka TSID 0-7) with the %NL80211_CMD_ADD_TX_TS
6258 * needs to be able to handle Block-Ack agreements and other things.
6266 * %NL80211_SCAN_FLAG_RANDOM_ADDR flag may be set for scans and the MAC
6271 * be set for scheduled scan and the MAC address mask/value will be used.
6275 * be set for scheduled scan and the MAC address mask/value will be used.
6313 * enum nl80211_ext_feature_index - bit index of extended features.
6317 * %NL80211_CMD_ASSOCIATE and %NL80211_CMD_CONNECT requests, which will set
6320 * @NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER: This device supports MU-MIMO air
6323 * %NL80211_ATTR_MU_MIMO_GROUP_DATA attribute,
6325 * %NL80211_ATTR_MU_MIMO_FOLLOW_MAC_ADDR attribute.
6331 * time the last beacon/probe was received. For a non-MLO connection, the
6339 * configuration (AP/mesh), supporting a legacy (non-HT/VHT) rate.
6354 * %NL80211_ATTR_CQM_RSSI_THOLD attribute accepts a list of zero or more
6358 * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK: Device wants to do 4-way
6361 * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X: Device wants to do doing 4-way
6366 * the max channel attribute in the FILS request params IE with the
6380 * Device or driver will do all DFS-related actions by itself,
6381 * informing user-space about CAC progress, radar detection event,
6383 * No need to start CAC from user-space, no need to react to
6389 * @NL80211_EXT_FEATURE_TXQS: Driver supports FQ-CoDel-enabled intermediate
6400 * able to rekey an in-use key correctly. Userspace must not rekey PTK keys
6401 * if this flag is not set. Ignoring this can leak clear text packets and/or
6404 * Individually Addressed Frames" from IEEE802.11-2016.
6411 * (set/del PMKSA operations) in AP mode.
6423 * with VLAN tagged frames and separate VLAN-specific netdevs added using
6458 * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_AP_PSK: Device wants to do 4-way
6518 * @NL80211_EXT_FEATURE_DFS_CONCURRENT: The device supports peer-to-peer or
6520 * DFS master on the same channel as described in FCC-594280 D01
6555 /* we renamed this - stay compatible */
6600 MAX_NL80211_EXT_FEATURES = NUM_NL80211_EXT_FEATURES - 1
6604 * enum nl80211_probe_resp_offload_support_attr - optional supported
6605 * protocols for probe-response offloading by the driver/FW.
6606 * To be used with the %NL80211_ATTR_PROBE_RESP_OFFLOAD attribute.
6608 * protocols. Typically a subset of probe-requests belonging to a
6625 * enum nl80211_connect_failed_reason - connection request failed reasons
6636 * enum nl80211_timeout_reason - timeout reasons
6651 * enum nl80211_scan_flags - scan request control flags
6664 * as AP and the beaconing has already been configured. This attribute is
6666 * will be lost while scanning off-channel, therefore it must be used only
6670 * flag is set, depending on device capabilities the @NL80211_ATTR_MAC and
6681 * rate of at least 5.5M. In case non-OCE AP is discovered in the channel,
6684 * tx deferral (dot11FILSProbeDelay shall be set to 15ms)
6687 * a suitable candidate for (re-)association - suitable in terms of
6712 * 2.4/5 GHz APs. When the flag is set, the scan logic will use the
6715 * channels on which APs are expected to be found. Note that when not set,
6717 * probe requests on non-PSC channels is limited, it is highly likely that
6719 * is set, in addition to the colocated APs, PSC channels would also be
6741 * enum nl80211_acl_policy - access control policy
6743 * Access control policy is applied on a MAC list set by
6759 * enum nl80211_smps_mode - SMPS mode
6774 NL80211_SMPS_MAX = __NL80211_SMPS_AFTER_LAST - 1
6778 * enum nl80211_radar_event - type of radar event for DFS operation
6789 * @NL80211_RADAR_NOP_FINISHED: The Non-Occupancy Period for this channel is
6792 * non-operating channel is expired and no longer valid. New CAC must
6794 * applicable for ETSI dfs domain where pre-CAC is valid for ever.
6808 * enum nl80211_dfs_state - DFS states for channels
6825 * enum nl80211_protocol_features - nl80211 protocol features
6827 * wiphy dumps (if requested by the application with the attribute
6837 * enum nl80211_crit_proto_id - nl80211 critical protocol identifiers
6858 * enum nl80211_rxmgmt_flags - flags for received management frame.
6874 * If this flag is unset, the lower 24 bits are an OUI, if set
6881 * struct nl80211_vendor_cmd_info - vendor command data
6883 * value is a 24-bit OUI; if it is set then a separately allocated ID
6886 * @subcmd: sub-command ID for the command
6894 * enum nl80211_tdls_peer_capability - TDLS peer flags.
6912 * enum nl80211_sched_scan_plan - scanning plan for scheduled scan
6913 * @__NL80211_SCHED_SCAN_PLAN_INVALID: attribute number 0 is reserved
6917 * scan plan (u32). The last scan plan must not specify this attribute
6920 * @NL80211_SCHED_SCAN_PLAN_MAX: highest scheduled scan plan attribute number
6932 __NL80211_SCHED_SCAN_PLAN_AFTER_LAST - 1
6936 * struct nl80211_bss_select_rssi_adjust - RSSI adjustment parameters.
6948 * enum nl80211_bss_select_attr - attributes for bss selection.
6951 * @NL80211_BSS_SELECT_ATTR_RSSI: Flag indicating only RSSI-based BSS selection
6953 * @NL80211_BSS_SELECT_ATTR_BAND_PREF: attribute indicating BSS
6955 * When there are multiple BSS-es in the preferred band, the driver
6956 * shall use RSSI-based BSS selection as a second step. The value of
6957 * this attribute is according to &enum nl80211_band (u32).
6959 * BSS-es in the specified band is to be adjusted before doing
6960 * RSSI-based BSS selection. The attribute value is a packed structure
6962 * @NL80211_BSS_SELECT_ATTR_MAX: highest bss select attribute number.
6977 NL80211_BSS_SELECT_ATTR_MAX = __NL80211_BSS_SELECT_ATTR_AFTER_LAST - 1
6981 * enum nl80211_nan_function_type - NAN function type
6987 * @NL80211_NAN_FUNC_FOLLOW_UP: function is follow-up
6996 NL80211_NAN_FUNC_MAX_TYPE = __NL80211_NAN_FUNC_TYPE_AFTER_LAST - 1,
7000 * enum nl80211_nan_publish_type - NAN publish tx type
7013 * enum nl80211_nan_func_term_reason - NAN functions termination reason
7032 * enum nl80211_nan_func_attributes - NAN function attributes
7036 * specified in NAN spec. This is a binary attribute.
7051 * follow up Service Discovery Frame. This is a binary attribute.
7058 * specific info. This is a binary attribute.
7059 * @NL80211_NAN_FUNC_SRF: Service Receive Filter. This is a nested attribute.
7062 * attribute. It is a list of binary values.
7064 * nested attribute. It is a list of binary values.
7071 * @NL80211_NAN_FUNC_ATTR_MAX: highest NAN function attribute
7094 NL80211_NAN_FUNC_ATTR_MAX = NUM_NL80211_NAN_FUNC_ATTR - 1
7098 * enum nl80211_nan_srf_attributes - NAN Service Response filter attributes
7100 * @NL80211_NAN_SRF_INCLUDE: present if the include bit of the SRF set.
7103 * %NL80211_NAN_SRF_MAC_ADDRS isn't present. This attribute is binary.
7108 * attribute. Each nested attribute is a MAC address.
7110 * @NL80211_NAN_SRF_ATTR_MAX: highest NAN SRF attribute
7121 NL80211_NAN_SRF_ATTR_MAX = NUM_NL80211_NAN_SRF_ATTR - 1,
7125 * enum nl80211_nan_match_attributes - NAN match attributes
7128 * match. This is a nested attribute.
7131 * that caused the match. This is a nested attribute.
7135 * @NL80211_NAN_MATCH_ATTR_MAX: highest NAN match attribute
7144 NL80211_NAN_MATCH_ATTR_MAX = NUM_NL80211_NAN_MATCH_ATTR - 1
7148 * nl80211_external_auth_action - Action to perform with external
7159 * enum nl80211_ftm_responder_attributes - fine timing measurement
7164 * (9.4.2.22 in 802.11-2016) with type 8 - LCI (9.4.2.22.10),
7167 * (9.4.2.22 in 802.11-2016) with type 11 - Civic (Section 9.4.2.22.13),
7170 * @NL80211_FTM_RESP_ATTR_MAX: highest FTM responder attribute.
7181 NL80211_FTM_RESP_ATTR_MAX = __NL80211_FTM_RESP_ATTR_LAST - 1,
7185 * enum nl80211_ftm_responder_stats - FTM responder statistics
7187 * These attribute types are used with %NL80211_ATTR_FTM_RESPONDER_STATS
7190 * @__NL80211_FTM_STATS_INVALID: attribute number 0 is reserved
7197 * @NL80211_FTM_STATS_NON_ASAP_NUM: number of non-ASAP sessions (u32)
7198 * @NL80211_FTM_STATS_TOTAL_DURATION_MSEC: total sessions durations - gives an
7200 * @NL80211_FTM_STATS_UNKNOWN_TRIGGERS_NUM: number of unknown FTM triggers -
7204 * - initiator asks for a new scheduling although it already has scheduled
7210 * @NL80211_FTM_STATS_MAX: highest possible FTM responder stats attribute
7227 NL80211_FTM_STATS_MAX = __NL80211_FTM_STATS_AFTER_LAST - 1
7231 * enum nl80211_preamble - frame preamble types
7247 * enum nl80211_peer_measurement_type - peer measurement types
7262 NL80211_PMSR_TYPE_MAX = NUM_NL80211_PMSR_TYPES - 1
7266 * enum nl80211_peer_measurement_status - peer measurement status
7270 * @NL80211_PMSR_STATUS_FAILURE: measurement failed, a type-dependent
7281 * enum nl80211_peer_measurement_req - peer measurement request attributes
7284 * @NL80211_PMSR_REQ_ATTR_DATA: This is a nested attribute with measurement
7285 * type-specific request data inside. The attributes used are from the
7288 * (flag attribute)
7291 * @NL80211_PMSR_REQ_ATTR_MAX: highest attribute number
7301 NL80211_PMSR_REQ_ATTR_MAX = NUM_NL80211_PMSR_REQ_ATTRS - 1
7305 * enum nl80211_peer_measurement_resp - peer measurement response attributes
7308 * @NL80211_PMSR_RESP_ATTR_DATA: This is a nested attribute with measurement
7309 * type-specific results inside. The attributes used are from the enums
7321 * (*e.g. with FTM per-burst data) this flag will be cleared on all but
7322 * the last result; if all results are combined it's set on the single
7324 * @NL80211_PMSR_RESP_ATTR_PAD: padding for 64-bit attributes, ignore
7327 * @NL80211_PMSR_RESP_ATTR_MAX: highest attribute number
7341 NL80211_PMSR_RESP_ATTR_MAX = NUM_NL80211_PMSR_RESP_ATTRS - 1
7345 * enum nl80211_peer_measurement_peer_attrs - peer attributes for measurement
7349 * @NL80211_PMSR_PEER_ATTR_CHAN: channel definition, nested, using top-level
7351 * @NL80211_PMSR_PEER_ATTR_REQ: This is a nested attribute indexed by
7354 * @NL80211_PMSR_PEER_ATTR_RESP: This is a nested attribute indexed by
7359 * @NL80211_PMSR_PEER_ATTR_MAX: highest attribute number
7371 NL80211_PMSR_PEER_ATTR_MAX = NUM_NL80211_PMSR_PEER_ATTRS - 1,
7375 * enum nl80211_peer_measurement_attrs - peer measurement attributes
7378 * @NL80211_PMSR_ATTR_MAX_PEERS: u32 attribute used for capability
7381 * @NL80211_PMSR_ATTR_REPORT_AP_TSF: flag attribute in capability
7384 * @NL80211_PMSR_ATTR_RANDOMIZE_MAC_ADDR: flag attribute in capability
7388 * type-specific capabilities inside, which are from the enums
7390 * @NL80211_PMSR_ATTR_PEERS: nested attribute, the nesting index is
7392 * sub-attributes taken from
7396 * @NL80211_PMSR_ATTR_MAX: highest attribute number
7409 NL80211_PMSR_ATTR_MAX = NUM_NL80211_PMSR_ATTR - 1
7413 * enum nl80211_peer_measurement_ftm_capa - FTM capabilities
7416 * @NL80211_PMSR_FTM_CAPA_ATTR_ASAP: flag attribute indicating ASAP mode
7418 * @NL80211_PMSR_FTM_CAPA_ATTR_NON_ASAP: flag attribute indicating non-ASAP
7420 * @NL80211_PMSR_FTM_CAPA_ATTR_REQ_LCI: flag attribute indicating if LCI
7422 * @NL80211_PMSR_FTM_CAPA_ATTR_REQ_CIVICLOC: flag attribute indicating if civic
7424 * @NL80211_PMSR_FTM_CAPA_ATTR_PREAMBLES: u32 bitmap attribute of bits
7431 * @NL80211_PMSR_FTM_CAPA_ATTR_MAX_BURSTS_EXPONENT: u32 attribute indicating
7434 * @NL80211_PMSR_FTM_CAPA_ATTR_MAX_FTMS_PER_BURST: u32 attribute indicating
7436 * @NL80211_PMSR_FTM_CAPA_ATTR_TRIGGER_BASED: flag attribute indicating if
7438 * @NL80211_PMSR_FTM_CAPA_ATTR_NON_TRIGGER_BASED: flag attribute indicating
7439 * if non-trigger-based ranging measurement is supported
7442 * @NL80211_PMSR_FTM_CAPA_ATTR_MAX: highest attribute number
7460 NL80211_PMSR_FTM_CAPA_ATTR_MAX = NUM_NL80211_PMSR_FTM_CAPA_ATTR - 1
7464 * enum nl80211_peer_measurement_ftm_req - FTM request attributes
7471 * 802.11-2016 9.4.2.168 "Fine Timing Measurement Parameters element"
7472 * (u8, 0-15, optional with default 15 i.e. "no preference")
7475 * @NL80211_PMSR_FTM_REQ_ATTR_BURST_DURATION: burst duration, as in 802.11-2016
7476 * Table 9-257 "Burst Duration field encoding" (u8, 0-15, optional with
7480 * (u8, 0-31, optional with default 0 i.e. "no preference")
7488 * This attribute and %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED are
7491 * %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED is set, EDCA based
7493 * @NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED: request non-trigger-based
7495 * This attribute and %NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED are
7498 * %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED is set, EDCA based
7502 * %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED is set.
7505 * or %NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED is set.
7508 * @NL80211_PMSR_FTM_REQ_ATTR_MAX: highest attribute number
7529 NL80211_PMSR_FTM_REQ_ATTR_MAX = NUM_NL80211_PMSR_FTM_REQ_ATTR - 1
7533 * enum nl80211_peer_measurement_ftm_failure_reasons - FTM failure reasons
7560 * enum nl80211_peer_measurement_ftm_resp - FTM response attributes
7563 * @NL80211_PMSR_FTM_RESP_ATTR_FAIL_REASON: FTM-specific failure reason
7566 * as separate results then it will be the burst index 0...(N-1) and
7601 * this is the contents of the Measurement Report Element (802.11-2016
7606 * this is the contents of the Measurement Report Element (802.11-2016
7612 * @NL80211_PMSR_FTM_RESP_ATTR_MAX: highest attribute number
7641 NL80211_PMSR_FTM_RESP_ATTR_MAX = NUM_NL80211_PMSR_FTM_RESP_ATTR - 1
7645 * enum nl80211_obss_pd_attributes - OBSS packet detection attributes
7650 * @NL80211_HE_OBSS_PD_ATTR_NON_SRG_MAX_OFFSET: the non-SRG OBSS PD maximum
7659 * @NL80211_HE_OBSS_PD_ATTR_MAX: highest OBSS PD attribute.
7673 NL80211_HE_OBSS_PD_ATTR_MAX = __NL80211_HE_OBSS_PD_ATTR_LAST - 1,
7677 * enum nl80211_bss_color_attributes - BSS Color attributes
7685 * @NL80211_HE_BSS_COLOR_ATTR_MAX: highest BSS Color attribute.
7696 NL80211_HE_BSS_COLOR_ATTR_MAX = __NL80211_HE_BSS_COLOR_ATTR_LAST - 1,
7700 * enum nl80211_iftype_akm_attributes - interface type AKM attributes
7703 * @NL80211_IFTYPE_AKM_ATTR_IFTYPES: nested attribute containing a flag
7704 * attribute for each interface type that supports AKM suites specified in
7710 * @NL80211_IFTYPE_AKM_ATTR_MAX: highest interface type AKM attribute.
7720 NL80211_IFTYPE_AKM_ATTR_MAX = __NL80211_IFTYPE_AKM_ATTR_LAST - 1,
7724 * enum nl80211_fils_discovery_attributes - FILS discovery configuration
7725 * from IEEE Std 802.11ai-2016, Annex C.3 MIB detail.
7732 * Allowed range: 0..10000 (TU = Time Unit). If set to 0, the feature is disabled.
7737 * @NL80211_FILS_DISCOVERY_ATTR_MAX: highest attribute
7748 NL80211_FILS_DISCOVERY_ATTR_MAX = __NL80211_FILS_DISCOVERY_ATTR_LAST - 1
7758 * enum nl80211_unsol_bcast_probe_resp_attributes - Unsolicited broadcast probe
7765 * 26.17.2.3.2 (AP behavior for fast passive scanning). If set to 0, the feature is
7771 * @NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_MAX: highest attribute
7782 __NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_LAST - 1
7786 * enum nl80211_sae_pwe_mechanism - The mechanism(s) allowed for SAE PWE
7787 * derivation. Applicable only when WPA3-Personal SAE authentication is
7791 * attribute is not present from userspace.
7792 * @NL80211_SAE_PWE_HUNT_AND_PECK: hunting-and-pecking loop only
7793 * @NL80211_SAE_PWE_HASH_TO_ELEMENT: hash-to-element only
7794 * @NL80211_SAE_PWE_BOTH: both hunting-and-pecking loop and hash-to-element
7805 * enum nl80211_sar_type - type of SAR specs
7820 * enum nl80211_sar_attrs - Attributes for SAR spec
7825 * limit specifications. Each specification contains a set
7828 * For SET operation, it contains array of %NL80211_SAR_ATTR_SPECS_POWER
7836 * @NL80211_SAR_ATTR_MAX: highest sar attribute
7847 NL80211_SAR_ATTR_MAX = __NL80211_SAR_ATTR_LAST - 1,
7851 * enum nl80211_sar_specs_attrs - Attributes for SAR power limit specs
7862 * Userspace isn't required to set all the ranges advertised by WLAN driver,
7867 * limitation is removed, but it's required to set at least one range.
7868 * It's not allowed to set duplicated range in one SET operation.
7870 * Every SET operation overwrites previous SET operation.
7881 * @NL80211_SAR_ATTR_SPECS_MAX: highest sar specs attribute
7892 NL80211_SAR_ATTR_SPECS_MAX = __NL80211_SAR_ATTR_SPECS_LAST - 1,
7896 * enum nl80211_mbssid_config_attributes - multiple BSSID (MBSSID) and enhanced
7897 * multi-BSSID advertisements (EMA) in AP mode.
7908 * wiphy->mbssid_max_interfaces to a value more than or equal to 2.
7913 * by setting wiphy->ema_max_profile_periodicity to
7914 * a non-zero value.
7917 * this BSS (u8) in the multiple BSSID set.
7918 * Value must be set to 0 for the transmitting interface and non-zero for
7919 * all non-transmitting interfaces. The userspace will be responsible
7921 * Range: 0 to wiphy->mbssid_max_interfaces-1.
7924 * a non-transmitted profile which provides the interface index (u32) of
7926 * indices advertised by the kernel. Optional if the interface being set up
7932 * by setting wiphy->ema_max_profile_periodicity to non-zero.
7935 * @NL80211_MBSSID_CONFIG_ATTR_MAX: highest attribute
7948 NL80211_MBSSID_CONFIG_ATTR_MAX = __NL80211_MBSSID_CONFIG_ATTR_LAST - 1,
7952 * enum nl80211_ap_settings_flags - AP settings flags
7959 * ignore SA Query procedures and validations when this flag is set by