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-2025 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
1332 * @NL80211_CMD_ASSOC_MLO_RECONF: For a non-AP MLD station, request to
1603 NL80211_CMD_MAX = __NL80211_CMD_AFTER_LAST - 1
1621 /* source-level API compatibility */
1627 * enum nl80211_attrs - nl80211 netlink attributes
1629 * @NL80211_ATTR_UNSPEC: unspecified attribute to catch errors
1637 * %NL80211_ATTR_WIPHY_CHANNEL_TYPE attribute or the attributes
1640 * @NL80211_ATTR_CHANNEL_WIDTH: u32 attribute containing one of the values
1651 * this attribute)
1655 * This attribute is now deprecated.
1664 * fragmentation with (u32)-1; dot11FragmentationThreshold; u32
1667 * 0..65536, disable with (u32)-1; dot11RTSThreshold; u32
1675 * @NL80211_ATTR_WDEV: wireless device identifier, used for pseudo-devices
1683 * @NL80211_ATTR_KEY_IDX: key ID (u8, 0-3)
1688 * @NL80211_ATTR_KEY_DEFAULT: Flag attribute indicating the key is default key
1689 * @NL80211_ATTR_KEY_DEFAULT_MGMT: Flag attribute indicating the key is the
1712 * given for %NL80211_CMD_GET_STATION, nested attribute containing
1718 * @NL80211_ATTR_MESH_ID: mesh id (1-32 bytes).
1723 * info given for %NL80211_CMD_GET_MPATH, nested attribute described at
1729 * @NL80211_ATTR_REG_ALPHA2: an ISO-3166-alpha2 country code for which the
1730 * current regulatory domain should be set to or is already set to.
1731 * For example, 'CR', for Costa Rica. This attribute is used by the kernel
1732 * to query the CRDA to retrieve one regulatory domain. This attribute can
1733 * also be used by userspace to query the kernel for the currently set
1735 * IEEE-802.11 country information element to identify a country.
1736 * Users can also simply ask the wireless core to set regulatory domain
1753 * @NL80211_ATTR_SUPPORTED_IFTYPES: nested attribute containing all
1754 * supported interface types, each a flag attribute with the number
1764 * a single scan request, a wiphy attribute.
1766 * scan with a single scheduled scan request, a wiphy attribute.
1772 * used with @NL80211_ATTR_SCHED_SCAN_MATCH, a wiphy attribute.
1774 * @NL80211_ATTR_SCAN_FREQUENCIES: nested attribute with frequencies (in MHz)
1775 * @NL80211_ATTR_SCAN_SSIDS: nested attribute with SSIDs, leave out for passive
1776 * scanning and include a zero-length SSID (wildcard) for wildcard scan
1782 * set. This can be one of the nl80211_reg_type (%NL80211_REGDOM_TYPE_*)
1784 * @NL80211_ATTR_SUPPORTED_COMMANDS: wiphy attribute that specifies
1788 * @NL80211_ATTR_FRAME: frame data (binary attribute), including frame header
1791 * @NL80211_ATTR_SSID: SSID (binary attribute, 0..32 octets)
1801 * due to considerations from a beacon hint. This attribute reflects
1803 * attributes consists of a nested attribute containing
1806 * due to considerations from a beacon hint. This attribute reflects
1808 * attributes consists of a nested attribute containing
1811 * @NL80211_ATTR_CIPHER_SUITES: a set of u32 values indicating the supported
1822 * this attribute can be used with %NL80211_CMD_ASSOCIATE and
1829 * @NL80211_ATTR_STA_FLAGS2: Attribute containing a
1838 * @NL80211_ATTR_CONTROL_PORT_ETHERTYPE: A 16-bit value indicating the
1842 * attribute is also used as a flag in the wiphy information to
1850 * socket. If this attribute is missing, then legacy behavior of sending
1855 * flag. When used with %NL80211_ATTR_CONTROL_PORT_NO_PREAUTH, pre-auth
1859 * We recommend using nested, driver-specific attributes within this.
1866 * @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
1910 * @NL80211_ATTR_4ADDR: Use 4-address frames on a virtual interface
1913 * the survey response for %NL80211_CMD_GET_SURVEY, nested attribute
1918 * cache, a wiphy attribute.
1921 * @NL80211_ATTR_MAX_REMAIN_ON_CHANNEL_DURATION: Device attribute that
1923 * remain-on-channel operation, in milliseconds, u32.
1925 * @NL80211_ATTR_COOKIE: Generic 64-bit cookie to identify objects.
1927 * @NL80211_ATTR_TX_RATES: Nested set of attributes
1931 * rates based on negotiated supported rates information. This attribute
1941 * @NL80211_ATTR_FRAME_MATCH: A binary attribute which typically must contain
1945 * @NL80211_ATTR_TX_FRAME_TYPES: wiphy capability attribute, which is a
1946 * nested attribute of %NL80211_ATTR_FRAME_TYPE attributes, containing
1949 * @NL80211_ATTR_RX_FRAME_TYPES: wiphy capability attribute, which is a
1950 * nested attribute of %NL80211_ATTR_FRAME_TYPE attributes, containing
1953 * @NL80211_ATTR_ACK: Flag attribute indicating that the frame was
1960 * nested attribute with %NL80211_ATTR_CQM_* sub-attributes.
1962 * @NL80211_ATTR_LOCAL_STATE_CHANGE: Flag attribute to indicate that a command
1975 * for non-automatic settings.
1978 * means support for per-station GTKs.
1992 * Non-802.11n drivers can derive whether to use diversity or not.
1994 * support by returning -EINVAL.
2013 * flag isn't set, the frame will be rejected. This is also used as an
2018 * @NL80211_ATTR_KEY_DEFAULT_TYPES: A nested attribute containing flags
2019 * attributes, specifying what a key should be set as default as.
2024 * @NL80211_ATTR_MESH_CONFIG: Mesh configuration parameters, a nested attribute
2044 * @NL80211_ATTR_SCHED_SCAN_MATCH: Nested attribute with one or more
2047 * pass-thru filter rules.
2049 * set. Since not every hardware supports matching all types of
2053 * Thus, the implementation is somewhat hardware-dependent, but
2055 * needs to handle all the non-filtered results anyway.
2059 * will never let it go through), -EINVAL may be returned.
2062 * @NL80211_ATTR_INTERFACE_COMBINATIONS: Nested attribute listing the supported
2065 * If the wiphy uses multiple radios (@NL80211_ATTR_WIPHY_RADIOS is set),
2066 * this attribute contains the interface combinations of the first radio.
2069 * @NL80211_ATTR_SOFTWARE_IFTYPES: Nested attribute (just like
2074 * @NL80211_ATTR_REKEY_DATA: nested attribute containing the information
2078 * nested array attribute containing an entry for each band, with the entry
2096 * @NL80211_ATTR_STA_WME: Nested attribute containing the wme configuration
2104 * @NL80211_ATTR_PMKSA_CANDIDATE: Nested attribute containing the PMKSA caching
2110 * applications use this attribute.
2111 * This attribute is used with %NL80211_CMD_TRIGGER_SCAN and
2117 * @NL80211_ATTR_TDLS_DIALOG_TOKEN: Non-zero token for uniquely identifying a
2128 * @NL80211_ATTR_DEVICE_AP_SME: This u32 attribute may be listed for devices
2130 * with support for the features listed in this attribute, see
2138 * @NL80211_ATTR_FEATURE_FLAGS: This u32 attribute contains flags from
2141 * requests while operating in AP-mode.
2142 * This attribute holds a bitmap of the supported protocols for
2146 * probe-response frame. The DA field in the 802.11 header is zero-ed out,
2149 * this feature during association. This is a flag attribute.
2152 * this feature during association. This is a flag attribute.
2155 * this feature during association. This is a flag attribute.
2158 * this feature during association. This is a flag attribute.
2164 * MCS rates, MAX-AMSDU, HT-20-40 and HT_CAP_SGI_40
2189 * @NL80211_ATTR_RX_SIGNAL_DBM: signal strength in dBm (as a 32-bit int);
2190 * this attribute is (depending on the driver capabilities) added to
2198 * a user. If set code could specify exactly what type of source
2207 * This contains the authentication frame body (non-IE and IE data),
2213 * Status code). However, those fields are included in the attribute data
2214 * for all authentication algorithms to keep the attribute definition
2229 * @NL80211_ATTR_LOCAL_MESH_POWER_MODE: local mesh STA link-specific power mode
2233 * carried in a u32 attribute
2238 * @NL80211_ATTR_MAC_ACL_MAX: u32 attribute to advertise the maximum
2247 * 802.11-2012 8.4.2.29 for more information.
2249 * has set in the %NL80211_ATTR_EXT_CAPA value, for multibit fields.
2252 * the driver, e.g., to enable TDLS power save (PU-APSD).
2256 * and PU-APSD.
2259 * &enum nl80211_protocol_features, the attribute is a u32.
2261 * @NL80211_ATTR_SPLIT_WIPHY_DUMP: flag attribute, userspace supports
2282 * @NL80211_ATTR_CH_SWITCH_COUNT: u32 attribute specifying the number of TBTT's
2284 * @NL80211_ATTR_CH_SWITCH_BLOCK_TX: flag attribute specifying that transmission
2288 * @NL80211_ATTR_CSA_IES: Nested set of attributes containing the IE information
2319 * u8 attribute.
2321 * @NL80211_ATTR_VENDOR_ID: The vendor ID, either a 24-bit OUI or, if
2322 * %NL80211_VENDOR_ID_IS_LINUX is set, a special Linux ID (not used yet)
2323 * @NL80211_ATTR_VENDOR_SUBCMD: vendor sub-command
2325 * attribute is also used for vendor command feature advertisement
2330 * data is in the format defined for the payload of the QoS Map Set element
2331 * in IEEE Std 802.11-2012, 8.4.2.97.
2336 * @NL80211_ATTR_MAX_AP_ASSOC_STA: Device attribute that indicates how many
2345 * @NL80211_ATTR_MAX_CSA_COUNTERS: U8 attribute used to advertise the maximum
2351 * @NL80211_ATTR_SOCKET_OWNER: Flag attribute, if set during interface
2354 * If set during scheduled scan start then the new scan req will be
2357 * If set during configuration of regulatory indoor operation then the
2361 * If set during NAN interface creation, the interface will be destroyed
2364 * attribute, the notifications will be sent to the %NL80211_MCGRP_NAN
2366 * If set during %NL80211_CMD_ASSOCIATE or %NL80211_CMD_CONNECT the
2368 * If set during %NL80211_CMD_JOIN_IBSS the IBSS will be automatically
2370 * If set during %NL80211_CMD_JOIN_MESH the mesh setup will be
2372 * If set during %NL80211_CMD_START_AP the AP will be automatically
2375 * @NL80211_ATTR_TDLS_INITIATOR: flag attribute indicating the current end is
2379 * shall support Radio Resource Measurements (11k). This attribute can be
2388 * association request. In addition, it must also set the RRM capability
2391 * @NL80211_ATTR_WIPHY_DYN_ACK: flag attribute used to enable ACK timeout
2393 * %NL80211_FEATURE_ACKTO_ESTIMATION feature flag must be set by lower
2397 * @NL80211_ATTR_TSID: a TSID value (u8 attribute)
2398 * @NL80211_ATTR_USER_PRIO: user priority value (u8 attribute)
2400 * (per second) (u16 attribute)
2409 * @NL80211_ATTR_WIPHY_SELF_MANAGED_REG: flag attribute indicating this device
2410 * is self-managing its regulatory information and any regulatory domain
2417 * least-significant bit of the first byte in the array, ie. bit index 0
2422 * returned along with other survey data. If set, @NL80211_CMD_GET_SURVEY
2431 * net-detect scan is started, counting from the moment the
2434 * @NL80211_ATTR_REG_INDOOR: flag attribute, if set indicates that the device
2438 * scheduled scan supported by the device (u32), a wiphy attribute.
2440 * a scan plan (u32), a wiphy attribute.
2442 * a scan plan (u32), a wiphy attribute.
2448 * Each scan plan is a nested attribute of &enum nl80211_sched_scan_plan.
2449 * @NL80211_ATTR_PBSS: flag attribute. If set it means operate
2453 * @NL80211_ATTR_BSS_SELECT: nested attribute for driver supporting the
2457 * it contains the behaviour-specific attribute containing the parameters for
2463 * @NL80211_ATTR_PAD: attribute used for padding for 64-bit alignment
2465 * @NL80211_ATTR_IFTYPE_EXT_CAPA: Nested attribute of the following attributes:
2468 * other interface-type specific capabilities per interface type. For MLO,
2472 * @NL80211_ATTR_MU_MIMO_GROUP_DATA: array of 24 bytes that defines a MU-MIMO
2476 * each bit represents a group and set to 1 for being a member in
2482 * This attribute is used only if all interfaces are in monitor mode.
2483 * Set this attribute in order to monitor packets using the given MU-MIMO
2485 * to turn off that feature set all the bits of the groupID to zero.
2487 * when using MU-MIMO air sniffer.
2488 * to turn that feature off set an invalid mac address
2494 * attribute must not be included).
2496 * %NL80211_ATTR_SCAN_START_TIME_TSF is set.
2498 * %NL80211_ATTR_MEASUREMENT_DURATION_MANDATORY is not set, this is the
2499 * maximum measurement duration allowed. This attribute is used with
2502 * @NL80211_ATTR_MEASUREMENT_DURATION_MANDATORY: flag attribute that indicates
2504 * mandatory. If this flag is not set, the duration is the maximum duration
2518 * would be set. This attribute is used with
2520 * it is optional. If no bands are set, it means don't-care and
2524 * attribute.
2525 * @NL80211_ATTR_NAN_MATCH: used to report a match. This is a nested attribute.
2530 * Request/Response frame protection. This attribute contains the 16 octet
2534 * packets should be send out as unicast to all stations (flag attribute).
2550 * better BSSs. The attribute value is a packed structure
2554 * u32 attribute with an &enum nl80211_timeout_reason value. This is used,
2557 * @NL80211_ATTR_FILS_ERP_USERNAME: EAP Re-authentication Protocol (ERP)
2561 * @NL80211_ATTR_FILS_ERP_REALM: EAP Re-authentication Protocol (ERP) realm part
2565 * @NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM: Unsigned 16-bit ERP next sequence number
2569 * @NL80211_ATTR_FILS_ERP_RRK: ERP re-authentication Root Key (rRK) for the
2575 * @NL80211_ATTR_FILS_CACHE_ID: A 2-octet identifier advertised by a FILS AP
2579 * @NL80211_ATTR_PMK: attribute for passing PMK key material. Used with
2582 * PSK for offloading 4-way handshake for WPA/WPA2-PSK networks. For 802.1X
2584 * support this attribute specifies the PMK-R0 if NL80211_ATTR_PMKR0_NAME
2587 * @NL80211_ATTR_SCHED_SCAN_MULTI: flag attribute which user-space shall use to
2592 * @NL80211_ATTR_WANT_1X_4WAY_HS: flag attribute which user-space can include
2594 * wants to use the supported offload of the 4-way handshake.
2595 * @NL80211_ATTR_PMKR0_NAME: PMK-R0 Name for offloaded FT.
2599 * authentication operation (u32 attribute with an
2602 * @NL80211_ATTR_EXTERNAL_AUTH_SUPPORT: Flag attribute indicating that the user
2603 * space supports external authentication. This attribute shall be used
2607 * attribute deprecated for %NL80211_CMD_START_AP, use
2611 * u8 attribute. This is used with %NL80211_CMD_STA_OPMODE_CHANGED.
2613 * @NL80211_ATTR_TXQ_STATS: TXQ statistics (nested attribute, see &enum
2623 * association request when used with NL80211_CMD_NEW_STATION). Can be set
2624 * only if %NL80211_STA_FLAG_WME is set.
2626 * @NL80211_ATTR_FTM_RESPONDER: nested attribute which user-space can include
2631 * @NL80211_ATTR_FTM_RESPONDER_STATS: Nested attribute with FTM responder
2635 * if the attribute is not given no timeout is requested. Note that 0 is an
2642 * with the appropriate sub-attributes.
2651 * allows to set Tx power for a station. If this attribute is not included,
2652 * the default per-interface tx power setting will be overriding. Driver
2653 * should be picking up the lowest tx power, either tx power per-interface
2654 * or per-station.
2656 * @NL80211_ATTR_SAE_PASSWORD: attribute for passing SAE password material. It
2658 * SAE authentication for WPA3-Personal networks.
2662 * @NL80211_ATTR_HE_OBSS_PD: nested attribute for OBSS Packet Detection
2667 * Defined by IEEE P802.11ay/D4.0 section 9.4.2.251. (u8 attribute)
2669 * the allowed channel bandwidth configurations. (u8 attribute)
2675 * @NL80211_ATTR_HE_BSS_COLOR: nested attribute for BSS Color Settings.
2677 * @NL80211_ATTR_IFTYPE_AKM_SUITES: nested array attribute, with each entry
2679 * attribute is sent in a response to %NL80211_CMD_GET_WIPHY indicating
2685 * nested attribute with &enum nl80211_tid_config_attr sub-attributes;
2686 * on output (in wiphy attributes) it contains only the feature sub-
2722 * @NL80211_ATTR_SCAN_FREQ_KHZ: nested attribute with KHz frequencies
2728 * discovery. It is a nested attribute, see
2730 * nested attribute to disable this feature and delete the templates.
2733 * unsolicited broadcast probe response. It is a nested attribute, see
2735 * nested attribute to disable this feature and delete the templates.
2744 * derivation in WPA3-Personal networks which are using SAE authentication.
2745 * This is a u8 attribute that encapsulates one of the values from
2753 * @NL80211_ATTR_RECONNECT_REQUESTED: flag attribute, used with deauth and
2760 * @NL80211_ATTR_COLOR_CHANGE_COUNT: u8 attribute specifying the number of TBTT's
2762 * @NL80211_ATTR_COLOR_CHANGE_COLOR: u8 attribute specifying the color that we are
2764 * @NL80211_ATTR_COLOR_CHANGE_ELEMS: Nested set of attributes containing the IE
2767 * @NL80211_ATTR_MBSSID_CONFIG: Nested attribute for multiple BSSID
2769 * Kernel uses this attribute to indicate the driver's support for MBSSID
2770 * and enhanced multi-BSSID advertisements (EMA AP) to the userspace.
2771 * Userspace should use this attribute to configure per interface MBSSID
2777 * Optional for the non-transmitting interfaces.
2786 * @NL80211_ATTR_AP_SETTINGS_FLAGS: u32 attribute contains ap settings flags,
2787 * enumerated in &enum nl80211_ap_settings_flags. This attribute shall be
2791 * association request when used with NL80211_CMD_NEW_STATION). Can be set
2792 * only if %NL80211_STA_FLAG_WME is set.
2797 * per-link information and a link ID.
2801 * @NL80211_ATTR_MLO_SUPPORT: Flag attribute to indicate user space supports MLO
2802 * connection. Used with %NL80211_CMD_CONNECT. If this attribute is not
2805 * @NL80211_ATTR_MAX_NUM_AKM_SUITES: U16 attribute. Indicates maximum number of
2808 * attribute is not present userspace shall consider maximum number of AKM
2810 * number prior to the introduction of this attribute.
2831 * bit corresponds to the lowest 20 MHz channel. Each bit set to 1
2832 * indicates that the sub-channel is punctured. Higher 16 bits are
2836 * timestamping can be enabled for concurrently (u16), a wiphy attribute.
2840 * be enabled or not (flag attribute).
2842 * @NL80211_ATTR_EMA_RNR_ELEMS: Optional nested attribute for
2843 * reduced neighbor report (RNR) elements. This attribute can be used
2846 * elements such that each element excludes the non-transmitting
2853 * @NL80211_ATTR_MLO_LINK_DISABLED: Flag attribute indicating that the link is
2860 * @NL80211_ATTR_MLO_TTLM_DLINK: Binary attribute specifying the downlink TID to
2862 * mapping is as defined in section 9.4.2.314 (TID-To-Link Mapping element)
2864 * @NL80211_ATTR_MLO_TTLM_ULINK: Binary attribute specifying the uplink TID to
2866 * mapping is as defined in section 9.4.2.314 (TID-To-Link Mapping element)
2869 * @NL80211_ATTR_ASSOC_SPP_AMSDU: flag attribute used with
2870 * %NL80211_CMD_ASSOCIATE indicating the SPP A-MSDUs
2873 * @NL80211_ATTR_WIPHY_RADIOS: Nested attribute describing physical radios
2876 * @NL80211_ATTR_WIPHY_INTERFACE_COMBINATIONS: Nested attribute listing the
2885 * of supported selectors as defined by IEEE Std 802.11-2020 9.4.2.3 but
2893 * @NL80211_ATTR_EPCS: Flag attribute indicating that EPCS is enabled for a
2899 * APs Support". Drivers may set additional flags that they support
2903 * @NL80211_ATTR_MAX: highest attribute number currently defined
3463 NL80211_ATTR_MAX = __NL80211_ATTR_AFTER_LAST - 1
3466 /* source-level API compatibility */
3526 #define NL80211_SCAN_RSSI_THOLD_OFF -300
3531 * enum nl80211_iftype - (virtual) interface types
3538 * are a bit special in that they must always be tied to a pre-existing
3556 * to set the type of an interface.
3576 NL80211_IFTYPE_MAX = NUM_NL80211_IFTYPES - 1
3580 * enum nl80211_sta_flags - station flags
3585 * @__NL80211_STA_FLAG_INVALID: attribute number 0 is reserved
3592 * @NL80211_STA_FLAG_TDLS_PEER: station is a TDLS peer -- this flag should
3600 * @NL80211_STA_FLAG_SPP_AMSDU: station supports SPP A-MSDUs
3617 NL80211_STA_FLAG_MAX = __NL80211_STA_FLAG_AFTER_LAST - 1
3621 * enum nl80211_sta_p2p_ps_status - station support of P2P PS
3637 * struct nl80211_sta_flag_update - station flags mask/set
3638 * @mask: mask of station flags to set
3639 * @set: which values to set them to
3641 * Both mask and set contain bits as per &enum nl80211_sta_flags.
3645 __u32 set; member
3649 * enum nl80211_he_gi - HE guard interval
3661 * enum nl80211_he_ltf - HE long training field
3673 * enum nl80211_he_ru_alloc - HE RU allocation values
3674 * @NL80211_RATE_INFO_HE_RU_ALLOC_26: 26-tone RU allocation
3675 * @NL80211_RATE_INFO_HE_RU_ALLOC_52: 52-tone RU allocation
3676 * @NL80211_RATE_INFO_HE_RU_ALLOC_106: 106-tone RU allocation
3677 * @NL80211_RATE_INFO_HE_RU_ALLOC_242: 242-tone RU allocation
3678 * @NL80211_RATE_INFO_HE_RU_ALLOC_484: 484-tone RU allocation
3679 * @NL80211_RATE_INFO_HE_RU_ALLOC_996: 996-tone RU allocation
3680 * @NL80211_RATE_INFO_HE_RU_ALLOC_2x996: 2x996-tone RU allocation
3693 * enum nl80211_eht_gi - EHT guard interval
3705 * enum nl80211_eht_ru_alloc - EHT RU allocation values
3706 * @NL80211_RATE_INFO_EHT_RU_ALLOC_26: 26-tone RU allocation
3707 * @NL80211_RATE_INFO_EHT_RU_ALLOC_52: 52-tone RU allocation
3708 * @NL80211_RATE_INFO_EHT_RU_ALLOC_52P26: 52+26-tone RU allocation
3709 * @NL80211_RATE_INFO_EHT_RU_ALLOC_106: 106-tone RU allocation
3711 * @NL80211_RATE_INFO_EHT_RU_ALLOC_242: 242-tone RU allocation
3712 * @NL80211_RATE_INFO_EHT_RU_ALLOC_484: 484-tone RU allocation
3714 * @NL80211_RATE_INFO_EHT_RU_ALLOC_996: 996-tone RU allocation
3717 * @NL80211_RATE_INFO_EHT_RU_ALLOC_2x996: 2x996-tone RU allocation
3719 * @NL80211_RATE_INFO_EHT_RU_ALLOC_3x996: 3x996-tone RU allocation
3721 * @NL80211_RATE_INFO_EHT_RU_ALLOC_4x996: 4x996-tone RU allocation
3743 * enum nl80211_rate_info - bitrate information
3745 * These attribute types are used with %NL80211_STA_INFO_TXRATE
3748 * a 16-bit value, and new one that represents a 32-bit value.
3751 * (>6.5535Gbps) only 32-bit attribute is included.
3752 * User space tools encouraged to use the 32-bit attribute and fall
3753 * back to the 16-bit one for compatibility with older kernels.
3755 * @__NL80211_RATE_INFO_INVALID: attribute number 0 is reserved
3765 * @NL80211_RATE_INFO_80P80_MHZ_WIDTH: unused - 80+80 is treated the
3768 * @NL80211_RATE_INFO_10_MHZ_WIDTH: 10 MHz width - note that this is
3771 * @NL80211_RATE_INFO_5_MHZ_WIDTH: 5 MHz width - note that this is
3774 * @NL80211_RATE_INFO_HE_MCS: HE MCS index (u8, 0-11)
3775 * @NL80211_RATE_INFO_HE_NSS: HE NSS value (u8, 1-8)
3780 * non-OFDMA was used (u8, see &enum nl80211_he_ru_alloc)
3782 * @NL80211_RATE_INFO_EHT_MCS: EHT MCS index (u8, 0-15)
3783 * @NL80211_RATE_INFO_EHT_NSS: EHT NSS value (u8, 1-8)
3787 * non-OFDMA was used (u8, see &enum nl80211_eht_ru_alloc)
3788 * @NL80211_RATE_INFO_S1G_MCS: S1G MCS index (u8, 0-10)
3789 * @NL80211_RATE_INFO_S1G_NSS: S1G NSS value (u8, 1-4)
3831 NL80211_RATE_INFO_MAX = __NL80211_RATE_INFO_AFTER_LAST - 1
3835 * enum nl80211_sta_bss_param - BSS information collected by STA
3837 * These attribute types are used with %NL80211_STA_INFO_BSS_PARAM
3840 * @__NL80211_STA_BSS_PARAM_INVALID: attribute number 0 is reserved
3861 NL80211_STA_BSS_PARAM_MAX = __NL80211_STA_BSS_PARAM_AFTER_LAST - 1
3865 * enum nl80211_sta_info - station information
3867 * These attribute types are used with %NL80211_ATTR_STA_INFO
3870 * @__NL80211_STA_INFO_INVALID: attribute number 0 is reserved
3881 * @NL80211_STA_INFO_TX_BITRATE: current unicast tx rate, nested attribute
3896 * attribute, like NL80211_STA_INFO_TX_BITRATE.
3897 * @NL80211_STA_INFO_BSS_PARAM: current station's view of BSS, nested attribute
3903 * @NL80211_STA_INFO_LOCAL_PM: local mesh STA link-specific power mode
3904 * @NL80211_STA_INFO_PEER_PM: peer mesh STA link-specific power mode
3906 * non-peer STA
3907 * @NL80211_STA_INFO_CHAIN_SIGNAL: per-chain signal strength of last PPDU
3909 * @NL80211_STA_INFO_CHAIN_SIGNAL_AVG: per-chain signal strength average
3918 * @NL80211_STA_INFO_TID_STATS: per-TID statistics (see &enum nl80211_tid_stats)
3919 * This is a nested attribute where each the inner attribute number is the
3920 * TID+1 and the special TID 16 (i.e. value 17) is used for non-QoS frames;
3925 * @NL80211_STA_INFO_PAD: attribute used for padding for 64-bit alignment
3934 * @NL80211_STA_INFO_CONNECTED_TO_GATE: set to true if STA has a path to a
3942 * @NL80211_STA_INFO_CONNECTED_TO_AS: set to true if STA has a path to a
3945 * @NL80211_STA_INFO_MAX: highest possible station info attribute
3995 NL80211_STA_INFO_MAX = __NL80211_STA_INFO_AFTER_LAST - 1
3998 /* we renamed this - stay compatible */
4003 * enum nl80211_tid_stats - per TID statistics attributes
4004 * @__NL80211_TID_STATS_INVALID: attribute number 0 is reserved
4012 * @NL80211_TID_STATS_PAD: attribute used for padding for 64-bit alignment
4013 * @NL80211_TID_STATS_TXQ_STATS: TXQ stats (nested attribute)
4015 * @NL80211_TID_STATS_MAX: highest numbered attribute here
4028 NL80211_TID_STATS_MAX = NUM_NL80211_TID_STATS - 1
4032 * enum nl80211_txq_stats - per TXQ statistics attributes
4033 * @__NL80211_TXQ_STATS_INVALID: attribute number 0 is reserved
4043 * (only for per-phy stats)
4048 * @NL80211_TXQ_STATS_MAX: highest numbered attribute here
4066 NL80211_TXQ_STATS_MAX = NUM_NL80211_TXQ_STATS - 1
4070 * enum nl80211_mpath_flags - nl80211 mesh path flags
4075 * @NL80211_MPATH_FLAG_FIXED: the mesh path has been manually set
4087 * enum nl80211_mpath_info - mesh path information
4089 * These attribute types are used with %NL80211_ATTR_MPATH_INFO when getting
4092 * @__NL80211_MPATH_INFO_INVALID: attribute number 0 is reserved
4103 * @NL80211_MPATH_INFO_MAX: highest mesh path information attribute number
4121 NL80211_MPATH_INFO_MAX = __NL80211_MPATH_INFO_AFTER_LAST - 1
4125 * enum nl80211_band_iftype_attr - Interface type data attributes
4127 * @__NL80211_BAND_IFTYPE_ATTR_INVALID: attribute number 0 is reserved
4128 * @NL80211_BAND_IFTYPE_ATTR_IFTYPES: nested attribute containing a flag attribute
4151 * @NL80211_BAND_IFTYPE_ATTR_MAX: highest band attribute currently defined
4170 NL80211_BAND_IFTYPE_ATTR_MAX = __NL80211_BAND_IFTYPE_ATTR_AFTER_LAST - 1
4174 * enum nl80211_band_attr - band attributes
4175 * @__NL80211_BAND_ATTR_INVALID: attribute number 0 is reserved
4180 * @NL80211_BAND_ATTR_HT_MCS_SET: 16-byte attribute containing the MCS set as
4183 * @NL80211_BAND_ATTR_HT_AMPDU_FACTOR: A-MPDU factor, as in 11n
4184 * @NL80211_BAND_ATTR_HT_AMPDU_DENSITY: A-MPDU density, as in 11n
4185 * @NL80211_BAND_ATTR_VHT_MCS_SET: 32-byte attribute containing the MCS set as
4188 * @NL80211_BAND_ATTR_IFTYPE_DATA: nested array attribute, with each entry using
4196 * @NL80211_BAND_ATTR_S1G_MCS_NSS_SET: S1G capabilities, supported S1G-MCS and NSS
4197 * set subfield, as in the S1G information IE, 5 bytes
4200 * @NL80211_BAND_ATTR_MAX: highest band attribute currently defined
4225 NL80211_BAND_ATTR_MAX = __NL80211_BAND_ATTR_AFTER_LAST - 1
4231 * enum nl80211_wmm_rule - regulatory wmm rule
4233 * @__NL80211_WMMR_INVALID: attribute number 0 is reserved
4250 NL80211_WMMR_MAX = __NL80211_WMMR_LAST - 1
4254 * enum nl80211_frequency_attr - frequency attributes
4255 * @__NL80211_FREQUENCY_ATTR_INVALID: attribute number 0 is reserved
4271 * @NL80211_FREQUENCY_ATTR_NO_HT40_MINUS: HT40- isn't possible with this
4283 * channel. A channel that has the INDOOR_ONLY attribute can only be
4291 * band), and IEEE80211_CHAN_RADAR is not set. Instantiating a GO or TDLS
4292 * off-channel on a channel that has the IR_CONCURRENT attribute set can be
4295 * off-channel while the device is also connected to an AP with DFS and
4296 * radar detection on the UNII band (it is up to user-space, i.e.,
4298 * attribute for IR is disallowed for master interfaces (IBSS, AP).
4304 * This is a nested attribute that contains the wmm limitation per AC.
4326 * allowed for peer-to-peer or adhoc communication under the control
4327 * of a DFS master which operates on the same channel (FCC-594280 D01
4340 * @NL80211_FREQUENCY_ATTR_MAX: highest frequency attribute number
4388 NL80211_FREQUENCY_ATTR_MAX = __NL80211_FREQUENCY_ATTR_AFTER_LAST - 1
4403 * enum nl80211_bitrate_attr - bitrate attributes
4404 * @__NL80211_BITRATE_ATTR_INVALID: attribute number 0 is reserved
4408 * @NL80211_BITRATE_ATTR_MAX: highest bitrate attribute number
4419 NL80211_BITRATE_ATTR_MAX = __NL80211_BITRATE_ATTR_AFTER_LAST - 1
4423 * enum nl80211_reg_initiator - Indicates the initiator of a reg domain request
4426 * @NL80211_REGDOM_SET_BY_USER: User asked the wireless core to set the
4434 * structure passed by userspace (CRDA) from our wireless-regdb.
4436 * be disabled we disable the channel and re-enable it upon disassociation.
4446 * enum nl80211_reg_type - specifies the type of regulatory domain
4447 * @NL80211_REGDOM_TYPE_COUNTRY: the regulatory domain set is one that pertains
4448 * to a specific country. When this is set you can count on the
4450 * @NL80211_REGDOM_TYPE_WORLD: the regulatory set domain is the world regulatory
4452 * @NL80211_REGDOM_TYPE_CUSTOM_WORLD: the regulatory domain set is a custom
4453 * driver specific world regulatory domain. These do not apply system-wide
4456 * @NL80211_REGDOM_TYPE_INTERSECTION: the regulatory domain set is the product
4457 * of an intersection between two regulatory domains -- the previously
4458 * set regulatory domain on the system and the last accepted regulatory
4469 * enum nl80211_reg_rule_attr - regulatory rule attributes
4470 * @__NL80211_REG_RULE_ATTR_INVALID: attribute number 0 is reserved
4471 * @NL80211_ATTR_REG_RULE_FLAGS: a set of flags which specify additional
4491 * @NL80211_REG_RULE_ATTR_MAX: highest regulatory rule attribute number
4512 NL80211_REG_RULE_ATTR_MAX = __NL80211_REG_RULE_ATTR_AFTER_LAST - 1
4516 * enum nl80211_sched_scan_match_attr - scheduled scan match attributes
4517 * @__NL80211_SCHED_SCAN_MATCH_ATTR_INVALID: attribute number 0 is reserved
4523 * if this attribute is in a match set of its own, then it is treated as
4528 * attribute) is if there's only a single matchset with the RSSI attribute.
4533 * BSS-es in the specified band is to be adjusted before doing
4534 * RSSI-based BSS selection. The attribute value is a packed structure
4540 * attribute number currently defined
4556 __NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST - 1
4563 * enum nl80211_reg_rule_flags - regulatory rule flags
4580 * @NL80211_RRF_NO_HT40MINUS: channels can't be used in HT40- operation
4589 * peer-to-peer or adhoc communication under the control of a DFS master
4590 * which operates on the same channel (FCC-594280 D01 Section B.3).
4639 * enum nl80211_dfs_regions - regulatory DFS regions
4654 * enum nl80211_user_reg_hint_type - type of user regulatory hint
4657 * assumed if the attribute is not set.
4677 * enum nl80211_survey_info - survey information
4679 * These attribute types are used with %NL80211_ATTR_SURVEY_INFO
4682 * @__NL80211_SURVEY_INFO_INVALID: attribute number 0 is reserved
4698 * @NL80211_SURVEY_INFO_PAD: attribute used for padding for 64-bit alignment
4701 * @NL80211_SURVEY_INFO_MAX: highest survey info attribute number
4723 NL80211_SURVEY_INFO_MAX = __NL80211_SURVEY_INFO_AFTER_LAST - 1
4734 * enum nl80211_mntr_flags - monitor configuration flags
4765 NL80211_MNTR_FLAG_MAX = __NL80211_MNTR_FLAG_AFTER_LAST - 1
4769 * enum nl80211_mesh_power_mode - mesh power save modes
4772 * not known or has not been set yet.
4793 NL80211_MESH_POWER_MAX = __NL80211_MESH_POWER_AFTER_LAST - 1
4797 * enum nl80211_meshconf_params - mesh configuration parameters
4820 * @NL80211_MESHCONF_TTL: specifies the value of TTL field set at a source mesh
4826 * set.
4852 * @NL80211_MESHCONF_ELEMENT_TTL: specifies the value of TTL field set at a
4866 * @NL80211_MESHCONF_FORWARDING: set Mesh STA as forwarding or non-forwarding
4867 * or forwarding entity (default is TRUE - forwarding entity)
4877 * @NL80211_MESHCONF_HT_OPMODE: set mesh HT protection mode.
4879 * @NL80211_MESHCONF_ATTR_MAX: highest possible mesh configuration attribute
4899 * remove it from the STA's list of peers. You may set this to 0 to disable
4902 * @NL80211_MESHCONF_CONNECTED_TO_GATE: If set to true then this mesh STA
4907 * @NL80211_MESHCONF_NOLEARN: Try to avoid multi-hop path discovery (e.g.
4909 * this might not be the optimal decision as a multi-hop route might be
4913 * @NL80211_MESHCONF_CONNECTED_TO_AS: If set to true then this mesh STA
4955 NL80211_MESHCONF_ATTR_MAX = __NL80211_MESHCONF_ATTR_AFTER_LAST - 1
4959 * enum nl80211_mesh_setup_params - mesh setup parameters
4985 * a userspace daemon. When this flag is set, the kernel will send peer
5003 * @NL80211_MESH_SETUP_ATTR_MAX: highest possible mesh setup attribute number
5020 NL80211_MESH_SETUP_ATTR_MAX = __NL80211_MESH_SETUP_ATTR_AFTER_LAST - 1
5024 * enum nl80211_txq_attr - TX queue parameter attributes
5025 * @__NL80211_TXQ_ATTR_INVALID: Attribute number 0 is reserved
5030 * 2^n-1 in the range 1..32767]
5032 * 2^n-1 in the range 1..32767]
5035 * @NL80211_TXQ_ATTR_MAX: Maximum TXQ attribute number
5047 NL80211_TXQ_ATTR_MAX = __NL80211_TXQ_ATTR_AFTER_LAST - 1
5066 * enum nl80211_channel_type - channel type
5067 * @NL80211_CHAN_NO_HT: 20 MHz, non-HT channel
5082 * enum nl80211_key_mode - Key mode
5103 * enum nl80211_chan_width - channel width definitions
5106 * attribute.
5108 * @NL80211_CHAN_WIDTH_20_NOHT: 20 MHz, non-HT channel
5111 * attribute must be provided as well
5113 * attribute must be provided as well
5117 * attribute must be provided as well
5126 * attribute must be provided as well
5146 * enum nl80211_bss_scan_width - control channel width for a BSS
5148 * These values are used with the %NL80211_BSS_CHAN_WIDTH attribute.
5165 * enum nl80211_bss_use_for - bitmap indicating possible BSS use
5170 * the assoc link must have this flag set, and the assoc link must
5171 * additionally have %NL80211_BSS_USE_FOR_NORMAL set.
5179 * enum nl80211_bss_cannot_use_reasons - reason(s) connection to a
5195 * enum nl80211_bss - netlink attributes for a BSS
5206 * @NL80211_BSS_INFORMATION_ELEMENTS: binary attribute containing the
5208 * if the %NL80211_BSS_BEACON_IES attribute is present and the data is
5213 * If present, the @NL80211_BSS_PRESP_DATA attribute indicates that the
5221 * @NL80211_BSS_BEACON_IES: binary attribute containing the raw information
5225 * (u32, enum nl80211_bss_scan_width) - No longer used!
5229 * @NL80211_BSS_TSF is known to be from a probe response (flag attribute)
5233 * @NL80211_BSS_PAD: attribute used for padding for 64-bit alignment
5239 * is set.
5240 * @NL80211_BSS_CHAIN_SIGNAL: per-chain signal strength of last BSS update.
5246 * @NL80211_BSS_USE_FOR: u32 bitmap attribute indicating what the BSS can be
5251 * This is a u64 attribute containing a bitmap of values from
5252 * &enum nl80211_cannot_use_reasons, note that the attribute may be missing
5255 * @NL80211_BSS_MAX: highest BSS attribute
5286 NL80211_BSS_MAX = __NL80211_BSS_AFTER_LAST - 1
5290 * enum nl80211_bss_status - BSS "status"
5298 * The BSS status is a BSS attribute in scan dumps, which
5308 * enum nl80211_auth_type - AuthenticationType
5321 * trying multiple times); this is invalid in netlink -- leave out
5322 * the attribute for this on CONNECT commands.
5336 NL80211_AUTHTYPE_MAX = __NL80211_AUTHTYPE_NUM - 1,
5341 * enum nl80211_key_type - Key Type
5356 * enum nl80211_mfp - Management frame protection state
5374 * enum nl80211_key_default_types - key default types
5391 * enum nl80211_key_attributes - key attributes
5396 * @NL80211_KEY_IDX: key ID (u8, 0-3)
5406 * @NL80211_KEY_DEFAULT_TYPES: A nested attribute containing flags
5407 * attributes, specifying what a key should be set as default as.
5414 * @NL80211_KEY_MAX: highest key attribute
5431 NL80211_KEY_MAX = __NL80211_KEY_AFTER_LAST - 1
5435 * enum nl80211_tx_rate_attributes - TX rate set attributes
5437 * @NL80211_TXRATE_LEGACY: Legacy (non-MCS) rates allowed for TX rate selection
5451 * @NL80211_TXRATE_MAX: highest TX rate attribute
5465 NL80211_TXRATE_MAX = __NL80211_TXRATE_AFTER_LAST - 1
5472 * struct nl80211_txrate_vht - VHT MCS/NSS txrate bitmap
5481 * struct nl80211_txrate_he - HE MCS/NSS txrate bitmap
5495 * enum nl80211_band - Frequency band
5497 * @NL80211_BAND_5GHZ: around 5 GHz band (4.9 - 5.7 GHz)
5498 * @NL80211_BAND_60GHZ: around 60 GHz band (58.32 - 69.12 GHz)
5499 * @NL80211_BAND_6GHZ: around 6 GHz band (5.9 - 7.2 GHz)
5517 * enum nl80211_ps_state - powersave state
5527 * enum nl80211_attr_cqm - connection quality monitor attributes
5532 * set, multiple values can be supplied as a low-to-high sorted array of
5551 * %NL80211_CMD_NOTIFY_CQM. Set to 0 to turn off TX error reporting.
5552 * @NL80211_ATTR_CQM_BEACON_LOSS_EVENT: flag attribute that's set in a beacon
5557 * @NL80211_ATTR_CQM_MAX: highest key attribute
5573 NL80211_ATTR_CQM_MAX = __NL80211_ATTR_CQM_AFTER_LAST - 1
5577 * enum nl80211_cqm_rssi_threshold_event - RSSI threshold event
5592 * enum nl80211_tx_power_setting - TX power adjustment
5604 * enum nl80211_tid_config - TID config state
5613 /* enum nl80211_tx_rate_setting - TX rate configuration type
5624 /* enum nl80211_tid_config_attr - TID specific configuration.
5625 * @NL80211_TID_CONFIG_ATTR_PAD: pad attribute for 64-bit values
5627 * for per-vif configuration; doesn't list the ones that are generic
5629 * @NL80211_TID_CONFIG_ATTR_PEER_SUPP: same as the previous per-vif one, but
5631 * @NL80211_TID_CONFIG_ATTR_OVERRIDE: flag attribute, if set indicates
5641 * transmission, user-space sets this configuration in
5643 * the max value is advertised by the driver in this attribute on
5646 * transmission, user-space sets this configuration in
5648 * the max value is advertised by the driver in this attribute on
5659 * @NL80211_TID_CONFIG_ATTR_TX_RATE_TYPE: This attribute will be useful
5686 NL80211_TID_CONFIG_ATTR_MAX = __NL80211_TID_CONFIG_ATTR_AFTER_LAST - 1
5690 * enum nl80211_packet_pattern_attr - packet pattern attribute
5691 * @__NL80211_PKTPAT_INVALID: invalid number for nested attribute
5695 * a bit for each byte in the pattern. The lowest-order bit corresponds
5697 * in a little-endian-like format, i.e. the 9th byte of the pattern
5698 * corresponds to the lowest-order bit in the second byte of the mask.
5708 * @MAX_NL80211_PKTPAT: max attribute number
5717 MAX_NL80211_PKTPAT = NUM_NL80211_PKTPAT - 1,
5721 * struct nl80211_pattern_support - packet pattern support information
5750 * enum nl80211_wowlan_triggers - WoWLAN trigger definitions
5753 * the chip into a special state -- works best with chips that have
5754 * support for low-power operation already (flag)
5758 * is detected is implementation-specific (flag)
5762 * which are passed in an array of nested attributes, each nested attribute
5769 * In %NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED, it is a binary attribute
5772 * When reporting wakeup. it is a u32 attribute containing the 0-based
5782 * @NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE: wake up on 4-way handshake (flag)
5788 * attribute contains the original length.
5791 * attribute if the packet was truncated somewhere.
5794 * be truncated, the @NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023_LEN attribute
5798 * attribute if the packet was truncated somewhere.
5800 * "TCP connection wakeup" for more details. This is a nested attribute
5811 * is detected. This is a nested attribute that contains the
5816 * attribute is also sent in a response to
5819 * @NL80211_WOWLAN_TRIG_NET_DETECT_RESULTS: nested attribute
5825 * Each element in the array is a nested attribute that contains
5826 * one optional %NL80211_ATTR_SSID attribute and one optional
5827 * %NL80211_ATTR_SCAN_FREQUENCIES attribute. At least one of
5835 * @MAX_NL80211_WOWLAN_TRIG: highest wowlan trigger attribute number
5865 MAX_NL80211_WOWLAN_TRIG = NUM_NL80211_WOWLAN_TRIG - 1
5878 * optionally, a token from a list of tokens. This serves as a keep-alive
5881 * During this keep-alive period, the server doesn't send any data to the
5892 * struct nl80211_wowlan_tcp_data_seq - WoWLAN TCP data sequence
5906 * struct nl80211_wowlan_tcp_data_token - WoWLAN TCP data token config
5918 * struct nl80211_wowlan_tcp_data_token_feature - data token features
5928 * enum nl80211_wowlan_tcp_attrs - WoWLAN TCP connection parameters
5941 * For feature advertising, a u32 attribute holding the maximum length
5952 * u32 attribute holding the maximum length
5957 * @MAX_NL80211_WOWLAN_TCP: highest attribute number
5975 MAX_NL80211_WOWLAN_TCP = NUM_NL80211_WOWLAN_TCP - 1
5979 * struct nl80211_coalesce_rule_support - coalesce rule support information
5994 * enum nl80211_attr_coalesce_rule - coalesce rule attribute
5995 * @__NL80211_COALESCE_RULE_INVALID: invalid number for nested attribute
6002 * @NL80211_ATTR_COALESCE_RULE_MAX: max attribute number
6012 NL80211_ATTR_COALESCE_RULE_MAX = NUM_NL80211_ATTR_COALESCE_RULE - 1
6016 * enum nl80211_coalesce_condition - coalesce rule conditions
6028 * enum nl80211_iface_limit_attrs - limit attributes
6031 * can be chosen from this set of interface types (u32)
6032 * @NL80211_IFACE_LIMIT_TYPES: nested attribute containing a
6033 * flag attribute for each interface type in this set
6035 * @MAX_NL80211_IFACE_LIMIT: highest attribute number
6044 MAX_NL80211_IFACE_LIMIT = NUM_NL80211_IFACE_LIMIT - 1
6048 * enum nl80211_if_combination_attrs -- interface combination attributes
6053 * @NL80211_IFACE_COMB_MAXNUM: u32 attribute giving the total number of
6056 * in a separate attribute %NL80211_ATTR_INTERFACES_SOFTWARE.
6057 * @NL80211_IFACE_COMB_STA_AP_BI_MATCH: flag attribute specifying that
6061 * @NL80211_IFACE_COMB_NUM_CHANNELS: u32 attribute specifying how many
6063 * @NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS: u32 attribute containing the bitmap
6065 * @NL80211_IFACE_COMB_RADAR_DETECT_REGIONS: u32 attribute containing the bitmap
6067 * @NL80211_IFACE_COMB_BI_MIN_GCD: u32 attribute specifying the minimum GCD of
6071 * @MAX_NL80211_IFACE_COMB: highest attribute number
6077 * numbers = [ #{AP, P2P-GO} <= 8 ], BI min gcd, channels = 1, max = 8,
6083 * numbers = [ #{STA} <= 1, #{P2P-client,P2P-GO} <= 3 ], max = 4
6087 * within the %NL80211_ATTR_INTERFACE_COMBINATIONS attribute to indicate
6108 MAX_NL80211_IFACE_COMB = NUM_NL80211_IFACE_COMB - 1
6113 * enum nl80211_plink_state - state of a mesh peer link finite state machine
6116 * state of non-existent mesh peer links
6141 MAX_NL80211_PLINK_STATES = NUM_NL80211_PLINK_STATES - 1
6145 * enum nl80211_plink_action - actions to perform in mesh peers
6169 * enum nl80211_rekey_data - attributes for GTK rekey offload
6176 * @MAX_NL80211_REKEY_DATA: highest rekey attribute (internal)
6187 MAX_NL80211_REKEY_DATA = NUM_NL80211_REKEY_DATA - 1
6191 * enum nl80211_hidden_ssid - values for %NL80211_ATTR_HIDDEN_SSID
6194 * @NL80211_HIDDEN_SSID_ZERO_LEN: hide SSID by using zero-length SSID element
6206 * enum nl80211_sta_wme_attr - station WME attributes
6207 * @__NL80211_STA_WME_INVALID: invalid number for nested attribute
6213 * @NL80211_STA_WME_MAX: highest station WME attribute
6222 NL80211_STA_WME_MAX = __NL80211_STA_WME_AFTER_LAST - 1
6226 * enum nl80211_pmksa_candidate_attr - attributes for PMKSA caching candidates
6231 * @NL80211_PMKSA_CANDIDATE_PREAUTH: RSN pre-authentication supported (flag)
6234 * @MAX_NL80211_PMKSA_CANDIDATE: highest PMKSA caching candidate attribute
6245 MAX_NL80211_PMKSA_CANDIDATE = NUM_NL80211_PMKSA_CANDIDATE - 1
6249 * enum nl80211_tdls_operation - values for %NL80211_ATTR_TDLS_OPERATION
6265 * enum nl80211_ap_sme_features - device-integrated AP features
6275 * enum nl80211_feature_flags - device/driver features
6293 * @NL80211_FEATURE_VIF_TXPOWER: The driver supports per-vif TX power setting
6311 * stations the authenticated/associated bits have to be set in the mask.
6313 * (HT40, VHT 80/160 MHz) if this flag is set
6323 * channel bandwidth change (e.g., HT 20 <-> 40 MHz channel) during the
6326 * Set IE to probe requests.
6336 * estimation (dynack). %NL80211_ATTR_WIPHY_DYN_ACK flag attribute is used
6346 * TSPEC sessions (TID aka TSID 0-7) with the %NL80211_CMD_ADD_TX_TS
6348 * needs to be able to handle Block-Ack agreements and other things.
6356 * %NL80211_SCAN_FLAG_RANDOM_ADDR flag may be set for scans and the MAC
6361 * be set for scheduled scan and the MAC address mask/value will be used.
6365 * be set for scheduled scan and the MAC address mask/value will be used.
6403 * enum nl80211_ext_feature_index - bit index of extended features.
6407 * %NL80211_CMD_ASSOCIATE and %NL80211_CMD_CONNECT requests, which will set
6410 * @NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER: This device supports MU-MIMO air
6413 * %NL80211_ATTR_MU_MIMO_GROUP_DATA attribute,
6415 * %NL80211_ATTR_MU_MIMO_FOLLOW_MAC_ADDR attribute.
6421 * time the last beacon/probe was received. For a non-MLO connection, the
6429 * configuration (AP/mesh), supporting a legacy (non-HT/VHT) rate.
6444 * %NL80211_ATTR_CQM_RSSI_THOLD attribute accepts a list of zero or more
6448 * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK: Device wants to do 4-way
6451 * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X: Device wants to do doing 4-way
6456 * the max channel attribute in the FILS request params IE with the
6470 * Device or driver will do all DFS-related actions by itself,
6471 * informing user-space about CAC progress, radar detection event,
6473 * No need to start CAC from user-space, no need to react to
6479 * @NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT: Backward-compatible ID
6480 * @NL80211_EXT_FEATURE_TXQS: Driver supports FQ-CoDel-enabled intermediate
6491 * able to rekey an in-use key correctly. Userspace must not rekey PTK keys
6492 * if this flag is not set. Ignoring this can leak clear text packets and/or
6495 * Individually Addressed Frames" from IEEE802.11-2016.
6502 * (set/del PMKSA operations) in AP mode.
6513 * with VLAN tagged frames and separate VLAN-specific netdevs added using
6548 * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_AP_PSK: Device wants to do 4-way
6608 * @NL80211_EXT_FEATURE_DFS_CONCURRENT: The device supports peer-to-peer or
6610 * DFS master on the same channel as described in FCC-594280 D01
6615 * (signaling and payload protected) A-MSDUs and this shall be advertised
6650 /* we renamed this - stay compatible */
6696 MAX_NL80211_EXT_FEATURES = NUM_NL80211_EXT_FEATURES - 1
6700 * enum nl80211_probe_resp_offload_support_attr - optional supported
6701 * protocols for probe-response offloading by the driver/FW.
6702 * To be used with the %NL80211_ATTR_PROBE_RESP_OFFLOAD attribute.
6704 * protocols. Typically a subset of probe-requests belonging to a
6721 * enum nl80211_connect_failed_reason - connection request failed reasons
6732 * enum nl80211_timeout_reason - timeout reasons
6747 * enum nl80211_scan_flags - scan request control flags
6760 * as AP and the beaconing has already been configured. This attribute is
6762 * will be lost while scanning off-channel, therefore it must be used only
6766 * flag is set, depending on device capabilities the @NL80211_ATTR_MAC and
6777 * rate of at least 5.5M. In case non-OCE AP is discovered in the channel,
6780 * tx deferral (dot11FILSProbeDelay shall be set to 15ms)
6783 * a suitable candidate for (re-)association - suitable in terms of
6808 * 2.4/5 GHz APs. When the flag is set, the scan logic will use the
6811 * channels on which APs are expected to be found. Note that when not set,
6813 * probe requests on non-PSC channels is limited, it is highly likely that
6815 * is set, in addition to the colocated APs, PSC channels would also be
6837 * enum nl80211_acl_policy - access control policy
6839 * Access control policy is applied on a MAC list set by
6855 * enum nl80211_smps_mode - SMPS mode
6872 NL80211_SMPS_MAX = __NL80211_SMPS_AFTER_LAST - 1
6876 * enum nl80211_radar_event - type of radar event for DFS operation
6887 * @NL80211_RADAR_NOP_FINISHED: The Non-Occupancy Period for this channel is
6890 * non-operating channel is expired and no longer valid. New CAC must
6892 * applicable for ETSI dfs domain where pre-CAC is valid for ever.
6906 * enum nl80211_dfs_state - DFS states for channels
6923 * enum nl80211_protocol_features - nl80211 protocol features
6925 * wiphy dumps (if requested by the application with the attribute
6935 * enum nl80211_crit_proto_id - nl80211 critical protocol identifiers
6956 * enum nl80211_rxmgmt_flags - flags for received management frame.
6972 * If this flag is unset, the lower 24 bits are an OUI, if set
6979 * struct nl80211_vendor_cmd_info - vendor command data
6981 * value is a 24-bit OUI; if it is set then a separately allocated ID
6984 * @subcmd: sub-command ID for the command
6992 * enum nl80211_tdls_peer_capability - TDLS peer flags.
7010 * enum nl80211_sched_scan_plan - scanning plan for scheduled scan
7011 * @__NL80211_SCHED_SCAN_PLAN_INVALID: attribute number 0 is reserved
7015 * scan plan (u32). The last scan plan must not specify this attribute
7018 * @NL80211_SCHED_SCAN_PLAN_MAX: highest scheduled scan plan attribute number
7030 __NL80211_SCHED_SCAN_PLAN_AFTER_LAST - 1
7034 * struct nl80211_bss_select_rssi_adjust - RSSI adjustment parameters.
7046 * enum nl80211_bss_select_attr - attributes for bss selection.
7049 * @NL80211_BSS_SELECT_ATTR_RSSI: Flag indicating only RSSI-based BSS selection
7051 * @NL80211_BSS_SELECT_ATTR_BAND_PREF: attribute indicating BSS
7053 * When there are multiple BSS-es in the preferred band, the driver
7054 * shall use RSSI-based BSS selection as a second step. The value of
7055 * this attribute is according to &enum nl80211_band (u32).
7057 * BSS-es in the specified band is to be adjusted before doing
7058 * RSSI-based BSS selection. The attribute value is a packed structure
7060 * @NL80211_BSS_SELECT_ATTR_MAX: highest bss select attribute number.
7075 NL80211_BSS_SELECT_ATTR_MAX = __NL80211_BSS_SELECT_ATTR_AFTER_LAST - 1
7079 * enum nl80211_nan_function_type - NAN function type
7085 * @NL80211_NAN_FUNC_FOLLOW_UP: function is follow-up
7096 NL80211_NAN_FUNC_MAX_TYPE = __NL80211_NAN_FUNC_TYPE_AFTER_LAST - 1,
7100 * enum nl80211_nan_publish_type - NAN publish tx type
7113 * enum nl80211_nan_func_term_reason - NAN functions termination reason
7132 * enum nl80211_nan_func_attributes - NAN function attributes
7136 * specified in NAN spec. This is a binary attribute.
7151 * follow up Service Discovery Frame. This is a binary attribute.
7158 * specific info. This is a binary attribute.
7159 * @NL80211_NAN_FUNC_SRF: Service Receive Filter. This is a nested attribute.
7162 * attribute. It is a list of binary values.
7164 * nested attribute. It is a list of binary values.
7171 * @NL80211_NAN_FUNC_ATTR_MAX: highest NAN function attribute
7194 NL80211_NAN_FUNC_ATTR_MAX = NUM_NL80211_NAN_FUNC_ATTR - 1
7198 * enum nl80211_nan_srf_attributes - NAN Service Response filter attributes
7200 * @NL80211_NAN_SRF_INCLUDE: present if the include bit of the SRF set.
7203 * %NL80211_NAN_SRF_MAC_ADDRS isn't present. This attribute is binary.
7208 * attribute. Each nested attribute is a MAC address.
7210 * @NL80211_NAN_SRF_ATTR_MAX: highest NAN SRF attribute
7221 NL80211_NAN_SRF_ATTR_MAX = NUM_NL80211_NAN_SRF_ATTR - 1,
7225 * enum nl80211_nan_match_attributes - NAN match attributes
7228 * match. This is a nested attribute.
7231 * that caused the match. This is a nested attribute.
7235 * @NL80211_NAN_MATCH_ATTR_MAX: highest NAN match attribute
7244 NL80211_NAN_MATCH_ATTR_MAX = NUM_NL80211_NAN_MATCH_ATTR - 1
7248 * enum nl80211_external_auth_action - Action to perform with external
7259 * enum nl80211_ftm_responder_attributes - fine timing measurement
7264 * (9.4.2.22 in 802.11-2016) with type 8 - LCI (9.4.2.22.10),
7267 * (9.4.2.22 in 802.11-2016) with type 11 - Civic (Section 9.4.2.22.13),
7270 * @NL80211_FTM_RESP_ATTR_MAX: highest FTM responder attribute.
7281 NL80211_FTM_RESP_ATTR_MAX = __NL80211_FTM_RESP_ATTR_LAST - 1,
7285 * enum nl80211_ftm_responder_stats - FTM responder statistics
7287 * These attribute types are used with %NL80211_ATTR_FTM_RESPONDER_STATS
7290 * @__NL80211_FTM_STATS_INVALID: attribute number 0 is reserved
7297 * @NL80211_FTM_STATS_NON_ASAP_NUM: number of non-ASAP sessions (u32)
7298 * @NL80211_FTM_STATS_TOTAL_DURATION_MSEC: total sessions durations - gives an
7300 * @NL80211_FTM_STATS_UNKNOWN_TRIGGERS_NUM: number of unknown FTM triggers -
7304 * - initiator asks for a new scheduling although it already has scheduled
7310 * @NL80211_FTM_STATS_MAX: highest possible FTM responder stats attribute
7327 NL80211_FTM_STATS_MAX = __NL80211_FTM_STATS_AFTER_LAST - 1
7331 * enum nl80211_preamble - frame preamble types
7347 * enum nl80211_peer_measurement_type - peer measurement types
7362 NL80211_PMSR_TYPE_MAX = NUM_NL80211_PMSR_TYPES - 1
7366 * enum nl80211_peer_measurement_status - peer measurement status
7370 * @NL80211_PMSR_STATUS_FAILURE: measurement failed, a type-dependent
7381 * enum nl80211_peer_measurement_req - peer measurement request attributes
7384 * @NL80211_PMSR_REQ_ATTR_DATA: This is a nested attribute with measurement
7385 * type-specific request data inside. The attributes used are from the
7388 * (flag attribute)
7391 * @NL80211_PMSR_REQ_ATTR_MAX: highest attribute number
7401 NL80211_PMSR_REQ_ATTR_MAX = NUM_NL80211_PMSR_REQ_ATTRS - 1
7405 * enum nl80211_peer_measurement_resp - peer measurement response attributes
7408 * @NL80211_PMSR_RESP_ATTR_DATA: This is a nested attribute with measurement
7409 * type-specific results inside. The attributes used are from the enums
7421 * (*e.g. with FTM per-burst data) this flag will be cleared on all but
7422 * the last result; if all results are combined it's set on the single
7424 * @NL80211_PMSR_RESP_ATTR_PAD: padding for 64-bit attributes, ignore
7427 * @NL80211_PMSR_RESP_ATTR_MAX: highest attribute number
7441 NL80211_PMSR_RESP_ATTR_MAX = NUM_NL80211_PMSR_RESP_ATTRS - 1
7445 * enum nl80211_peer_measurement_peer_attrs - peer attributes for measurement
7449 * @NL80211_PMSR_PEER_ATTR_CHAN: channel definition, nested, using top-level
7451 * @NL80211_PMSR_PEER_ATTR_REQ: This is a nested attribute indexed by
7454 * @NL80211_PMSR_PEER_ATTR_RESP: This is a nested attribute indexed by
7459 * @NL80211_PMSR_PEER_ATTR_MAX: highest attribute number
7471 NL80211_PMSR_PEER_ATTR_MAX = NUM_NL80211_PMSR_PEER_ATTRS - 1,
7475 * enum nl80211_peer_measurement_attrs - peer measurement attributes
7478 * @NL80211_PMSR_ATTR_MAX_PEERS: u32 attribute used for capability
7481 * @NL80211_PMSR_ATTR_REPORT_AP_TSF: flag attribute in capability
7484 * @NL80211_PMSR_ATTR_RANDOMIZE_MAC_ADDR: flag attribute in capability
7488 * type-specific capabilities inside, which are from the enums
7490 * @NL80211_PMSR_ATTR_PEERS: nested attribute, the nesting index is
7492 * sub-attributes taken from
7496 * @NL80211_PMSR_ATTR_MAX: highest attribute number
7509 NL80211_PMSR_ATTR_MAX = NUM_NL80211_PMSR_ATTR - 1
7513 * enum nl80211_peer_measurement_ftm_capa - FTM capabilities
7516 * @NL80211_PMSR_FTM_CAPA_ATTR_ASAP: flag attribute indicating ASAP mode
7518 * @NL80211_PMSR_FTM_CAPA_ATTR_NON_ASAP: flag attribute indicating non-ASAP
7520 * @NL80211_PMSR_FTM_CAPA_ATTR_REQ_LCI: flag attribute indicating if LCI
7522 * @NL80211_PMSR_FTM_CAPA_ATTR_REQ_CIVICLOC: flag attribute indicating if civic
7524 * @NL80211_PMSR_FTM_CAPA_ATTR_PREAMBLES: u32 bitmap attribute of bits
7531 * @NL80211_PMSR_FTM_CAPA_ATTR_MAX_BURSTS_EXPONENT: u32 attribute indicating
7534 * @NL80211_PMSR_FTM_CAPA_ATTR_MAX_FTMS_PER_BURST: u32 attribute indicating
7536 * @NL80211_PMSR_FTM_CAPA_ATTR_TRIGGER_BASED: flag attribute indicating if
7538 * @NL80211_PMSR_FTM_CAPA_ATTR_NON_TRIGGER_BASED: flag attribute indicating
7539 * if non-trigger-based ranging measurement is supported
7542 * @NL80211_PMSR_FTM_CAPA_ATTR_MAX: highest attribute number
7560 NL80211_PMSR_FTM_CAPA_ATTR_MAX = NUM_NL80211_PMSR_FTM_CAPA_ATTR - 1
7564 * enum nl80211_peer_measurement_ftm_req - FTM request attributes
7571 * 802.11-2016 9.4.2.168 "Fine Timing Measurement Parameters element"
7572 * (u8, 0-15, optional with default 15 i.e. "no preference")
7575 * @NL80211_PMSR_FTM_REQ_ATTR_BURST_DURATION: burst duration, as in 802.11-2016
7576 * Table 9-257 "Burst Duration field encoding" (u8, 0-15, optional with
7580 * (u8, 0-31, optional with default 0 i.e. "no preference")
7588 * This attribute and %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED are
7591 * %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED is set, EDCA based
7593 * @NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED: request non-trigger-based
7595 * This attribute and %NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED are
7598 * %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED is set, EDCA based
7602 * %NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED is set.
7605 * or %NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED is set.
7608 * @NL80211_PMSR_FTM_REQ_ATTR_MAX: highest attribute number
7629 NL80211_PMSR_FTM_REQ_ATTR_MAX = NUM_NL80211_PMSR_FTM_REQ_ATTR - 1
7633 * enum nl80211_peer_measurement_ftm_failure_reasons - FTM failure reasons
7660 * enum nl80211_peer_measurement_ftm_resp - FTM response attributes
7663 * @NL80211_PMSR_FTM_RESP_ATTR_FAIL_REASON: FTM-specific failure reason
7666 * as separate results then it will be the burst index 0...(N-1) and
7701 * this is the contents of the Measurement Report Element (802.11-2016
7706 * this is the contents of the Measurement Report Element (802.11-2016
7712 * @NL80211_PMSR_FTM_RESP_ATTR_MAX: highest attribute number
7741 NL80211_PMSR_FTM_RESP_ATTR_MAX = NUM_NL80211_PMSR_FTM_RESP_ATTR - 1
7745 * enum nl80211_obss_pd_attributes - OBSS packet detection attributes
7750 * @NL80211_HE_OBSS_PD_ATTR_NON_SRG_MAX_OFFSET: the non-SRG OBSS PD maximum
7759 * @NL80211_HE_OBSS_PD_ATTR_MAX: highest OBSS PD attribute.
7773 NL80211_HE_OBSS_PD_ATTR_MAX = __NL80211_HE_OBSS_PD_ATTR_LAST - 1,
7777 * enum nl80211_bss_color_attributes - BSS Color attributes
7785 * @NL80211_HE_BSS_COLOR_ATTR_MAX: highest BSS Color attribute.
7796 NL80211_HE_BSS_COLOR_ATTR_MAX = __NL80211_HE_BSS_COLOR_ATTR_LAST - 1,
7800 * enum nl80211_iftype_akm_attributes - interface type AKM attributes
7803 * @NL80211_IFTYPE_AKM_ATTR_IFTYPES: nested attribute containing a flag
7804 * attribute for each interface type that supports AKM suites specified in
7810 * @NL80211_IFTYPE_AKM_ATTR_MAX: highest interface type AKM attribute.
7820 NL80211_IFTYPE_AKM_ATTR_MAX = __NL80211_IFTYPE_AKM_ATTR_LAST - 1,
7824 * enum nl80211_fils_discovery_attributes - FILS discovery configuration
7825 * from IEEE Std 802.11ai-2016, Annex C.3 MIB detail.
7832 * Allowed range: 0..10000 (TU = Time Unit). If set to 0, the feature is disabled.
7837 * @NL80211_FILS_DISCOVERY_ATTR_MAX: highest attribute
7848 NL80211_FILS_DISCOVERY_ATTR_MAX = __NL80211_FILS_DISCOVERY_ATTR_LAST - 1
7858 * enum nl80211_unsol_bcast_probe_resp_attributes - Unsolicited broadcast probe
7865 * 26.17.2.3.2 (AP behavior for fast passive scanning). If set to 0, the feature is
7871 * @NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_MAX: highest attribute
7882 __NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_LAST - 1
7886 * enum nl80211_sae_pwe_mechanism - The mechanism(s) allowed for SAE PWE
7887 * derivation. Applicable only when WPA3-Personal SAE authentication is
7891 * attribute is not present from userspace.
7892 * @NL80211_SAE_PWE_HUNT_AND_PECK: hunting-and-pecking loop only
7893 * @NL80211_SAE_PWE_HASH_TO_ELEMENT: hash-to-element only
7894 * @NL80211_SAE_PWE_BOTH: both hunting-and-pecking loop and hash-to-element
7905 * enum nl80211_sar_type - type of SAR specs
7921 * enum nl80211_sar_attrs - Attributes for SAR spec
7928 * limit specifications. Each specification contains a set
7931 * For SET operation, it contains array of %NL80211_SAR_ATTR_SPECS_POWER
7939 * @NL80211_SAR_ATTR_MAX: highest sar attribute
7950 NL80211_SAR_ATTR_MAX = __NL80211_SAR_ATTR_LAST - 1,
7954 * enum nl80211_sar_specs_attrs - Attributes for SAR power limit specs
7967 * Userspace isn't required to set all the ranges advertised by WLAN driver,
7972 * limitation is removed, but it's required to set at least one range.
7973 * It's not allowed to set duplicated range in one SET operation.
7975 * Every SET operation overwrites previous SET operation.
7986 * @NL80211_SAR_ATTR_SPECS_MAX: highest sar specs attribute
7997 NL80211_SAR_ATTR_SPECS_MAX = __NL80211_SAR_ATTR_SPECS_LAST - 1,
8001 * enum nl80211_mbssid_config_attributes - multiple BSSID (MBSSID) and enhanced
8002 * multi-BSSID advertisements (EMA) in AP mode.
8013 * wiphy->mbssid_max_interfaces to a value more than or equal to 2.
8018 * by setting wiphy->ema_max_profile_periodicity to
8019 * a non-zero value.
8022 * this BSS (u8) in the multiple BSSID set.
8023 * Value must be set to 0 for the transmitting interface and non-zero for
8024 * all non-transmitting interfaces. The userspace will be responsible
8026 * Range: 0 to wiphy->mbssid_max_interfaces-1.
8029 * a non-transmitted profile which provides the interface index (u32) of
8031 * indices advertised by the kernel. Optional if the interface being set up
8037 * by setting wiphy->ema_max_profile_periodicity to non-zero.
8040 * @NL80211_MBSSID_CONFIG_ATTR_MAX: highest attribute
8053 NL80211_MBSSID_CONFIG_ATTR_MAX = __NL80211_MBSSID_CONFIG_ATTR_LAST - 1,
8057 * enum nl80211_ap_settings_flags - AP settings flags
8064 * ignore SA Query procedures and validations when this flag is set by
8073 * enum nl80211_wiphy_radio_attrs - wiphy radio attributes
8079 * radio. Attribute may be present multiple times.
8081 * combination for this radio. Attribute may be present multiple times
8087 * @NL80211_WIPHY_RADIO_ATTR_MAX: Highest attribute
8099 NL80211_WIPHY_RADIO_ATTR_MAX = __NL80211_WIPHY_RADIO_ATTR_LAST - 1,
8103 * enum nl80211_wiphy_radio_freq_range - wiphy radio frequency range
8113 * @NL80211_WIPHY_RADIO_FREQ_ATTR_MAX: Highest attribute
8122 NL80211_WIPHY_RADIO_FREQ_ATTR_MAX = __NL80211_WIPHY_RADIO_FREQ_ATTR_LAST - 1,