Lines Matching +full:wakeup +full:- +full:event +full:- +full:action

6  * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
13 * Copyright 2015-2017 Intel Deutschland GmbH
14 * Copyright (C) 2018-2020 Intel Corporation
22 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
25 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
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
92 * certain classes of action frames that cannot be handled in the kernel
95 * Frame registration is done on a per-interface basis and registrations
98 * certain type of action frame. In particular with action frames, those
115 * responses to action frames. It is subject to some sanity checking,
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
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
269 * single netdev that uses VLAN tagged frames and separate VLAN-specific netdevs
304 * enum nl80211_commands - supported nl80211 commands
416 * If a wiphy is self-managed (%NL80211_ATTR_WIPHY_SELF_MANAGED_REG), then
430 * to the specified ISO/IEC 3166-1 alpha2 country code. The core will
447 * point to avoid re-using existing command number. The functionality this
486 * %NL80211_ATTR_SCHED_SCAN_MULTI to indicate user-space support for it.
487 * @NL80211_CMD_STOP_SCHED_SCAN: stop a scheduled scan. Returns -ENOENT if
493 * stopped. The driver may issue this event at any time during a
496 * a scheduled scan. This event is also sent when the
538 * never be used for channels 1-11 on the 2 GHz band as they are always
548 * as an event on the "mlme" multicast group indicating completion of the
560 * When used as an event, this reports reception of an Authentication
563 * state. This is similar to MLME-AUTHENTICATE.confirm primitive in the
566 * (including both the header and frame body, but not FCS). This event is
573 * (similar to MLME-ASSOCIATE.request, MLME-REASSOCIATE.request,
574 * MLME-ASSOCIATE.confirm or MLME-REASSOCIATE.confirm primitives). The
581 * MLME-DEAUTHENTICATION.request and MLME-DEAUTHENTICATE.indication
585 * MLME-DISASSOCIATE.request and MLME-DISASSOCIATE.indication primitives).
589 * event includes %NL80211_ATTR_MAC to describe the source MAC address of
593 * event matches with MLME-MICHAELMICFAILURE.indication() primitive
595 * @NL80211_CMD_JOIN_IBSS: Join a new IBSS -- given at least an SSID and a
603 * @NL80211_CMD_LEAVE_IBSS: Leave the IBSS -- no special arguments, the IBSS is
646 * It is also sent as an event, with the BSSID and response IEs when the
649 * non-zero = failure). If %NL80211_ATTR_TIMED_OUT is included in the
650 * event, the connection attempt failed due to not being able to initiate
652 * Non-zero %NL80211_ATTR_STATUS_CODE value is indicated in that case as
656 * fast transition, this event should be followed by an
657 * %NL80211_CMD_PORT_AUTHORIZED event.
668 * off-channel operations like transmit a Public Action frame and wait for
674 * to remain on the channel. This command is also used as an event to
682 * pending remain-on-channel duration if the desired operation has been
687 * This command is also used as an event to notify when a requested
688 * remain-on-channel duration has expired.
697 * backward compatibility reasons, if not given assumes action frames)
711 * as an event indicating reception of a frame that was not processed in
716 * received. If this channel is not the current channel (remain-on-channel
721 * TX status event pertaining to the TX request.
727 * @NL80211_CMD_FRAME_WAIT_CANCEL: When an off-channel TX was requested, this
730 * also sent as an event whenever the driver has completed the off-channel
748 * command is used as an event to indicate the that a trigger level was
754 * with which it switches channels is implementation-defined.
778 * @NL80211_CMD_LEAVE_MESH: Leave the mesh network -- no special arguments, the
782 * notification. This event is used to indicate that an unprotected
785 * notification. This event is used to indicate that an unprotected
800 * @NL80211_CMD_GET_WOWLAN: get Wake-on-Wireless-LAN (WoWLAN) settings.
801 * @NL80211_CMD_SET_WOWLAN: set Wake-on-Wireless-LAN (WoWLAN) settings.
808 * from the driver reporting the wakeup reason. In this case, the
810 * for the wakeup, if it was caused by wireless. If it is not present
811 * in the wakeup notification, the wireless device didn't cause the
812 * wakeup but reports that it was woken up.
818 * contains the data in sub-attributes). After rekeying happened,
819 * this command may also be sent by the driver as an MLME event to
822 * @NL80211_CMD_PMKSA_CANDIDATE: This is used as an event to inform userspace
825 * @NL80211_CMD_TDLS_OPER: Perform a high-level TDLS command (e.g. link setup).
826 * In addition, this can be used as an event to request userspace to take
834 * sent. Public Action codes (802.11-2012 8.1.5.1) will be sent as
835 * 802.11 management frames, while TDLS action codes (802.11-2012
837 * supported Public Action code is %WLAN_PUB_ACTION_TDLS_DISCOVER_RES
844 * frames. Also used as the event sent by the kernel when such a frame
846 * For the event, the %NL80211_ATTR_MAC attribute carries the TA and
849 * only unsubscribe from the event by closing the socket. Subscription
852 * @NL80211_CMD_UNEXPECTED_4ADDR_FRAME: Sent as an event indicating that the
854 * and wasn't already in a 4-addr VLAN. The event will be sent similarly
855 * to the %NL80211_CMD_UNEXPECTED_FRAME event, to the same listener.
862 * up the event with the request. The event includes the same data and
874 * independently of the userspace SME, send this event indicating
877 * sent when a remotely-initiated switch (e.g., when a STA receives a CSA
892 * P2P Device can be used for P2P operations, e.g. remain-on-channel and
893 * public action frame TX.
918 * this event. This command is also used to notify userspace about radars
921 * event.
927 * @NL80211_CMD_UPDATE_FT_IES: Pass down the most up-to-date Fast Transition
930 * @NL80211_CMD_FT_EVENT: Send a Fast transition event from the WLAN driver
932 * with the relevant Information Elements. This event is used to report
935 * @NL80211_CMD_CRIT_PROTOCOL_START: Indicates user-space will start running
946 * new channel information (Channel Switch Announcement - CSA)
955 * @NL80211_CMD_VENDOR: Vendor-specified command/event. The command is specified
956 * by the %NL80211_ATTR_VENDOR_ID attribute and a sub-command in
962 * This may also be sent as an event with the same attributes.
973 * Note that the action frame handshake with the AP shall be handled by
992 * @NL80211_CMD_LEAVE_OCB: Leave the OCB network -- no special arguments, the
995 * @NL80211_CMD_TDLS_CHANNEL_SWITCH: Start channel-switching with a TDLS peer,
1000 * The driver is responsible for continually initiating channel-switching
1003 * @NL80211_CMD_TDLS_CANCEL_CHANNEL_SWITCH: Stop channel-switching with a TDLS
1008 * as an event to indicate changes for devices with wiphy-specific regdom
1011 * @NL80211_CMD_ABORT_SCAN: Stop an ongoing scan. Returns -ENOENT if a scan is
1022 * omitted or set to 0, it means don't-care and the device will
1032 * Since instance ID's can be re-used, this cookie is the right
1034 * event is handled by the user space after it has already added a new
1051 * set to zero, the configuration is changed to don't-care
1063 * @NL80211_CMD_SET_PMK: For offloaded 4-Way handshake, set the PMK or PMK-R0
1066 * PMK-R0, otherwise it specifies the PMK.
1067 * @NL80211_CMD_DEL_PMK: For offloaded 4-Way handshake, delete the previously
1070 * @NL80211_CMD_PORT_AUTHORIZED: An event that indicates an 802.1X FT roam was
1072 * should send this event after indicating 802.1X FT assocation with
1081 * When used as an event indication %NL80211_ATTR_CONTROL_PORT_ETHERTYPE,
1091 * This interface acts both as the event request (driver to user space)
1109 * @NL80211_CMD_STA_OPMODE_CHANGED: An event that notify station's
1170 * frame. This event is used to indicate that a received Beacon frame was
1414 NL80211_CMD_MAX = __NL80211_CMD_AFTER_LAST - 1
1432 /* source-level API compatibility */
1438 * enum nl80211_attrs - nl80211 netlink attributes
1475 * fragmentation with (u32)-1; dot11FragmentationThreshold; u32
1478 * 0..65536, disable with (u32)-1; dot11RTSThreshold; u32
1486 * @NL80211_ATTR_WDEV: wireless device identifier, used for pseudo-devices
1494 * @NL80211_ATTR_KEY_IDX: key ID (u8, 0-3)
1529 * @NL80211_ATTR_MESH_ID: mesh id (1-32 bytes).
1530 * @NL80211_ATTR_STA_PLINK_ACTION: action to perform on the mesh peer link
1540 * @NL80211_ATTR_REG_ALPHA2: an ISO-3166-alpha2 country code for which the
1546 * IEEE-802.11 country information element to identify a country.
1587 * scanning and include a zero-length SSID (wildcard) for wildcard scan
1629 * is used, e.g., with %NL80211_CMD_AUTHENTICATE event
1649 * @NL80211_ATTR_CONTROL_PORT_ETHERTYPE: A 16-bit value indicating the
1666 * flag. When used with %NL80211_ATTR_CONTROL_PORT_NO_PREAUTH, pre-auth
1670 * We recommend using nested, driver-specific attributes within this.
1673 * event was due to the AP disconnecting the station, and not due to
1676 * event (u16)
1711 * %NL80211_KEY_* sub-attributes
1714 * with %NL80211_KEY_* sub-attributes
1726 * @NL80211_ATTR_4ADDR: Use 4-address frames on a virtual interface
1739 * remain-on-channel operation, in milliseconds, u32.
1741 * @NL80211_ATTR_COOKIE: Generic 64-bit cookie to identify objects.
1774 * nested attribute with %NL80211_ATTR_CQM_* sub-attributes.
1789 * for non-automatic settings.
1792 * means support for per-station GTKs.
1806 * Non-802.11n drivers can derive wether to use diversity or not.
1808 * support by returning -EINVAL.
1861 * pass-thru filter rules.
1867 * Thus, the implementation is somewhat hardware-dependent, but
1869 * needs to handle all the non-filtered results anyway.
1873 * will never let it go through), -EINVAL may be returned.
1918 * for management frames transmission. In order to avoid p2p probe/action
1924 * @NL80211_ATTR_TDLS_ACTION: Low level TDLS action code (e.g. link setup
1927 * @NL80211_ATTR_TDLS_DIALOG_TOKEN: Non-zero token for uniquely identifying a
1951 * requests while operating in AP-mode.
1956 * probe-response frame. The DA field in the 802.11 header is zero-ed out,
1964 * MCS rates, MAX-AMSDU, HT-20-40 and HT_CAP_SGI_40
1983 * @NL80211_ATTR_RX_SIGNAL_DBM: signal strength in dBm (as a 32-bit int);
2001 * This contains the authentication frame body (non-IE and IE data),
2023 * @NL80211_ATTR_LOCAL_MESH_POWER_MODE: local mesh STA link-specific power mode
2036 * @NL80211_ATTR_RADAR_EVENT: Type of radar event for notification to userspace,
2041 * 802.11-2012 8.4.2.29 for more information.
2046 * the driver, e.g., to enable TDLS power save (PU-APSD).
2050 * and PU-APSD.
2077 * until the channel switch event.
2114 * @NL80211_ATTR_VENDOR_ID: The vendor ID, either a 24-bit OUI or, if
2116 * @NL80211_ATTR_VENDOR_SUBCMD: vendor sub-command
2119 * @NL80211_ATTR_VENDOR_EVENTS: used for event list advertising in the wiphy
2124 * in IEEE Std 802.11-2012, 8.4.2.97.
2203 * is self-managing its regulatory information and any regulatory domain
2210 * least-significant bit of the first byte in the array, ie. bit index 0
2224 * net-detect scan is started, counting from the moment the
2250 * it contains the behaviour-specific attribute containing the parameters for
2256 * @NL80211_ATTR_PAD: attribute used for padding for 64-bit alignment
2263 * @NL80211_ATTR_MU_MIMO_GROUP_DATA: array of 24 bytes that defines a MU-MIMO
2274 * Set this attribute in order to monitor packets using the given MU-MIMO
2278 * when using MU-MIMO air sniffer.
2311 * it is optional. If no bands are set, it means don't-care and
2346 * e.g., with %NL80211_CMD_CONNECT event.
2348 * @NL80211_ATTR_FILS_ERP_USERNAME: EAP Re-authentication Protocol (ERP)
2352 * @NL80211_ATTR_FILS_ERP_REALM: EAP Re-authentication Protocol (ERP) realm part
2356 * @NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM: Unsigned 16-bit ERP next sequence number
2360 * @NL80211_ATTR_FILS_ERP_RRK: ERP re-authentication Root Key (rRK) for the
2366 * @NL80211_ATTR_FILS_CACHE_ID: A 2-octet identifier advertized by a FILS AP
2373 * PSK for offloading 4-way handshake for WPA/WPA2-PSK networks. For 802.1X
2375 * support this attribute specifies the PMK-R0 if NL80211_ATTR_PMKR0_NAME
2378 * @NL80211_ATTR_SCHED_SCAN_MULTI: flag attribute which user-space shall use to
2383 * @NL80211_ATTR_WANT_1X_4WAY_HS: flag attribute which user-space can include
2385 * wants to use the supported offload of the 4-way handshake.
2386 * @NL80211_ATTR_PMKR0_NAME: PMK-R0 Name for offloaded FT.
2392 * %NL80211_CMD_EXTERNAL_AUTH request event.
2415 * @NL80211_ATTR_FTM_RESPONDER: nested attribute which user-space can include
2431 * with the appropriate sub-attributes.
2441 * the default per-interface tx power setting will be overriding. Driver
2442 * should be picking up the lowest tx power, either tx power per-interface
2443 * or per-station.
2447 * SAE authentication for WPA3-Personal networks.
2474 * nested attribute with &enum nl80211_tid_config_attr sub-attributes;
2475 * on output (in wiphy attributes) it contains only the feature sub-
2531 * derivation in WPA3-Personal networks which are using SAE authentication.
3030 NL80211_ATTR_MAX = __NL80211_ATTR_AFTER_LAST - 1
3033 /* source-level API compatibility */
3085 #define NL80211_SCAN_RSSI_THOLD_OFF -300
3090 * enum nl80211_iftype - (virtual) interface types
3097 * are a bit special in that they must always be tied to a pre-existing
3135 NL80211_IFTYPE_MAX = NUM_NL80211_IFTYPES - 1
3139 * enum nl80211_sta_flags - station flags
3151 * @NL80211_STA_FLAG_TDLS_PEER: station is a TDLS peer -- this flag should
3174 NL80211_STA_FLAG_MAX = __NL80211_STA_FLAG_AFTER_LAST - 1
3178 * enum nl80211_sta_p2p_ps_status - station support of P2P PS
3194 * struct nl80211_sta_flag_update - station flags mask/set
3206 * enum nl80211_he_gi - HE guard interval
3218 * enum nl80211_he_ltf - HE long training field
3230 * enum nl80211_he_ru_alloc - HE RU allocation values
3231 * @NL80211_RATE_INFO_HE_RU_ALLOC_26: 26-tone RU allocation
3232 * @NL80211_RATE_INFO_HE_RU_ALLOC_52: 52-tone RU allocation
3233 * @NL80211_RATE_INFO_HE_RU_ALLOC_106: 106-tone RU allocation
3234 * @NL80211_RATE_INFO_HE_RU_ALLOC_242: 242-tone RU allocation
3235 * @NL80211_RATE_INFO_HE_RU_ALLOC_484: 484-tone RU allocation
3236 * @NL80211_RATE_INFO_HE_RU_ALLOC_996: 996-tone RU allocation
3237 * @NL80211_RATE_INFO_HE_RU_ALLOC_2x996: 2x996-tone RU allocation
3250 * enum nl80211_rate_info - bitrate information
3255 * a 16-bit value, and new one that represents a 32-bit value.
3258 * (>6.5535Gbps) only 32-bit attribute is included.
3259 * User space tools encouraged to use the 32-bit attribute and fall
3260 * back to the 16-bit one for compatibility with older kernels.
3272 * @NL80211_RATE_INFO_80P80_MHZ_WIDTH: unused - 80+80 is treated the
3275 * @NL80211_RATE_INFO_10_MHZ_WIDTH: 10 MHz width - note that this is
3278 * @NL80211_RATE_INFO_5_MHZ_WIDTH: 5 MHz width - note that this is
3281 * @NL80211_RATE_INFO_HE_MCS: HE MCS index (u8, 0-11)
3282 * @NL80211_RATE_INFO_HE_NSS: HE NSS value (u8, 1-8)
3287 * non-OFDMA was used (u8, see &enum nl80211_he_ru_alloc)
3312 NL80211_RATE_INFO_MAX = __NL80211_RATE_INFO_AFTER_LAST - 1
3316 * enum nl80211_sta_bss_param - BSS information collected by STA
3342 NL80211_STA_BSS_PARAM_MAX = __NL80211_STA_BSS_PARAM_AFTER_LAST - 1
3346 * enum nl80211_sta_info - station information
3384 * @NL80211_STA_INFO_LOCAL_PM: local mesh STA link-specific power mode
3385 * @NL80211_STA_INFO_PEER_PM: peer mesh STA link-specific power mode
3387 * non-peer STA
3388 * @NL80211_STA_INFO_CHAIN_SIGNAL: per-chain signal strength of last PPDU
3390 * @NL80211_STA_INFO_CHAIN_SIGNAL_AVG: per-chain signal strength average
3399 * @NL80211_STA_INFO_TID_STATS: per-TID statistics (see &enum nl80211_tid_stats)
3401 * TID+1 and the special TID 16 (i.e. value 17) is used for non-QoS frames;
3406 * @NL80211_STA_INFO_PAD: attribute used for padding for 64-bit alignment
3476 NL80211_STA_INFO_MAX = __NL80211_STA_INFO_AFTER_LAST - 1
3479 /* we renamed this - stay compatible */
3484 * enum nl80211_tid_stats - per TID statistics attributes
3493 * @NL80211_TID_STATS_PAD: attribute used for padding for 64-bit alignment
3509 NL80211_TID_STATS_MAX = NUM_NL80211_TID_STATS - 1
3513 * enum nl80211_txq_stats - per TXQ statistics attributes
3524 * (only for per-phy stats)
3547 NL80211_TXQ_STATS_MAX = NUM_NL80211_TXQ_STATS - 1
3551 * enum nl80211_mpath_flags - nl80211 mesh path flags
3568 * enum nl80211_mpath_info - mesh path information
3602 NL80211_MPATH_INFO_MAX = __NL80211_MPATH_INFO_AFTER_LAST - 1
3606 * enum nl80211_band_iftype_attr - Interface type data attributes
3637 NL80211_BAND_IFTYPE_ATTR_MAX = __NL80211_BAND_IFTYPE_ATTR_AFTER_LAST - 1
3641 * enum nl80211_band_attr - band attributes
3647 * @NL80211_BAND_ATTR_HT_MCS_SET: 16-byte attribute containing the MCS set as
3650 * @NL80211_BAND_ATTR_HT_AMPDU_FACTOR: A-MPDU factor, as in 11n
3651 * @NL80211_BAND_ATTR_HT_AMPDU_DENSITY: A-MPDU density, as in 11n
3652 * @NL80211_BAND_ATTR_VHT_MCS_SET: 32-byte attribute containing the MCS set as
3685 NL80211_BAND_ATTR_MAX = __NL80211_BAND_ATTR_AFTER_LAST - 1
3691 * enum nl80211_wmm_rule - regulatory wmm rule
3710 NL80211_WMMR_MAX = __NL80211_WMMR_LAST - 1
3714 * enum nl80211_frequency_attr - frequency attributes
3730 * @NL80211_FREQUENCY_ATTR_NO_HT40_MINUS: HT40- isn't possible with this
3751 * off-channel on a channel that has the IR_CONCURRENT attribute set can be
3754 * off-channel while the device is also connected to an AP with DFS and
3755 * radar detection on the UNII band (it is up to user-space, i.e.,
3817 NL80211_FREQUENCY_ATTR_MAX = __NL80211_FREQUENCY_ATTR_AFTER_LAST - 1
3828 * enum nl80211_bitrate_attr - bitrate attributes
3844 NL80211_BITRATE_ATTR_MAX = __NL80211_BITRATE_ATTR_AFTER_LAST - 1
3848 * enum nl80211_initiator - Indicates the initiator of a reg domain request
3859 * structure passed by userspace (CRDA) from our wireless-regdb.
3861 * be disabled we disable the channel and re-enable it upon disassociation.
3871 * enum nl80211_reg_type - specifies the type of regulatory domain
3878 * driver specific world regulatory domain. These do not apply system-wide
3882 * of an intersection between two regulatory domains -- the previously
3894 * enum nl80211_reg_rule_attr - regulatory rule attributes
3933 NL80211_REG_RULE_ATTR_MAX = __NL80211_REG_RULE_ATTR_AFTER_LAST - 1
3937 * enum nl80211_sched_scan_match_attr - scheduled scan match attributes
3954 * BSS-es in the specified band is to be adjusted before doing
3955 * RSSI-based BSS selection. The attribute value is a packed structure
3984 __NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST - 1
3991 * enum nl80211_reg_rule_flags - regulatory rule flags
4007 * @NL80211_RRF_NO_HT40MINUS: channels can't be used in HT40- operation
4043 * enum nl80211_dfs_regions - regulatory DFS regions
4058 * enum nl80211_user_reg_hint_type - type of user regulatory hint
4081 * enum nl80211_survey_info - survey information
4102 * @NL80211_SURVEY_INFO_PAD: attribute used for padding for 64-bit alignment
4127 NL80211_SURVEY_INFO_MAX = __NL80211_SURVEY_INFO_AFTER_LAST - 1
4138 * enum nl80211_mntr_flags - monitor configuration flags
4167 NL80211_MNTR_FLAG_MAX = __NL80211_MNTR_FLAG_AFTER_LAST - 1
4171 * enum nl80211_mesh_power_mode - mesh power save modes
4184 * @__NL80211_MESH_POWER_AFTER_LAST - internal use
4185 * @NL80211_MESH_POWER_MAX - highest possible power save level
4195 NL80211_MESH_POWER_MAX = __NL80211_MESH_POWER_AFTER_LAST - 1
4199 * enum nl80211_meshconf_params - mesh configuration parameters
4230 * @NL80211_MESHCONF_HWMP_MAX_PREQ_RETRIES: the number of action frames
4245 * TUs) during which an MP can send only one action frame containing a PREQ
4265 * TUs) during which a mesh STA can send only one Action frame containing a
4268 * @NL80211_MESHCONF_FORWARDING: set Mesh STA as forwarding or non-forwarding
4269 * or forwarding entity (default is TRUE - forwarding entity)
4291 * (in TUs) during which a mesh STA can send only one Action frame
4309 * @NL80211_MESHCONF_NOLEARN: Try to avoid multi-hop path discovery (e.g.
4311 * this might not be the optimal decision as a multi-hop route might be
4357 NL80211_MESHCONF_ATTR_MAX = __NL80211_MESHCONF_ATTR_AFTER_LAST - 1
4361 * enum nl80211_mesh_setup_params - mesh setup parameters
4422 NL80211_MESH_SETUP_ATTR_MAX = __NL80211_MESH_SETUP_ATTR_AFTER_LAST - 1
4426 * enum nl80211_txq_attr - TX queue parameter attributes
4432 * 2^n-1 in the range 1..32767]
4434 * 2^n-1 in the range 1..32767]
4449 NL80211_TXQ_ATTR_MAX = __NL80211_TXQ_ATTR_AFTER_LAST - 1
4468 * enum nl80211_channel_type - channel type
4469 * @NL80211_CHAN_NO_HT: 20 MHz, non-HT channel
4484 * enum nl80211_key_mode - Key mode
4505 * enum nl80211_chan_width - channel width definitions
4510 * @NL80211_CHAN_WIDTH_20_NOHT: 20 MHz, non-HT channel
4545 * enum nl80211_bss_scan_width - control channel width for a BSS
4564 * enum nl80211_bss - netlink attributes for a BSS
4602 * @NL80211_BSS_PAD: attribute used for padding for 64-bit alignment
4609 * @NL80211_BSS_CHAIN_SIGNAL: per-chain signal strength of last BSS update.
4641 NL80211_BSS_MAX = __NL80211_BSS_AFTER_LAST - 1
4645 * enum nl80211_bss_status - BSS "status"
4663 * enum nl80211_auth_type - AuthenticationType
4676 * trying multiple times); this is invalid in netlink -- leave out
4691 NL80211_AUTHTYPE_MAX = __NL80211_AUTHTYPE_NUM - 1,
4696 * enum nl80211_key_type - Key Type
4711 * enum nl80211_mfp - Management frame protection state
4729 * enum nl80211_key_default_types - key default types
4746 * enum nl80211_key_attributes - key attributes
4751 * @NL80211_KEY_IDX: key ID (u8, 0-3)
4786 NL80211_KEY_MAX = __NL80211_KEY_AFTER_LAST - 1
4790 * enum nl80211_tx_rate_attributes - TX rate set attributes
4792 * @NL80211_TXRATE_LEGACY: Legacy (non-MCS) rates allowed for TX rate selection
4820 NL80211_TXRATE_MAX = __NL80211_TXRATE_AFTER_LAST - 1
4827 * struct nl80211_txrate_vht - VHT MCS/NSS txrate bitmap
4836 * struct nl80211_txrate_he - HE MCS/NSS txrate bitmap
4850 * enum nl80211_band - Frequency band
4852 * @NL80211_BAND_5GHZ: around 5 GHz band (4.9 - 5.7 GHz)
4853 * @NL80211_BAND_60GHZ: around 60 GHz band (58.32 - 69.12 GHz)
4854 * @NL80211_BAND_6GHZ: around 6 GHz band (5.9 - 7.2 GHz)
4870 * enum nl80211_ps_state - powersave state
4880 * enum nl80211_attr_cqm - connection quality monitor attributes
4883 * the threshold for the RSSI level at which an event will be sent. Zero
4885 * set, multiple values can be supplied as a low-to-high sorted array of
4889 * the minimum amount the RSSI level must change after an event before a
4890 * new event may be issued (to reduce effects of RSSI oscillation).
4891 * @NL80211_ATTR_CQM_RSSI_THRESHOLD_EVENT: RSSI threshold event
4906 * loss event
4908 * RSSI threshold event.
4926 NL80211_ATTR_CQM_MAX = __NL80211_ATTR_CQM_AFTER_LAST - 1
4930 * enum nl80211_cqm_rssi_threshold_event - RSSI threshold event
4945 * enum nl80211_tx_power_setting - TX power adjustment
4957 * enum nl80211_tid_config - TID config state
4966 /* enum nl80211_tx_rate_setting - TX rate configuration type
4977 /* enum nl80211_tid_config_attr - TID specific configuration.
4978 * @NL80211_TID_CONFIG_ATTR_PAD: pad attribute for 64-bit values
4980 * for per-vif configuration; doesn't list the ones that are generic
4982 * @NL80211_TID_CONFIG_ATTR_PEER_SUPP: same as the previous per-vif one, but
4994 * transmission, user-space sets this configuration in
4999 * transmission, user-space sets this configuration in
5039 NL80211_TID_CONFIG_ATTR_MAX = __NL80211_TID_CONFIG_ATTR_AFTER_LAST - 1
5043 * enum nl80211_packet_pattern_attr - packet pattern attribute
5048 * a bit for each byte in the pattern. The lowest-order bit corresponds
5050 * in a little-endian-like format, i.e. the 9th byte of the pattern
5051 * corresponds to the lowest-order bit in the second byte of the mask.
5070 MAX_NL80211_PKTPAT = NUM_NL80211_PKTPAT - 1,
5074 * struct nl80211_pattern_support - packet pattern support information
5103 * enum nl80211_wowlan_triggers - WoWLAN trigger definitions
5106 * the chip into a special state -- works best with chips that have
5107 * support for low-power operation already (flag)
5111 * is detected is implementation-specific (flag)
5117 * Each pattern defines a wakeup packet. Packet offset is associated with
5125 * When reporting wakeup. it is a u32 attribute containing the 0-based
5126 * index of the pattern that caused the wakeup, in the patterns passed
5135 * @NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE: wake up on 4-way handshake (flag)
5138 * @NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211: For wakeup reporting only, contains
5139 * the 802.11 packet that caused the wakeup, e.g. a deauth frame. The frame
5145 * @NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023: For wakeup reporting only, contains the
5146 * 802.11 packet that caused the wakeup, e.g. a magic packet. The frame may
5153 * "TCP connection wakeup" for more details. This is a nested attribute
5156 * @NL80211_WOWLAN_TRIG_TCP_WAKEUP_MATCH: For wakeup reporting only, the
5157 * wakeup packet was received on the TCP connection
5158 * @NL80211_WOWLAN_TRIG_WAKEUP_TCP_CONNLOST: For wakeup reporting only, the
5160 * @NL80211_WOWLAN_TRIG_WAKEUP_TCP_NOMORETOKENS: For wakeup reporting only,
5188 * These nested attributes are used to configure the wakeup triggers and
5189 * to report the wakeup reason(s).
5215 MAX_NL80211_WOWLAN_TRIG = NUM_NL80211_WOWLAN_TRIG - 1
5219 * DOC: TCP connection wakeup
5228 * optionally, a token from a list of tokens. This serves as a keep-alive
5231 * During this keep-alive period, the server doesn't send any data to the
5232 * client. When receiving data, it is compared against the wakeup pattern
5242 * struct nl80211_wowlan_tcp_data_seq - WoWLAN TCP data sequence
5256 * struct nl80211_wowlan_tcp_data_token - WoWLAN TCP data token config
5268 * struct nl80211_wowlan_tcp_data_token_feature - data token features
5278 * enum nl80211_wowlan_tcp_attrs - WoWLAN TCP connection parameters
5325 MAX_NL80211_WOWLAN_TCP = NUM_NL80211_WOWLAN_TCP - 1
5329 * struct nl80211_coalesce_rule_support - coalesce rule support information
5344 * enum nl80211_attr_coalesce_rule - coalesce rule attribute
5362 NL80211_ATTR_COALESCE_RULE_MAX = NUM_NL80211_ATTR_COALESCE_RULE - 1
5366 * enum nl80211_coalesce_condition - coalesce rule conditions
5378 * enum nl80211_iface_limit_attrs - limit attributes
5394 MAX_NL80211_IFACE_LIMIT = NUM_NL80211_IFACE_LIMIT - 1
5398 * enum nl80211_if_combination_attrs -- interface combination attributes
5427 * numbers = [ #{AP, P2P-GO} <= 8 ], BI min gcd, channels = 1, max = 8,
5433 * numbers = [ #{STA} <= 1, #{P2P-client,P2P-GO} <= 3 ], max = 4
5458 MAX_NL80211_IFACE_COMB = NUM_NL80211_IFACE_COMB - 1
5463 * enum nl80211_plink_state - state of a mesh peer link finite state machine
5491 MAX_NL80211_PLINK_STATES = NUM_NL80211_PLINK_STATES - 1
5495 * enum nl80211_plink_action - actions to perform in mesh peers
5497 * @NL80211_PLINK_ACTION_NO_ACTION: perform no action
5518 * enum nl80211_rekey_data - attributes for GTK rekey offload
5536 MAX_NL80211_REKEY_DATA = NUM_NL80211_REKEY_DATA - 1
5540 * enum nl80211_hidden_ssid - values for %NL80211_ATTR_HIDDEN_SSID
5543 * @NL80211_HIDDEN_SSID_ZERO_LEN: hide SSID by using zero-length SSID element
5555 * enum nl80211_sta_wme_attr - station WME attributes
5571 NL80211_STA_WME_MAX = __NL80211_STA_WME_AFTER_LAST - 1
5575 * enum nl80211_pmksa_candidate_attr - attributes for PMKSA caching candidates
5580 * @NL80211_PMKSA_CANDIDATE_PREAUTH: RSN pre-authentication supported (flag)
5594 MAX_NL80211_PMKSA_CANDIDATE = NUM_NL80211_PMKSA_CANDIDATE - 1
5598 * enum nl80211_tdls_operation - values for %NL80211_ATTR_TDLS_OPERATION
5614 * enum nl80211_ap_sme_features - device-integrated AP features
5622 * enum nl80211_feature_flags - device/driver features
5640 * @NL80211_FEATURE_VIF_TXPOWER: The driver supports per-vif TX power setting
5670 * channel bandwidth change (e.g., HT 20 <-> 40 MHz channel) during the
5680 * management TPC Report action frame, and in the Radio Measurement Link
5681 * Measurement Report action frame.
5693 * TSPEC sessions (TID aka TSID 0-7) with the %NL80211_CMD_ADD_TX_TS
5695 * needs to be able to handle Block-Ack agreements and other things.
5750 * enum nl80211_ext_feature_index - bit index of extended features.
5757 * @NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER: This device supports MU-MIMO air
5764 * time the scan started in scan results event. The time is the TSF of
5793 * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK: Device wants to do 4-way
5796 * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X: Device wants to do doing 4-way
5815 * Device or driver will do all DFS-related actions by itself,
5816 * informing user-space about CAC progress, radar detection event,
5817 * channel change triggered by radar detection event.
5818 * No need to start CAC from user-space, no need to react to
5819 * "radar detected" event.
5824 * @NL80211_EXT_FEATURE_TXQS: Driver supports FQ-CoDel-enabled intermediate
5835 * able to rekey an in-use key correctly. Userspace must not rekey PTK keys
5839 * Individually Addressed Frames" from IEEE802.11-2016.
5858 * with VLAN tagged frames and separate VLAN-specific netdevs added using
5893 * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_AP_PSK: Device wants to do 4-way
5938 /* we renamed this - stay compatible */
5969 MAX_NL80211_EXT_FEATURES = NUM_NL80211_EXT_FEATURES - 1
5973 * enum nl80211_probe_resp_offload_support_attr - optional supported
5974 * protocols for probe-response offloading by the driver/FW.
5977 * protocols. Typically a subset of probe-requests belonging to a
5994 * enum nl80211_connect_failed_reason - connection request failed reasons
6005 * enum nl80211_timeout_reason - timeout reasons
6020 * enum nl80211_scan_flags - scan request control flags
6035 * will be lost while scanning off-channel, therefore it must be used only
6056 * a suitable candidate for (re-)association - suitable in terms of
6102 * enum nl80211_acl_policy - access control policy
6120 * enum nl80211_smps_mode - SMPS mode
6135 NL80211_SMPS_MAX = __NL80211_SMPS_AFTER_LAST - 1
6139 * enum nl80211_radar_event - type of radar event for DFS operation
6141 * Type of event to be used with NL80211_ATTR_RADAR_EVENT to inform userspace
6150 * @NL80211_RADAR_NOP_FINISHED: The Non-Occupancy Period for this channel is
6153 * non-operating channel is expired and no longer valid. New CAC must
6155 * applicable for ETSI dfs domain where pre-CAC is valid for ever.
6169 * enum nl80211_dfs_state - DFS states for channels
6186 * enum nl80211_protocol_features - nl80211 protocol features
6198 * enum nl80211_crit_proto_id - nl80211 critical protocol identifiers
6219 * enum nl80211_rxmgmt_flags - flags for received management frame.
6242 * struct nl80211_vendor_cmd_info - vendor command data
6244 * value is a 24-bit OUI; if it is set then a separately allocated ID
6247 * @subcmd: sub-command ID for the command
6255 * enum nl80211_tdls_peer_capability - TDLS peer flags.
6271 * enum nl80211_sched_scan_plan - scanning plan for scheduled scan
6291 __NL80211_SCHED_SCAN_PLAN_AFTER_LAST - 1
6295 * struct nl80211_bss_select_rssi_adjust - RSSI adjustment parameters.
6307 * enum nl80211_bss_select_attr - attributes for bss selection.
6310 * @NL80211_BSS_SELECT_ATTR_RSSI: Flag indicating only RSSI-based BSS selection
6314 * When there are multiple BSS-es in the preferred band, the driver
6315 * shall use RSSI-based BSS selection as a second step. The value of
6318 * BSS-es in the specified band is to be adjusted before doing
6319 * RSSI-based BSS selection. The attribute value is a packed structure
6336 NL80211_BSS_SELECT_ATTR_MAX = __NL80211_BSS_SELECT_ATTR_AFTER_LAST - 1
6340 * enum nl80211_nan_function_type - NAN function type
6346 * @NL80211_NAN_FUNC_FOLLOW_UP: function is follow-up
6355 NL80211_NAN_FUNC_MAX_TYPE = __NL80211_NAN_FUNC_TYPE_AFTER_LAST - 1,
6359 * enum nl80211_nan_publish_type - NAN publish tx type
6372 * enum nl80211_nan_func_term_reason - NAN functions termination reason
6391 * enum nl80211_nan_func_attributes - NAN function attributes
6453 NL80211_NAN_FUNC_ATTR_MAX = NUM_NL80211_NAN_FUNC_ATTR - 1
6457 * enum nl80211_nan_srf_attributes - NAN Service Response filter attributes
6480 NL80211_NAN_SRF_ATTR_MAX = NUM_NL80211_NAN_SRF_ATTR - 1,
6484 * enum nl80211_nan_match_attributes - NAN match attributes
6503 NL80211_NAN_MATCH_ATTR_MAX = NUM_NL80211_NAN_MATCH_ATTR - 1
6507 * nl80211_external_auth_action - Action to perform with external
6518 * enum nl80211_ftm_responder_attributes - fine timing measurement
6523 * (9.4.2.22 in 802.11-2016) with type 8 - LCI (9.4.2.22.10),
6526 * (9.4.2.22 in 802.11-2016) with type 11 - Civic (Section 9.4.2.22.13),
6540 NL80211_FTM_RESP_ATTR_MAX = __NL80211_FTM_RESP_ATTR_LAST - 1,
6544 * enum nl80211_ftm_responder_stats - FTM responder statistics
6556 * @NL80211_FTM_STATS_NON_ASAP_NUM: number of non-ASAP sessions (u32)
6557 * @NL80211_FTM_STATS_TOTAL_DURATION_MSEC: total sessions durations - gives an
6559 * @NL80211_FTM_STATS_UNKNOWN_TRIGGERS_NUM: number of unknown FTM triggers -
6563 * - initiator asks for a new scheduling although it already has scheduled
6586 NL80211_FTM_STATS_MAX = __NL80211_FTM_STATS_AFTER_LAST - 1
6590 * enum nl80211_preamble - frame preamble types
6606 * enum nl80211_peer_measurement_type - peer measurement types
6621 NL80211_PMSR_TYPE_MAX = NUM_NL80211_PMSR_TYPES - 1
6625 * enum nl80211_peer_measurement_status - peer measurement status
6629 * @NL80211_PMSR_STATUS_FAILURE: measurement failed, a type-dependent
6640 * enum nl80211_peer_measurement_req - peer measurement request attributes
6644 * type-specific request data inside. The attributes used are from the
6660 NL80211_PMSR_REQ_ATTR_MAX = NUM_NL80211_PMSR_REQ_ATTRS - 1
6664 * enum nl80211_peer_measurement_resp - peer measurement response attributes
6668 * type-specific results inside. The attributes used are from the enums
6680 * (*e.g. with FTM per-burst data) this flag will be cleared on all but
6683 * @NL80211_PMSR_RESP_ATTR_PAD: padding for 64-bit attributes, ignore
6700 NL80211_PMSR_RESP_ATTR_MAX = NUM_NL80211_PMSR_RESP_ATTRS - 1
6704 * enum nl80211_peer_measurement_peer_attrs - peer attributes for measurement
6708 * @NL80211_PMSR_PEER_ATTR_CHAN: channel definition, nested, using top-level
6730 NL80211_PMSR_PEER_ATTR_MAX = NUM_NL80211_PMSR_PEER_ATTRS - 1,
6734 * enum nl80211_peer_measurement_attrs - peer measurement attributes
6747 * type-specific capabilities inside, which are from the enums
6751 * sub-attributes taken from
6768 NL80211_PMSR_ATTR_MAX = NUM_NL80211_PMSR_ATTR - 1
6772 * enum nl80211_peer_measurement_ftm_capa - FTM capabilities
6777 * @NL80211_PMSR_FTM_CAPA_ATTR_NON_ASAP: flag attribute indicating non-ASAP
6819 NL80211_PMSR_FTM_CAPA_ATTR_MAX = NUM_NL80211_PMSR_FTM_CAPA_ATTR - 1
6823 * enum nl80211_peer_measurement_ftm_req - FTM request attributes
6830 * 802.11-2016 9.4.2.168 "Fine Timing Measurement Parameters element"
6831 * (u8, 0-15, optional with default 15 i.e. "no preference")
6834 * @NL80211_PMSR_FTM_REQ_ATTR_BURST_DURATION: burst duration, as in 802.11-2016
6835 * Table 9-257 "Burst Duration field encoding" (u8, 0-15, optional with
6839 * (u8, 0-31, optional with default 0 i.e. "no preference")
6880 NL80211_PMSR_FTM_REQ_ATTR_MAX = NUM_NL80211_PMSR_FTM_REQ_ATTR - 1
6884 * enum nl80211_peer_measurement_ftm_failure_reasons - FTM failure reasons
6911 * enum nl80211_peer_measurement_ftm_resp - FTM response attributes
6914 * @NL80211_PMSR_FTM_RESP_ATTR_FAIL_REASON: FTM-specific failure reason
6917 * as separate results then it will be the burst index 0...(N-1) and
6931 * @NL80211_PMSR_FTM_RESP_ATTR_RSSI_AVG: average RSSI across all FTM action
6933 * @NL80211_PMSR_FTM_RESP_ATTR_RSSI_SPREAD: RSSI spread across all FTM action
6936 * FTM action frame (optional, nested, using &enum nl80211_rate_info
6939 * action frame (optional, nested, using &enum nl80211_rate_info attrs)
6952 * this is the contents of the Measurement Report Element (802.11-2016
6957 * this is the contents of the Measurement Report Element (802.11-2016
6992 NL80211_PMSR_FTM_RESP_ATTR_MAX = NUM_NL80211_PMSR_FTM_RESP_ATTR - 1
6996 * enum nl80211_obss_pd_attributes - OBSS packet detection attributes
7001 * @NL80211_HE_OBSS_PD_ATTR_NON_SRG_MAX_OFFSET: the non-SRG OBSS PD maximum
7024 NL80211_HE_OBSS_PD_ATTR_MAX = __NL80211_HE_OBSS_PD_ATTR_LAST - 1,
7028 * enum nl80211_bss_color_attributes - BSS Color attributes
7047 NL80211_HE_BSS_COLOR_ATTR_MAX = __NL80211_HE_BSS_COLOR_ATTR_LAST - 1,
7051 * enum nl80211_iftype_akm_attributes - interface type AKM attributes
7071 NL80211_IFTYPE_AKM_ATTR_MAX = __NL80211_IFTYPE_AKM_ATTR_LAST - 1,
7075 * enum nl80211_fils_discovery_attributes - FILS discovery configuration
7076 * from IEEE Std 802.11ai-2016, Annex C.3 MIB detail.
7084 * @NL80211_FILS_DISCOVERY_ATTR_TMPL: Template data for FILS discovery action
7099 NL80211_FILS_DISCOVERY_ATTR_MAX = __NL80211_FILS_DISCOVERY_ATTR_LAST - 1
7103 * FILS discovery template minimum length with action frame headers and
7109 * enum nl80211_unsol_bcast_probe_resp_attributes - Unsolicited broadcast probe
7132 __NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_LAST - 1
7136 * enum nl80211_sae_pwe_mechanism - The mechanism(s) allowed for SAE PWE
7137 * derivation. Applicable only when WPA3-Personal SAE authentication is
7142 * @NL80211_SAE_PWE_HUNT_AND_PECK: hunting-and-pecking loop only
7143 * @NL80211_SAE_PWE_HASH_TO_ELEMENT: hash-to-element only
7144 * @NL80211_SAE_PWE_BOTH: both hunting-and-pecking loop and hash-to-element