Lines Matching +full:frame +full:- +full:number
6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
13 * Copyright 2015-2017 Intel Deutschland GmbH
14 * Copyright (C) 2018-2023 Intel Corporation
32 * be careful not to break things - i.e. don't move anything around or so
74 * - a setup station entry is added, not yet authorized, without any rate
76 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid
79 * - %NL80211_TDLS_ENABLE_LINK is then used
80 * - after this, the only valid operation is to remove it by tearing down
87 * DOC: Frame transmission/registration support
89 * Frame transmission and registration support exists to allow userspace
95 * Frame registration is done on a per-interface basis and registrations
98 * certain type of action frame. In particular with action frames, those
103 * The type of frame that can be registered for is also dependent on the
104 * driver and interface type. The frame types are advertised in wiphy
114 * Frame transmission allows userspace to send for example the required
116 * but many frames can be transmitted. When a frame was transmitted, its
128 * is a bit complex though, as there may be a number of restrictions
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
148 * on the number of interfaces of different types that are supported
149 * and also the number of different channels, along with potentially
164 * Packet coalesce feature helps to reduce number of received interrupts
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
229 * rIK, rMSK should be generated and keyname_nai, sequence number should be used
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
269 * single netdev that uses VLAN tagged frames and separate VLAN-specific netdevs
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
347 * enum nl80211_commands - supported nl80211 commands
386 * the non-transmitting interfaces are deleted as well.
440 * (Deauthentication or Disassociation frame and reason code for that
441 * frame).
471 * If a wiphy is self-managed (%NL80211_ATTR_WIPHY_SELF_MANAGED_REG), then
485 * to the specified ISO/IEC 3166-1 alpha2 country code. The core will
496 * frame subtype with %NL80211_ATTR_MGMT_SUBTYPE. The extra IE data to be
497 * added to the end of the specified management frame is specified with
502 * point to avoid re-using existing command number. The functionality this
520 * intervals and certain number of cycles, as specified by
541 * %NL80211_ATTR_SCHED_SCAN_MULTI to indicate user-space support for it.
542 * @NL80211_CMD_STOP_SCHED_SCAN: stop a scheduled scan. Returns -ENOENT if
593 * never be used for channels 1-11 on the 2 GHz band as they are always
614 * to the frame.
616 * frame in station and IBSS modes when the local MLME processed the
617 * frame, i.e., it was for the local STA and was received in correct
618 * state. This is similar to MLME-AUTHENTICATE.confirm primitive in the
620 * included %NL80211_ATTR_FRAME attribute contains the management frame
621 * (including both the header and frame body, but not FCS). This event is
628 * (similar to MLME-ASSOCIATE.request, MLME-REASSOCIATE.request,
629 * MLME-ASSOCIATE.confirm or MLME-REASSOCIATE.confirm primitives). The
636 * MLME-DEAUTHENTICATION.request and MLME-DEAUTHENTICATE.indication
640 * MLME-DISASSOCIATE.request and MLME-DISASSOCIATE.indication primitives).
645 * the frame with invalid MIC, %NL80211_ATTR_KEY_TYPE to show the key
647 * %NL80211_ATTR_KEY_SEQ to indicate the TSC value of the frame; this
648 * event matches with MLME-MICHAELMICFAILURE.indication() primitive
650 * @NL80211_CMD_JOIN_IBSS: Join a new IBSS -- given at least an SSID and a
658 * @NL80211_CMD_LEAVE_IBSS: Leave the IBSS -- no special arguments, the IBSS is
704 * non-zero = failure). If %NL80211_ATTR_TIMED_OUT is included in the
707 * Non-zero %NL80211_ATTR_STATUS_CODE value is indicated in that case as
726 * off-channel operations like transmit a Public Action frame and wait for
740 * pending remain-on-channel duration if the desired operation has been
746 * remain-on-channel duration has expired.
754 * requires an interface index, a frame type attribute (optional for
756 * and a match attribute containing the first few bytes of the frame
767 * @NL80211_CMD_FRAME: Management frame TX request and RX notification. This
768 * command is used both as a request to transmit a management frame and
769 * as an event indicating reception of a frame that was not processed in
772 * frame contents (including header). %NL80211_ATTR_WIPHY_FREQ is used
773 * to indicate on which channel the frame is to be transmitted or was
774 * received. If this channel is not the current channel (remain-on-channel
776 * and transmit the frame, optionally waiting for a response for the time
787 * in the frame) both can be omitted and the link will be selected by
790 * indicate the frame RX timestamp and %NL80211_ATTR_TX_HW_TIMESTAMP may
792 * @NL80211_CMD_FRAME_WAIT_CANCEL: When an off-channel TX was requested, this
795 * also sent as an event whenever the driver has completed the off-channel
798 * @NL80211_CMD_FRAME_TX_STATUS: Report TX status of a management frame
801 * frame. %NL80211_ATTR_ACK flag is included if the recipient acknowledged
802 * the frame. %NL80211_ATTR_TX_HW_TIMESTAMP may be included to indicate the
821 * with which it switches channels is implementation-defined.
846 * @NL80211_CMD_LEAVE_MESH: Leave the mesh network -- no special arguments, the
849 * @NL80211_CMD_UNPROT_DEAUTHENTICATE: Unprotected deauthentication frame
851 * deauthentication frame was dropped when MFP is in use.
852 * @NL80211_CMD_UNPROT_DISASSOCIATE: Unprotected disassociation frame
854 * disassociation frame was dropped when MFP is in use.
868 * @NL80211_CMD_GET_WOWLAN: get Wake-on-Wireless-LAN (WoWLAN) settings.
869 * @NL80211_CMD_SET_WOWLAN: set Wake-on-Wireless-LAN (WoWLAN) settings.
886 * contains the data in sub-attributes). After rekeying happened,
893 * @NL80211_CMD_TDLS_OPER: Perform a high-level TDLS command (e.g. link setup).
900 * @NL80211_CMD_TDLS_MGMT: Send a TDLS management frame. The
901 * %NL80211_ATTR_TDLS_ACTION attribute determines the type of frame to be
902 * sent. Public Action codes (802.11-2012 8.1.5.1) will be sent as
903 * 802.11 management frames, while TDLS action codes (802.11-2012
912 * frames. Also used as the event sent by the kernel when such a frame
921 * associated station identified by %NL80211_ATTR_MAC sent a 4addr frame
922 * and wasn't already in a 4-addr VLAN. The event will be sent similarly
926 * by sending a null data frame to it and reporting when the frame is
931 * has %NL80211_ATTR_ACK set if the frame was ACKed.
945 * sent when a remotely-initiated switch (e.g., when a STA receives a CSA
960 * P2P Device can be used for P2P operations, e.g. remain-on-channel and
961 * public action frame TX.
995 * @NL80211_CMD_UPDATE_FT_IES: Pass down the most up-to-date Fast Transition
1003 * @NL80211_CMD_CRIT_PROTOCOL_START: Indicates user-space will start running
1014 * new channel information (Channel Switch Announcement - CSA)
1023 * @NL80211_CMD_VENDOR: Vendor-specified command/event. The command is specified
1024 * by the %NL80211_ATTR_VENDOR_ID attribute and a sub-command in
1041 * Note that the action frame handshake with the AP shall be handled by
1060 * @NL80211_CMD_LEAVE_OCB: Leave the OCB network -- no special arguments, the
1063 * @NL80211_CMD_TDLS_CHANNEL_SWITCH: Start channel-switching with a TDLS peer,
1068 * The driver is responsible for continually initiating channel-switching
1071 * @NL80211_CMD_TDLS_CANCEL_CHANNEL_SWITCH: Stop channel-switching with a TDLS
1076 * as an event to indicate changes for devices with wiphy-specific regdom
1079 * @NL80211_CMD_ABORT_SCAN: Stop an ongoing scan. Returns -ENOENT if a scan is
1090 * omitted or set to 0, it means don't-care and the device will
1100 * Since instance ID's can be re-used, this cookie is the right
1119 * set to zero, the configuration is changed to don't-care
1131 * @NL80211_CMD_SET_PMK: For offloaded 4-Way handshake, set the PMK or PMK-R0
1134 * PMK-R0, otherwise it specifies the PMK.
1135 * @NL80211_CMD_DEL_PMK: For offloaded 4-Way handshake, delete the previously
1143 * @NL80211_CMD_CONTROL_PORT_FRAME: Control Port (e.g. PAE) frame TX request
1145 * a control port frame and as a notification that a control port frame
1147 * frame contents. The frame is the raw EAPoL data, without ethernet or
1152 * the frame on. If the destination is not an MLD, this will select both
1157 * indicating the protocol type of the received frame; whether the frame
1226 * @NL80211_CMD_PEER_MEASUREMENT_RESULT: This command number is used for the
1254 * peer MAC address and %NL80211_ATTR_FRAME is used to specify the frame
1255 * content. The frame is ethernet data.
1257 * @NL80211_CMD_SET_TID_CONFIG: Data frame TID specific configuration
1261 * frame. This event is used to indicate that a received Beacon frame was
1266 * port frame transmitted with %NL80211_CMD_CONTROL_PORT_FRAME.
1268 * includes the contents of the frame. %NL80211_ATTR_ACK flag is included
1269 * if the recipient acknowledged the frame.
1290 * @NL80211_CMD_SET_FILS_AAD: Set FILS AAD data to the driver using -
1291 * &NL80211_ATTR_MAC - for STA MAC address
1292 * &NL80211_ATTR_FILS_KEK - for KEK
1293 * &NL80211_ATTR_FILS_NONCES - for FILS Nonces
1305 * in preparation for e.g. roaming to a regular (non-MLO) AP.
1318 * The number of peers that HW timestamping can be enabled for concurrently
1323 * Multi-Link reconfiguration. %NL80211_ATTR_MLO_LINKS is used to provide
1326 * @NL80211_CMD_MAX: highest used command number
1585 NL80211_CMD_MAX = __NL80211_CMD_AFTER_LAST - 1
1603 /* source-level API compatibility */
1609 * enum nl80211_attrs - nl80211 netlink attributes
1646 * fragmentation with (u32)-1; dot11FragmentationThreshold; u32
1649 * 0..65536, disable with (u32)-1; dot11RTSThreshold; u32
1657 * @NL80211_ATTR_WDEV: wireless device identifier, used for pseudo-devices
1665 * @NL80211_ATTR_KEY_IDX: key ID (u8, 0-3)
1668 * @NL80211_ATTR_KEY_SEQ: transmit key sequence number (IV/PN) for TKIP and
1700 * @NL80211_ATTR_MESH_ID: mesh id (1-32 bytes).
1711 * @NL80211_ATTR_REG_ALPHA2: an ISO-3166-alpha2 country code for which the
1717 * IEEE-802.11 country information element to identify a country.
1736 * supported interface types, each a flag attribute with the number
1739 * @NL80211_ATTR_MGMT_SUBTYPE: Management frame subtype for
1745 * @NL80211_ATTR_MAX_NUM_SCAN_SSIDS: number of SSIDs you can scan with
1747 * @NL80211_ATTR_MAX_NUM_SCHED_SCAN_SSIDS: number of SSIDs you can
1753 * @NL80211_ATTR_MAX_MATCH_SETS: maximum number of sets that can be
1758 * scanning and include a zero-length SSID (wildcard) for wildcard scan
1767 * an array of command numbers (i.e. a mapping index to command number)
1770 * @NL80211_ATTR_FRAME: frame data (binary attribute), including frame header
1802 * @NL80211_ATTR_USE_MFP: Whether management frame protection (IEEE 802.11w) is
1807 * must have decided whether to use management frame protection or not.
1820 * @NL80211_ATTR_CONTROL_PORT_ETHERTYPE: A 16-bit value indicating the
1837 * flag. When used with %NL80211_ATTR_CONTROL_PORT_NO_PREAUTH, pre-auth
1841 * We recommend using nested, driver-specific attributes within this.
1877 * Reassociate Request frame (with the value of this attribute in the
1878 * Current AP address field) instead of Association Request frame which is
1882 * %NL80211_KEY_* sub-attributes
1885 * with %NL80211_KEY_* sub-attributes
1890 * dumps. This number increases whenever the object list being
1893 * all dump messages contain the same generation number. If it
1897 * @NL80211_ATTR_4ADDR: Use 4-address frames on a virtual interface
1904 * @NL80211_ATTR_MAX_NUM_PMKIDS: maximum number of PMKIDs a firmware can
1910 * remain-on-channel operation, in milliseconds, u32.
1912 * @NL80211_ATTR_COOKIE: Generic 64-bit cookie to identify objects.
1930 * @NL80211_ATTR_FRAME_TYPE: A u16 indicating the frame type/subtype for the
1934 * information about which frame types can be transmitted with
1938 * information about which frame types can be registered for RX.
1940 * @NL80211_ATTR_ACK: Flag attribute indicating that the frame was
1946 * nested attribute with %NL80211_ATTR_CQM_* sub-attributes.
1950 * invoking actual management frame exchange. This can be used with
1961 * for non-automatic settings.
1964 * means support for per-station GTKs.
1978 * Non-802.11n drivers can derive wether to use diversity or not.
1980 * support by returning -EINVAL.
1996 * @NL80211_ATTR_OFFCHANNEL_TX_OK: For management frame TX, the frame may be
1999 * flag isn't set, the frame will be rejected. This is also used as an
2033 * pass-thru filter rules.
2039 * Thus, the implementation is somewhat hardware-dependent, but
2041 * needs to handle all the non-filtered results anyway.
2045 * will never let it go through), -EINVAL may be returned.
2054 * any restrictions in their number or combinations.
2068 * @NL80211_ATTR_IE_PROBE_RESP: Information element(s) for Probe Response frame.
2099 * @NL80211_ATTR_TDLS_DIALOG_TOKEN: Non-zero token for uniquely identifying a
2123 * requests while operating in AP-mode.
2128 * probe-response frame. The DA field in the 802.11 header is zero-ed out,
2143 * MCS rates, MAX-AMSDU, HT-20-40 and HT_CAP_SGI_40
2162 * @NL80211_ATTR_RX_SIGNAL_DBM: signal strength in dBm (as a 32-bit int);
2180 * This contains the authentication frame body (non-IE and IE data),
2181 * excluding the Authentication algorithm number, i.e., starting at the
2182 * Authentication transaction sequence number field. It is used with
2185 * initial two fields (Authentication transaction sequence number and
2202 * @NL80211_ATTR_LOCAL_MESH_POWER_MODE: local mesh STA link-specific power mode
2212 * number of MAC addresses that a device can support for MAC
2220 * 802.11-2012 8.4.2.29 for more information.
2225 * the driver, e.g., to enable TDLS power save (PU-APSD).
2229 * and PU-APSD.
2255 * @NL80211_ATTR_CH_SWITCH_COUNT: u32 attribute specifying the number of TBTT's
2294 * @NL80211_ATTR_VENDOR_ID: The vendor ID, either a 24-bit OUI or, if
2296 * @NL80211_ATTR_VENDOR_SUBCMD: vendor sub-command
2304 * in IEEE Std 802.11-2012, 8.4.2.97.
2311 * Since drivers may not have a fixed limit on the maximum number (e.g.,
2317 * should be updated when the frame is transmitted.
2319 * supported number of csa counters.
2383 * is self-managing its regulatory information and any regulatory domain
2390 * least-significant bit of the first byte in the array, ie. bit index 0
2404 * net-detect scan is started, counting from the moment the
2410 * @NL80211_ATTR_MAX_NUM_SCHED_SCAN_PLANS: maximum number of scan plans for
2414 * @NL80211_ATTR_MAX_SCAN_PLAN_ITERATIONS: maximum number of iterations in
2417 * Each scan plan defines the number of scan iterations and the interval
2419 * thus it must not specify the number of iterations, only the interval
2430 * it contains the behaviour-specific attribute containing the parameters for
2436 * @NL80211_ATTR_PAD: attribute used for padding for 64-bit alignment
2441 * other interface-type specific capabilities per interface type. For MLO,
2445 * @NL80211_ATTR_MU_MIMO_GROUP_DATA: array of 24 bytes that defines a MU-MIMO
2456 * Set this attribute in order to monitor packets using the given MU-MIMO
2460 * when using MU-MIMO air sniffer.
2493 * it is optional. If no bands are set, it means don't-care and
2500 * @NL80211_ATTR_FILS_KEK: KEK for FILS (Re)Association Request/Response frame
2503 * Request/Response frame protection. This attribute contains the 16 octet
2530 * @NL80211_ATTR_FILS_ERP_USERNAME: EAP Re-authentication Protocol (ERP)
2534 * @NL80211_ATTR_FILS_ERP_REALM: EAP Re-authentication Protocol (ERP) realm part
2538 * @NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM: Unsigned 16-bit ERP next sequence number
2542 * @NL80211_ATTR_FILS_ERP_RRK: ERP re-authentication Root Key (rRK) for the
2548 * @NL80211_ATTR_FILS_CACHE_ID: A 2-octet identifier advertized by a FILS AP
2555 * PSK for offloading 4-way handshake for WPA/WPA2-PSK networks. For 802.1X
2557 * support this attribute specifies the PMK-R0 if NL80211_ATTR_PMKR0_NAME
2560 * @NL80211_ATTR_SCHED_SCAN_MULTI: flag attribute which user-space shall use to
2562 * @NL80211_ATTR_SCHED_SCAN_MAX_REQS: indicates maximum number of scheduled
2565 * @NL80211_ATTR_WANT_1X_4WAY_HS: flag attribute which user-space can include
2567 * wants to use the supported offload of the 4-way handshake.
2568 * @NL80211_ATTR_PMKR0_NAME: PMK-R0 Name for offloaded FT.
2593 * @NL80211_ATTR_TXQ_QUANTUM: TXQ scheduler quantum (bytes). Number of bytes
2599 * @NL80211_ATTR_FTM_RESPONDER: nested attribute which user-space can include
2615 * with the appropriate sub-attributes.
2625 * the default per-interface tx power setting will be overriding. Driver
2626 * should be picking up the lowest tx power, either tx power per-interface
2627 * or per-station.
2631 * SAE authentication for WPA3-Personal networks.
2658 * nested attribute with &enum nl80211_tid_config_attr sub-attributes;
2659 * on output (in wiphy attributes) it contains only the feature sub-
2662 * @NL80211_ATTR_CONTROL_PORT_NO_PREAUTH: disable preauth frame rx on control
2717 * derivation in WPA3-Personal networks which are using SAE authentication.
2733 * @NL80211_ATTR_COLOR_CHANGE_COUNT: u8 attribute specifying the number of TBTT's
2743 * and enhanced multi-BSSID advertisements (EMA AP) to the userspace.
2750 * Optional for the non-transmitting interfaces.
2770 * per-link information and a link ID.
2778 * @NL80211_ATTR_MAX_NUM_AKM_SUITES: U16 attribute. Indicates maximum number of
2781 * attribute is not present userspace shall consider maximum number of AKM
2783 * number prior to the introduction of this attribute.
2791 * When used with %NL80211_CMD_FRAME_TX_STATUS, indicates the frame TX
2799 * the incoming frame RX timestamp.
2805 * indicates that the sub-channel is punctured. Higher 16 bits are
2808 * @NL80211_ATTR_MAX_HW_TIMESTAMP_PEERS: Maximum number of peers that HW
2819 * elements such that each element excludes the non-transmitting
2823 * index. If the userspace includes more RNR elements than number of
2829 * @NUM_NL80211_ATTR: total number of nl80211_attrs available
2830 * @NL80211_ATTR_MAX: highest attribute number currently defined
3371 NL80211_ATTR_MAX = __NL80211_ATTR_AFTER_LAST - 1
3374 /* source-level API compatibility */
3433 #define NL80211_SCAN_RSSI_THOLD_OFF -300
3438 * enum nl80211_iftype - (virtual) interface types
3445 * are a bit special in that they must always be tied to a pre-existing
3459 * @NL80211_IFTYPE_MAX: highest interface type number currently defined
3460 * @NUM_NL80211_IFTYPES: number of defined interface types
3483 NL80211_IFTYPE_MAX = NUM_NL80211_IFTYPES - 1
3487 * enum nl80211_sta_flags - station flags
3492 * @__NL80211_STA_FLAG_INVALID: attribute number 0 is reserved
3497 * @NL80211_STA_FLAG_MFP: station uses management frame protection
3499 * @NL80211_STA_FLAG_TDLS_PEER: station is a TDLS peer -- this flag should
3507 * @NL80211_STA_FLAG_MAX: highest station flag number currently defined
3522 NL80211_STA_FLAG_MAX = __NL80211_STA_FLAG_AFTER_LAST - 1
3526 * enum nl80211_sta_p2p_ps_status - station support of P2P PS
3530 * @NUM_NL80211_P2P_PS_STATUS: number of values
3542 * struct nl80211_sta_flag_update - station flags mask/set
3554 * enum nl80211_he_gi - HE guard interval
3566 * enum nl80211_he_ltf - HE long training field
3578 * enum nl80211_he_ru_alloc - HE RU allocation values
3579 * @NL80211_RATE_INFO_HE_RU_ALLOC_26: 26-tone RU allocation
3580 * @NL80211_RATE_INFO_HE_RU_ALLOC_52: 52-tone RU allocation
3581 * @NL80211_RATE_INFO_HE_RU_ALLOC_106: 106-tone RU allocation
3582 * @NL80211_RATE_INFO_HE_RU_ALLOC_242: 242-tone RU allocation
3583 * @NL80211_RATE_INFO_HE_RU_ALLOC_484: 484-tone RU allocation
3584 * @NL80211_RATE_INFO_HE_RU_ALLOC_996: 996-tone RU allocation
3585 * @NL80211_RATE_INFO_HE_RU_ALLOC_2x996: 2x996-tone RU allocation
3598 * enum nl80211_eht_gi - EHT guard interval
3610 * enum nl80211_eht_ru_alloc - EHT RU allocation values
3611 * @NL80211_RATE_INFO_EHT_RU_ALLOC_26: 26-tone RU allocation
3612 * @NL80211_RATE_INFO_EHT_RU_ALLOC_52: 52-tone RU allocation
3613 * @NL80211_RATE_INFO_EHT_RU_ALLOC_52P26: 52+26-tone RU allocation
3614 * @NL80211_RATE_INFO_EHT_RU_ALLOC_106: 106-tone RU allocation
3616 * @NL80211_RATE_INFO_EHT_RU_ALLOC_242: 242-tone RU allocation
3617 * @NL80211_RATE_INFO_EHT_RU_ALLOC_484: 484-tone RU allocation
3619 * @NL80211_RATE_INFO_EHT_RU_ALLOC_996: 996-tone RU allocation
3622 * @NL80211_RATE_INFO_EHT_RU_ALLOC_2x996: 2x996-tone RU allocation
3624 * @NL80211_RATE_INFO_EHT_RU_ALLOC_3x996: 3x996-tone RU allocation
3626 * @NL80211_RATE_INFO_EHT_RU_ALLOC_4x996: 4x996-tone RU allocation
3648 * enum nl80211_rate_info - bitrate information
3653 * a 16-bit value, and new one that represents a 32-bit value.
3656 * (>6.5535Gbps) only 32-bit attribute is included.
3657 * User space tools encouraged to use the 32-bit attribute and fall
3658 * back to the 16-bit one for compatibility with older kernels.
3660 * @__NL80211_RATE_INFO_INVALID: attribute number 0 is reserved
3666 * @NL80211_RATE_INFO_MAX: highest rate_info number currently defined
3668 * @NL80211_RATE_INFO_VHT_NSS: number of streams in VHT (u8)
3670 * @NL80211_RATE_INFO_80P80_MHZ_WIDTH: unused - 80+80 is treated the
3673 * @NL80211_RATE_INFO_10_MHZ_WIDTH: 10 MHz width - note that this is
3676 * @NL80211_RATE_INFO_5_MHZ_WIDTH: 5 MHz width - note that this is
3679 * @NL80211_RATE_INFO_HE_MCS: HE MCS index (u8, 0-11)
3680 * @NL80211_RATE_INFO_HE_NSS: HE NSS value (u8, 1-8)
3685 * non-OFDMA was used (u8, see &enum nl80211_he_ru_alloc)
3687 * @NL80211_RATE_INFO_EHT_MCS: EHT MCS index (u8, 0-15)
3688 * @NL80211_RATE_INFO_EHT_NSS: EHT NSS value (u8, 1-8)
3692 * non-OFDMA was used (u8, see &enum nl80211_eht_ru_alloc)
3693 * @NL80211_RATE_INFO_S1G_MCS: S1G MCS index (u8, 0-10)
3694 * @NL80211_RATE_INFO_S1G_NSS: S1G NSS value (u8, 1-4)
3736 NL80211_RATE_INFO_MAX = __NL80211_RATE_INFO_AFTER_LAST - 1
3740 * enum nl80211_sta_bss_param - BSS information collected by STA
3745 * @__NL80211_STA_BSS_PARAM_INVALID: attribute number 0 is reserved
3753 * @NL80211_STA_BSS_PARAM_MAX: highest sta_bss_param number currently defined
3766 NL80211_STA_BSS_PARAM_MAX = __NL80211_STA_BSS_PARAM_AFTER_LAST - 1
3770 * enum nl80211_sta_info - station information
3775 * @__NL80211_STA_INFO_INVALID: attribute number 0 is reserved
3800 * @NL80211_STA_INFO_RX_BITRATE: last unicast data frame rx rate, nested
3808 * @NL80211_STA_INFO_LOCAL_PM: local mesh STA link-specific power mode
3809 * @NL80211_STA_INFO_PEER_PM: peer mesh STA link-specific power mode
3811 * non-peer STA
3812 * @NL80211_STA_INFO_CHAIN_SIGNAL: per-chain signal strength of last PPDU
3814 * @NL80211_STA_INFO_CHAIN_SIGNAL_AVG: per-chain signal strength average
3820 * @NL80211_STA_INFO_BEACON_RX: number of beacons received from this peer (u64)
3823 * @NL80211_STA_INFO_TID_STATS: per-TID statistics (see &enum nl80211_tid_stats)
3824 * This is a nested attribute where each the inner attribute number is the
3825 * TID+1 and the special TID 16 (i.e. value 17) is used for non-QoS frames;
3830 * @NL80211_STA_INFO_PAD: attribute used for padding for 64-bit alignment
3831 * @NL80211_STA_INFO_ACK_SIGNAL: signal strength of the last ACK frame(u8, dBm)
3833 * @NL80211_STA_INFO_RX_MPDUS: total number of received packets (MPDUs)
3835 * @NL80211_STA_INFO_FCS_ERROR_COUNT: total number of packets (MPDUs) received
3900 NL80211_STA_INFO_MAX = __NL80211_STA_INFO_AFTER_LAST - 1
3903 /* we renamed this - stay compatible */
3908 * enum nl80211_tid_stats - per TID statistics attributes
3909 * @__NL80211_TID_STATS_INVALID: attribute number 0 is reserved
3910 * @NL80211_TID_STATS_RX_MSDU: number of MSDUs received (u64)
3911 * @NL80211_TID_STATS_TX_MSDU: number of MSDUs transmitted (or
3913 * @NL80211_TID_STATS_TX_MSDU_RETRIES: number of retries for
3915 * @NL80211_TID_STATS_TX_MSDU_FAILED: number of failed transmitted
3917 * @NL80211_TID_STATS_PAD: attribute used for padding for 64-bit alignment
3919 * @NUM_NL80211_TID_STATS: number of attributes here
3933 NL80211_TID_STATS_MAX = NUM_NL80211_TID_STATS - 1
3937 * enum nl80211_txq_stats - per TXQ statistics attributes
3938 * @__NL80211_TXQ_STATS_INVALID: attribute number 0 is reserved
3939 * @NUM_NL80211_TXQ_STATS: number of attributes here
3940 * @NL80211_TXQ_STATS_BACKLOG_BYTES: number of bytes currently backlogged
3941 * @NL80211_TXQ_STATS_BACKLOG_PACKETS: number of packets currently
3943 * @NL80211_TXQ_STATS_FLOWS: total number of new flows seen
3944 * @NL80211_TXQ_STATS_DROPS: total number of packet drops
3945 * @NL80211_TXQ_STATS_ECN_MARKS: total number of packet ECN marks
3946 * @NL80211_TXQ_STATS_OVERLIMIT: number of drops due to queue space overflow
3947 * @NL80211_TXQ_STATS_OVERMEMORY: number of drops due to memory limit overflow
3948 * (only for per-phy stats)
3949 * @NL80211_TXQ_STATS_COLLISIONS: number of hash collisions
3950 * @NL80211_TXQ_STATS_TX_BYTES: total number of bytes dequeued from TXQ
3951 * @NL80211_TXQ_STATS_TX_PACKETS: total number of packets dequeued from TXQ
3952 * @NL80211_TXQ_STATS_MAX_FLOWS: number of flow buckets for PHY
3971 NL80211_TXQ_STATS_MAX = NUM_NL80211_TXQ_STATS - 1
3975 * enum nl80211_mpath_flags - nl80211 mesh path flags
3992 * enum nl80211_mpath_info - mesh path information
3997 * @__NL80211_MPATH_INFO_INVALID: attribute number 0 is reserved
3998 * @NL80211_MPATH_INFO_FRAME_QLEN: number of queued frames for this destination
3999 * @NL80211_MPATH_INFO_SN: destination sequence number
4007 * @NL80211_MPATH_INFO_PATH_CHANGE: total number of path changes to destination
4008 * @NL80211_MPATH_INFO_MAX: highest mesh path information attribute number
4026 NL80211_MPATH_INFO_MAX = __NL80211_MPATH_INFO_AFTER_LAST - 1
4030 * enum nl80211_band_iftype_attr - Interface type data attributes
4032 * @__NL80211_BAND_IFTYPE_ATTR_INVALID: attribute number 0 is reserved
4075 NL80211_BAND_IFTYPE_ATTR_MAX = __NL80211_BAND_IFTYPE_ATTR_AFTER_LAST - 1
4079 * enum nl80211_band_attr - band attributes
4080 * @__NL80211_BAND_ATTR_INVALID: attribute number 0 is reserved
4085 * @NL80211_BAND_ATTR_HT_MCS_SET: 16-byte attribute containing the MCS set as
4088 * @NL80211_BAND_ATTR_HT_AMPDU_FACTOR: A-MPDU factor, as in 11n
4089 * @NL80211_BAND_ATTR_HT_AMPDU_DENSITY: A-MPDU density, as in 11n
4090 * @NL80211_BAND_ATTR_VHT_MCS_SET: 32-byte attribute containing the MCS set as
4101 * @NL80211_BAND_ATTR_S1G_MCS_NSS_SET: S1G capabilities, supported S1G-MCS and NSS
4130 NL80211_BAND_ATTR_MAX = __NL80211_BAND_ATTR_AFTER_LAST - 1
4136 * enum nl80211_wmm_rule - regulatory wmm rule
4138 * @__NL80211_WMMR_INVALID: attribute number 0 is reserved
4141 * @NL80211_WMMR_AIFSN: Arbitration Inter Frame Space.
4155 NL80211_WMMR_MAX = __NL80211_WMMR_LAST - 1
4159 * enum nl80211_frequency_attr - frequency attributes
4160 * @__NL80211_FREQUENCY_ATTR_INVALID: attribute number 0 is reserved
4175 * @NL80211_FREQUENCY_ATTR_NO_HT40_MINUS: HT40- isn't possible with this
4196 * off-channel on a channel that has the IR_CONCURRENT attribute set can be
4199 * off-channel while the device is also connected to an AP with DFS and
4200 * radar detection on the UNII band (it is up to user-space, i.e.,
4229 * @NL80211_FREQUENCY_ATTR_MAX: highest frequency attribute number
4271 NL80211_FREQUENCY_ATTR_MAX = __NL80211_FREQUENCY_ATTR_AFTER_LAST - 1
4282 * enum nl80211_bitrate_attr - bitrate attributes
4283 * @__NL80211_BITRATE_ATTR_INVALID: attribute number 0 is reserved
4287 * @NL80211_BITRATE_ATTR_MAX: highest bitrate attribute number
4298 NL80211_BITRATE_ATTR_MAX = __NL80211_BITRATE_ATTR_AFTER_LAST - 1
4302 * enum nl80211_initiator - Indicates the initiator of a reg domain request
4313 * structure passed by userspace (CRDA) from our wireless-regdb.
4315 * be disabled we disable the channel and re-enable it upon disassociation.
4325 * enum nl80211_reg_type - specifies the type of regulatory domain
4332 * driver specific world regulatory domain. These do not apply system-wide
4336 * of an intersection between two regulatory domains -- the previously
4348 * enum nl80211_reg_rule_attr - regulatory rule attributes
4349 * @__NL80211_REG_RULE_ATTR_INVALID: attribute number 0 is reserved
4370 * @NL80211_REG_RULE_ATTR_MAX: highest regulatory rule attribute number
4391 NL80211_REG_RULE_ATTR_MAX = __NL80211_REG_RULE_ATTR_AFTER_LAST - 1
4395 * enum nl80211_sched_scan_match_attr - scheduled scan match attributes
4396 * @__NL80211_SCHED_SCAN_MATCH_ATTR_INVALID: attribute number 0 is reserved
4412 * BSS-es in the specified band is to be adjusted before doing
4413 * RSSI-based BSS selection. The attribute value is a packed structure
4426 * attribute number currently defined
4442 __NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST - 1
4449 * enum nl80211_reg_rule_flags - regulatory rule flags
4465 * @NL80211_RRF_NO_HT40MINUS: channels can't be used in HT40- operation
4507 * enum nl80211_dfs_regions - regulatory DFS regions
4522 * enum nl80211_user_reg_hint_type - type of user regulatory hint
4545 * enum nl80211_survey_info - survey information
4550 * @__NL80211_SURVEY_INFO_INVALID: attribute number 0 is reserved
4566 * @NL80211_SURVEY_INFO_PAD: attribute used for padding for 64-bit alignment
4569 * @NL80211_SURVEY_INFO_MAX: highest survey info attribute number
4591 NL80211_SURVEY_INFO_MAX = __NL80211_SURVEY_INFO_AFTER_LAST - 1
4602 * enum nl80211_mntr_flags - monitor configuration flags
4631 NL80211_MNTR_FLAG_MAX = __NL80211_MNTR_FLAG_AFTER_LAST - 1
4635 * enum nl80211_mesh_power_mode - mesh power save modes
4648 * @__NL80211_MESH_POWER_AFTER_LAST - internal use
4649 * @NL80211_MESH_POWER_MAX - highest possible power save level
4659 NL80211_MESH_POWER_MAX = __NL80211_MESH_POWER_AFTER_LAST - 1
4663 * enum nl80211_meshconf_params - mesh configuration parameters
4679 * @NL80211_MESHCONF_MAX_PEER_LINKS: maximum number of peer links allowed
4682 * @NL80211_MESHCONF_MAX_RETRIES: specifies the maximum number of peer link
4694 * @NL80211_MESHCONF_HWMP_MAX_PREQ_RETRIES: the number of action frames
4709 * TUs) during which an MP can send only one action frame containing a PREQ
4729 * TUs) during which a mesh STA can send only one Action frame containing a
4732 * @NL80211_MESHCONF_FORWARDING: set Mesh STA as forwarding or non-forwarding
4733 * or forwarding entity (default is TRUE - forwarding entity)
4739 * @NL80211_MESHCONF_SYNC_OFFSET_MAX_NEIGHBOR: maximum number of neighbors
4755 * (in TUs) during which a mesh STA can send only one Action frame
4773 * @NL80211_MESHCONF_NOLEARN: Try to avoid multi-hop path discovery (e.g.
4775 * this might not be the optimal decision as a multi-hop route might be
4821 NL80211_MESHCONF_ATTR_MAX = __NL80211_MESHCONF_ATTR_AFTER_LAST - 1
4825 * enum nl80211_mesh_setup_params - mesh setup parameters
4869 * @NL80211_MESH_SETUP_ATTR_MAX: highest possible mesh setup attribute number
4886 NL80211_MESH_SETUP_ATTR_MAX = __NL80211_MESH_SETUP_ATTR_AFTER_LAST - 1
4890 * enum nl80211_txq_attr - TX queue parameter attributes
4891 * @__NL80211_TXQ_ATTR_INVALID: Attribute number 0 is reserved
4896 * 2^n-1 in the range 1..32767]
4898 * 2^n-1 in the range 1..32767]
4901 * @NL80211_TXQ_ATTR_MAX: Maximum TXQ attribute number
4913 NL80211_TXQ_ATTR_MAX = __NL80211_TXQ_ATTR_AFTER_LAST - 1
4932 * enum nl80211_channel_type - channel type
4933 * @NL80211_CHAN_NO_HT: 20 MHz, non-HT channel
4948 * enum nl80211_key_mode - Key mode
4969 * enum nl80211_chan_width - channel width definitions
4974 * @NL80211_CHAN_WIDTH_20_NOHT: 20 MHz, non-HT channel
5012 * enum nl80211_bss_scan_width - control channel width for a BSS
5031 * enum nl80211_bss - netlink attributes for a BSS
5045 * different then the IEs here are from a Probe Response frame; otherwise
5046 * they are from a Beacon frame.
5048 * IEs may be from either frame subtype.
5058 * elements from a Beacon frame (bin); not present if no Beacon frame has
5061 * (u32, enum nl80211_bss_scan_width) - No longer used!
5063 * (not present if no beacon frame has been received yet)
5067 * was last updated by a received frame. The value is expected to be
5069 * @NL80211_BSS_PAD: attribute used for padding for 64-bit alignment
5076 * @NL80211_BSS_CHAIN_SIGNAL: per-chain signal strength of last BSS update.
5078 * using the nesting index as the antenna number.
5112 NL80211_BSS_MAX = __NL80211_BSS_AFTER_LAST - 1
5116 * enum nl80211_bss_status - BSS "status"
5134 * enum nl80211_auth_type - AuthenticationType
5147 * trying multiple times); this is invalid in netlink -- leave out
5162 NL80211_AUTHTYPE_MAX = __NL80211_AUTHTYPE_NUM - 1,
5167 * enum nl80211_key_type - Key Type
5171 * @NUM_NL80211_KEYTYPES: number of defined key types
5182 * enum nl80211_mfp - Management frame protection state
5183 * @NL80211_MFP_NO: Management frame protection not used
5184 * @NL80211_MFP_REQUIRED: Management frame protection required
5185 * @NL80211_MFP_OPTIONAL: Management frame protection is optional
5200 * enum nl80211_key_default_types - key default types
5206 * @NUM_NL80211_KEY_DEFAULT_TYPES: number of default types
5217 * enum nl80211_key_attributes - key attributes
5222 * @NL80211_KEY_IDX: key ID (u8, 0-3)
5225 * @NL80211_KEY_SEQ: transmit key sequence number (IV/PN) for TKIP and
5237 * @NL80211_KEY_DEFAULT_BEACON: flag indicating default Beacon frame key
5257 NL80211_KEY_MAX = __NL80211_KEY_AFTER_LAST - 1
5261 * enum nl80211_tx_rate_attributes - TX rate set attributes
5263 * @NL80211_TXRATE_LEGACY: Legacy (non-MCS) rates allowed for TX rate selection
5291 NL80211_TXRATE_MAX = __NL80211_TXRATE_AFTER_LAST - 1
5298 * struct nl80211_txrate_vht - VHT MCS/NSS txrate bitmap
5307 * struct nl80211_txrate_he - HE MCS/NSS txrate bitmap
5321 * enum nl80211_band - Frequency band
5323 * @NL80211_BAND_5GHZ: around 5 GHz band (4.9 - 5.7 GHz)
5324 * @NL80211_BAND_60GHZ: around 60 GHz band (58.32 - 69.12 GHz)
5325 * @NL80211_BAND_6GHZ: around 6 GHz band (5.9 - 7.2 GHz)
5328 * @NUM_NL80211_BANDS: number of bands, avoid using this in userspace
5343 * enum nl80211_ps_state - powersave state
5353 * enum nl80211_attr_cqm - connection quality monitor attributes
5358 * set, multiple values can be supplied as a low-to-high sorted array of
5371 * @NL80211_ATTR_CQM_TXE_PKTS: number of attempted packets in a given
5399 NL80211_ATTR_CQM_MAX = __NL80211_ATTR_CQM_AFTER_LAST - 1
5403 * enum nl80211_cqm_rssi_threshold_event - RSSI threshold event
5418 * enum nl80211_tx_power_setting - TX power adjustment
5430 * enum nl80211_tid_config - TID config state
5439 /* enum nl80211_tx_rate_setting - TX rate configuration type
5450 /* enum nl80211_tid_config_attr - TID specific configuration.
5451 * @NL80211_TID_CONFIG_ATTR_PAD: pad attribute for 64-bit values
5453 * for per-vif configuration; doesn't list the ones that are generic
5455 * @NL80211_TID_CONFIG_ATTR_PEER_SUPP: same as the previous per-vif one, but
5466 * @NL80211_TID_CONFIG_ATTR_RETRY_SHORT: Number of retries used with data frame
5467 * transmission, user-space sets this configuration in
5471 * @NL80211_TID_CONFIG_ATTR_RETRY_LONG: Number of retries used with data frame
5472 * transmission, user-space sets this configuration in
5489 * @NL80211_TID_CONFIG_ATTR_TX_RATE: Data frame TX rate mask should be applied
5491 * configuration is applied to the data frame for the tid to that connected
5512 NL80211_TID_CONFIG_ATTR_MAX = __NL80211_TID_CONFIG_ATTR_AFTER_LAST - 1
5516 * enum nl80211_packet_pattern_attr - packet pattern attribute
5517 * @__NL80211_PKTPAT_INVALID: invalid number for nested attribute
5521 * a bit for each byte in the pattern. The lowest-order bit corresponds
5523 * in a little-endian-like format, i.e. the 9th byte of the pattern
5524 * corresponds to the lowest-order bit in the second byte of the mask.
5529 * 802.11 frames but 802.3 frames, i.e. the frame is fully unpacked
5532 * these fixed number of bytes of received packet
5533 * @NUM_NL80211_PKTPAT: number of attributes
5534 * @MAX_NL80211_PKTPAT: max attribute number
5543 MAX_NL80211_PKTPAT = NUM_NL80211_PKTPAT - 1,
5547 * struct nl80211_pattern_support - packet pattern support information
5548 * @max_patterns: maximum number of patterns supported
5576 * enum nl80211_wowlan_triggers - WoWLAN trigger definitions
5577 * @__NL80211_WOWLAN_TRIG_INVALID: invalid number for nested attributes
5579 * the chip into a special state -- works best with chips that have
5580 * support for low-power operation already (flag)
5584 * is detected is implementation-specific (flag)
5598 * When reporting wakeup. it is a u32 attribute containing the 0-based
5608 * @NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE: wake up on 4-way handshake (flag)
5612 * the 802.11 packet that caused the wakeup, e.g. a deauth frame. The frame
5619 * 802.11 packet that caused the wakeup, e.g. a magic packet. The frame may
5643 * @NL80211_CMD_GET_WIPHY, indicating the number of match sets
5658 * @NUM_NL80211_WOWLAN_TRIG: number of wake on wireless triggers
5659 * @MAX_NL80211_WOWLAN_TRIG: highest wowlan trigger attribute number
5688 MAX_NL80211_WOWLAN_TRIG = NUM_NL80211_WOWLAN_TRIG - 1
5700 * number (in the TCP payload!) that is generated by the device, and, also
5701 * optionally, a token from a list of tokens. This serves as a keep-alive
5704 * During this keep-alive period, the server doesn't send any data to the
5715 * struct nl80211_wowlan_tcp_data_seq - WoWLAN TCP data sequence
5717 * @offset: offset of sequence number in packet
5720 * Note: don't confuse with the TCP sequence number(s), this is for the
5729 * struct nl80211_wowlan_tcp_data_token - WoWLAN TCP data token config
5741 * struct nl80211_wowlan_tcp_data_token_feature - data token features
5751 * enum nl80211_wowlan_tcp_attrs - WoWLAN TCP connection parameters
5752 * @__NL80211_WOWLAN_TCP_INVALID: invalid number for nested attributes
5779 * @NUM_NL80211_WOWLAN_TCP: number of TCP attributes
5780 * @MAX_NL80211_WOWLAN_TCP: highest attribute number
5798 MAX_NL80211_WOWLAN_TCP = NUM_NL80211_WOWLAN_TCP - 1
5802 * struct nl80211_coalesce_rule_support - coalesce rule support information
5803 * @max_rules: maximum number of rules supported
5817 * enum nl80211_attr_coalesce_rule - coalesce rule attribute
5818 * @__NL80211_COALESCE_RULE_INVALID: invalid number for nested attribute
5823 * after these fixed number of bytes of received packet
5824 * @NUM_NL80211_ATTR_COALESCE_RULE: number of attributes
5825 * @NL80211_ATTR_COALESCE_RULE_MAX: max attribute number
5835 NL80211_ATTR_COALESCE_RULE_MAX = NUM_NL80211_ATTR_COALESCE_RULE - 1
5839 * enum nl80211_coalesce_condition - coalesce rule conditions
5851 * enum nl80211_iface_limit_attrs - limit attributes
5853 * @NL80211_IFACE_LIMIT_MAX: maximum number of interfaces that
5857 * @NUM_NL80211_IFACE_LIMIT: number of attributes
5858 * @MAX_NL80211_IFACE_LIMIT: highest attribute number
5867 MAX_NL80211_IFACE_LIMIT = NUM_NL80211_IFACE_LIMIT - 1
5871 * enum nl80211_if_combination_attrs -- interface combination attributes
5876 * @NL80211_IFACE_COMB_MAXNUM: u32 attribute giving the total number of
5877 * interfaces that can be created in this group. This number doesn't
5893 * @NUM_NL80211_IFACE_COMB: number of attributes
5894 * @MAX_NL80211_IFACE_COMB: highest attribute number
5900 * numbers = [ #{AP, P2P-GO} <= 8 ], BI min gcd, channels = 1, max = 8,
5906 * numbers = [ #{STA} <= 1, #{P2P-client,P2P-GO} <= 3 ], max = 4
5931 MAX_NL80211_IFACE_COMB = NUM_NL80211_IFACE_COMB - 1
5936 * enum nl80211_plink_state - state of a mesh peer link finite state machine
5940 * @NL80211_PLINK_OPN_SNT: mesh plink open frame has been sent to
5942 * @NL80211_PLINK_OPN_RCVD: mesh plink open frame has been received
5944 * @NL80211_PLINK_CNF_RCVD: mesh plink confirm frame has been
5950 * @NUM_NL80211_PLINK_STATES: number of peer link states
5964 MAX_NL80211_PLINK_STATES = NUM_NL80211_PLINK_STATES - 1
5968 * enum nl80211_plink_action - actions to perform in mesh peers
5973 * @NUM_NL80211_PLINK_ACTIONS: number of possible actions
5992 * enum nl80211_rekey_data - attributes for GTK rekey offload
5993 * @__NL80211_REKEY_DATA_INVALID: invalid number for nested attributes
5998 * @NUM_NL80211_REKEY_DATA: number of rekey attributes (internal)
6010 MAX_NL80211_REKEY_DATA = NUM_NL80211_REKEY_DATA - 1
6014 * enum nl80211_hidden_ssid - values for %NL80211_ATTR_HIDDEN_SSID
6017 * @NL80211_HIDDEN_SSID_ZERO_LEN: hide SSID by using zero-length SSID element
6029 * enum nl80211_sta_wme_attr - station WME attributes
6030 * @__NL80211_STA_WME_INVALID: invalid number for nested attribute
6045 NL80211_STA_WME_MAX = __NL80211_STA_WME_AFTER_LAST - 1
6049 * enum nl80211_pmksa_candidate_attr - attributes for PMKSA caching candidates
6050 * @__NL80211_PMKSA_CANDIDATE_INVALID: invalid number for nested attributes
6054 * @NL80211_PMKSA_CANDIDATE_PREAUTH: RSN pre-authentication supported (flag)
6055 * @NUM_NL80211_PMKSA_CANDIDATE: number of PMKSA caching candidate attributes
6068 MAX_NL80211_PMKSA_CANDIDATE = NUM_NL80211_PMKSA_CANDIDATE - 1
6072 * enum nl80211_tdls_operation - values for %NL80211_ATTR_TDLS_OPERATION
6088 * enum nl80211_ap_sme_features - device-integrated AP features
6098 * enum nl80211_feature_flags - device/driver features
6116 * @NL80211_FEATURE_VIF_TXPOWER: The driver supports per-vif TX power setting
6146 * channel bandwidth change (e.g., HT 20 <-> 40 MHz channel) during the
6156 * management TPC Report action frame, and in the Radio Measurement Link
6157 * Measurement Report action frame.
6169 * TSPEC sessions (TID aka TSID 0-7) with the %NL80211_CMD_ADD_TX_TS
6171 * needs to be able to handle Block-Ack agreements and other things.
6226 * enum nl80211_ext_feature_index - bit index of extended features.
6233 * @NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER: This device supports MU-MIMO air
6269 * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK: Device wants to do 4-way
6272 * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X: Device wants to do doing 4-way
6291 * Device or driver will do all DFS-related actions by itself,
6292 * informing user-space about CAC progress, radar detection event,
6294 * No need to start CAC from user-space, no need to react to
6300 * @NL80211_EXT_FEATURE_TXQS: Driver supports FQ-CoDel-enabled intermediate
6311 * able to rekey an in-use key correctly. Userspace must not rekey PTK keys
6315 * Individually Addressed Frames" from IEEE802.11-2016.
6334 * with VLAN tagged frames and separate VLAN-specific netdevs added using
6355 * @NL80211_EXT_FEATURE_MULTICAST_REGISTRATIONS: management frame registrations
6369 * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_AP_PSK: Device wants to do 4-way
6392 * frame protection for all management frames exchanged during the
6429 * @NUM_NL80211_EXT_FEATURES: number of extended features.
6461 /* we renamed this - stay compatible */
6505 MAX_NL80211_EXT_FEATURES = NUM_NL80211_EXT_FEATURES - 1
6509 * enum nl80211_probe_resp_offload_support_attr - optional supported
6510 * protocols for probe-response offloading by the driver/FW.
6513 * protocols. Typically a subset of probe-requests belonging to a
6530 * enum nl80211_connect_failed_reason - connection request failed reasons
6531 * @NL80211_CONN_FAIL_MAX_CLIENTS: Maximum number of clients that can be
6541 * enum nl80211_timeout_reason - timeout reasons
6556 * enum nl80211_scan_flags - scan request control flags
6571 * will be lost while scanning off-channel, therefore it must be used only
6590 * and suppression (if it has received a broadcast Probe Response frame,
6591 * Beacon frame or FILS Discovery frame from an AP that the STA considers
6592 * a suitable candidate for (re-)association - suitable in terms of
6607 * @NL80211_SCAN_FLAG_RANDOM_SN: randomize the sequence number in probe
6646 * enum nl80211_acl_policy - access control policy
6664 * enum nl80211_smps_mode - SMPS mode
6679 NL80211_SMPS_MAX = __NL80211_SMPS_AFTER_LAST - 1
6683 * enum nl80211_radar_event - type of radar event for DFS operation
6694 * @NL80211_RADAR_NOP_FINISHED: The Non-Occupancy Period for this channel is
6697 * non-operating channel is expired and no longer valid. New CAC must
6699 * applicable for ETSI dfs domain where pre-CAC is valid for ever.
6713 * enum nl80211_dfs_state - DFS states for channels
6730 * enum nl80211_protocol_features - nl80211 protocol features
6742 * enum nl80211_crit_proto_id - nl80211 critical protocol identifiers
6763 * enum nl80211_rxmgmt_flags - flags for received management frame.
6767 * @NL80211_RXMGMT_FLAG_ANSWERED: frame was answered by device/driver.
6786 * struct nl80211_vendor_cmd_info - vendor command data
6788 * value is a 24-bit OUI; if it is set then a separately allocated ID
6791 * @subcmd: sub-command ID for the command
6799 * enum nl80211_tdls_peer_capability - TDLS peer flags.
6817 * enum nl80211_sched_scan_plan - scanning plan for scheduled scan
6818 * @__NL80211_SCHED_SCAN_PLAN_INVALID: attribute number 0 is reserved
6821 * @NL80211_SCHED_SCAN_PLAN_ITERATIONS: number of scan iterations in this
6825 * @NL80211_SCHED_SCAN_PLAN_MAX: highest scheduled scan plan attribute number
6837 __NL80211_SCHED_SCAN_PLAN_AFTER_LAST - 1
6841 * struct nl80211_bss_select_rssi_adjust - RSSI adjustment parameters.
6853 * enum nl80211_bss_select_attr - attributes for bss selection.
6856 * @NL80211_BSS_SELECT_ATTR_RSSI: Flag indicating only RSSI-based BSS selection
6860 * When there are multiple BSS-es in the preferred band, the driver
6861 * shall use RSSI-based BSS selection as a second step. The value of
6864 * BSS-es in the specified band is to be adjusted before doing
6865 * RSSI-based BSS selection. The attribute value is a packed structure
6867 * @NL80211_BSS_SELECT_ATTR_MAX: highest bss select attribute number.
6882 NL80211_BSS_SELECT_ATTR_MAX = __NL80211_BSS_SELECT_ATTR_AFTER_LAST - 1
6886 * enum nl80211_nan_function_type - NAN function type
6892 * @NL80211_NAN_FUNC_FOLLOW_UP: function is follow-up
6901 NL80211_NAN_FUNC_MAX_TYPE = __NL80211_NAN_FUNC_TYPE_AFTER_LAST - 1,
6905 * enum nl80211_nan_publish_type - NAN publish tx type
6918 * enum nl80211_nan_func_term_reason - NAN functions termination reason
6937 * enum nl80211_nan_func_attributes - NAN function attributes
6944 * Frame, see &enum nl80211_nan_publish_type. Its type is u8.
6946 * publish. Should the solicited publish Service Discovery Frame be sent to
6951 * The instance ID for the follow up Service Discovery Frame. This is u8.
6954 * The requestor instance ID for the follow up Service Discovery Frame.
6956 * follow up Service Discovery Frame. This is a binary attribute.
6960 * @NL80211_NAN_FUNC_TTL: strictly positive number of DWs this function should
6999 NL80211_NAN_FUNC_ATTR_MAX = NUM_NL80211_NAN_FUNC_ATTR - 1
7003 * enum nl80211_nan_srf_attributes - NAN Service Response filter attributes
7026 NL80211_NAN_SRF_ATTR_MAX = NUM_NL80211_NAN_SRF_ATTR - 1,
7030 * enum nl80211_nan_match_attributes - NAN match attributes
7049 NL80211_NAN_MATCH_ATTR_MAX = NUM_NL80211_NAN_MATCH_ATTR - 1
7053 * nl80211_external_auth_action - Action to perform with external
7064 * enum nl80211_ftm_responder_attributes - fine timing measurement
7069 * (9.4.2.22 in 802.11-2016) with type 8 - LCI (9.4.2.22.10),
7072 * (9.4.2.22 in 802.11-2016) with type 11 - Civic (Section 9.4.2.22.13),
7086 NL80211_FTM_RESP_ATTR_MAX = __NL80211_FTM_RESP_ATTR_LAST - 1,
7090 * enum nl80211_ftm_responder_stats - FTM responder statistics
7095 * @__NL80211_FTM_STATS_INVALID: attribute number 0 is reserved
7096 * @NL80211_FTM_STATS_SUCCESS_NUM: number of FTM sessions in which all frames
7098 * @NL80211_FTM_STATS_PARTIAL_NUM: number of FTM sessions in which part of the
7100 * @NL80211_FTM_STATS_FAILED_NUM: number of failed FTM sessions (u32)
7101 * @NL80211_FTM_STATS_ASAP_NUM: number of ASAP sessions (u32)
7102 * @NL80211_FTM_STATS_NON_ASAP_NUM: number of non-ASAP sessions (u32)
7103 * @NL80211_FTM_STATS_TOTAL_DURATION_MSEC: total sessions durations - gives an
7105 * @NL80211_FTM_STATS_UNKNOWN_TRIGGERS_NUM: number of unknown FTM triggers -
7108 * @NL80211_FTM_STATS_RESCHEDULE_REQUESTS_NUM: number of FTM reschedule requests
7109 * - initiator asks for a new scheduling although it already has scheduled
7111 * @NL80211_FTM_STATS_OUT_OF_WINDOW_TRIGGERS_NUM: number of FTM triggers out of
7132 NL80211_FTM_STATS_MAX = __NL80211_FTM_STATS_AFTER_LAST - 1
7136 * enum nl80211_preamble - frame preamble types
7152 * enum nl80211_peer_measurement_type - peer measurement types
7159 * @NL80211_PMSR_TYPE_MAX: highest type number
7167 NL80211_PMSR_TYPE_MAX = NUM_NL80211_PMSR_TYPES - 1
7171 * enum nl80211_peer_measurement_status - peer measurement status
7175 * @NL80211_PMSR_STATUS_FAILURE: measurement failed, a type-dependent
7186 * enum nl80211_peer_measurement_req - peer measurement request attributes
7190 * type-specific request data inside. The attributes used are from the
7196 * @NL80211_PMSR_REQ_ATTR_MAX: highest attribute number
7206 NL80211_PMSR_REQ_ATTR_MAX = NUM_NL80211_PMSR_REQ_ATTRS - 1
7210 * enum nl80211_peer_measurement_resp - peer measurement response attributes
7214 * type-specific results inside. The attributes used are from the enums
7226 * (*e.g. with FTM per-burst data) this flag will be cleared on all but
7229 * @NL80211_PMSR_RESP_ATTR_PAD: padding for 64-bit attributes, ignore
7232 * @NL80211_PMSR_RESP_ATTR_MAX: highest attribute number
7246 NL80211_PMSR_RESP_ATTR_MAX = NUM_NL80211_PMSR_RESP_ATTRS - 1
7250 * enum nl80211_peer_measurement_peer_attrs - peer attributes for measurement
7254 * @NL80211_PMSR_PEER_ATTR_CHAN: channel definition, nested, using top-level
7264 * @NL80211_PMSR_PEER_ATTR_MAX: highest attribute number
7276 NL80211_PMSR_PEER_ATTR_MAX = NUM_NL80211_PMSR_PEER_ATTRS - 1,
7280 * enum nl80211_peer_measurement_attrs - peer measurement attributes
7284 * advertisement only, indicates the maximum number of peers
7293 * type-specific capabilities inside, which are from the enums
7297 * sub-attributes taken from
7301 * @NL80211_PMSR_ATTR_MAX: highest attribute number
7314 NL80211_PMSR_ATTR_MAX = NUM_NL80211_PMSR_ATTR - 1
7318 * enum nl80211_peer_measurement_ftm_capa - FTM capabilities
7323 * @NL80211_PMSR_FTM_CAPA_ATTR_NON_ASAP: flag attribute indicating non-ASAP
7347 * @NL80211_PMSR_FTM_CAPA_ATTR_MAX: highest attribute number
7365 NL80211_PMSR_FTM_CAPA_ATTR_MAX = NUM_NL80211_PMSR_FTM_CAPA_ATTR - 1
7369 * enum nl80211_peer_measurement_ftm_req - FTM request attributes
7375 * @NL80211_PMSR_FTM_REQ_ATTR_NUM_BURSTS_EXP: number of bursts exponent as in
7376 * 802.11-2016 9.4.2.168 "Fine Timing Measurement Parameters element"
7377 * (u8, 0-15, optional with default 15 i.e. "no preference")
7380 * @NL80211_PMSR_FTM_REQ_ATTR_BURST_DURATION: burst duration, as in 802.11-2016
7381 * Table 9-257 "Burst Duration field encoding" (u8, 0-15, optional with
7383 * @NL80211_PMSR_FTM_REQ_ATTR_FTMS_PER_BURST: number of successful FTM frames
7385 * (u8, 0-31, optional with default 0 i.e. "no preference")
7386 * @NL80211_PMSR_FTM_REQ_ATTR_NUM_FTMR_RETRIES: number of FTMR frame retries
7413 * @NL80211_PMSR_FTM_REQ_ATTR_MAX: highest attribute number
7434 NL80211_PMSR_FTM_REQ_ATTR_MAX = NUM_NL80211_PMSR_FTM_REQ_ATTR - 1
7438 * enum nl80211_peer_measurement_ftm_failure_reasons - FTM failure reasons
7465 * enum nl80211_peer_measurement_ftm_resp - FTM response attributes
7468 * @NL80211_PMSR_FTM_RESP_ATTR_FAIL_REASON: FTM-specific failure reason
7471 * as separate results then it will be the burst index 0...(N-1) and
7473 * @NL80211_PMSR_FTM_RESP_ATTR_NUM_FTMR_ATTEMPTS: number of FTM Request frames
7475 * @NL80211_PMSR_FTM_RESP_ATTR_NUM_FTMR_SUCCESSES: number of FTM Request frames
7479 * @NL80211_PMSR_FTM_RESP_ATTR_NUM_BURSTS_EXP: actual number of bursts exponent
7490 * FTM action frame (optional, nested, using &enum nl80211_rate_info
7493 * action frame (optional, nested, using &enum nl80211_rate_info attrs)
7506 * this is the contents of the Measurement Report Element (802.11-2016
7511 * this is the contents of the Measurement Report Element (802.11-2016
7517 * @NL80211_PMSR_FTM_RESP_ATTR_MAX: highest attribute number
7546 NL80211_PMSR_FTM_RESP_ATTR_MAX = NUM_NL80211_PMSR_FTM_RESP_ATTR - 1
7550 * enum nl80211_obss_pd_attributes - OBSS packet detection attributes
7555 * @NL80211_HE_OBSS_PD_ATTR_NON_SRG_MAX_OFFSET: the non-SRG OBSS PD maximum
7578 NL80211_HE_OBSS_PD_ATTR_MAX = __NL80211_HE_OBSS_PD_ATTR_LAST - 1,
7582 * enum nl80211_bss_color_attributes - BSS Color attributes
7601 NL80211_HE_BSS_COLOR_ATTR_MAX = __NL80211_HE_BSS_COLOR_ATTR_LAST - 1,
7605 * enum nl80211_iftype_akm_attributes - interface type AKM attributes
7625 NL80211_IFTYPE_AKM_ATTR_MAX = __NL80211_IFTYPE_AKM_ATTR_LAST - 1,
7629 * enum nl80211_fils_discovery_attributes - FILS discovery configuration
7630 * from IEEE Std 802.11ai-2016, Annex C.3 MIB detail.
7639 * frame including the headers.
7653 NL80211_FILS_DISCOVERY_ATTR_MAX = __NL80211_FILS_DISCOVERY_ATTR_LAST - 1
7657 * FILS discovery template minimum length with action frame headers and
7663 * enum nl80211_unsol_bcast_probe_resp_attributes - Unsolicited broadcast probe
7673 * frame template (binary).
7687 __NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_LAST - 1
7691 * enum nl80211_sae_pwe_mechanism - The mechanism(s) allowed for SAE PWE
7692 * derivation. Applicable only when WPA3-Personal SAE authentication is
7697 * @NL80211_SAE_PWE_HUNT_AND_PECK: hunting-and-pecking loop only
7698 * @NL80211_SAE_PWE_HASH_TO_ELEMENT: hash-to-element only
7699 * @NL80211_SAE_PWE_BOTH: both hunting-and-pecking loop and hash-to-element
7710 * enum nl80211_sar_type - type of SAR specs
7725 * enum nl80211_sar_attrs - Attributes for SAR spec
7752 NL80211_SAR_ATTR_MAX = __NL80211_SAR_ATTR_LAST - 1,
7756 * enum nl80211_sar_specs_attrs - Attributes for SAR power limit specs
7797 NL80211_SAR_ATTR_SPECS_MAX = __NL80211_SAR_ATTR_SPECS_LAST - 1,
7801 * enum nl80211_mbssid_config_attributes - multiple BSSID (MBSSID) and enhanced
7802 * multi-BSSID advertisements (EMA) in AP mode.
7811 * the maximum number of MBSSID interfaces supported by the driver.
7813 * wiphy->mbssid_max_interfaces to a value more than or equal to 2.
7818 * by setting wiphy->ema_max_profile_periodicity to
7819 * a non-zero value.
7823 * Value must be set to 0 for the transmitting interface and non-zero for
7824 * all non-transmitting interfaces. The userspace will be responsible
7826 * Range: 0 to wiphy->mbssid_max_interfaces-1.
7829 * a non-transmitted profile which provides the interface index (u32) of
7837 * by setting wiphy->ema_max_profile_periodicity to non-zero.
7853 NL80211_MBSSID_CONFIG_ATTR_MAX = __NL80211_MBSSID_CONFIG_ATTR_LAST - 1,
7857 * enum nl80211_ap_settings_flags - AP settings flags