Lines Matching +full:combined +full:- +full:power +full:- +full:req

6  * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
13 * Copyright 2015-2017 Intel Deutschland GmbH
14 * Copyright (C) 2018-2021 Intel Corporation
32 * be careful not to break things - i.e. don't move anything around or so
74 * - a setup station entry is added, not yet authorized, without any rate
76 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid
79 * - %NL80211_TDLS_ENABLE_LINK is then used
80 * - after this, the only valid operation is to remove it by tearing down
95 * Frame registration is done on a per-interface basis and registrations
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
162 * and power consumption.
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
426 * %NL80211_ATTR_FREQ_RANGE_MAX_BW with an attached power rule given by
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
538 * never be used for channels 1-11 on the 2 GHz band as they are always
563 * state. This is similar to MLME-AUTHENTICATE.confirm primitive in the
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).
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
649 * non-zero = failure). If %NL80211_ATTR_TIMED_OUT is included in the
652 * Non-zero %NL80211_ATTR_STATUS_CODE value is indicated in that case as
671 * off-channel operations like transmit a Public Action frame and wait for
685 * pending remain-on-channel duration if the desired operation has been
691 * remain-on-channel duration has expired.
719 * received. If this channel is not the current channel (remain-on-channel
730 * @NL80211_CMD_FRAME_WAIT_CANCEL: When an off-channel TX was requested, this
733 * also sent as an event whenever the driver has completed the off-channel
757 * with which it switches channels is implementation-defined.
782 * @NL80211_CMD_LEAVE_MESH: Leave the mesh network -- no special arguments, the
804 * @NL80211_CMD_GET_WOWLAN: get Wake-on-Wireless-LAN (WoWLAN) settings.
805 * @NL80211_CMD_SET_WOWLAN: set Wake-on-Wireless-LAN (WoWLAN) settings.
822 * contains the data in sub-attributes). After rekeying happened,
829 * @NL80211_CMD_TDLS_OPER: Perform a high-level TDLS command (e.g. link setup).
838 * sent. Public Action codes (802.11-2012 8.1.5.1) will be sent as
839 * 802.11 management frames, while TDLS action codes (802.11-2012
858 * and wasn't already in a 4-addr VLAN. The event will be sent similarly
881 * sent when a remotely-initiated switch (e.g., when a STA receives a CSA
896 * P2P Device can be used for P2P operations, e.g. remain-on-channel and
931 * @NL80211_CMD_UPDATE_FT_IES: Pass down the most up-to-date Fast Transition
939 * @NL80211_CMD_CRIT_PROTOCOL_START: Indicates user-space will start running
950 * new channel information (Channel Switch Announcement - CSA)
959 * @NL80211_CMD_VENDOR: Vendor-specified command/event. The command is specified
960 * by the %NL80211_ATTR_VENDOR_ID attribute and a sub-command in
996 * @NL80211_CMD_LEAVE_OCB: Leave the OCB network -- no special arguments, the
999 * @NL80211_CMD_TDLS_CHANNEL_SWITCH: Start channel-switching with a TDLS peer,
1004 * The driver is responsible for continually initiating channel-switching
1007 * @NL80211_CMD_TDLS_CANCEL_CHANNEL_SWITCH: Stop channel-switching with a TDLS
1012 * as an event to indicate changes for devices with wiphy-specific regdom
1015 * @NL80211_CMD_ABORT_SCAN: Stop an ongoing scan. Returns -ENOENT if a scan is
1026 * omitted or set to 0, it means don't-care and the device will
1036 * Since instance ID's can be re-used, this cookie is the right
1055 * set to zero, the configuration is changed to don't-care
1067 * @NL80211_CMD_SET_PMK: For offloaded 4-Way handshake, set the PMK or PMK-R0
1070 * PMK-R0, otherwise it specifies the PMK.
1071 * @NL80211_CMD_DEL_PMK: For offloaded 4-Way handshake, delete the previously
1184 * @NL80211_CMD_SET_SAR_SPECS: SAR power limitation configuration is
1447 NL80211_CMD_MAX = __NL80211_CMD_AFTER_LAST - 1
1465 /* source-level API compatibility */
1471 * enum nl80211_attrs - nl80211 netlink attributes
1508 * fragmentation with (u32)-1; dot11FragmentationThreshold; u32
1511 * 0..65536, disable with (u32)-1; dot11RTSThreshold; u32
1519 * @NL80211_ATTR_WDEV: wireless device identifier, used for pseudo-devices
1527 * @NL80211_ATTR_KEY_IDX: key ID (u8, 0-3)
1562 * @NL80211_ATTR_MESH_ID: mesh id (1-32 bytes).
1573 * @NL80211_ATTR_REG_ALPHA2: an ISO-3166-alpha2 country code for which the
1579 * IEEE-802.11 country information element to identify a country.
1620 * scanning and include a zero-length SSID (wildcard) for wildcard scan
1682 * @NL80211_ATTR_CONTROL_PORT_ETHERTYPE: A 16-bit value indicating the
1699 * flag. When used with %NL80211_ATTR_CONTROL_PORT_NO_PREAUTH, pre-auth
1703 * We recommend using nested, driver-specific attributes within this.
1744 * %NL80211_KEY_* sub-attributes
1747 * with %NL80211_KEY_* sub-attributes
1759 * @NL80211_ATTR_4ADDR: Use 4-address frames on a virtual interface
1772 * remain-on-channel operation, in milliseconds, u32.
1774 * @NL80211_ATTR_COOKIE: Generic 64-bit cookie to identify objects.
1808 * nested attribute with %NL80211_ATTR_CQM_* sub-attributes.
1819 * @NL80211_ATTR_WIPHY_TX_POWER_SETTING: Transmit power setting type. See
1821 * @NL80211_ATTR_WIPHY_TX_POWER_LEVEL: Transmit power level in signed mBm units.
1823 * for non-automatic settings.
1826 * means support for per-station GTKs.
1840 * Non-802.11n drivers can derive wether to use diversity or not.
1842 * support by returning -EINVAL.
1895 * pass-thru filter rules.
1901 * Thus, the implementation is somewhat hardware-dependent, but
1903 * needs to handle all the non-filtered results anyway.
1904 * If the match attributes don't make sense when combined with
1907 * will never let it go through), -EINVAL may be returned.
1961 * @NL80211_ATTR_TDLS_DIALOG_TOKEN: Non-zero token for uniquely identifying a
1985 * requests while operating in AP-mode.
1990 * probe-response frame. The DA field in the 802.11 header is zero-ed out,
2005 * MCS rates, MAX-AMSDU, HT-20-40 and HT_CAP_SGI_40
2024 * @NL80211_ATTR_RX_SIGNAL_DBM: signal strength in dBm (as a 32-bit int);
2042 * This contains the authentication frame body (non-IE and IE data),
2064 * @NL80211_ATTR_LOCAL_MESH_POWER_MODE: local mesh STA link-specific power mode
2082 * 802.11-2012 8.4.2.29 for more information.
2087 * the driver, e.g., to enable TDLS power save (PU-APSD).
2091 * and PU-APSD.
2156 * @NL80211_ATTR_VENDOR_ID: The vendor ID, either a 24-bit OUI or, if
2158 * @NL80211_ATTR_VENDOR_SUBCMD: vendor sub-command
2166 * in IEEE Std 802.11-2012, 8.4.2.97.
2189 * If set during scheduled scan start then the new scan req will be
2222 * If this flag is used, driver must add the Power Capabilities IE to the
2245 * is self-managing its regulatory information and any regulatory domain
2252 * least-significant bit of the first byte in the array, ie. bit index 0
2266 * net-detect scan is started, counting from the moment the
2292 * it contains the behaviour-specific attribute containing the parameters for
2298 * @NL80211_ATTR_PAD: attribute used for padding for 64-bit alignment
2305 * @NL80211_ATTR_MU_MIMO_GROUP_DATA: array of 24 bytes that defines a MU-MIMO
2316 * Set this attribute in order to monitor packets using the given MU-MIMO
2320 * when using MU-MIMO air sniffer.
2341 * used to pull the stored data for mesh peer in power save state.
2353 * it is optional. If no bands are set, it means don't-care and
2390 * @NL80211_ATTR_FILS_ERP_USERNAME: EAP Re-authentication Protocol (ERP)
2394 * @NL80211_ATTR_FILS_ERP_REALM: EAP Re-authentication Protocol (ERP) realm part
2398 * @NL80211_ATTR_FILS_ERP_NEXT_SEQ_NUM: Unsigned 16-bit ERP next sequence number
2402 * @NL80211_ATTR_FILS_ERP_RRK: ERP re-authentication Root Key (rRK) for the
2408 * @NL80211_ATTR_FILS_CACHE_ID: A 2-octet identifier advertized by a FILS AP
2415 * PSK for offloading 4-way handshake for WPA/WPA2-PSK networks. For 802.1X
2417 * support this attribute specifies the PMK-R0 if NL80211_ATTR_PMKR0_NAME
2420 * @NL80211_ATTR_SCHED_SCAN_MULTI: flag attribute which user-space shall use to
2425 * @NL80211_ATTR_WANT_1X_4WAY_HS: flag attribute which user-space can include
2427 * wants to use the supported offload of the 4-way handshake.
2428 * @NL80211_ATTR_PMKR0_NAME: PMK-R0 Name for offloaded FT.
2457 * @NL80211_ATTR_FTM_RESPONDER: nested attribute which user-space can include
2473 * with the appropriate sub-attributes.
2478 * @NL80211_ATTR_STA_TX_POWER_SETTING: Transmit power setting type (u8) for
2481 * @NL80211_ATTR_STA_TX_POWER: Transmit power level (s16) in dBm units. This
2482 * allows to set Tx power for a station. If this attribute is not included,
2483 * the default per-interface tx power setting will be overriding. Driver
2484 * should be picking up the lowest tx power, either tx power per-interface
2485 * or per-station.
2489 * SAE authentication for WPA3-Personal networks.
2516 * nested attribute with &enum nl80211_tid_config_attr sub-attributes;
2517 * on output (in wiphy attributes) it contains only the feature sub-
2573 * derivation in WPA3-Personal networks which are using SAE authentication.
2577 * @NL80211_ATTR_SAR_SPEC: SAR power limitation specification when
3103 NL80211_ATTR_MAX = __NL80211_ATTR_AFTER_LAST - 1
3106 /* source-level API compatibility */
3158 #define NL80211_SCAN_RSSI_THOLD_OFF -300
3163 * enum nl80211_iftype - (virtual) interface types
3170 * are a bit special in that they must always be tied to a pre-existing
3208 NL80211_IFTYPE_MAX = NUM_NL80211_IFTYPES - 1
3212 * enum nl80211_sta_flags - station flags
3224 * @NL80211_STA_FLAG_TDLS_PEER: station is a TDLS peer -- this flag should
3247 NL80211_STA_FLAG_MAX = __NL80211_STA_FLAG_AFTER_LAST - 1
3251 * enum nl80211_sta_p2p_ps_status - station support of P2P PS
3267 * struct nl80211_sta_flag_update - station flags mask/set
3279 * enum nl80211_he_gi - HE guard interval
3291 * enum nl80211_he_ltf - HE long training field
3303 * enum nl80211_he_ru_alloc - HE RU allocation values
3304 * @NL80211_RATE_INFO_HE_RU_ALLOC_26: 26-tone RU allocation
3305 * @NL80211_RATE_INFO_HE_RU_ALLOC_52: 52-tone RU allocation
3306 * @NL80211_RATE_INFO_HE_RU_ALLOC_106: 106-tone RU allocation
3307 * @NL80211_RATE_INFO_HE_RU_ALLOC_242: 242-tone RU allocation
3308 * @NL80211_RATE_INFO_HE_RU_ALLOC_484: 484-tone RU allocation
3309 * @NL80211_RATE_INFO_HE_RU_ALLOC_996: 996-tone RU allocation
3310 * @NL80211_RATE_INFO_HE_RU_ALLOC_2x996: 2x996-tone RU allocation
3323 * enum nl80211_rate_info - bitrate information
3328 * a 16-bit value, and new one that represents a 32-bit value.
3331 * (>6.5535Gbps) only 32-bit attribute is included.
3332 * User space tools encouraged to use the 32-bit attribute and fall
3333 * back to the 16-bit one for compatibility with older kernels.
3345 * @NL80211_RATE_INFO_80P80_MHZ_WIDTH: unused - 80+80 is treated the
3348 * @NL80211_RATE_INFO_10_MHZ_WIDTH: 10 MHz width - note that this is
3351 * @NL80211_RATE_INFO_5_MHZ_WIDTH: 5 MHz width - note that this is
3354 * @NL80211_RATE_INFO_HE_MCS: HE MCS index (u8, 0-11)
3355 * @NL80211_RATE_INFO_HE_NSS: HE NSS value (u8, 1-8)
3360 * non-OFDMA was used (u8, see &enum nl80211_he_ru_alloc)
3385 NL80211_RATE_INFO_MAX = __NL80211_RATE_INFO_AFTER_LAST - 1
3389 * enum nl80211_sta_bss_param - BSS information collected by STA
3415 NL80211_STA_BSS_PARAM_MAX = __NL80211_STA_BSS_PARAM_AFTER_LAST - 1
3419 * enum nl80211_sta_info - station information
3457 * @NL80211_STA_INFO_LOCAL_PM: local mesh STA link-specific power mode
3458 * @NL80211_STA_INFO_PEER_PM: peer mesh STA link-specific power mode
3459 * @NL80211_STA_INFO_NONPEER_PM: neighbor mesh STA power save mode towards
3460 * non-peer STA
3461 * @NL80211_STA_INFO_CHAIN_SIGNAL: per-chain signal strength of last PPDU
3463 * @NL80211_STA_INFO_CHAIN_SIGNAL_AVG: per-chain signal strength average
3472 * @NL80211_STA_INFO_TID_STATS: per-TID statistics (see &enum nl80211_tid_stats)
3474 * TID+1 and the special TID 16 (i.e. value 17) is used for non-QoS frames;
3479 * @NL80211_STA_INFO_PAD: attribute used for padding for 64-bit alignment
3549 NL80211_STA_INFO_MAX = __NL80211_STA_INFO_AFTER_LAST - 1
3552 /* we renamed this - stay compatible */
3557 * enum nl80211_tid_stats - per TID statistics attributes
3566 * @NL80211_TID_STATS_PAD: attribute used for padding for 64-bit alignment
3582 NL80211_TID_STATS_MAX = NUM_NL80211_TID_STATS - 1
3586 * enum nl80211_txq_stats - per TXQ statistics attributes
3597 * (only for per-phy stats)
3620 NL80211_TXQ_STATS_MAX = NUM_NL80211_TXQ_STATS - 1
3624 * enum nl80211_mpath_flags - nl80211 mesh path flags
3641 * enum nl80211_mpath_info - mesh path information
3675 NL80211_MPATH_INFO_MAX = __NL80211_MPATH_INFO_AFTER_LAST - 1
3679 * enum nl80211_band_iftype_attr - Interface type data attributes
3713 NL80211_BAND_IFTYPE_ATTR_MAX = __NL80211_BAND_IFTYPE_ATTR_AFTER_LAST - 1
3717 * enum nl80211_band_attr - band attributes
3723 * @NL80211_BAND_ATTR_HT_MCS_SET: 16-byte attribute containing the MCS set as
3726 * @NL80211_BAND_ATTR_HT_AMPDU_FACTOR: A-MPDU factor, as in 11n
3727 * @NL80211_BAND_ATTR_HT_AMPDU_DENSITY: A-MPDU density, as in 11n
3728 * @NL80211_BAND_ATTR_VHT_MCS_SET: 32-byte attribute containing the MCS set as
3761 NL80211_BAND_ATTR_MAX = __NL80211_BAND_ATTR_AFTER_LAST - 1
3767 * enum nl80211_wmm_rule - regulatory wmm rule
3786 NL80211_WMMR_MAX = __NL80211_WMMR_LAST - 1
3790 * enum nl80211_frequency_attr - frequency attributes
3800 * @NL80211_FREQUENCY_ATTR_MAX_TX_POWER: Maximum transmission power in mBm
3806 * @NL80211_FREQUENCY_ATTR_NO_HT40_MINUS: HT40- isn't possible with this
3820 * an indoor surroundings, i.e., it is connected to AC power (and not
3822 * that is acting as an AP and is connected to AC power.
3827 * off-channel on a channel that has the IR_CONCURRENT attribute set can be
3830 * off-channel while the device is also connected to an AP with DFS and
3831 * radar detection on the UNII band (it is up to user-space, i.e.,
3893 NL80211_FREQUENCY_ATTR_MAX = __NL80211_FREQUENCY_ATTR_AFTER_LAST - 1
3904 * enum nl80211_bitrate_attr - bitrate attributes
3920 NL80211_BITRATE_ATTR_MAX = __NL80211_BITRATE_ATTR_AFTER_LAST - 1
3924 * enum nl80211_initiator - Indicates the initiator of a reg domain request
3935 * structure passed by userspace (CRDA) from our wireless-regdb.
3937 * be disabled we disable the channel and re-enable it upon disassociation.
3947 * enum nl80211_reg_type - specifies the type of regulatory domain
3954 * driver specific world regulatory domain. These do not apply system-wide
3958 * of an intersection between two regulatory domains -- the previously
3970 * enum nl80211_reg_rule_attr - regulatory rule attributes
4009 NL80211_REG_RULE_ATTR_MAX = __NL80211_REG_RULE_ATTR_AFTER_LAST - 1
4013 * enum nl80211_sched_scan_match_attr - scheduled scan match attributes
4030 * BSS-es in the specified band is to be adjusted before doing
4031 * RSSI-based BSS selection. The attribute value is a packed structure
4060 __NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST - 1
4067 * enum nl80211_reg_rule_flags - regulatory rule flags
4083 * @NL80211_RRF_NO_HT40MINUS: channels can't be used in HT40- operation
4119 * enum nl80211_dfs_regions - regulatory DFS regions
4134 * enum nl80211_user_reg_hint_type - type of user regulatory hint
4157 * enum nl80211_survey_info - survey information
4178 * @NL80211_SURVEY_INFO_PAD: attribute used for padding for 64-bit alignment
4203 NL80211_SURVEY_INFO_MAX = __NL80211_SURVEY_INFO_AFTER_LAST - 1
4214 * enum nl80211_mntr_flags - monitor configuration flags
4243 NL80211_MNTR_FLAG_MAX = __NL80211_MNTR_FLAG_AFTER_LAST - 1
4247 * enum nl80211_mesh_power_mode - mesh power save modes
4249 * @NL80211_MESH_POWER_UNKNOWN: The mesh power mode of the mesh STA is
4251 * @NL80211_MESH_POWER_ACTIVE: Active mesh power mode. The mesh STA is
4260 * @__NL80211_MESH_POWER_AFTER_LAST - internal use
4261 * @NL80211_MESH_POWER_MAX - highest possible power save level
4271 NL80211_MESH_POWER_MAX = __NL80211_MESH_POWER_AFTER_LAST - 1
4275 * enum nl80211_meshconf_params - mesh configuration parameters
4344 * @NL80211_MESHCONF_FORWARDING: set Mesh STA as forwarding or non-forwarding
4345 * or forwarding entity (default is TRUE - forwarding entity)
4370 * @NL80211_MESHCONF_POWER_MODE: Default mesh power mode for new peer links.
4385 * @NL80211_MESHCONF_NOLEARN: Try to avoid multi-hop path discovery (e.g.
4387 * this might not be the optimal decision as a multi-hop route might be
4433 NL80211_MESHCONF_ATTR_MAX = __NL80211_MESHCONF_ATTR_AFTER_LAST - 1
4437 * enum nl80211_mesh_setup_params - mesh setup parameters
4498 NL80211_MESH_SETUP_ATTR_MAX = __NL80211_MESH_SETUP_ATTR_AFTER_LAST - 1
4502 * enum nl80211_txq_attr - TX queue parameter attributes
4508 * 2^n-1 in the range 1..32767]
4510 * 2^n-1 in the range 1..32767]
4525 NL80211_TXQ_ATTR_MAX = __NL80211_TXQ_ATTR_AFTER_LAST - 1
4544 * enum nl80211_channel_type - channel type
4545 * @NL80211_CHAN_NO_HT: 20 MHz, non-HT channel
4560 * enum nl80211_key_mode - Key mode
4581 * enum nl80211_chan_width - channel width definitions
4586 * @NL80211_CHAN_WIDTH_20_NOHT: 20 MHz, non-HT channel
4621 * enum nl80211_bss_scan_width - control channel width for a BSS
4640 * enum nl80211_bss - netlink attributes for a BSS
4678 * @NL80211_BSS_PAD: attribute used for padding for 64-bit alignment
4685 * @NL80211_BSS_CHAIN_SIGNAL: per-chain signal strength of last BSS update.
4717 NL80211_BSS_MAX = __NL80211_BSS_AFTER_LAST - 1
4721 * enum nl80211_bss_status - BSS "status"
4739 * enum nl80211_auth_type - AuthenticationType
4752 * trying multiple times); this is invalid in netlink -- leave out
4767 NL80211_AUTHTYPE_MAX = __NL80211_AUTHTYPE_NUM - 1,
4772 * enum nl80211_key_type - Key Type
4787 * enum nl80211_mfp - Management frame protection state
4805 * enum nl80211_key_default_types - key default types
4822 * enum nl80211_key_attributes - key attributes
4827 * @NL80211_KEY_IDX: key ID (u8, 0-3)
4862 NL80211_KEY_MAX = __NL80211_KEY_AFTER_LAST - 1
4866 * enum nl80211_tx_rate_attributes - TX rate set attributes
4868 * @NL80211_TXRATE_LEGACY: Legacy (non-MCS) rates allowed for TX rate selection
4896 NL80211_TXRATE_MAX = __NL80211_TXRATE_AFTER_LAST - 1
4903 * struct nl80211_txrate_vht - VHT MCS/NSS txrate bitmap
4912 * struct nl80211_txrate_he - HE MCS/NSS txrate bitmap
4926 * enum nl80211_band - Frequency band
4928 * @NL80211_BAND_5GHZ: around 5 GHz band (4.9 - 5.7 GHz)
4929 * @NL80211_BAND_60GHZ: around 60 GHz band (58.32 - 69.12 GHz)
4930 * @NL80211_BAND_6GHZ: around 6 GHz band (5.9 - 7.2 GHz)
4946 * enum nl80211_ps_state - powersave state
4956 * enum nl80211_attr_cqm - connection quality monitor attributes
4961 * set, multiple values can be supplied as a low-to-high sorted array of
5002 NL80211_ATTR_CQM_MAX = __NL80211_ATTR_CQM_AFTER_LAST - 1
5006 * enum nl80211_cqm_rssi_threshold_event - RSSI threshold event
5021 * enum nl80211_tx_power_setting - TX power adjustment
5022 * @NL80211_TX_POWER_AUTOMATIC: automatically determine transmit power
5023 * @NL80211_TX_POWER_LIMITED: limit TX power by the mBm parameter
5024 * @NL80211_TX_POWER_FIXED: fix TX power to the mBm parameter
5033 * enum nl80211_tid_config - TID config state
5042 /* enum nl80211_tx_rate_setting - TX rate configuration type
5053 /* enum nl80211_tid_config_attr - TID specific configuration.
5054 * @NL80211_TID_CONFIG_ATTR_PAD: pad attribute for 64-bit values
5056 * for per-vif configuration; doesn't list the ones that are generic
5058 * @NL80211_TID_CONFIG_ATTR_PEER_SUPP: same as the previous per-vif one, but
5070 * transmission, user-space sets this configuration in
5075 * transmission, user-space sets this configuration in
5115 NL80211_TID_CONFIG_ATTR_MAX = __NL80211_TID_CONFIG_ATTR_AFTER_LAST - 1
5119 * enum nl80211_packet_pattern_attr - packet pattern attribute
5124 * a bit for each byte in the pattern. The lowest-order bit corresponds
5126 * in a little-endian-like format, i.e. the 9th byte of the pattern
5127 * corresponds to the lowest-order bit in the second byte of the mask.
5146 MAX_NL80211_PKTPAT = NUM_NL80211_PKTPAT - 1,
5150 * struct nl80211_pattern_support - packet pattern support information
5179 * enum nl80211_wowlan_triggers - WoWLAN trigger definitions
5182 * the chip into a special state -- works best with chips that have
5183 * support for low-power operation already (flag)
5187 * is detected is implementation-specific (flag)
5201 * When reporting wakeup. it is a u32 attribute containing the 0-based
5211 * @NL80211_WOWLAN_TRIG_4WAY_HANDSHAKE: wake up on 4-way handshake (flag)
5291 MAX_NL80211_WOWLAN_TRIG = NUM_NL80211_WOWLAN_TRIG - 1
5304 * optionally, a token from a list of tokens. This serves as a keep-alive
5307 * During this keep-alive period, the server doesn't send any data to the
5318 * struct nl80211_wowlan_tcp_data_seq - WoWLAN TCP data sequence
5332 * struct nl80211_wowlan_tcp_data_token - WoWLAN TCP data token config
5344 * struct nl80211_wowlan_tcp_data_token_feature - data token features
5354 * enum nl80211_wowlan_tcp_attrs - WoWLAN TCP connection parameters
5401 MAX_NL80211_WOWLAN_TCP = NUM_NL80211_WOWLAN_TCP - 1
5405 * struct nl80211_coalesce_rule_support - coalesce rule support information
5420 * enum nl80211_attr_coalesce_rule - coalesce rule attribute
5438 NL80211_ATTR_COALESCE_RULE_MAX = NUM_NL80211_ATTR_COALESCE_RULE - 1
5442 * enum nl80211_coalesce_condition - coalesce rule conditions
5454 * enum nl80211_iface_limit_attrs - limit attributes
5470 MAX_NL80211_IFACE_LIMIT = NUM_NL80211_IFACE_LIMIT - 1
5474 * enum nl80211_if_combination_attrs -- interface combination attributes
5503 * numbers = [ #{AP, P2P-GO} <= 8 ], BI min gcd, channels = 1, max = 8,
5509 * numbers = [ #{STA} <= 1, #{P2P-client,P2P-GO} <= 3 ], max = 4
5534 MAX_NL80211_IFACE_COMB = NUM_NL80211_IFACE_COMB - 1
5539 * enum nl80211_plink_state - state of a mesh peer link finite state machine
5567 MAX_NL80211_PLINK_STATES = NUM_NL80211_PLINK_STATES - 1
5571 * enum nl80211_plink_action - actions to perform in mesh peers
5594 * enum nl80211_rekey_data - attributes for GTK rekey offload
5612 MAX_NL80211_REKEY_DATA = NUM_NL80211_REKEY_DATA - 1
5616 * enum nl80211_hidden_ssid - values for %NL80211_ATTR_HIDDEN_SSID
5619 * @NL80211_HIDDEN_SSID_ZERO_LEN: hide SSID by using zero-length SSID element
5631 * enum nl80211_sta_wme_attr - station WME attributes
5647 NL80211_STA_WME_MAX = __NL80211_STA_WME_AFTER_LAST - 1
5651 * enum nl80211_pmksa_candidate_attr - attributes for PMKSA caching candidates
5656 * @NL80211_PMKSA_CANDIDATE_PREAUTH: RSN pre-authentication supported (flag)
5670 MAX_NL80211_PMKSA_CANDIDATE = NUM_NL80211_PMKSA_CANDIDATE - 1
5674 * enum nl80211_tdls_operation - values for %NL80211_ATTR_TDLS_OPERATION
5690 * enum nl80211_ap_sme_features - device-integrated AP features
5698 * enum nl80211_feature_flags - device/driver features
5716 * @NL80211_FEATURE_VIF_TXPOWER: The driver supports per-vif TX power setting
5746 * channel bandwidth change (e.g., HT 20 <-> 40 MHz channel) during the
5755 * current tx power value into the TPC Report IE in the spectrum
5769 * TSPEC sessions (TID aka TSID 0-7) with the %NL80211_CMD_ADD_TX_TS
5771 * needs to be able to handle Block-Ack agreements and other things.
5826 * enum nl80211_ext_feature_index - bit index of extended features.
5833 * @NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER: This device supports MU-MIMO air
5869 * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK: Device wants to do 4-way
5872 * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X: Device wants to do doing 4-way
5888 * @NL80211_EXT_FEATURE_LOW_POWER_SCAN: Driver supports low power scan.
5891 * Device or driver will do all DFS-related actions by itself,
5892 * informing user-space about CAC progress, radar detection event,
5894 * No need to start CAC from user-space, no need to react to
5900 * @NL80211_EXT_FEATURE_TXQS: Driver supports FQ-CoDel-enabled intermediate
5911 * able to rekey an in-use key correctly. Userspace must not rekey PTK keys
5915 * Individually Addressed Frames" from IEEE802.11-2016.
5927 * @NL80211_EXT_FEATURE_STA_TX_PWR: This driver supports controlling tx power
5934 * with VLAN tagged frames and separate VLAN-specific netdevs added using
5969 * @NL80211_EXT_FEATURE_4WAY_HANDSHAKE_AP_PSK: Device wants to do 4-way
6030 /* we renamed this - stay compatible */
6066 MAX_NL80211_EXT_FEATURES = NUM_NL80211_EXT_FEATURES - 1
6070 * enum nl80211_probe_resp_offload_support_attr - optional supported
6071 * protocols for probe-response offloading by the driver/FW.
6074 * protocols. Typically a subset of probe-requests belonging to a
6091 * enum nl80211_connect_failed_reason - connection request failed reasons
6102 * enum nl80211_timeout_reason - timeout reasons
6117 * enum nl80211_scan_flags - scan request control flags
6132 * will be lost while scanning off-channel, therefore it must be used only
6148 * only the first probe req in the channel will be sent in high rate.
6153 * a suitable candidate for (re-)association - suitable in terms of
6161 * optimal possible power. Drivers can resort to their specific means to
6162 * optimize the power. Scan accuracy may get impacted with this flag.
6167 * Latency and power use may get impacted with this flag.
6199 * enum nl80211_acl_policy - access control policy
6217 * enum nl80211_smps_mode - SMPS mode
6232 NL80211_SMPS_MAX = __NL80211_SMPS_AFTER_LAST - 1
6236 * enum nl80211_radar_event - type of radar event for DFS operation
6247 * @NL80211_RADAR_NOP_FINISHED: The Non-Occupancy Period for this channel is
6250 * non-operating channel is expired and no longer valid. New CAC must
6252 * applicable for ETSI dfs domain where pre-CAC is valid for ever.
6266 * enum nl80211_dfs_state - DFS states for channels
6283 * enum nl80211_protocol_features - nl80211 protocol features
6295 * enum nl80211_crit_proto_id - nl80211 critical protocol identifiers
6316 * enum nl80211_rxmgmt_flags - flags for received management frame.
6339 * struct nl80211_vendor_cmd_info - vendor command data
6341 * value is a 24-bit OUI; if it is set then a separately allocated ID
6344 * @subcmd: sub-command ID for the command
6352 * enum nl80211_tdls_peer_capability - TDLS peer flags.
6370 * enum nl80211_sched_scan_plan - scanning plan for scheduled scan
6390 __NL80211_SCHED_SCAN_PLAN_AFTER_LAST - 1
6394 * struct nl80211_bss_select_rssi_adjust - RSSI adjustment parameters.
6406 * enum nl80211_bss_select_attr - attributes for bss selection.
6409 * @NL80211_BSS_SELECT_ATTR_RSSI: Flag indicating only RSSI-based BSS selection
6413 * When there are multiple BSS-es in the preferred band, the driver
6414 * shall use RSSI-based BSS selection as a second step. The value of
6417 * BSS-es in the specified band is to be adjusted before doing
6418 * RSSI-based BSS selection. The attribute value is a packed structure
6435 NL80211_BSS_SELECT_ATTR_MAX = __NL80211_BSS_SELECT_ATTR_AFTER_LAST - 1
6439 * enum nl80211_nan_function_type - NAN function type
6445 * @NL80211_NAN_FUNC_FOLLOW_UP: function is follow-up
6454 NL80211_NAN_FUNC_MAX_TYPE = __NL80211_NAN_FUNC_TYPE_AFTER_LAST - 1,
6458 * enum nl80211_nan_publish_type - NAN publish tx type
6471 * enum nl80211_nan_func_term_reason - NAN functions termination reason
6490 * enum nl80211_nan_func_attributes - NAN function attributes
6552 NL80211_NAN_FUNC_ATTR_MAX = NUM_NL80211_NAN_FUNC_ATTR - 1
6556 * enum nl80211_nan_srf_attributes - NAN Service Response filter attributes
6579 NL80211_NAN_SRF_ATTR_MAX = NUM_NL80211_NAN_SRF_ATTR - 1,
6583 * enum nl80211_nan_match_attributes - NAN match attributes
6602 NL80211_NAN_MATCH_ATTR_MAX = NUM_NL80211_NAN_MATCH_ATTR - 1
6606 * nl80211_external_auth_action - Action to perform with external
6617 * enum nl80211_ftm_responder_attributes - fine timing measurement
6622 * (9.4.2.22 in 802.11-2016) with type 8 - LCI (9.4.2.22.10),
6625 * (9.4.2.22 in 802.11-2016) with type 11 - Civic (Section 9.4.2.22.13),
6639 NL80211_FTM_RESP_ATTR_MAX = __NL80211_FTM_RESP_ATTR_LAST - 1,
6643 * enum nl80211_ftm_responder_stats - FTM responder statistics
6655 * @NL80211_FTM_STATS_NON_ASAP_NUM: number of non-ASAP sessions (u32)
6656 * @NL80211_FTM_STATS_TOTAL_DURATION_MSEC: total sessions durations - gives an
6658 * @NL80211_FTM_STATS_UNKNOWN_TRIGGERS_NUM: number of unknown FTM triggers -
6662 * - initiator asks for a new scheduling although it already has scheduled
6685 NL80211_FTM_STATS_MAX = __NL80211_FTM_STATS_AFTER_LAST - 1
6689 * enum nl80211_preamble - frame preamble types
6705 * enum nl80211_peer_measurement_type - peer measurement types
6720 NL80211_PMSR_TYPE_MAX = NUM_NL80211_PMSR_TYPES - 1
6724 * enum nl80211_peer_measurement_status - peer measurement status
6728 * @NL80211_PMSR_STATUS_FAILURE: measurement failed, a type-dependent
6739 * enum nl80211_peer_measurement_req - peer measurement request attributes
6743 * type-specific request data inside. The attributes used are from the
6759 NL80211_PMSR_REQ_ATTR_MAX = NUM_NL80211_PMSR_REQ_ATTRS - 1
6763 * enum nl80211_peer_measurement_resp - peer measurement response attributes
6767 * type-specific results inside. The attributes used are from the enums
6779 * (*e.g. with FTM per-burst data) this flag will be cleared on all but
6780 * the last result; if all results are combined it's set on the single
6782 * @NL80211_PMSR_RESP_ATTR_PAD: padding for 64-bit attributes, ignore
6799 NL80211_PMSR_RESP_ATTR_MAX = NUM_NL80211_PMSR_RESP_ATTRS - 1
6803 * enum nl80211_peer_measurement_peer_attrs - peer attributes for measurement
6807 * @NL80211_PMSR_PEER_ATTR_CHAN: channel definition, nested, using top-level
6829 NL80211_PMSR_PEER_ATTR_MAX = NUM_NL80211_PMSR_PEER_ATTRS - 1,
6833 * enum nl80211_peer_measurement_attrs - peer measurement attributes
6846 * type-specific capabilities inside, which are from the enums
6850 * sub-attributes taken from
6867 NL80211_PMSR_ATTR_MAX = NUM_NL80211_PMSR_ATTR - 1
6871 * enum nl80211_peer_measurement_ftm_capa - FTM capabilities
6876 * @NL80211_PMSR_FTM_CAPA_ATTR_NON_ASAP: flag attribute indicating non-ASAP
6918 NL80211_PMSR_FTM_CAPA_ATTR_MAX = NUM_NL80211_PMSR_FTM_CAPA_ATTR - 1
6922 * enum nl80211_peer_measurement_ftm_req - FTM request attributes
6929 * 802.11-2016 9.4.2.168 "Fine Timing Measurement Parameters element"
6930 * (u8, 0-15, optional with default 15 i.e. "no preference")
6933 * @NL80211_PMSR_FTM_REQ_ATTR_BURST_DURATION: burst duration, as in 802.11-2016
6934 * Table 9-257 "Burst Duration field encoding" (u8, 0-15, optional with
6938 * (u8, 0-31, optional with default 0 i.e. "no preference")
6987 NL80211_PMSR_FTM_REQ_ATTR_MAX = NUM_NL80211_PMSR_FTM_REQ_ATTR - 1
6991 * enum nl80211_peer_measurement_ftm_failure_reasons - FTM failure reasons
7018 * enum nl80211_peer_measurement_ftm_resp - FTM response attributes
7021 * @NL80211_PMSR_FTM_RESP_ATTR_FAIL_REASON: FTM-specific failure reason
7024 * as separate results then it will be the burst index 0...(N-1) and
7059 * this is the contents of the Measurement Report Element (802.11-2016
7064 * this is the contents of the Measurement Report Element (802.11-2016
7099 NL80211_PMSR_FTM_RESP_ATTR_MAX = NUM_NL80211_PMSR_FTM_RESP_ATTR - 1
7103 * enum nl80211_obss_pd_attributes - OBSS packet detection attributes
7106 * @NL80211_HE_OBSS_PD_ATTR_MIN_OFFSET: the OBSS PD minimum tx power offset.
7107 * @NL80211_HE_OBSS_PD_ATTR_MAX_OFFSET: the OBSS PD maximum tx power offset.
7108 * @NL80211_HE_OBSS_PD_ATTR_NON_SRG_MAX_OFFSET: the non-SRG OBSS PD maximum
7109 * tx power offset.
7131 NL80211_HE_OBSS_PD_ATTR_MAX = __NL80211_HE_OBSS_PD_ATTR_LAST - 1,
7135 * enum nl80211_bss_color_attributes - BSS Color attributes
7154 NL80211_HE_BSS_COLOR_ATTR_MAX = __NL80211_HE_BSS_COLOR_ATTR_LAST - 1,
7158 * enum nl80211_iftype_akm_attributes - interface type AKM attributes
7178 NL80211_IFTYPE_AKM_ATTR_MAX = __NL80211_IFTYPE_AKM_ATTR_LAST - 1,
7182 * enum nl80211_fils_discovery_attributes - FILS discovery configuration
7183 * from IEEE Std 802.11ai-2016, Annex C.3 MIB detail.
7206 NL80211_FILS_DISCOVERY_ATTR_MAX = __NL80211_FILS_DISCOVERY_ATTR_LAST - 1
7216 * enum nl80211_unsol_bcast_probe_resp_attributes - Unsolicited broadcast probe
7239 __NL80211_UNSOL_BCAST_PROBE_RESP_ATTR_LAST - 1
7243 * enum nl80211_sae_pwe_mechanism - The mechanism(s) allowed for SAE PWE
7244 * derivation. Applicable only when WPA3-Personal SAE authentication is
7249 * @NL80211_SAE_PWE_HUNT_AND_PECK: hunting-and-pecking loop only
7250 * @NL80211_SAE_PWE_HASH_TO_ELEMENT: hash-to-element only
7251 * @NL80211_SAE_PWE_BOTH: both hunting-and-pecking loop and hash-to-element
7262 * enum nl80211_sar_type - type of SAR specs
7264 * @NL80211_SAR_TYPE_POWER: power limitation specified in 0.25dBm unit
7277 * enum nl80211_sar_attrs - Attributes for SAR spec
7281 * @NL80211_SAR_ATTR_SPECS: Nested array of SAR power
7304 NL80211_SAR_ATTR_MAX = __NL80211_SAR_ATTR_LAST - 1,
7308 * enum nl80211_sar_specs_attrs - Attributes for SAR power limit specs
7311 * power limit value in units of 0.25 dBm if type is
7316 * index of exported freq range table and the associated power limitation
7323 * value higher than regulatory allowed value just means SAR power
7349 NL80211_SAR_ATTR_SPECS_MAX = __NL80211_SAR_ATTR_SPECS_LAST - 1,