xref: /freebsd/sys/compat/linuxkpi/common/include/linux/nl80211.h (revision 51b461b3db33b7cd7cbc62c9206568321f7298ad)
16b4cac81SBjoern A. Zeeb /*-
26b4cac81SBjoern A. Zeeb  * Copyright (c) 2020-2021 The FreeBSD Foundation
36b4cac81SBjoern A. Zeeb  *
46b4cac81SBjoern A. Zeeb  * This software was developed by Björn Zeeb under sponsorship from
56b4cac81SBjoern A. Zeeb  * the FreeBSD Foundation.
66b4cac81SBjoern A. Zeeb  *
76b4cac81SBjoern A. Zeeb  * Redistribution and use in source and binary forms, with or without
86b4cac81SBjoern A. Zeeb  * modification, are permitted provided that the following conditions
96b4cac81SBjoern A. Zeeb  * are met:
106b4cac81SBjoern A. Zeeb  * 1. Redistributions of source code must retain the above copyright
116b4cac81SBjoern A. Zeeb  *    notice, this list of conditions and the following disclaimer.
126b4cac81SBjoern A. Zeeb  * 2. Redistributions in binary form must reproduce the above copyright
136b4cac81SBjoern A. Zeeb  *    notice, this list of conditions and the following disclaimer in the
146b4cac81SBjoern A. Zeeb  *    documentation and/or other materials provided with the distribution.
156b4cac81SBjoern A. Zeeb  *
166b4cac81SBjoern A. Zeeb  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
176b4cac81SBjoern A. Zeeb  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
186b4cac81SBjoern A. Zeeb  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
196b4cac81SBjoern A. Zeeb  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
206b4cac81SBjoern A. Zeeb  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
216b4cac81SBjoern A. Zeeb  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
226b4cac81SBjoern A. Zeeb  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
236b4cac81SBjoern A. Zeeb  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
246b4cac81SBjoern A. Zeeb  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
256b4cac81SBjoern A. Zeeb  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
266b4cac81SBjoern A. Zeeb  * SUCH DAMAGE.
276b4cac81SBjoern A. Zeeb  *
286b4cac81SBjoern A. Zeeb  * $FreeBSD$
296b4cac81SBjoern A. Zeeb  */
306b4cac81SBjoern A. Zeeb 
316b4cac81SBjoern A. Zeeb #ifndef	_LINUXKPI_LINUX_NL80211_H
326b4cac81SBjoern A. Zeeb #define	_LINUXKPI_LINUX_NL80211_H
336b4cac81SBjoern A. Zeeb 
346b4cac81SBjoern A. Zeeb #include <linux/bitops.h>
356b4cac81SBjoern A. Zeeb 
366b4cac81SBjoern A. Zeeb enum nl80211_feature_flags {
376b4cac81SBjoern A. Zeeb 	NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE	= BIT(0),
386b4cac81SBjoern A. Zeeb 	NL80211_FEATURE_DS_PARAM_SET_IE_IN_PROBES	= BIT(1),
396b4cac81SBjoern A. Zeeb 	NL80211_FEATURE_HT_IBSS				= BIT(2),
406b4cac81SBjoern A. Zeeb 	NL80211_FEATURE_LOW_PRIORITY_SCAN		= BIT(3),
416b4cac81SBjoern A. Zeeb 	NL80211_FEATURE_ND_RANDOM_MAC_ADDR		= BIT(4),
426b4cac81SBjoern A. Zeeb 	NL80211_FEATURE_P2P_GO_CTWIN			= BIT(5),
436b4cac81SBjoern A. Zeeb 	NL80211_FEATURE_P2P_GO_OPPPS			= BIT(6),
446b4cac81SBjoern A. Zeeb 	NL80211_FEATURE_QUIET				= BIT(7),
456b4cac81SBjoern A. Zeeb 	NL80211_FEATURE_SCAN_RANDOM_MAC_ADDR		= BIT(8),
466b4cac81SBjoern A. Zeeb 	NL80211_FEATURE_SCHED_SCAN_RANDOM_MAC_ADDR	= BIT(9),
476b4cac81SBjoern A. Zeeb 	NL80211_FEATURE_DYNAMIC_SMPS			= BIT(10),
486b4cac81SBjoern A. Zeeb 	NL80211_FEATURE_STATIC_SMPS			= BIT(11),
496b4cac81SBjoern A. Zeeb 	NL80211_FEATURE_SUPPORTS_WMM_ADMISSION		= BIT(12),
506b4cac81SBjoern A. Zeeb 	NL80211_FEATURE_TDLS_CHANNEL_SWITCH		= BIT(13),
516b4cac81SBjoern A. Zeeb 	NL80211_FEATURE_TX_POWER_INSERTION		= BIT(14),
526b4cac81SBjoern A. Zeeb 	NL80211_FEATURE_WFA_TPC_IE_IN_PROBES		= BIT(15),
536b4cac81SBjoern A. Zeeb };
546b4cac81SBjoern A. Zeeb 
556b4cac81SBjoern A. Zeeb enum nl80211_pmsr_ftm_failure_flags {
566b4cac81SBjoern A. Zeeb 	NL80211_PMSR_FTM_FAILURE_NO_RESPONSE		= BIT(0),
576b4cac81SBjoern A. Zeeb 	NL80211_PMSR_FTM_FAILURE_PEER_BUSY		= BIT(1),
586b4cac81SBjoern A. Zeeb 	NL80211_PMSR_FTM_FAILURE_UNSPECIFIED		= BIT(2),
596b4cac81SBjoern A. Zeeb };
606b4cac81SBjoern A. Zeeb 
616b4cac81SBjoern A. Zeeb enum nl80211_pmsr_status_flags {
626b4cac81SBjoern A. Zeeb 	NL80211_PMSR_STATUS_FAILURE			= BIT(0),
636b4cac81SBjoern A. Zeeb 	NL80211_PMSR_STATUS_SUCCESS			= BIT(1),
646b4cac81SBjoern A. Zeeb 	NL80211_PMSR_STATUS_TIMEOUT			= BIT(2),
656b4cac81SBjoern A. Zeeb };
666b4cac81SBjoern A. Zeeb 
676b4cac81SBjoern A. Zeeb #define	NL80211_PMSR_TYPE_FTM				1
686b4cac81SBjoern A. Zeeb 
696b4cac81SBjoern A. Zeeb enum nl80211_reg_rule_flags {
706b4cac81SBjoern A. Zeeb 	NL80211_RRF_AUTO_BW				= BIT(0),
716b4cac81SBjoern A. Zeeb 	NL80211_RRF_DFS					= BIT(1),
726b4cac81SBjoern A. Zeeb 	NL80211_RRF_GO_CONCURRENT			= BIT(2),
736b4cac81SBjoern A. Zeeb 	NL80211_RRF_NO_IR				= BIT(3),
746b4cac81SBjoern A. Zeeb 	NL80211_RRF_NO_OUTDOOR				= BIT(4),
756b4cac81SBjoern A. Zeeb 	NL80211_RRF_NO_HT40MINUS			= BIT(5),
766b4cac81SBjoern A. Zeeb 	NL80211_RRF_NO_HT40PLUS				= BIT(6),
776b4cac81SBjoern A. Zeeb 	NL80211_RRF_NO_80MHZ				= BIT(7),
786b4cac81SBjoern A. Zeeb 	NL80211_RRF_NO_160MHZ				= BIT(8),
796b4cac81SBjoern A. Zeeb 	NL80211_RRF_NO_HE				= BIT(9),
806b4cac81SBjoern A. Zeeb };
816b4cac81SBjoern A. Zeeb #define	NL80211_RRF_NO_HT40	(NL80211_RRF_NO_HT40MINUS|NL80211_RRF_NO_HT40PLUS)
826b4cac81SBjoern A. Zeeb 
836b4cac81SBjoern A. Zeeb enum nl80211_scan_flags {
846b4cac81SBjoern A. Zeeb 	NL80211_SCAN_FLAG_FILS_MAX_CHANNEL_TIME		= BIT(0),
856b4cac81SBjoern A. Zeeb 	NL80211_SCAN_FLAG_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION	= BIT(1),
866b4cac81SBjoern A. Zeeb 	NL80211_SCAN_FLAG_OCE_PROBE_REQ_HIGH_TX_RATE	= BIT(2),
876b4cac81SBjoern A. Zeeb 	NL80211_SCAN_FLAG_RANDOM_ADDR			= BIT(3),
886b4cac81SBjoern A. Zeeb 	NL80211_SCAN_FLAG_COLOCATED_6GHZ		= BIT(4),
89*51b461b3SBjoern A. Zeeb 	NL80211_SCAN_FLAG_RANDOM_SN			= BIT(5),
906b4cac81SBjoern A. Zeeb };
916b4cac81SBjoern A. Zeeb 
926b4cac81SBjoern A. Zeeb #define	NL80211_REGDOM_SET_BY_USER			1
936b4cac81SBjoern A. Zeeb #define	NL80211_REGDOM_SET_BY_DRIVER			2
946b4cac81SBjoern A. Zeeb 
956b4cac81SBjoern A. Zeeb #define	NL80211_MAX_SUPP_REG_RULES			512	/* TODO FIXME, random */
966b4cac81SBjoern A. Zeeb 
976b4cac81SBjoern A. Zeeb #define	NL80211_BSS_CHAN_WIDTH_20			__LINE__ /* TODO FIXME, brcmfmac */
986b4cac81SBjoern A. Zeeb 
996b4cac81SBjoern A. Zeeb enum nl80211_wpa_versions {
1006b4cac81SBjoern A. Zeeb 	NL80211_WPA_VERSION_1	= 1,
1016b4cac81SBjoern A. Zeeb 	NL80211_WPA_VERSION_2,
1026b4cac81SBjoern A. Zeeb 	NL80211_WPA_VERSION_3,
1036b4cac81SBjoern A. Zeeb };
1046b4cac81SBjoern A. Zeeb 
1056b4cac81SBjoern A. Zeeb enum nl80211_bss_select_attr {
1066b4cac81SBjoern A. Zeeb 	__NL80211_BSS_SELECT_ATTR_INVALID	= 0,
1076b4cac81SBjoern A. Zeeb 	NL80211_BSS_SELECT_ATTR_BAND_PREF,
1086b4cac81SBjoern A. Zeeb 	NL80211_BSS_SELECT_ATTR_RSSI,
1096b4cac81SBjoern A. Zeeb 	NL80211_BSS_SELECT_ATTR_RSSI_ADJUST,
1106b4cac81SBjoern A. Zeeb };
1116b4cac81SBjoern A. Zeeb 
1126b4cac81SBjoern A. Zeeb enum nl80211_sta_flag {
1136b4cac81SBjoern A. Zeeb 	/* XXX TODO */
1146b4cac81SBjoern A. Zeeb 	NL80211_STA_FLAG_ASSOCIATED,
1156b4cac81SBjoern A. Zeeb 	NL80211_STA_FLAG_AUTHENTICATED,
1166b4cac81SBjoern A. Zeeb 	NL80211_STA_FLAG_AUTHORIZED,
1176b4cac81SBjoern A. Zeeb 	NL80211_STA_FLAG_TDLS_PEER,
1186b4cac81SBjoern A. Zeeb 	NL80211_STA_FLAG_WME,
1196b4cac81SBjoern A. Zeeb };
1206b4cac81SBjoern A. Zeeb 
1216b4cac81SBjoern A. Zeeb enum nl80211_band {
1226b4cac81SBjoern A. Zeeb 	/* XXX TODO */
1236b4cac81SBjoern A. Zeeb 	NL80211_BAND_2GHZ	= 0,
1246b4cac81SBjoern A. Zeeb 	NL80211_BAND_5GHZ,
1256b4cac81SBjoern A. Zeeb 	NL80211_BAND_60GHZ,
1266b4cac81SBjoern A. Zeeb 	NL80211_BAND_6GHZ,
1276b4cac81SBjoern A. Zeeb 
1286b4cac81SBjoern A. Zeeb 	/* Keep this last. */
1296b4cac81SBjoern A. Zeeb 	NUM_NL80211_BANDS
1306b4cac81SBjoern A. Zeeb };
1316b4cac81SBjoern A. Zeeb 
1326b4cac81SBjoern A. Zeeb enum nl80211_chan_flags {
1336b4cac81SBjoern A. Zeeb 	/* XXX TODO */
1346b4cac81SBjoern A. Zeeb 	NL80211_CHAN_NO_HT,
1356b4cac81SBjoern A. Zeeb };
1366b4cac81SBjoern A. Zeeb 
1376b4cac81SBjoern A. Zeeb enum nl80211_chan_width {
1386b4cac81SBjoern A. Zeeb 	/* XXX TODO */
1396b4cac81SBjoern A. Zeeb 	NL80211_CHAN_WIDTH_20_NOHT,
1406b4cac81SBjoern A. Zeeb 	NL80211_CHAN_WIDTH_20,
1416b4cac81SBjoern A. Zeeb 	NL80211_CHAN_WIDTH_40,
1426b4cac81SBjoern A. Zeeb 	NL80211_CHAN_WIDTH_80,
1436b4cac81SBjoern A. Zeeb 	NL80211_CHAN_WIDTH_80P80,
1446b4cac81SBjoern A. Zeeb 	NL80211_CHAN_WIDTH_160,
1456b4cac81SBjoern A. Zeeb 	NL80211_CHAN_WIDTH_5,
1466b4cac81SBjoern A. Zeeb 	NL80211_CHAN_WIDTH_10,
1476b4cac81SBjoern A. Zeeb };
1486b4cac81SBjoern A. Zeeb 
1496b4cac81SBjoern A. Zeeb enum nl80211_iftype {
1506b4cac81SBjoern A. Zeeb 	/* XXX TODO */
1516b4cac81SBjoern A. Zeeb 	NL80211_IFTYPE_UNSPECIFIED,
1526b4cac81SBjoern A. Zeeb 	NL80211_IFTYPE_ADHOC,
1536b4cac81SBjoern A. Zeeb 	NL80211_IFTYPE_STATION,
1546b4cac81SBjoern A. Zeeb 	NL80211_IFTYPE_AP,
1556b4cac81SBjoern A. Zeeb 	NL80211_IFTYPE_AP_VLAN,
1566b4cac81SBjoern A. Zeeb 	NL80211_IFTYPE_MONITOR,
1576b4cac81SBjoern A. Zeeb 	NL80211_IFTYPE_P2P_CLIENT,
1586b4cac81SBjoern A. Zeeb 	NL80211_IFTYPE_P2P_DEVICE,
1596b4cac81SBjoern A. Zeeb 	NL80211_IFTYPE_P2P_GO,
1606b4cac81SBjoern A. Zeeb 	NL80211_IFTYPE_MESH_POINT,
1616b4cac81SBjoern A. Zeeb 	NL80211_IFTYPE_WDS,
1626b4cac81SBjoern A. Zeeb 
1636b4cac81SBjoern A. Zeeb 	/* Keep this last. */
1646b4cac81SBjoern A. Zeeb 	NUM_NL80211_IFTYPES
1656b4cac81SBjoern A. Zeeb };
1666b4cac81SBjoern A. Zeeb 
1676b4cac81SBjoern A. Zeeb enum nl80211_preamble {
1686b4cac81SBjoern A. Zeeb 	/* XXX TODO */
1696b4cac81SBjoern A. Zeeb 	NL80211_PREAMBLE_LEGACY,
1706b4cac81SBjoern A. Zeeb 	NL80211_PREAMBLE_HT,
1716b4cac81SBjoern A. Zeeb 	NL80211_PREAMBLE_VHT,
1726b4cac81SBjoern A. Zeeb 	NL80211_PREAMBLE_HE,
1736b4cac81SBjoern A. Zeeb };
1746b4cac81SBjoern A. Zeeb 
1756b4cac81SBjoern A. Zeeb enum nl80211_tdls_operation {
1766b4cac81SBjoern A. Zeeb 	/* XXX TODO */
1776b4cac81SBjoern A. Zeeb 	NL80211_TDLS_SETUP,
1786b4cac81SBjoern A. Zeeb 	NL80211_TDLS_TEARDOWN,
1796b4cac81SBjoern A. Zeeb 	NL80211_TDLS_ENABLE_LINK,
1806b4cac81SBjoern A. Zeeb 	NL80211_TDLS_DISABLE_LINK,
1816b4cac81SBjoern A. Zeeb 	NL80211_TDLS_DISCOVERY_REQ,
1826b4cac81SBjoern A. Zeeb 	NL80211_TKIP_DATA_OFFSET_RX_MIC_KEY,
1836b4cac81SBjoern A. Zeeb 	NL80211_TKIP_DATA_OFFSET_TX_MIC_KEY,
1846b4cac81SBjoern A. Zeeb };
1856b4cac81SBjoern A. Zeeb 
1866b4cac81SBjoern A. Zeeb enum nl80211_cqm_rssi_threshold_event {
1876b4cac81SBjoern A. Zeeb 	/* XXX TODO */
1886b4cac81SBjoern A. Zeeb 	NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW,
1896b4cac81SBjoern A. Zeeb 	NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH,
1906b4cac81SBjoern A. Zeeb };
1916b4cac81SBjoern A. Zeeb 
1926b4cac81SBjoern A. Zeeb enum nl80211_ext_feature {
1936b4cac81SBjoern A. Zeeb 	/* XXX TODO */
1946b4cac81SBjoern A. Zeeb 	NL80211_EXT_FEATURE_ACCEPT_BCAST_PROBE_RESP,
1956b4cac81SBjoern A. Zeeb 	NL80211_EXT_FEATURE_BSS_PARENT_TSF,
1966b4cac81SBjoern A. Zeeb 	NL80211_EXT_FEATURE_CAN_REPLACE_PTK0,
1976b4cac81SBjoern A. Zeeb 	NL80211_EXT_FEATURE_DFS_OFFLOAD,
1986b4cac81SBjoern A. Zeeb 	NL80211_EXT_FEATURE_ENABLE_FTM_RESPONDER,
1996b4cac81SBjoern A. Zeeb 	NL80211_EXT_FEATURE_EXT_KEY_ID,
2006b4cac81SBjoern A. Zeeb 	NL80211_EXT_FEATURE_FILS_MAX_CHANNEL_TIME,
2016b4cac81SBjoern A. Zeeb 	NL80211_EXT_FEATURE_MU_MIMO_AIR_SNIFFER,
2026b4cac81SBjoern A. Zeeb 	NL80211_EXT_FEATURE_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION,
2036b4cac81SBjoern A. Zeeb 	NL80211_EXT_FEATURE_OCE_PROBE_REQ_HIGH_TX_RATE,
2046b4cac81SBjoern A. Zeeb 	NL80211_EXT_FEATURE_PROTECTED_TWT,
2056b4cac81SBjoern A. Zeeb 	NL80211_EXT_FEATURE_SAE_OFFLOAD,
2066b4cac81SBjoern A. Zeeb 	NL80211_EXT_FEATURE_SCAN_START_TIME,
2076b4cac81SBjoern A. Zeeb 	NL80211_EXT_FEATURE_SET_SCAN_DWELL,
2086b4cac81SBjoern A. Zeeb 	NL80211_EXT_FEATURE_VHT_IBSS,
2096b4cac81SBjoern A. Zeeb 	NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_1X,
2106b4cac81SBjoern A. Zeeb 	NL80211_EXT_FEATURE_4WAY_HANDSHAKE_STA_PSK,
2116b4cac81SBjoern A. Zeeb 	NL80211_EXT_FEATURE_BEACON_PROTECTION_CLIENT,
212*51b461b3SBjoern A. Zeeb 	NL80211_EXT_FEATURE_SCAN_RANDOM_SN,
2136b4cac81SBjoern A. Zeeb 
2146b4cac81SBjoern A. Zeeb 	/* Keep this last. */
2156b4cac81SBjoern A. Zeeb 	NUM_NL80211_EXT_FEATURES
2166b4cac81SBjoern A. Zeeb };
2176b4cac81SBjoern A. Zeeb 
2186b4cac81SBjoern A. Zeeb enum nl80211_sta_info {
2196b4cac81SBjoern A. Zeeb 	/* XXX TODO */
2206b4cac81SBjoern A. Zeeb 	NL80211_STA_INFO_BEACON_RX,
2216b4cac81SBjoern A. Zeeb 	NL80211_STA_INFO_BEACON_SIGNAL_AVG,
2226b4cac81SBjoern A. Zeeb 	NL80211_STA_INFO_BSS_PARAM,
2236b4cac81SBjoern A. Zeeb 	NL80211_STA_INFO_CHAIN_SIGNAL,
2246b4cac81SBjoern A. Zeeb 	NL80211_STA_INFO_CONNECTED_TIME,
2256b4cac81SBjoern A. Zeeb 	NL80211_STA_INFO_INACTIVE_TIME,
2266b4cac81SBjoern A. Zeeb 	NL80211_STA_INFO_SIGNAL,
2276b4cac81SBjoern A. Zeeb 	NL80211_STA_INFO_SIGNAL_AVG,
2286b4cac81SBjoern A. Zeeb 	NL80211_STA_INFO_STA_FLAGS,
2296b4cac81SBjoern A. Zeeb 	NL80211_STA_INFO_RX_BITRATE,
2306b4cac81SBjoern A. Zeeb 	NL80211_STA_INFO_RX_PACKETS,
2316b4cac81SBjoern A. Zeeb 	NL80211_STA_INFO_RX_BYTES,
2326b4cac81SBjoern A. Zeeb 	NL80211_STA_INFO_RX_DROP_MISC,
2336b4cac81SBjoern A. Zeeb 	NL80211_STA_INFO_TX_BITRATE,
2346b4cac81SBjoern A. Zeeb 	NL80211_STA_INFO_TX_PACKETS,
2356b4cac81SBjoern A. Zeeb 	NL80211_STA_INFO_TX_BYTES,
2366b4cac81SBjoern A. Zeeb 	NL80211_STA_INFO_TX_FAILED,
2376b4cac81SBjoern A. Zeeb };
2386b4cac81SBjoern A. Zeeb 
2396b4cac81SBjoern A. Zeeb enum nl80211_ftm_stats {
2406b4cac81SBjoern A. Zeeb 	/* XXX TODO */
2416b4cac81SBjoern A. Zeeb 	NL80211_FTM_STATS_ASAP_NUM,
2426b4cac81SBjoern A. Zeeb 	NL80211_FTM_STATS_FAILED_NUM,
2436b4cac81SBjoern A. Zeeb 	NL80211_FTM_STATS_NON_ASAP_NUM,
2446b4cac81SBjoern A. Zeeb 	NL80211_FTM_STATS_OUT_OF_WINDOW_TRIGGERS_NUM,
2456b4cac81SBjoern A. Zeeb 	NL80211_FTM_STATS_PARTIAL_NUM,
2466b4cac81SBjoern A. Zeeb 	NL80211_FTM_STATS_RESCHEDULE_REQUESTS_NUM,
2476b4cac81SBjoern A. Zeeb 	NL80211_FTM_STATS_SUCCESS_NUM,
2486b4cac81SBjoern A. Zeeb 	NL80211_FTM_STATS_TOTAL_DURATION_MSEC,
2496b4cac81SBjoern A. Zeeb 	NL80211_FTM_STATS_UNKNOWN_TRIGGERS_NUM,
2506b4cac81SBjoern A. Zeeb };
2516b4cac81SBjoern A. Zeeb 
2526b4cac81SBjoern A. Zeeb enum nl80211_reg_initiator {
2536b4cac81SBjoern A. Zeeb 	/* XXX TODO */
2546b4cac81SBjoern A. Zeeb 	_XXX_FXIME_RTW88_USES_ENUM,
2556b4cac81SBjoern A. Zeeb };
2566b4cac81SBjoern A. Zeeb 
2576b4cac81SBjoern A. Zeeb struct nl80211_sta_flag_update {
2586b4cac81SBjoern A. Zeeb 	/* XXX TODO */
2596b4cac81SBjoern A. Zeeb 	int     mask, set;
2606b4cac81SBjoern A. Zeeb 
2616b4cac81SBjoern A. Zeeb };
2626b4cac81SBjoern A. Zeeb 
2636b4cac81SBjoern A. Zeeb enum nl80211_tx_power_setting {
2646b4cac81SBjoern A. Zeeb 	/* XXX TODO */
2656b4cac81SBjoern A. Zeeb 	NL80211_TX_POWER_AUTOMATIC,
2666b4cac81SBjoern A. Zeeb 	NL80211_TX_POWER_FIXED,
2676b4cac81SBjoern A. Zeeb 	NL80211_TX_POWER_LIMITED,
2686b4cac81SBjoern A. Zeeb };
2696b4cac81SBjoern A. Zeeb 
2706b4cac81SBjoern A. Zeeb enum nl80211_crit_proto_id {
2716b4cac81SBjoern A. Zeeb 	/* XXX TODO */
2726b4cac81SBjoern A. Zeeb 	NL80211_CRIT_PROTO_DHCP,
2736b4cac81SBjoern A. Zeeb };
2746b4cac81SBjoern A. Zeeb 
2756b4cac81SBjoern A. Zeeb enum nl80211_auth_type {
2766b4cac81SBjoern A. Zeeb 	NL80211_AUTHTYPE_AUTOMATIC,
2776b4cac81SBjoern A. Zeeb 	NL80211_AUTHTYPE_OPEN_SYSTEM,
2786b4cac81SBjoern A. Zeeb 	NL80211_AUTHTYPE_SHARED_KEY,
2796b4cac81SBjoern A. Zeeb 	NL80211_AUTHTYPE_SAE,
2806b4cac81SBjoern A. Zeeb };
2816b4cac81SBjoern A. Zeeb 
2826b4cac81SBjoern A. Zeeb enum nl80211_key_type {
2836b4cac81SBjoern A. Zeeb 	NL80211_KEYTYPE_GROUP,
2846b4cac81SBjoern A. Zeeb 	NL80211_KEYTYPE_PAIRWISE,
2856b4cac81SBjoern A. Zeeb };
2866b4cac81SBjoern A. Zeeb 
2876b4cac81SBjoern A. Zeeb enum nl80211_rate_info_he_ru_alloc {
2886b4cac81SBjoern A. Zeeb 	NL80211_RATE_INFO_HE_RU_ALLOC_26,
2896b4cac81SBjoern A. Zeeb 	NL80211_RATE_INFO_HE_RU_ALLOC_52,
2906b4cac81SBjoern A. Zeeb 	NL80211_RATE_INFO_HE_RU_ALLOC_106,
2916b4cac81SBjoern A. Zeeb 	NL80211_RATE_INFO_HE_RU_ALLOC_242,
2926b4cac81SBjoern A. Zeeb 	NL80211_RATE_INFO_HE_RU_ALLOC_484,
2936b4cac81SBjoern A. Zeeb 	NL80211_RATE_INFO_HE_RU_ALLOC_996,
2946b4cac81SBjoern A. Zeeb 	NL80211_RATE_INFO_HE_RU_ALLOC_2x996,
2956b4cac81SBjoern A. Zeeb };
2966b4cac81SBjoern A. Zeeb 
2976b4cac81SBjoern A. Zeeb enum nl80211_rate_info_he_gi {
2986b4cac81SBjoern A. Zeeb 	NL80211_RATE_INFO_HE_GI_0_8,
2996b4cac81SBjoern A. Zeeb 	NL80211_RATE_INFO_HE_GI_1_6,
3006b4cac81SBjoern A. Zeeb 	NL80211_RATE_INFO_HE_GI_3_2,
3016b4cac81SBjoern A. Zeeb };
3026b4cac81SBjoern A. Zeeb 
3036b4cac81SBjoern A. Zeeb enum nl80211_dfs_regions {
3046b4cac81SBjoern A. Zeeb 	NL80211_DFS_UNSET,
3056b4cac81SBjoern A. Zeeb 	NL80211_DFS_FCC,
3066b4cac81SBjoern A. Zeeb 	NL80211_DFS_ETSI,
3076b4cac81SBjoern A. Zeeb 	NL80211_DFS_JP,
3086b4cac81SBjoern A. Zeeb };
3096b4cac81SBjoern A. Zeeb 
310*51b461b3SBjoern A. Zeeb enum nl80211_sar_type {
311*51b461b3SBjoern A. Zeeb 	NL80211_SAR_TYPE_POWER,
312*51b461b3SBjoern A. Zeeb };
313*51b461b3SBjoern A. Zeeb 
3146b4cac81SBjoern A. Zeeb #endif	/* _LINUXKPI_LINUX_NL80211_H */
315