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-2024 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
447 * @NL80211_CMD_SET_MPATH: Set mesh path attributes for mesh path to
454 * @NL80211_CMD_SET_BSS: Set BSS attributes for BSS identified by
457 * @NL80211_CMD_GET_REG: ask the wireless core to send us its currently set
467 * If a wiphy is self-managed (%NL80211_ATTR_WIPHY_SELF_MANAGED_REG), then
470 * @NL80211_CMD_SET_REG: Set current regulatory domain. CRDA sends this command
472 * domain structure which consists of %NL80211_ATTR_REG_ALPHA set to our
474 * NL80211_ATTR_REG_RULE_FLAGS, and a set of regulatory rules. Each
475 * regulatory rule is a nested set of attributes given by
480 * @NL80211_CMD_REQ_SET_REG: ask the wireless core to set the regulatory domain
481 * to the specified ISO/IEC 3166-1 alpha2 country code. The core will
487 * @NL80211_CMD_SET_MESH_CONFIG: Set mesh networking properties for the
490 * @NL80211_CMD_SET_MGMT_EXTRA_IE: Set extra IEs for management frames. The
498 * point to avoid re-using existing command number. The functionality this
533 * using the %NL80211_ATTR_IE attribute. The first cycle of the
536 * scans, it will allow such when the caller provides the flag attribute
537 * %NL80211_ATTR_SCHED_SCAN_MULTI to indicate user-space support for it.
538 * @NL80211_CMD_STOP_SCHED_SCAN: stop a scheduled scan. Returns -ENOENT if
578 * set (%NL80211_ATTR_REG_TYPE), if the type of regulatory domain is
585 * if you are world roaming (regulatory domain set to world or if your
590 * never be used for channels 1-11 on the 2 GHz band as they are always
615 * state. This is similar to MLME-AUTHENTICATE.confirm primitive in the
617 * included %NL80211_ATTR_FRAME attribute contains the management frame
620 * case the %NL80211_ATTR_FRAME attribute is replaced with a
625 * (similar to MLME-ASSOCIATE.request, MLME-REASSOCIATE.request,
626 * MLME-ASSOCIATE.confirm or MLME-REASSOCIATE.confirm primitives). The
627 * %NL80211_ATTR_PREV_BSSID attribute is used to specify whether the
628 * request is for the initial association to an ESS (that attribute not
629 * included) or for reassociation within the ESS (that attribute is
633 * MLME-DEAUTHENTICATION.request and MLME-DEAUTHENTICATE.indication
637 * MLME-DISASSOCIATE.request and MLME-DISASSOCIATE.indication primitives).
645 * event matches with MLME-MICHAELMICFAILURE.indication() primitive
647 * @NL80211_CMD_JOIN_IBSS: Join a new IBSS -- given at least an SSID and a
648 * FREQ attribute (for the initial frequency if no peer can be found)
649 * and optionally a MAC (as BSSID) and FREQ_FIXED attribute if those
653 * given in the %NL80211_ATTR_BEACON_INTERVAL attribute, which if not
655 * @NL80211_CMD_LEAVE_IBSS: Leave the IBSS -- no special arguments, the IBSS is
658 * @NL80211_CMD_TESTMODE: testmode command, takes a wiphy (or ifindex) attribute
659 * to identify the device, and the TESTDATA blob attribute to pass through
665 * %NL80211_ATTR_SSID attribute, and can optionally specify the association
679 * set of BSSID,frequency parameters is used (i.e., either the enforcing
697 * This attribute is ignored if driver does not support roam scan.
700 * determined by the %NL80211_ATTR_STATUS_CODE attribute (0 = success,
701 * non-zero = failure). If %NL80211_ATTR_TIMED_OUT is included in the
704 * Non-zero %NL80211_ATTR_STATUS_CODE value is indicated in that case as
718 * @NL80211_CMD_SET_WIPHY_NETNS: Set a wiphy's netns. Note that all devices
723 * off-channel operations like transmit a Public Action frame and wait for
737 * pending remain-on-channel duration if the desired operation has been
740 * radio. The %NL80211_ATTR_COOKIE attribute must be given as well to
743 * remain-on-channel duration has expired.
745 * @NL80211_CMD_SET_TX_BITRATE_MASK: Set the mask of rates to be used in TX
747 * and @NL80211_ATTR_TX_RATES the set of allowed rates.
751 * requires an interface index, a frame type attribute (optional for
753 * and a match attribute containing the first few bytes of the frame
758 * The %NL80211_ATTR_RECEIVE_MULTICAST flag attribute can be given if
771 * received. If this channel is not the current channel (remain-on-channel
780 * counters which will be updated to the current value. This attribute
789 * @NL80211_CMD_FRAME_WAIT_CANCEL: When an off-channel TX was requested, this
792 * also sent as an event whenever the driver has completed the off-channel
805 * @NL80211_CMD_SET_POWER_SAVE: Set powersave, using %NL80211_ATTR_PS_STATE
814 * @NL80211_CMD_SET_CHANNEL: Set the channel (using %NL80211_ATTR_WIPHY_FREQ
818 * with which it switches channels is implementation-defined.
824 * @NL80211_CMD_SET_WDS_PEER: Set the MAC address of the peer on a WDS interface
843 * @NL80211_CMD_LEAVE_MESH: Leave the mesh network -- no special arguments, the
858 * @NL80211_MESH_SETUP_USERSPACE_MPM is set. On reception of this
865 * @NL80211_CMD_GET_WOWLAN: get Wake-on-Wireless-LAN (WoWLAN) settings.
866 * @NL80211_CMD_SET_WOWLAN: set Wake-on-Wireless-LAN (WoWLAN) settings.
869 * command with the %NL80211_ATTR_WOWLAN_TRIGGERS attribute. For
874 * @NL80211_ATTR_WOWLAN_TRIGGERS attribute will contain the reason
883 * contains the data in sub-attributes). After rekeying happened,
890 * @NL80211_CMD_TDLS_OPER: Perform a high-level TDLS command (e.g. link setup).
892 * actions on TDLS links (set up a new link or tear down an existing one).
898 * %NL80211_ATTR_TDLS_ACTION attribute determines the type of frame to be
899 * sent. Public Action codes (802.11-2012 8.1.5.1) will be sent as
900 * 802.11 management frames, while TDLS action codes (802.11-2012
911 * For the event, the %NL80211_ATTR_MAC attribute carries the TA and
919 * and wasn't already in a 4-addr VLAN. The event will be sent similarly
928 * has %NL80211_ATTR_ACK set if the frame was ACKed.
942 * sent when a remotely-initiated switch (e.g., when a STA receives a CSA
957 * P2P Device can be used for P2P operations, e.g. remain-on-channel and
992 * @NL80211_CMD_UPDATE_FT_IES: Pass down the most up-to-date Fast Transition
1000 * @NL80211_CMD_CRIT_PROTOCOL_START: Indicates user-space will start running
1011 * new channel information (Channel Switch Announcement - CSA)
1020 * @NL80211_CMD_VENDOR: Vendor-specified command/event. The command is specified
1021 * by the %NL80211_ATTR_VENDOR_ID attribute and a sub-command in
1024 * For feature advertisement, the %NL80211_ATTR_VENDOR_DATA attribute is
1025 * used in the wiphy data as a nested attribute containing descriptions
1029 * @NL80211_CMD_SET_QOS_MAP: Set Interworking QoS mapping for IP DSCP values.
1031 * that attribute is not included, QoS mapping is disabled. Since this
1041 * If the admitted time attribute is not added then the request just checks
1057 * @NL80211_CMD_LEAVE_OCB: Leave the OCB network -- no special arguments, the
1060 * @NL80211_CMD_TDLS_CHANNEL_SWITCH: Start channel-switching with a TDLS peer,
1065 * The driver is responsible for continually initiating channel-switching
1068 * @NL80211_CMD_TDLS_CANCEL_CHANNEL_SWITCH: Stop channel-switching with a TDLS
1073 * as an event to indicate changes for devices with wiphy-specific regdom
1076 * @NL80211_CMD_ABORT_SCAN: Stop an ongoing scan. Returns -ENOENT if a scan is
1085 * %NL80211_ATTR_NAN_MASTER_PREF attribute and optional
1087 * omitted or set to 0, it means don't-care and the device will
1093 * with %NL80211_ATTR_NAN_FUNC nested attribute. When called, this
1097 * Since instance ID's can be re-used, this cookie is the right
1116 * set to zero, the configuration is changed to don't-care
1119 * This will contain a %NL80211_ATTR_NAN_MATCH nested attribute and
1128 * @NL80211_CMD_SET_PMK: For offloaded 4-Way handshake, set the PMK or PMK-R0
1130 * When %NL80211_ATTR_PMKR0_NAME is set, %NL80211_ATTR_PMK specifies the
1131 * PMK-R0, otherwise it specifies the PMK.
1132 * @NL80211_CMD_DEL_PMK: For offloaded 4-Way handshake, delete the previously
1136 * open for regular data traffic. For STA/P2P-client, this event is sent
1137 * with AP MAC address and for AP/P2P-GO, the event carries the STA/P2P-
1140 * STA/P2P-client after successful 4-way HS or after 802.1X FT following
1141 * NL80211_CMD_CONNECT or NL80211_CMD_ROAM. Drivers using AP/P2P-GO 4-way
1143 * 4-way handshake with the peer (STA/P2P-client).
1154 * the link to transmit on and the source address will be set to the link
1177 * %NL80211_ATTR_STATUS_CODE attribute in %NL80211_CMD_EXTERNAL_AUTH
1207 * the %NL80211_ATTR_FTM_RESPONDER_STATS attribute.
1209 * @NL80211_CMD_PEER_MEASUREMENT_START: start a (set of) peer measurement(s)
1211 * %NL80211_ATTR_PEER_MEASUREMENTS attribute. Optionally, MAC address
1214 * If a timeout is requested, use the %NL80211_ATTR_TIMEOUT attribute.
1254 * Here attribute %NL80211_ATTR_MAC is used to specify connected mesh
1259 * is passed using %NL80211_ATTR_TID_CONFIG attribute.
1291 * @NL80211_CMD_SET_FILS_AAD: Set FILS AAD data to the driver using -
1292 * &NL80211_ATTR_MAC - for STA MAC address
1293 * &NL80211_ATTR_FILS_KEK - for KEK
1294 * &NL80211_ATTR_FILS_NONCES - for FILS Nonces
1303 * %NL80211_ATTR_MLO_LINK_ID attribute is used for the new link.
1306 * in preparation for e.g. roaming to a regular (non-MLO) AP.
1324 * Multi-Link reconfiguration. %NL80211_ATTR_MLO_LINKS is used to provide
1327 * @NL80211_CMD_SET_TID_TO_LINK_MAPPING: Set the TID to Link Mapping for a
1328 * non-AP MLD station. The %NL80211_ATTR_MLO_TTLM_DLINK and
1593 NL80211_CMD_MAX = __NL80211_CMD_AFTER_LAST - 1
1611 /* source-level API compatibility */
1617 * enum nl80211_attrs - nl80211 netlink attributes
1619 * @NL80211_ATTR_UNSPEC: unspecified attribute to catch errors
1627 * %NL80211_ATTR_WIPHY_CHANNEL_TYPE attribute or the attributes
1630 * @NL80211_ATTR_CHANNEL_WIDTH: u32 attribute containing one of the values
1641 * this attribute)
1645 * This attribute is now deprecated.
1654 * fragmentation with (u32)-1; dot11FragmentationThreshold; u32
1657 * 0..65536, disable with (u32)-1; dot11RTSThreshold; u32
1665 * @NL80211_ATTR_WDEV: wireless device identifier, used for pseudo-devices
1673 * @NL80211_ATTR_KEY_IDX: key ID (u8, 0-3)
1678 * @NL80211_ATTR_KEY_DEFAULT: Flag attribute indicating the key is default key
1679 * @NL80211_ATTR_KEY_DEFAULT_MGMT: Flag attribute indicating the key is the
1702 * given for %NL80211_CMD_GET_STATION, nested attribute containing
1708 * @NL80211_ATTR_MESH_ID: mesh id (1-32 bytes).
1713 * info given for %NL80211_CMD_GET_MPATH, nested attribute described at
1719 * @NL80211_ATTR_REG_ALPHA2: an ISO-3166-alpha2 country code for which the
1720 * current regulatory domain should be set to or is already set to.
1721 * For example, 'CR', for Costa Rica. This attribute is used by the kernel
1722 * to query the CRDA to retrieve one regulatory domain. This attribute can
1723 * also be used by userspace to query the kernel for the currently set
1725 * IEEE-802.11 country information element to identify a country.
1726 * Users can also simply ask the wireless core to set regulatory domain
1743 * @NL80211_ATTR_SUPPORTED_IFTYPES: nested attribute containing all
1744 * supported interface types, each a flag attribute with the number
1754 * a single scan request, a wiphy attribute.
1756 * scan with a single scheduled scan request, a wiphy attribute.
1762 * used with @NL80211_ATTR_SCHED_SCAN_MATCH, a wiphy attribute.
1764 * @NL80211_ATTR_SCAN_FREQUENCIES: nested attribute with frequencies (in MHz)
1765 * @NL80211_ATTR_SCAN_SSIDS: nested attribute with SSIDs, leave out for passive
1766 * scanning and include a zero-length SSID (wildcard) for wildcard scan
1772 * set. This can be one of the nl80211_reg_type (%NL80211_REGDOM_TYPE_*)
1774 * @NL80211_ATTR_SUPPORTED_COMMANDS: wiphy attribute that specifies
1778 * @NL80211_ATTR_FRAME: frame data (binary attribute), including frame header
1781 * @NL80211_ATTR_SSID: SSID (binary attribute, 0..32 octets)
1791 * due to considerations from a beacon hint. This attribute reflects
1793 * attributes consists of a nested attribute containing
1796 * due to considerations from a beacon hint. This attribute reflects
1798 * attributes consists of a nested attribute containing
1801 * @NL80211_ATTR_CIPHER_SUITES: a set of u32 values indicating the supported
1812 * this attribute can be used with %NL80211_CMD_ASSOCIATE and
1819 * @NL80211_ATTR_STA_FLAGS2: Attribute containing a
1828 * @NL80211_ATTR_CONTROL_PORT_ETHERTYPE: A 16-bit value indicating the
1832 * attribute is also used as a flag in the wiphy information to
1840 * socket. If this attribute is missing, then legacy behavior of sending
1845 * flag. When used with %NL80211_ATTR_CONTROL_PORT_NO_PREAUTH, pre-auth
1849 * We recommend using nested, driver-specific attributes within this.
1856 * @NL80211_ATTR_PRIVACY: Flag attribute, used with connect(), indicating
1865 * This attribute is also sent in response to @NL80211_CMD_GET_WIPHY,
1879 * Reassociate Request frame (with the value of this attribute in the
1883 * @NL80211_ATTR_KEY: key information in a nested attribute with
1884 * %NL80211_KEY_* sub-attributes
1886 * and join_ibss(), key information is in a nested attribute each
1887 * with %NL80211_KEY_* sub-attributes
1900 * @NL80211_ATTR_4ADDR: Use 4-address frames on a virtual interface
1903 * the survey response for %NL80211_CMD_GET_SURVEY, nested attribute
1908 * cache, a wiphy attribute.
1911 * @NL80211_ATTR_MAX_REMAIN_ON_CHANNEL_DURATION: Device attribute that
1913 * remain-on-channel operation, in milliseconds, u32.
1915 * @NL80211_ATTR_COOKIE: Generic 64-bit cookie to identify objects.
1917 * @NL80211_ATTR_TX_RATES: Nested set of attributes
1921 * rates based on negotiated supported rates information. This attribute
1931 * @NL80211_ATTR_FRAME_MATCH: A binary attribute which typically must contain
1935 * @NL80211_ATTR_TX_FRAME_TYPES: wiphy capability attribute, which is a
1936 * nested attribute of %NL80211_ATTR_FRAME_TYPE attributes, containing
1939 * @NL80211_ATTR_RX_FRAME_TYPES: wiphy capability attribute, which is a
1940 * nested attribute of %NL80211_ATTR_FRAME_TYPE attributes, containing
1943 * @NL80211_ATTR_ACK: Flag attribute indicating that the frame was
1950 * nested attribute with %NL80211_ATTR_CQM_* sub-attributes.
1952 * @NL80211_ATTR_LOCAL_STATE_CHANGE: Flag attribute to indicate that a command
1965 * for non-automatic settings.
1968 * means support for per-station GTKs.
1982 * Non-802.11n drivers can derive whether to use diversity or not.
1984 * support by returning -EINVAL.
2003 * flag isn't set, the frame will be rejected. This is also used as an
2008 * @NL80211_ATTR_KEY_DEFAULT_TYPES: A nested attribute containing flags
2009 * attributes, specifying what a key should be set as default as.
2014 * @NL80211_ATTR_MESH_CONFIG: Mesh configuration parameters, a nested attribute
2034 * @NL80211_ATTR_SCHED_SCAN_MATCH: Nested attribute with one or more
2037 * pass-thru filter rules.
2039 * set. Since not every hardware supports matching all types of
2043 * Thus, the implementation is somewhat hardware-dependent, but
2045 * needs to handle all the non-filtered results anyway.
2049 * will never let it go through), -EINVAL may be returned.
2052 * @NL80211_ATTR_INTERFACE_COMBINATIONS: Nested attribute listing the supported
2055 * If the wiphy uses multiple radios (@NL80211_ATTR_WIPHY_RADIOS is set),
2056 * this attribute contains the interface combinations of the first radio.
2059 * @NL80211_ATTR_SOFTWARE_IFTYPES: Nested attribute (just like
2064 * @NL80211_ATTR_REKEY_DATA: nested attribute containing the information
2068 * nested array attribute containing an entry for each band, with the entry
2086 * @NL80211_ATTR_STA_WME: Nested attribute containing the wme configuration
2094 * @NL80211_ATTR_PMKSA_CANDIDATE: Nested attribute containing the PMKSA caching
2100 * applications use this attribute.
2101 * This attribute is used with %NL80211_CMD_TRIGGER_SCAN and
2107 * @NL80211_ATTR_TDLS_DIALOG_TOKEN: Non-zero token for uniquely identifying a
2118 * @NL80211_ATTR_DEVICE_AP_SME: This u32 attribute may be listed for devices
2120 * with support for the features listed in this attribute, see
2128 * @NL80211_ATTR_FEATURE_FLAGS: This u32 attribute contains flags from
2131 * requests while operating in AP-mode.
2132 * This attribute holds a bitmap of the supported protocols for
2136 * probe-response frame. The DA field in the 802.11 header is zero-ed out,
2139 * this feature during association. This is a flag attribute.
2142 * this feature during association. This is a flag attribute.
2145 * this feature during association. This is a flag attribute.
2148 * this feature during association. This is a flag attribute.
2154 * MCS rates, MAX-AMSDU, HT-20-40 and HT_CAP_SGI_40
2179 * @NL80211_ATTR_RX_SIGNAL_DBM: signal strength in dBm (as a 32-bit int);
2180 * this attribute is (depending on the driver capabilities) added to
2188 * a user. If set code could specify exactly what type of source
2197 * This contains the authentication frame body (non-IE and IE data),
2203 * Status code). However, those fields are included in the attribute data
2204 * for all authentication algorithms to keep the attribute definition
2219 * @NL80211_ATTR_LOCAL_MESH_POWER_MODE: local mesh STA link-specific power mode
2223 * carried in a u32 attribute
2228 * @NL80211_ATTR_MAC_ACL_MAX: u32 attribute to advertise the maximum
2237 * 802.11-2012 8.4.2.29 for more information.
2239 * has set in the %NL80211_ATTR_EXT_CAPA value, for multibit fields.
2242 * the driver, e.g., to enable TDLS power save (PU-APSD).
2246 * and PU-APSD.
2249 * &enum nl80211_protocol_features, the attribute is a u32.
2251 * @NL80211_ATTR_SPLIT_WIPHY_DUMP: flag attribute, userspace supports
2272 * @NL80211_ATTR_CH_SWITCH_COUNT: u32 attribute specifying the number of TBTT's
2274 * @NL80211_ATTR_CH_SWITCH_BLOCK_TX: flag attribute specifying that transmission
2278 * @NL80211_ATTR_CSA_IES: Nested set of attributes containing the IE information
2309 * u8 attribute.
2311 * @NL80211_ATTR_VENDOR_ID: The vendor ID, either a 24-bit OUI or, if
2312 * %NL80211_VENDOR_ID_IS_LINUX is set, a special Linux ID (not used yet)
2313 * @NL80211_ATTR_VENDOR_SUBCMD: vendor sub-command
2315 * attribute is also used for vendor command feature advertisement
2320 * data is in the format defined for the payload of the QoS Map Set element
2321 * in IEEE Std 802.11-2012, 8.4.2.97.
2326 * @NL80211_ATTR_MAX_AP_ASSOC_STA: Device attribute that indicates how many
2335 * @NL80211_ATTR_MAX_CSA_COUNTERS: U8 attribute used to advertise the maximum
2341 * @NL80211_ATTR_SOCKET_OWNER: Flag attribute, if set during interface
2344 * If set during scheduled scan start then the new scan req will be
2347 * If set during configuration of regulatory indoor operation then the
2351 * If set during NAN interface creation, the interface will be destroyed
2354 * attribute, the notifications will be sent to the %NL80211_MCGRP_NAN
2356 * If set during %NL80211_CMD_ASSOCIATE or %NL80211_CMD_CONNECT the
2358 * If set during %NL80211_CMD_JOIN_IBSS the IBSS will be automatically
2360 * If set during %NL80211_CMD_JOIN_MESH the mesh setup will be
2362 * If set during %NL80211_CMD_START_AP the AP will be automatically
2365 * @NL80211_ATTR_TDLS_INITIATOR: flag attribute indicating the current end is
2369 * shall support Radio Resource Measurements (11k). This attribute can be
2378 * association request. In addition, it must also set the RRM capability
2381 * @NL80211_ATTR_WIPHY_DYN_ACK: flag attribute used to enable ACK timeout
2383 * %NL80211_FEATURE_ACKTO_ESTIMATION feature flag must be set by lower
2387 * @NL80211_ATTR_TSID: a TSID value (u8 attribute)
2388 * @NL80211_ATTR_USER_PRIO: user priority value (u8 attribute)
2390 * (per second) (u16 attribute)
2399 * @NL80211_ATTR_WIPHY_SELF_MANAGED_REG: flag attribute indicating this device
2400 * is self-managing its regulatory information and any regulatory domain
2407 * least-significant bit of the first byte in the array, ie. bit index 0
2412 * returned along with other survey data. If set, @NL80211_CMD_GET_SURVEY
2421 * net-detect scan is started, counting from the moment the
2424 * @NL80211_ATTR_REG_INDOOR: flag attribute, if set indicates that the device
2428 * scheduled scan supported by the device (u32), a wiphy attribute.
2430 * a scan plan (u32), a wiphy attribute.
2432 * a scan plan (u32), a wiphy attribute.
2438 * Each scan plan is a nested attribute of &enum nl80211_sched_scan_plan.
2439 * @NL80211_ATTR_PBSS: flag attribute. If set it means operate
2443 * @NL80211_ATTR_BSS_SELECT: nested attribute for driver supporting the
2447 * it contains the behaviour-specific attribute containing the parameters for
2453 * @NL80211_ATTR_PAD: attribute used for padding for 64-bit alignment
2455 * @NL80211_ATTR_IFTYPE_EXT_CAPA: Nested attribute of the following attributes:
2458 * other interface-type specific capabilities per interface type. For MLO,
2462 * @NL80211_ATTR_MU_MIMO_GROUP_DATA: array of 24 bytes that defines a MU-MIMO
2466 * each bit represents a group and set to 1 for being a member in
2472 * This attribute is used only if all interfaces are in monitor mode.
2473 * Set this attribute in order to monitor packets using the given MU-MIMO
2475 * to turn off that feature set all the bits of the groupID to zero.
2477 * when using MU-MIMO air sniffer.
2478 * to turn that feature off set an invalid mac address
2484 * attribute must not be included).
2486 * %NL80211_ATTR_SCAN_START_TIME_TSF is set.
2488 * %NL80211_ATTR_MEASUREMENT_DURATION_MANDATORY is not set, this is the
2489 * maximum measurement duration allowed. This attribute is used with
2492 * @NL80211_ATTR_MEASUREMENT_DURATION_MANDATORY: flag attribute that indicates
2494 * mandatory. If this flag is not set, the duration is the maximum duration
2508 * would be set. This attribute is used with
2510 * it is optional. If no bands are set, it means don't-care and
2514 * attribute.
2515 * @NL80211_ATTR_NAN_MATCH: used to report a match. This is a nested attribute.
2520 * Request/Response frame protection. This attribute contains the 16 octet
2524 * packets should be send out as unicast to all stations (flag attribute).
2540 * better BSSs. The attribute value is a packed structure
2544 * u32 attribute with an &enum nl80211_timeout_reason value. This is used,
2547 * @NL80211_ATTR_FILS_ERP_USERNAME: EAP Re-authentication Protocol (ERP)
2551 * @NL80211_ATTR_FILS_ERP_REALM: EAP Re-authentication Protocol (ERP) realm part
2555 * @NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM: Unsigned 16-bit ERP next sequence number
2559 * @NL80211_ATTR_FILS_ERP_RRK: ERP re-authentication Root Key (rRK) for the
2565 * @NL80211_ATTR_FILS_CACHE_ID: A 2-octet identifier advertised by a FILS AP
2569 * @NL80211_ATTR_PMK: attribute for passing PMK key material. Used with
2572 * PSK for offloading 4-way handshake for WPA/WPA2-PSK networks. For 802.1X
2574 * support this attribute specifies the PMK-R0 if NL80211_ATTR_PMKR0_NAME
2577 * @NL80211_ATTR_SCHED_SCAN_MULTI: flag attribute which user-space shall use to
2582 * @NL80211_ATTR_WANT_1X_4WAY_HS: flag attribute which user-space can include
2584 * wants to use the supported offload of the 4-way handshake.
2585 * @NL80211_ATTR_PMKR0_NAME: PMK-R0 Name for offloaded FT.
2589 * authentication operation (u32 attribute with an
2592 * @NL80211_ATTR_EXTERNAL_AUTH_SUPPORT: Flag attribute indicating that the user
2593 * space supports external authentication. This attribute shall be used
2597 * attribute deprecated for %NL80211_CMD_START_AP, use
2601 * u8 attribute. This is used with %NL80211_CMD_STA_OPMODE_CHANGED.
2603 * @NL80211_ATTR_TXQ_STATS: TXQ statistics (nested attribute, see &enum
2613 * association request when used with NL80211_CMD_NEW_STATION). Can be set
2614 * only if %NL80211_STA_FLAG_WME is set.
2616 * @NL80211_ATTR_FTM_RESPONDER: nested attribute which user-space can include
2621 * @NL80211_ATTR_FTM_RESPONDER_STATS: Nested attribute with FTM responder
2625 * if the attribute is not given no timeout is requested. Note that 0 is an
2632 * with the appropriate sub-attributes.
2641 * allows to set Tx power for a station. If this attribute is not included,
2642 * the default per-interface tx power setting will be overriding. Driver
2643 * should be picking up the lowest tx power, either tx power per-interface
2644 * or per-station.
2646 * @NL80211_ATTR_SAE_PASSWORD: attribute for passing SAE password material. It
2648 * SAE authentication for WPA3-Personal networks.
2652 * @NL80211_ATTR_HE_OBSS_PD: nested attribute for OBSS Packet Detection
2657 * Defined by IEEE P802.11ay/D4.0 section 9.4.2.251. (u8 attribute)
2659 * the allowed channel bandwidth configurations. (u8 attribute)
2665 * @NL80211_ATTR_HE_BSS_COLOR: nested attribute for BSS Color Settings.
2667 * @NL80211_ATTR_IFTYPE_AKM_SUITES: nested array attribute, with each entry
2669 * attribute is sent in a response to %NL80211_CMD_GET_WIPHY indicating
2675 * nested attribute with &enum nl80211_tid_config_attr sub-attributes;
2676 * on output (in wiphy attributes) it contains only the feature sub-
2712 * @NL80211_ATTR_SCAN_FREQ_KHZ: nested attribute with KHz frequencies
2718 * discovery. It is a nested attribute, see
2720 * nested attribute to disable this feature and delete the templates.
2723 * unsolicited broadcast probe response. It is a nested attribute, see
2725 * nested attribute to disable this feature and delete the templates.
2734 * derivation in WPA3-Personal networks which are using SAE authentication.
2735 * This is a u8 attribute that encapsulates one of the values from
2743 * @NL80211_ATTR_RECONNECT_REQUESTED: flag attribute, used with deauth and
2750 * @NL80211_ATTR_COLOR_CHANGE_COUNT: u8 attribute specifying the number of TBTT's
2752 * @NL80211_ATTR_COLOR_CHANGE_COLOR: u8 attribute specifying the color that we are
2754 * @NL80211_ATTR_COLOR_CHANGE_ELEMS: Nested set of attributes containing the IE
2757 * @NL80211_ATTR_MBSSID_CONFIG: Nested attribute for multiple BSSID
2759 * Kernel uses this attribute to indicate the driver's support for MBSSID
2760 * and enhanced multi-BSSID advertisements (EMA AP) to the userspace.
2761 * Userspace should use this attribute to configure per interface MBSSID
2767 * Optional for the non-transmitting interfaces.
2776 * @NL80211_ATTR_AP_SETTINGS_FLAGS: u32 attribute contains ap settings flags,
2777 * enumerated in &enum nl80211_ap_settings_flags. This attribute shall be
2781 * association request when used with NL80211_CMD_NEW_STATION). Can be set
2782 * only if %NL80211_STA_FLAG_WME is set.
2787 * per-link information and a link ID.
2791 * @NL80211_ATTR_MLO_SUPPORT: Flag attribute to indicate user space supports MLO
2792 * connection. Used with %NL80211_CMD_CONNECT. If this attribute is not
2795 * @NL80211_ATTR_MAX_NUM_AKM_SUITES: U16 attribute. Indicates maximum number of
2798 * attribute is not present userspace shall consider maximum number of AKM
2800 * number prior to the introduction of this attribute.
2821 * bit corresponds to the lowest 20 MHz channel. Each bit set to 1
2822 * indicates that the sub-channel is punctured. Higher 16 bits are
2826 * timestamping can be enabled for concurrently (u16), a wiphy attribute.
2830 * be enabled or not (flag attribute).
2832 * @NL80211_ATTR_EMA_RNR_ELEMS: Optional nested attribute for
2833 * reduced neighbor report (RNR) elements. This attribute can be used
2836 * elements such that each element excludes the non-transmitting
2843 * @NL80211_ATTR_MLO_LINK_DISABLED: Flag attribute indicating that the link is
2850 * @NL80211_ATTR_MLO_TTLM_DLINK: Binary attribute specifying the downlink TID to
2852 * mapping is as defined in section 9.4.2.314 (TID-To-Link Mapping element)
2854 * @NL80211_ATTR_MLO_TTLM_ULINK: Binary attribute specifying the uplink TID to
2856 * mapping is as defined in section 9.4.2.314 (TID-To-Link Mapping element)
2859 * @NL80211_ATTR_ASSOC_SPP_AMSDU: flag attribute used with
2860 * %NL80211_CMD_ASSOCIATE indicating the SPP A-MSDUs
2863 * @NL80211_ATTR_WIPHY_RADIOS: Nested attribute describing physical radios
2866 * @NL80211_ATTR_WIPHY_INTERFACE_COMBINATIONS: Nested attribute listing the
2872 * @NL80211_ATTR_MAX: highest attribute number currently defined
3423 NL80211_ATTR_MAX = __NL80211_ATTR_AFTER_LAST - 1
3426 /* source-level API compatibility */
3485 #define NL80211_SCAN_RSSI_THOLD_OFF -300
3490 * enum nl80211_iftype - (virtual) interface types
3497 * are a bit special in that they must always be tied to a pre-existing
3515 * to set the type of an interface.
3535 NL80211_IFTYPE_MAX = NUM_NL80211_IFTYPES - 1
3539 * enum nl80211_sta_flags - station flags
3544 * @__NL80211_STA_FLAG_INVALID: attribute number 0 is reserved
3551 * @NL80211_STA_FLAG_TDLS_PEER: station is a TDLS peer -- this flag should
3559 * @NL80211_STA_FLAG_SPP_AMSDU: station supports SPP A-MSDUs
3576 NL80211_STA_FLAG_MAX = __NL80211_STA_FLAG_AFTER_LAST - 1
3580 * enum nl80211_sta_p2p_ps_status - station support of P2P PS
3596 * struct nl80211_sta_flag_update - station flags mask/set
3597 * @mask: mask of station flags to set
3598 * @set: which values to set them to
3600 * Both mask and set contain bits as per &enum nl80211_sta_flags.
3604 __u32 set; member
3608 * enum nl80211_he_gi - HE guard interval
3620 * enum nl80211_he_ltf - HE long training field
3632 * enum nl80211_he_ru_alloc - HE RU allocation values
3633 * @NL80211_RATE_INFO_HE_RU_ALLOC_26: 26-tone RU allocation
3634 * @NL80211_RATE_INFO_HE_RU_ALLOC_52: 52-tone RU allocation
3635 * @NL80211_RATE_INFO_HE_RU_ALLOC_106: 106-tone RU allocation
3636 * @NL80211_RATE_INFO_HE_RU_ALLOC_242: 242-tone RU allocation
3637 * @NL80211_RATE_INFO_HE_RU_ALLOC_484: 484-tone RU allocation
3638 * @NL80211_RATE_INFO_HE_RU_ALLOC_996: 996-tone RU allocation
3639 * @NL80211_RATE_INFO_HE_RU_ALLOC_2x996: 2x996-tone RU allocation
3652 * enum nl80211_eht_gi - EHT guard interval
3664 * enum nl80211_eht_ru_alloc - EHT RU allocation values
3665 * @NL80211_RATE_INFO_EHT_RU_ALLOC_26: 26-tone RU allocation
3666 * @NL80211_RATE_INFO_EHT_RU_ALLOC_52: 52-tone RU allocation
3667 * @NL80211_RATE_INFO_EHT_RU_ALLOC_52P26: 52+26-tone RU allocation
3668 * @NL80211_RATE_INFO_EHT_RU_ALLOC_106: 106-tone RU allocation
3670 * @NL80211_RATE_INFO_EHT_RU_ALLOC_242: 242-tone RU allocation
3671 * @NL80211_RATE_INFO_EHT_RU_ALLOC_484: 484-tone RU allocation
3673 * @NL80211_RATE_INFO_EHT_RU_ALLOC_996: 996-tone RU allocation
3676 * @NL80211_RATE_INFO_EHT_RU_ALLOC_2x996: 2x996-tone RU allocation
3678 * @NL80211_RATE_INFO_EHT_RU_ALLOC_3x996: 3x996-tone RU allocation
3680 * @NL80211_RATE_INFO_EHT_RU_ALLOC_4x996: 4x996-tone RU allocation
3702 * enum nl80211_rate_info - bitrate information
3704 * These attribute types are used with %NL80211_STA_INFO_TXRATE
3707 * a 16-bit value, and new one that represents a 32-bit value.
3710 * (>6.5535Gbps) only 32-bit attribute is included.
3711 * User space tools encouraged to use the 32-bit attribute and fall
3712 * back to the 16-bit one for compatibility with older kernels.
3714 * @__NL80211_RATE_INFO_INVALID: attribute number 0 is reserved
3724 * @NL80211_RATE_INFO_80P80_MHZ_WIDTH: unused - 80+80 is treated the
3727 * @NL80211_RATE_INFO_10_MHZ_WIDTH: 10 MHz width - note that this is
3730 * @NL80211_RATE_INFO_5_MHZ_WIDTH: 5 MHz width - note that this is
3733 * @NL80211_RATE_INFO_HE_MCS: HE MCS index (u8, 0-11)
3734 * @NL80211_RATE_INFO_HE_NSS: HE NSS value (u8, 1-8)
3739 * non-OFDMA was used (u8, see &enum nl80211_he_ru_alloc)
3741 * @NL80211_RATE_INFO_EHT_MCS: EHT MCS index (u8, 0-15)
3742 * @NL80211_RATE_INFO_EHT_NSS: EHT NSS value (u8, 1-8)
3746 * non-OFDMA was used (u8, see &enum nl80211_eht_ru_alloc)
3747 * @NL80211_RATE_INFO_S1G_MCS: S1G MCS index (u8, 0-10)
3748 * @NL80211_RATE_INFO_S1G_NSS: S1G NSS value (u8, 1-4)
3790 NL80211_RATE_INFO_MAX = __NL80211_RATE_INFO_AFTER_LAST - 1
3794 * enum nl80211_sta_bss_param - BSS information collected by STA
3796 * These attribute types are used with %NL80211_STA_INFO_BSS_PARAM
3799 * @__NL80211_STA_BSS_PARAM_INVALID: attribute number 0 is reserved
3820 NL80211_STA_BSS_PARAM_MAX = __NL80211_STA_BSS_PARAM_AFTER_LAST - 1
3824 * enum nl80211_sta_info - station information
3826 * These attribute types are used with %NL80211_ATTR_STA_INFO
3829 * @__NL80211_STA_INFO_INVALID: attribute number 0 is reserved
3840 * @NL80211_STA_INFO_TX_BITRATE: current unicast tx rate, nested attribute
3855 * attribute, like NL80211_STA_INFO_TX_BITRATE.
3856 * @NL80211_STA_INFO_BSS_PARAM: current station's view of BSS, nested attribute
3862 * @NL80211_STA_INFO_LOCAL_PM: local mesh STA link-specific power mode
3863 * @NL80211_STA_INFO_PEER_PM: peer mesh STA link-specific power mode
3865 * non-peer STA
3866 * @NL80211_STA_INFO_CHAIN_SIGNAL: per-chain signal strength of last PPDU
3868 * @NL80211_STA_INFO_CHAIN_SIGNAL_AVG: per-chain signal strength average
3877 * @NL80211_STA_INFO_TID_STATS: per-TID statistics (see &enum nl80211_tid_stats)
3878 * This is a nested attribute where each the inner attribute number is the
3879 * TID+1 and the special TID 16 (i.e. value 17) is used for non-QoS frames;
3884 * @NL80211_STA_INFO_PAD: attribute used for padding for 64-bit alignment
3893 * @NL80211_STA_INFO_CONNECTED_TO_GATE: set to true if STA has a path to a
3901 * @NL80211_STA_INFO_CONNECTED_TO_AS: set to true if STA has a path to a
3904 * @NL80211_STA_INFO_MAX: highest possible station info attribute
3954 NL80211_STA_INFO_MAX = __NL80211_STA_INFO_AFTER_LAST - 1
3957 /* we renamed this - stay compatible */
3962 * enum nl80211_tid_stats - per TID statistics attributes
3963 * @__NL80211_TID_STATS_INVALID: attribute number 0 is reserved
3971 * @NL80211_TID_STATS_PAD: attribute used for padding for 64-bit alignment
3972 * @NL80211_TID_STATS_TXQ_STATS: TXQ stats (nested attribute)
3974 * @NL80211_TID_STATS_MAX: highest numbered attribute here
3987 NL80211_TID_STATS_MAX = NUM_NL80211_TID_STATS - 1
3991 * enum nl80211_txq_stats - per TXQ statistics attributes
3992 * @__NL80211_TXQ_STATS_INVALID: attribute number 0 is reserved
4002 * (only for per-phy stats)
4007 * @NL80211_TXQ_STATS_MAX: highest numbered attribute here
4025 NL80211_TXQ_STATS_MAX = NUM_NL80211_TXQ_STATS - 1
4029 * enum nl80211_mpath_flags - nl80211 mesh path flags
4034 * @NL80211_MPATH_FLAG_FIXED: the mesh path has been manually set
4046 * enum nl80211_mpath_info - mesh path information
4048 * These attribute types are used with %NL80211_ATTR_MPATH_INFO when getting
4051 * @__NL80211_MPATH_INFO_INVALID: attribute number 0 is reserved
4062 * @NL80211_MPATH_INFO_MAX: highest mesh path information attribute number
4080 NL80211_MPATH_INFO_MAX = __NL80211_MPATH_INFO_AFTER_LAST - 1
4084 * enum nl80211_band_iftype_attr - Interface type data attributes
4086 * @__NL80211_BAND_IFTYPE_ATTR_INVALID: attribute number 0 is reserved
4087 * @NL80211_BAND_IFTYPE_ATTR_IFTYPES: nested attribute containing a flag attribute
4110 * @NL80211_BAND_IFTYPE_ATTR_MAX: highest band attribute currently defined
4129 NL80211_BAND_IFTYPE_ATTR_MAX = __NL80211_BAND_IFTYPE_ATTR_AFTER_LAST - 1
4133 * enum nl80211_band_attr - band attributes
4134 * @__NL80211_BAND_ATTR_INVALID: attribute number 0 is reserved
4139 * @NL80211_BAND_ATTR_HT_MCS_SET: 16-byte attribute containing the MCS set as
4142 * @NL80211_BAND_ATTR_HT_AMPDU_FACTOR: A-MPDU factor, as in 11n
4143 * @NL80211_BAND_ATTR_HT_AMPDU_DENSITY: A-MPDU density, as in 11n
4144 * @NL80211_BAND_ATTR_VHT_MCS_SET: 32-byte attribute containing the MCS set as
4147 * @NL80211_BAND_ATTR_IFTYPE_DATA: nested array attribute, with each entry using
4155 * @NL80211_BAND_ATTR_S1G_MCS_NSS_SET: S1G capabilities, supported S1G-MCS and NSS
4156 * set subfield, as in the S1G information IE, 5 bytes
4159 * @NL80211_BAND_ATTR_MAX: highest band attribute currently defined
4184 NL80211_BAND_ATTR_MAX = __NL80211_BAND_ATTR_AFTER_LAST - 1
4190 * enum nl80211_wmm_rule - regulatory wmm rule
4192 * @__NL80211_WMMR_INVALID: attribute number 0 is reserved
4209 NL80211_WMMR_MAX = __NL80211_WMMR_LAST - 1
4213 * enum nl80211_frequency_attr - frequency attributes
4214 * @__NL80211_FREQUENCY_ATTR_INVALID: attribute number 0 is reserved
4230 * @NL80211_FREQUENCY_ATTR_NO_HT40_MINUS: HT40- isn't possible with this
4242 * channel. A channel that has the INDOOR_ONLY attribute can only be
4250 * band), and IEEE80211_CHAN_RADAR is not set. Instantiating a GO or TDLS
4251 * off-channel on a channel that has the IR_CONCURRENT attribute set can be
4254 * off-channel while the device is also connected to an AP with DFS and
4255 * radar detection on the UNII band (it is up to user-space, i.e.,
4257 * attribute for IR is disallowed for master interfaces (IBSS, AP).
4263 * This is a nested attribute that contains the wmm limitation per AC.
4285 * allowed for peer-to-peer or adhoc communication under the control
4286 * of a DFS master which operates on the same channel (FCC-594280 D01
4297 * @NL80211_FREQUENCY_ATTR_MAX: highest frequency attribute number
4344 NL80211_FREQUENCY_ATTR_MAX = __NL80211_FREQUENCY_ATTR_AFTER_LAST - 1
4359 * enum nl80211_bitrate_attr - bitrate attributes
4360 * @__NL80211_BITRATE_ATTR_INVALID: attribute number 0 is reserved
4364 * @NL80211_BITRATE_ATTR_MAX: highest bitrate attribute number
4375 NL80211_BITRATE_ATTR_MAX = __NL80211_BITRATE_ATTR_AFTER_LAST - 1
4379 * enum nl80211_reg_initiator - Indicates the initiator of a reg domain request
4382 * @NL80211_REGDOM_SET_BY_USER: User asked the wireless core to set the
4390 * structure passed by userspace (CRDA) from our wireless-regdb.
4392 * be disabled we disable the channel and re-enable it upon disassociation.
4402 * enum nl80211_reg_type - specifies the type of regulatory domain
4403 * @NL80211_REGDOM_TYPE_COUNTRY: the regulatory domain set is one that pertains
4404 * to a specific country. When this is set you can count on the
4406 * @NL80211_REGDOM_TYPE_WORLD: the regulatory set domain is the world regulatory
4408 * @NL80211_REGDOM_TYPE_CUSTOM_WORLD: the regulatory domain set is a custom
4409 * driver specific world regulatory domain. These do not apply system-wide
4412 * @NL80211_REGDOM_TYPE_INTERSECTION: the regulatory domain set is the product
4413 * of an intersection between two regulatory domains -- the previously
4414 * set regulatory domain on the system and the last accepted regulatory
4425 * enum nl80211_reg_rule_attr - regulatory rule attributes
4426 * @__NL80211_REG_RULE_ATTR_INVALID: attribute number 0 is reserved
4427 * @NL80211_ATTR_REG_RULE_FLAGS: a set of flags which specify additional
4447 * @NL80211_REG_RULE_ATTR_MAX: highest regulatory rule attribute number
4468 NL80211_REG_RULE_ATTR_MAX = __NL80211_REG_RULE_ATTR_AFTER_LAST - 1
4472 * enum nl80211_sched_scan_match_attr - scheduled scan match attributes
4473 * @__NL80211_SCHED_SCAN_MATCH_ATTR_INVALID: attribute number 0 is reserved
4479 * if this attribute is in a match set of its own, then it is treated as
4484 * attribute) is if there's only a single matchset with the RSSI attribute.
4489 * BSS-es in the specified band is to be adjusted before doing
4490 * RSSI-based BSS selection. The attribute value is a packed structure
4496 * attribute number currently defined
4512 __NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST - 1
4519 * enum nl80211_reg_rule_flags - regulatory rule flags
4536 * @NL80211_RRF_NO_HT40MINUS: channels can't be used in HT40- operation
4545 * peer-to-peer or adhoc communication under the control of a DFS master
4546 * which operates on the same channel (FCC-594280 D01 Section B.3).
4592 * enum nl80211_dfs_regions - regulatory DFS regions
4607 * enum nl80211_user_reg_hint_type - type of user regulatory hint
4610 * assumed if the attribute is not set.
4630 * enum nl80211_survey_info - survey information
4632 * These attribute types are used with %NL80211_ATTR_SURVEY_INFO
4635 * @__NL80211_SURVEY_INFO_INVALID: attribute number 0 is reserved
4651 * @NL80211_SURVEY_INFO_PAD: attribute used for padding for 64-bit alignment
4654 * @NL80211_SURVEY_INFO_MAX: highest survey info attribute number
4676 NL80211_SURVEY_INFO_MAX = __NL80211_SURVEY_INFO_AFTER_LAST - 1
4687 * enum nl80211_mntr_flags - monitor configuration flags
4716 NL80211_MNTR_FLAG_MAX = __NL80211_MNTR_FLAG_AFTER_LAST - 1
4720 * enum nl80211_mesh_power_mode - mesh power save modes
4723 * not known or has not been set yet.
4744 NL80211_MESH_POWER_MAX = __NL80211_MESH_POWER_AFTER_LAST - 1
4748 * enum nl80211_meshconf_params - mesh configuration parameters
4771 * @NL80211_MESHCONF_TTL: specifies the value of TTL field set at a source mesh
4777 * set.
4803 * @NL80211_MESHCONF_ELEMENT_TTL: specifies the value of TTL field set at a
4817 * @NL80211_MESHCONF_FORWARDING: set Mesh STA as forwarding or non-forwarding
4818 * or forwarding entity (default is TRUE - forwarding entity)
4828 * @NL80211_MESHCONF_HT_OPMODE: set mesh HT protection mode.
4830 * @NL80211_MESHCONF_ATTR_MAX: highest possible mesh configuration attribute
4850 * remove it from the STA's list of peers. You may set this to 0 to disable
4853 * @NL80211_MESHCONF_CONNECTED_TO_GATE: If set to true then this mesh STA
4858 * @NL80211_MESHCONF_NOLEARN: Try to avoid multi-hop path discovery (e.g.
4860 * this might not be the optimal decision as a multi-hop route might be
4864 * @NL80211_MESHCONF_CONNECTED_TO_AS: If set to true then this mesh STA
4906 NL80211_MESHCONF_ATTR_MAX = __NL80211_MESHCONF_ATTR_AFTER_LAST - 1
4910 * enum nl80211_mesh_setup_params - mesh setup parameters
4936 * a userspace daemon. When this flag is set, the kernel will send peer
4954 * @NL80211_MESH_SETUP_ATTR_MAX: highest possible mesh setup attribute number
4971 NL80211_MESH_SETUP_ATTR_MAX = __NL80211_MESH_SETUP_ATTR_AFTER_LAST - 1
4975 * enum nl80211_txq_attr - TX queue parameter attributes
4976 * @__NL80211_TXQ_ATTR_INVALID: Attribute number 0 is reserved
4981 * 2^n-1 in the range 1..32767]
4983 * 2^n-1 in the range 1..32767]
4986 * @NL80211_TXQ_ATTR_MAX: Maximum TXQ attribute number
4998 NL80211_TXQ_ATTR_MAX = __NL80211_TXQ_ATTR_AFTER_LAST - 1
5017 * enum nl80211_channel_type - channel type
5018 * @NL80211_CHAN_NO_HT: 20 MHz, non-HT channel
5033 * enum nl80211_key_mode - Key mode
5054 * enum nl80211_chan_width - channel width definitions
5057 * attribute.
5059 * @NL80211_CHAN_WIDTH_20_NOHT: 20 MHz, non-HT channel
5062 * attribute must be provided as well
5064 * attribute must be provided as well
5068 * attribute must be provided as well
5077 * attribute must be provided as well
5097 * enum nl80211_bss_scan_width - control channel width for a BSS
5099 * These values are used with the %NL80211_BSS_CHAN_WIDTH attribute.
5116 * enum nl80211_bss_use_for - bitmap indicating possible BSS use
5121 * the assoc link must have this flag set, and the assoc link must
5122 * additionally have %NL80211_BSS_USE_FOR_NORMAL set.
5130 * enum nl80211_bss_cannot_use_reasons - reason(s) connection to a
5146 * enum nl80211_bss - netlink attributes for a BSS
5157 * @NL80211_BSS_INFORMATION_ELEMENTS: binary attribute containing the
5159 * if the %NL80211_BSS_BEACON_IES attribute is present and the data is
5164 * If present, the @NL80211_BSS_PRESP_DATA attribute indicates that the
5172 * @NL80211_BSS_BEACON_IES: binary attribute containing the raw information
5176 * (u32, enum nl80211_bss_scan_width) - No longer used!
5180 * @NL80211_BSS_TSF is known to be from a probe response (flag attribute)
5184 * @NL80211_BSS_PAD: attribute used for padding for 64-bit alignment
5190 * is set.
5191 * @NL80211_BSS_CHAIN_SIGNAL: per-chain signal strength of last BSS update.
5197 * @NL80211_BSS_USE_FOR: u32 bitmap attribute indicating what the BSS can be
5202 * This is a u64 attribute containing a bitmap of values from
5203 * &enum nl80211_cannot_use_reasons, note that the attribute may be missing
5206 * @NL80211_BSS_MAX: highest BSS attribute
5237 NL80211_BSS_MAX = __NL80211_BSS_AFTER_LAST - 1
5241 * enum nl80211_bss_status - BSS "status"
5249 * The BSS status is a BSS attribute in scan dumps, which
5259 * enum nl80211_auth_type - AuthenticationType
5272 * trying multiple times); this is invalid in netlink -- leave out
5273 * the attribute for this on CONNECT commands.
5287 NL80211_AUTHTYPE_MAX = __NL80211_AUTHTYPE_NUM - 1,
5292 * enum nl80211_key_type - Key Type
5307 * enum nl80211_mfp - Management frame protection state
5325 * enum nl80211_key_default_types - key default types
5342 * enum nl80211_key_attributes - key attributes
5347 * @NL80211_KEY_IDX: key ID (u8, 0-3)
5357 * @NL80211_KEY_DEFAULT_TYPES: A nested attribute containing flags
5358 * attributes, specifying what a key should be set as default as.
5365 * @NL80211_KEY_MAX: highest key attribute
5382 NL80211_KEY_MAX = __NL80211_KEY_AFTER_LAST - 1
5386 * enum nl80211_tx_rate_attributes - TX rate set attributes
5388 * @NL80211_TXRATE_LEGACY: Legacy (non-MCS) rates allowed for TX rate selection
5402 * @NL80211_TXRATE_MAX: highest TX rate attribute
5416 NL80211_TXRATE_MAX = __NL80211_TXRATE_AFTER_LAST - 1
5423 * struct nl80211_txrate_vht - VHT MCS/NSS txrate bitmap
5432 * struct nl80211_txrate_he - HE MCS/NSS txrate bitmap
5446 * enum nl80211_band - Frequency band
5448 * @NL80211_BAND_5GHZ: around 5 GHz band (4.9 - 5.7 GHz)
5449 * @NL80211_BAND_60GHZ: around 60 GHz band (58.32 - 69.12 GHz)
5450 * @NL80211_BAND_6GHZ: around 6 GHz band (5.9 - 7.2 GHz)
5468 * enum nl80211_ps_state - powersave state
5478 * enum nl80211_attr_cqm - connection quality monitor attributes
5483 * set, multiple values can be supplied as a low-to-high sorted array of
5502 * %NL80211_CMD_NOTIFY_CQM. Set to 0 to turn off TX error reporting.
5503 * @NL80211_ATTR_CQM_BEACON_LOSS_EVENT: flag attribute that's set in a beacon
5508 * @NL80211_ATTR_CQM_MAX: highest key attribute
5524 NL80211_ATTR_CQM_MAX = __NL80211_ATTR_CQM_AFTER_LAST - 1
5528 * enum nl80211_cqm_rssi_threshold_event - RSSI threshold event
5543 * enum nl80211_tx_power_setting - TX power adjustment
5555 * enum nl80211_tid_config - TID config state
5564 /* enum nl80211_tx_rate_setting - TX rate configuration type
5575 /* enum nl80211_tid_config_attr - TID specific configuration.
5576 * @NL80211_TID_CONFIG_ATTR_PAD: pad attribute for 64-bit values
5578 * for per-vif configuration; doesn't list the ones that are generic
5580 * @NL80211_TID_CONFIG_ATTR_PEER_SUPP: same as the previous per-vif one, but
5582 * @NL80211_TID_CONFIG_ATTR_OVERRIDE: flag attribute, if set indicates
5592 * transmission, user-space sets this configuration in
5594 * the max value is advertised by the driver in this attribute on
5597 * transmission, user-space sets this configuration in
5599 * the max value is advertised by the driver in this attribute on
5610 * @NL80211_TID_CONFIG_ATTR_TX_RATE_TYPE: This attribute will be useful
5637 NL80211_TID_CONFIG_ATTR_MAX = __NL80211_TID_CONFIG_ATTR_AFTER_LAST - 1
5641 * enum nl80211_packet_pattern_attr - packet pattern attribute
5642 * @__NL80211_PKTPAT_INVALID: invalid number for nested attribute
5646 * a bit for each byte in the pattern. The lowest-order bit corresponds
5648 * in a little-endian-like format, i.e. the 9th byte of the pattern
5649 * corresponds to the lowest-order bit in the second byte of the mask.
5659 * @MAX_NL80211_PKTPAT: max attribute number
5668 MAX_NL80211_PKTPAT = NUM_NL80211_PKTPAT - 1,
5672 * struct nl80211_pattern_support - packet pattern support information
5701 * enum nl80211_wowlan_triggers - WoWLAN trigger definitions
5704 * the chip into a special state -- works best with chips that have
5705 * support for low-power operation already (flag)
5709 * is detected is implementation-specific (flag)
5713 * which are passed in an array of nested attributes, each nested attribute
5720 * In %NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED, it is a binary attribute
5723 * When reporting wakeup. it is a u32 attribute containing the 0-based
5733 * @NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE: wake up on 4-way handshake (flag)
5739 * attribute contains the original length.
5742 * attribute if the packet was truncated somewhere.
5745 * be truncated, the @NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023_LEN attribute
5749 * attribute if the packet was truncated somewhere.
5751 * "TCP connection wakeup" for more details. This is a nested attribute
5762 * is detected. This is a nested attribute that contains the
5767 * attribute is also sent in a response to
5770 * @NL80211_WOWLAN_TRIG_NET_DETECT_RESULTS: nested attribute
5776 * Each element in the array is a nested attribute that contains
5777 * one optional %NL80211_ATTR_SSID attribute and one optional
5778 * %NL80211_ATTR_SCAN_FREQUENCIES attribute. At least one of
5786 * @MAX_NL80211_WOWLAN_TRIG: highest wowlan trigger attribute number
5816 MAX_NL80211_WOWLAN_TRIG = NUM_NL80211_WOWLAN_TRIG - 1
5829 * optionally, a token from a list of tokens. This serves as a keep-alive
5832 * During this keep-alive period, the server doesn't send any data to the
5843 * struct nl80211_wowlan_tcp_data_seq - WoWLAN TCP data sequence
5857 * struct nl80211_wowlan_tcp_data_token - WoWLAN TCP data token config
5869 * struct nl80211_wowlan_tcp_data_token_feature - data token features
5879 * enum nl80211_wowlan_tcp_attrs - WoWLAN TCP connection parameters
5892 * For feature advertising, a u32 attribute holding the maximum length
5903 * u32 attribute holding the maximum length
5908 * @MAX_NL80211_WOWLAN_TCP: highest attribute number
5926 MAX_NL80211_WOWLAN_TCP = NUM_NL80211_WOWLAN_TCP - 1
5930 * struct nl80211_coalesce_rule_support - coalesce rule support information
5945 * enum nl80211_attr_coalesce_rule - coalesce rule attribute
5946 * @__NL80211_COALESCE_RULE_INVALID: invalid number for nested attribute
5953 * @NL80211_ATTR_COALESCE_RULE_MAX: max attribute number
5963 NL80211_ATTR_COALESCE_RULE_MAX = NUM_NL80211_ATTR_COALESCE_RULE - 1
5967 * enum nl80211_coalesce_condition - coalesce rule conditions
5979 * enum nl80211_iface_limit_attrs - limit attributes
5982 * can be chosen from this set of interface types (u32)
5983 * @NL80211_IFACE_LIMIT_TYPES: nested attribute containing a
5984 * flag attribute for each interface type in this set
5986 * @MAX_NL80211_IFACE_LIMIT: highest attribute number
5995 MAX_NL80211_IFACE_LIMIT = NUM_NL80211_IFACE_LIMIT - 1
5999 * enum nl80211_if_combination_attrs -- interface combination attributes
6004 * @NL80211_IFACE_COMB_MAXNUM: u32 attribute giving the total number of
6007 * in a separate attribute %NL80211_ATTR_INTERFACES_SOFTWARE.
6008 * @NL80211_IFACE_COMB_STA_AP_BI_MATCH: flag attribute specifying that
6012 * @NL80211_IFACE_COMB_NUM_CHANNELS: u32 attribute specifying how many
6014 * @NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS: u32 attribute containing the bitmap
6016 * @NL80211_IFACE_COMB_RADAR_DETECT_REGIONS: u32 attribute containing the bitmap
6018 * @NL80211_IFACE_COMB_BI_MIN_GCD: u32 attribute specifying the minimum GCD of
6022 * @MAX_NL80211_IFACE_COMB: highest attribute number
6028 * numbers = [ #{AP, P2P-GO} <= 8 ], BI min gcd, channels = 1, max = 8,
6034 * numbers = [ #{STA} <= 1, #{P2P-client,P2P-GO} <= 3 ], max = 4
6038 * within the %NL80211_ATTR_INTERFACE_COMBINATIONS attribute to indicate
6059 MAX_NL80211_IFACE_COMB = NUM_NL80211_IFACE_COMB - 1
6064 * enum nl80211_plink_state - state of a mesh peer link finite state machine
6067 * state of non-existent mesh peer links
6092 MAX_NL80211_PLINK_STATES = NUM_NL80211_PLINK_STATES - 1
6096 * enum nl80211_plink_action - actions to perform in mesh peers
6120 * enum nl80211_rekey_data - attributes for GTK rekey offload
6127 * @MAX_NL80211_REKEY_DATA: highest rekey attribute (internal)
6138 MAX_NL80211_REKEY_DATA = NUM_NL80211_REKEY_DATA - 1
6142 * enum nl80211_hidden_ssid - values for %NL80211_ATTR_HIDDEN_SSID
6145 * @NL80211_HIDDEN_SSID_ZERO_LEN: hide SSID by using zero-length SSID element
6157 * enum nl80211_sta_wme_attr - station WME attributes
6158 * @__NL80211_STA_WME_INVALID: invalid number for nested attribute
6164 * @NL80211_STA_WME_MAX: highest station WME attribute
6173 NL80211_STA_WME_MAX = __NL80211_STA_WME_AFTER_LAST - 1
6177 * enum nl80211_pmksa_candidate_attr - attributes for PMKSA caching candidates
6182 * @NL80211_PMKSA_CANDIDATE_PREAUTH: RSN pre-authentication supported (flag)
6185 * @MAX_NL80211_PMKSA_CANDIDATE: highest PMKSA caching candidate attribute
6196 MAX_NL80211_PMKSA_CANDIDATE = NUM_NL80211_PMKSA_CANDIDATE - 1
6200 * enum nl80211_tdls_operation - values for %NL80211_ATTR_TDLS_OPERATION
6216 * enum nl80211_ap_sme_features - device-integrated AP features
6226 * enum nl80211_feature_flags - device/driver features
6244 * @NL80211_FEATURE_VIF_TXPOWER: The driver supports per-vif TX power setting
6262 * stations the authenticated/associated bits have to be set in the mask.
6264 * (HT40, VHT 80/160 MHz) if this flag is set
6274 * channel bandwidth change (e.g., HT 20 <-> 40 MHz channel) during the
6277 * Set IE to probe requests.
6287 * estimation (dynack). %NL80211_ATTR_WIPHY_DYN_ACK flag attribute is used
6297 * TSPEC sessions (TID aka TSID 0-7) with the %NL80211_CMD_ADD_TX_TS
6299 * needs to be able to handle Block-Ack agreements and other things.
6307 * %NL80211_SCAN_FLAG_RANDOM_ADDR flag may be set for scans and the MAC
6312 * be set for scheduled scan and the MAC address mask/value will be used.
6316 * be set for scheduled scan and the MAC address mask/value will be used.
6354 * enum nl80211_ext_feature_index - bit index of extended features.
6358 * %NL80211_CMD_ASSOCIATE and %NL80211_CMD_CONNECT requests, which will set
6361 * @NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER: This device supports MU-MIMO air
6364 * %NL80211_ATTR_MU_MIMO_GROUP_DATA attribute,
6366 * %NL80211_ATTR_MU_MIMO_FOLLOW_MAC_ADDR attribute.
6372 * time the last beacon/probe was received. For a non-MLO connection, the
6380 * configuration (AP/mesh), supporting a legacy (non-HT/VHT) rate.
6395 * %NL80211_ATTR_CQM_RSSI_THOLD attribute accepts a list of zero or more
6399 * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK: Device wants to do 4-way
6402 * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X: Device wants to do doing 4-way
6407 * the max channel attribute in the FILS request params IE with the
6421 * Device or driver will do all DFS-related actions by itself,
6422 * informing user-space about CAC progress, radar detection event,
6424 * No need to start CAC from user-space, no need to react to
6430 * @NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: Backward-compatible ID
6431 * @NL80211_EXT_FEATURE_TXQS: Driver supports FQ-CoDel-enabled intermediate
6442 * able to rekey an in-use key correctly. Userspace must not rekey PTK keys
6443 * if this flag is not set. Ignoring this can leak clear text packets and/or
6446 * Individually Addressed Frames" from IEEE802.11-2016.
6453 * (set/del PMKSA operations) in AP mode.
6464 * with VLAN tagged frames and separate VLAN-specific netdevs added using
6499 * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_AP_PSK: Device wants to do 4-way
6559 * @NL80211_EXT_FEATURE_DFS_CONCURRENT: The device supports peer-to-peer or
6561 * DFS master on the same channel as described in FCC-594280 D01
6566 * (signaling and payload protected) A-MSDUs and this shall be advertised
6601 /* we renamed this - stay compatible */
6647 MAX_NL80211_EXT_FEATURES = NUM_NL80211_EXT_FEATURES - 1
6651 * enum nl80211_probe_resp_offload_support_attr - optional supported
6652 * protocols for probe-response offloading by the driver/FW.
6653 * To be used with the %NL80211_ATTR_PROBE_RESP_OFFLOAD attribute.
6655 * protocols. Typically a subset of probe-requests belonging to a
6672 * enum nl80211_connect_failed_reason - connection request failed reasons
6683 * enum nl80211_timeout_reason - timeout reasons
6698 * enum nl80211_scan_flags - scan request control flags
6711 * as AP and the beaconing has already been configured. This attribute is
6713 * will be lost while scanning off-channel, therefore it must be used only
6717 * flag is set, depending on device capabilities the @NL80211_ATTR_MAC and
6728 * rate of at least 5.5M. In case non-OCE AP is discovered in the channel,
6731 * tx deferral (dot11FILSProbeDelay shall be set to 15ms)
6734 * a suitable candidate for (re-)association - suitable in terms of
6759 * 2.4/5 GHz APs. When the flag is set, the scan logic will use the
6762 * channels on which APs are expected to be found. Note that when not set,
6764 * probe requests on non-PSC channels is limited, it is highly likely that
6766 * is set, in addition to the colocated APs, PSC channels would also be
6788 * enum nl80211_acl_policy - access control policy
6790 * Access control policy is applied on a MAC list set by
6806 * enum nl80211_smps_mode - SMPS mode
6823 NL80211_SMPS_MAX = __NL80211_SMPS_AFTER_LAST - 1
6827 * enum nl80211_radar_event - type of radar event for DFS operation
6838 * @NL80211_RADAR_NOP_FINISHED: The Non-Occupancy Period for this channel is
6841 * non-operating channel is expired and no longer valid. New CAC must
6843 * applicable for ETSI dfs domain where pre-CAC is valid for ever.
6857 * enum nl80211_dfs_state - DFS states for channels
6874 * enum nl80211_protocol_features - nl80211 protocol features
6876 * wiphy dumps (if requested by the application with the attribute
6886 * enum nl80211_crit_proto_id - nl80211 critical protocol identifiers
6907 * enum nl80211_rxmgmt_flags - flags for received management frame.
6923 * If this flag is unset, the lower 24 bits are an OUI, if set
6930 * struct nl80211_vendor_cmd_info - vendor command data
6932 * value is a 24-bit OUI; if it is set then a separately allocated ID
6935 * @subcmd: sub-command ID for the command
6943 * enum nl80211_tdls_peer_capability - TDLS peer flags.
6961 * enum nl80211_sched_scan_plan - scanning plan for scheduled scan
6962 * @__NL80211_SCHED_SCAN_PLAN_INVALID: attribute number 0 is reserved
6966 * scan plan (u32). The last scan plan must not specify this attribute
6969 * @NL80211_SCHED_SCAN_PLAN_MAX: highest scheduled scan plan attribute number
6981 __NL80211_SCHED_SCAN_PLAN_AFTER_LAST - 1
6985 * struct nl80211_bss_select_rssi_adjust - RSSI adjustment parameters.
6997 * enum nl80211_bss_select_attr - attributes for bss selection.
7000 * @NL80211_BSS_SELECT_ATTR_RSSI: Flag indicating only RSSI-based BSS selection
7002 * @NL80211_BSS_SELECT_ATTR_BAND_PREF: attribute indicating BSS
7004 * When there are multiple BSS-es in the preferred band, the driver
7005 * shall use RSSI-based BSS selection as a second step. The value of
7006 * this attribute is according to &enum nl80211_band (u32).
7008 * BSS-es in the specified band is to be adjusted before doing
7009 * RSSI-based BSS selection. The attribute value is a packed structure
7011 * @NL80211_BSS_SELECT_ATTR_MAX: highest bss select attribute number.
7026 NL80211_BSS_SELECT_ATTR_MAX = __NL80211_BSS_SELECT_ATTR_AFTER_LAST - 1
7030 * enum nl80211_nan_function_type - NAN function type
7036 * @NL80211_NAN_FUNC_FOLLOW_UP: function is follow-up
7047 NL80211_NAN_FUNC_MAX_TYPE = __NL80211_NAN_FUNC_TYPE_AFTER_LAST - 1,
7051 * enum nl80211_nan_publish_type - NAN publish tx type
7064 * enum nl80211_nan_func_term_reason - NAN functions termination reason
7083 * enum nl80211_nan_func_attributes - NAN function attributes
7087 * specified in NAN spec. This is a binary attribute.
7102 * follow up Service Discovery Frame. This is a binary attribute.
7109 * specific info. This is a binary attribute.
7110 * @NL80211_NAN_FUNC_SRF: Service Receive Filter. This is a nested attribute.
7113 * attribute. It is a list of binary values.
7115 * nested attribute. It is a list of binary values.
7122 * @NL80211_NAN_FUNC_ATTR_MAX: highest NAN function attribute
7145 NL80211_NAN_FUNC_ATTR_MAX = NUM_NL80211_NAN_FUNC_ATTR - 1
7149 * enum nl80211_nan_srf_attributes - NAN Service Response filter attributes
7151 * @NL80211_NAN_SRF_INCLUDE: present if the include bit of the SRF set.
7154 * %NL80211_NAN_SRF_MAC_ADDRS isn't present. This attribute is binary.
7159 * attribute. Each nested attribute is a MAC address.
7161 * @NL80211_NAN_SRF_ATTR_MAX: highest NAN SRF attribute
7172 NL80211_NAN_SRF_ATTR_MAX = NUM_NL80211_NAN_SRF_ATTR - 1,
7176 * enum nl80211_nan_match_attributes - NAN match attributes
7179 * match. This is a nested attribute.
7182 * that caused the match. This is a nested attribute.
7186 * @NL80211_NAN_MATCH_ATTR_MAX: highest NAN match attribute
7195 NL80211_NAN_MATCH_ATTR_MAX = NUM_NL80211_NAN_MATCH_ATTR - 1
7199 * enum nl80211_external_auth_action - Action to perform with external
7210 * enum nl80211_ftm_responder_attributes - fine timing measurement
7215 * (9.4.2.22 in 802.11-2016) with type 8 - LCI (9.4.2.22.10),
7218 * (9.4.2.22 in 802.11-2016) with type 11 - Civic (Section 9.4.2.22.13),
7221 * @NL80211_FTM_RESP_ATTR_MAX: highest FTM responder attribute.
7232 NL80211_FTM_RESP_ATTR_MAX = __NL80211_FTM_RESP_ATTR_LAST - 1,
7236 * enum nl80211_ftm_responder_stats - FTM responder statistics
7238 * These attribute types are used with %NL80211_ATTR_FTM_RESPONDER_STATS
7241 * @__NL80211_FTM_STATS_INVALID: attribute number 0 is reserved
7248 * @NL80211_FTM_STATS_NON_ASAP_NUM: number of non-ASAP sessions (u32)
7249 * @NL80211_FTM_STATS_TOTAL_DURATION_MSEC: total sessions durations - gives an
7251 * @NL80211_FTM_STATS_UNKNOWN_TRIGGERS_NUM: number of unknown FTM triggers -
7255 * - initiator asks for a new scheduling although it already has scheduled
7261 * @NL80211_FTM_STATS_MAX: highest possible FTM responder stats attribute
7278 NL80211_FTM_STATS_MAX = __NL80211_FTM_STATS_AFTER_LAST - 1
7282 * enum nl80211_preamble - frame preamble types
7298 * enum nl80211_peer_measurement_type - peer measurement types
7313 NL80211_PMSR_TYPE_MAX = NUM_NL80211_PMSR_TYPES - 1
7317 * enum nl80211_peer_measurement_status - peer measurement status
7321 * @NL80211_PMSR_STATUS_FAILURE: measurement failed, a type-dependent
7332 * enum nl80211_peer_measurement_req - peer measurement request attributes
7335 * @NL80211_PMSR_REQ_ATTR_DATA: This is a nested attribute with measurement
7336 * type-specific request data inside. The attributes used are from the
7339 * (flag attribute)
7342 * @NL80211_PMSR_REQ_ATTR_MAX: highest attribute number
7352 NL80211_PMSR_REQ_ATTR_MAX = NUM_NL80211_PMSR_REQ_ATTRS - 1
7356 * enum nl80211_peer_measurement_resp - peer measurement response attributes
7359 * @NL80211_PMSR_RESP_ATTR_DATA: This is a nested attribute with measurement
7360 * type-specific results inside. The attributes used are from the enums
7372 * (*e.g. with FTM per-burst data) this flag will be cleared on all but
7373 * the last result; if all results are combined it's set on the single
7375 * @NL80211_PMSR_RESP_ATTR_PAD: padding for 64-bit attributes, ignore
7378 * @NL80211_PMSR_RESP_ATTR_MAX: highest attribute number
7392 NL80211_PMSR_RESP_ATTR_MAX = NUM_NL80211_PMSR_RESP_ATTRS - 1
7396 * enum nl80211_peer_measurement_peer_attrs - peer attributes for measurement
7400 * @NL80211_PMSR_PEER_ATTR_CHAN: channel definition, nested, using top-level
7402 * @NL80211_PMSR_PEER_ATTR_REQ: This is a nested attribute indexed by
7405 * @NL80211_PMSR_PEER_ATTR_RESP: This is a nested attribute indexed by
7410 * @NL80211_PMSR_PEER_ATTR_MAX: highest attribute number
7422 NL80211_PMSR_PEER_ATTR_MAX = NUM_NL80211_PMSR_PEER_ATTRS - 1,
7426 * enum nl80211_peer_measurement_attrs - peer measurement attributes
7429 * @NL80211_PMSR_ATTR_MAX_PEERS: u32 attribute used for capability
7432 * @NL80211_PMSR_ATTR_REPORT_AP_TSF: flag attribute in capability
7435 * @NL80211_PMSR_ATTR_RANDOMIZE_MAC_ADDR: flag attribute in capability
7439 * type-specific capabilities inside, which are from the enums
7441 * @NL80211_PMSR_ATTR_PEERS: nested attribute, the nesting index is
7443 * sub-attributes taken from
7447 * @NL80211_PMSR_ATTR_MAX: highest attribute number
7460 NL80211_PMSR_ATTR_MAX = NUM_NL80211_PMSR_ATTR - 1
7464 * enum nl80211_peer_measurement_ftm_capa - FTM capabilities
7467 * @NL80211_PMSR_FTM_CAPA_ATTR_ASAP: flag attribute indicating ASAP mode
7469 * @NL80211_PMSR_FTM_CAPA_ATTR_NON_ASAP: flag attribute indicating non-ASAP
7471 * @NL80211_PMSR_FTM_CAPA_ATTR_REQ_LCI: flag attribute indicating if LCI
7473 * @NL80211_PMSR_FTM_CAPA_ATTR_REQ_CIVICLOC: flag attribute indicating if civic
7475 * @NL80211_PMSR_FTM_CAPA_ATTR_PREAMBLES: u32 bitmap attribute of bits
7482 * @NL80211_PMSR_FTM_CAPA_ATTR_MAX_BURSTS_EXPONENT: u32 attribute indicating
7485 * @NL80211_PMSR_FTM_CAPA_ATTR_MAX_FTMS_PER_BURST: u32 attribute indicating
7487 * @NL80211_PMSR_FTM_CAPA_ATTR_TRIGGER_BASED: flag attribute indicating if
7489 * @NL80211_PMSR_FTM_CAPA_ATTR_NON_TRIGGER_BASED: flag attribute indicating
7490 * if non-trigger-based ranging measurement is supported
7493 * @NL80211_PMSR_FTM_CAPA_ATTR_MAX: highest attribute number
7511 NL80211_PMSR_FTM_CAPA_ATTR_MAX = NUM_NL80211_PMSR_FTM_CAPA_ATTR - 1
7515 * enum nl80211_peer_measurement_ftm_req - FTM request attributes
7522 * 802.11-2016 9.4.2.168 "Fine Timing Measurement Parameters element"
7523 * (u8, 0-15, optional with default 15 i.e. "no preference")
7526 * @NL80211_PMSR_FTM_REQ_ATTR_BURST_DURATION: burst duration, as in 802.11-2016
7527 * Table 9-257 "Burst Duration field encoding" (u8, 0-15, optional with
7531 * (u8, 0-31, optional with default 0 i.e. "no preference")
7539 * This attribute and %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED are
7542 * %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED is set, EDCA based
7544 * @NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED: request non-trigger-based
7546 * This attribute and %NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED are
7549 * %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED is set, EDCA based
7553 * %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED is set.
7556 * or %NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED is set.
7559 * @NL80211_PMSR_FTM_REQ_ATTR_MAX: highest attribute number
7580 NL80211_PMSR_FTM_REQ_ATTR_MAX = NUM_NL80211_PMSR_FTM_REQ_ATTR - 1
7584 * enum nl80211_peer_measurement_ftm_failure_reasons - FTM failure reasons
7611 * enum nl80211_peer_measurement_ftm_resp - FTM response attributes
7614 * @NL80211_PMSR_FTM_RESP_ATTR_FAIL_REASON: FTM-specific failure reason
7617 * as separate results then it will be the burst index 0...(N-1) and
7652 * this is the contents of the Measurement Report Element (802.11-2016
7657 * this is the contents of the Measurement Report Element (802.11-2016
7663 * @NL80211_PMSR_FTM_RESP_ATTR_MAX: highest attribute number
7692 NL80211_PMSR_FTM_RESP_ATTR_MAX = NUM_NL80211_PMSR_FTM_RESP_ATTR - 1
7696 * enum nl80211_obss_pd_attributes - OBSS packet detection attributes
7701 * @NL80211_HE_OBSS_PD_ATTR_NON_SRG_MAX_OFFSET: the non-SRG OBSS PD maximum
7710 * @NL80211_HE_OBSS_PD_ATTR_MAX: highest OBSS PD attribute.
7724 NL80211_HE_OBSS_PD_ATTR_MAX = __NL80211_HE_OBSS_PD_ATTR_LAST - 1,
7728 * enum nl80211_bss_color_attributes - BSS Color attributes
7736 * @NL80211_HE_BSS_COLOR_ATTR_MAX: highest BSS Color attribute.
7747 NL80211_HE_BSS_COLOR_ATTR_MAX = __NL80211_HE_BSS_COLOR_ATTR_LAST - 1,
7751 * enum nl80211_iftype_akm_attributes - interface type AKM attributes
7754 * @NL80211_IFTYPE_AKM_ATTR_IFTYPES: nested attribute containing a flag
7755 * attribute for each interface type that supports AKM suites specified in
7761 * @NL80211_IFTYPE_AKM_ATTR_MAX: highest interface type AKM attribute.
7771 NL80211_IFTYPE_AKM_ATTR_MAX = __NL80211_IFTYPE_AKM_ATTR_LAST - 1,
7775 * enum nl80211_fils_discovery_attributes - FILS discovery configuration
7776 * from IEEE Std 802.11ai-2016, Annex C.3 MIB detail.
7783 * Allowed range: 0..10000 (TU = Time Unit). If set to 0, the feature is disabled.
7788 * @NL80211_FILS_DISCOVERY_ATTR_MAX: highest attribute
7799 NL80211_FILS_DISCOVERY_ATTR_MAX = __NL80211_FILS_DISCOVERY_ATTR_LAST - 1
7809 * enum nl80211_unsol_bcast_probe_resp_attributes - Unsolicited broadcast probe
7816 * 26.17.2.3.2 (AP behavior for fast passive scanning). If set to 0, the feature is
7822 * @NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_MAX: highest attribute
7833 __NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_LAST - 1
7837 * enum nl80211_sae_pwe_mechanism - The mechanism(s) allowed for SAE PWE
7838 * derivation. Applicable only when WPA3-Personal SAE authentication is
7842 * attribute is not present from userspace.
7843 * @NL80211_SAE_PWE_HUNT_AND_PECK: hunting-and-pecking loop only
7844 * @NL80211_SAE_PWE_HASH_TO_ELEMENT: hash-to-element only
7845 * @NL80211_SAE_PWE_BOTH: both hunting-and-pecking loop and hash-to-element
7856 * enum nl80211_sar_type - type of SAR specs
7872 * enum nl80211_sar_attrs - Attributes for SAR spec
7879 * limit specifications. Each specification contains a set
7882 * For SET operation, it contains array of %NL80211_SAR_ATTR_SPECS_POWER
7890 * @NL80211_SAR_ATTR_MAX: highest sar attribute
7901 NL80211_SAR_ATTR_MAX = __NL80211_SAR_ATTR_LAST - 1,
7905 * enum nl80211_sar_specs_attrs - Attributes for SAR power limit specs
7918 * Userspace isn't required to set all the ranges advertised by WLAN driver,
7923 * limitation is removed, but it's required to set at least one range.
7924 * It's not allowed to set duplicated range in one SET operation.
7926 * Every SET operation overwrites previous SET operation.
7937 * @NL80211_SAR_ATTR_SPECS_MAX: highest sar specs attribute
7948 NL80211_SAR_ATTR_SPECS_MAX = __NL80211_SAR_ATTR_SPECS_LAST - 1,
7952 * enum nl80211_mbssid_config_attributes - multiple BSSID (MBSSID) and enhanced
7953 * multi-BSSID advertisements (EMA) in AP mode.
7964 * wiphy->mbssid_max_interfaces to a value more than or equal to 2.
7969 * by setting wiphy->ema_max_profile_periodicity to
7970 * a non-zero value.
7973 * this BSS (u8) in the multiple BSSID set.
7974 * Value must be set to 0 for the transmitting interface and non-zero for
7975 * all non-transmitting interfaces. The userspace will be responsible
7977 * Range: 0 to wiphy->mbssid_max_interfaces-1.
7980 * a non-transmitted profile which provides the interface index (u32) of
7982 * indices advertised by the kernel. Optional if the interface being set up
7988 * by setting wiphy->ema_max_profile_periodicity to non-zero.
7991 * @NL80211_MBSSID_CONFIG_ATTR_MAX: highest attribute
8004 NL80211_MBSSID_CONFIG_ATTR_MAX = __NL80211_MBSSID_CONFIG_ATTR_LAST - 1,
8008 * enum nl80211_ap_settings_flags - AP settings flags
8015 * ignore SA Query procedures and validations when this flag is set by
8024 * enum nl80211_wiphy_radio_attrs - wiphy radio attributes
8030 * radio. Attribute may be present multiple times.
8032 * combination for this radio. Attribute may be present multiple times
8036 * @NL80211_WIPHY_RADIO_ATTR_MAX: Highest attribute
8047 NL80211_WIPHY_RADIO_ATTR_MAX = __NL80211_WIPHY_RADIO_ATTR_LAST - 1,
8051 * enum nl80211_wiphy_radio_freq_range - wiphy radio frequency range
8061 * @NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: Highest attribute
8070 NL80211_WIPHY_RADIO_FREQ_ATTR_MAX = __NL80211_WIPHY_RADIO_FREQ_ATTR_LAST - 1,