Lines Matching +full:2 +full:- +full:bit
2 * WPA Supplicant - Common definitions
3 * Copyright (c) 2004-2018, Jouni Malinen <j@w1.fi>
12 #define WPA_CIPHER_NONE BIT(0)
13 #define WPA_CIPHER_WEP40 BIT(1)
14 #define WPA_CIPHER_WEP104 BIT(2)
15 #define WPA_CIPHER_TKIP BIT(3)
16 #define WPA_CIPHER_CCMP BIT(4)
17 #define WPA_CIPHER_AES_128_CMAC BIT(5)
18 #define WPA_CIPHER_GCMP BIT(6)
19 #define WPA_CIPHER_SMS4 BIT(7)
20 #define WPA_CIPHER_GCMP_256 BIT(8)
21 #define WPA_CIPHER_CCMP_256 BIT(9)
22 #define WPA_CIPHER_BIP_GMAC_128 BIT(11)
23 #define WPA_CIPHER_BIP_GMAC_256 BIT(12)
24 #define WPA_CIPHER_BIP_CMAC_256 BIT(13)
25 #define WPA_CIPHER_GTK_NOT_USED BIT(14)
27 #define WPA_KEY_MGMT_IEEE8021X BIT(0)
28 #define WPA_KEY_MGMT_PSK BIT(1)
29 #define WPA_KEY_MGMT_NONE BIT(2)
30 #define WPA_KEY_MGMT_IEEE8021X_NO_WPA BIT(3)
31 #define WPA_KEY_MGMT_WPA_NONE BIT(4)
32 #define WPA_KEY_MGMT_FT_IEEE8021X BIT(5)
33 #define WPA_KEY_MGMT_FT_PSK BIT(6)
34 #define WPA_KEY_MGMT_IEEE8021X_SHA256 BIT(7)
35 #define WPA_KEY_MGMT_PSK_SHA256 BIT(8)
36 #define WPA_KEY_MGMT_WPS BIT(9)
37 #define WPA_KEY_MGMT_SAE BIT(10)
38 #define WPA_KEY_MGMT_FT_SAE BIT(11)
39 #define WPA_KEY_MGMT_WAPI_PSK BIT(12)
40 #define WPA_KEY_MGMT_WAPI_CERT BIT(13)
41 #define WPA_KEY_MGMT_CCKM BIT(14)
42 #define WPA_KEY_MGMT_OSEN BIT(15)
43 #define WPA_KEY_MGMT_IEEE8021X_SUITE_B BIT(16)
44 #define WPA_KEY_MGMT_IEEE8021X_SUITE_B_192 BIT(17)
45 #define WPA_KEY_MGMT_FILS_SHA256 BIT(18)
46 #define WPA_KEY_MGMT_FILS_SHA384 BIT(19)
47 #define WPA_KEY_MGMT_FT_FILS_SHA256 BIT(20)
48 #define WPA_KEY_MGMT_FT_FILS_SHA384 BIT(21)
49 #define WPA_KEY_MGMT_OWE BIT(22)
50 #define WPA_KEY_MGMT_DPP BIT(23)
51 #define WPA_KEY_MGMT_FT_IEEE8021X_SHA384 BIT(24)
52 #define WPA_KEY_MGMT_PASN BIT(25)
53 #define WPA_KEY_MGMT_SAE_EXT_KEY BIT(26)
54 #define WPA_KEY_MGMT_FT_SAE_EXT_KEY BIT(27)
55 #define WPA_KEY_MGMT_IEEE8021X_SHA384 BIT(28)
196 #define WPA_PROTO_WPA BIT(0)
197 #define WPA_PROTO_RSN BIT(1)
198 #define WPA_PROTO_WAPI BIT(2)
199 #define WPA_PROTO_OSEN BIT(3)
201 #define WPA_AUTH_ALG_OPEN BIT(0)
202 #define WPA_AUTH_ALG_SHARED BIT(1)
203 #define WPA_AUTH_ALG_LEAP BIT(2)
204 #define WPA_AUTH_ALG_FT BIT(3)
205 #define WPA_AUTH_ALG_SAE BIT(4)
206 #define WPA_AUTH_ALG_FILS BIT(5)
207 #define WPA_AUTH_ALG_FILS_SK_PFS BIT(6)
239 * enum wpa_states - wpa_supplicant state
242 * state (wpa_s->wpa_state). The current state can be retrieved with
250 * WPA_DISCONNECTED - Disconnected state
259 * WPA_INTERFACE_DISABLED - Interface disabled
268 * WPA_INACTIVE - Inactive state (wpa_supplicant disabled)
278 * WPA_SCANNING - Scanning for a network
286 * WPA_AUTHENTICATING - Trying to authenticate with a BSS/SSID
296 * WPA_ASSOCIATING - Trying to associate with a BSS/SSID
300 * with this BSS in ap_scan=1 mode. When using ap_scan=2 mode, this
307 * WPA_ASSOCIATED - Association completed
317 * WPA_4WAY_HANDSHAKE - WPA 4-Way Key Handshake in progress
319 * This state is entered when WPA/WPA2 4-Way Handshake is started. In
320 * case of WPA-PSK, this happens when receiving the first EAPOL-Key
321 * frame after association. In case of WPA-EAP, this state is entered
327 * WPA_GROUP_HANDSHAKE - WPA Group Key Handshake in progress
329 * This state is entered when 4-Way Key Handshake has been completed
332 * message 1/2).
337 * WPA_COMPLETED - All authentication completed
340 * completed. In case of WPA2, this happens when the 4-Way Handshake is
342 * Group Key Handshake; with IEEE 802.1X (non-WPA) connection is
357 #define MLME_SETPROTECTION_PROTECT_TYPE_TX 2
365 * enum mfp_options - Management frame protection (IEEE 802.11w) options
370 MGMT_FRAME_PROTECTION_REQUIRED = 2,
375 * enum hostapd_hw_mode - Hardware mode
387 * enum wpa_ctrl_req_type - Control interface request types
418 WPA_SETBAND_5G = BIT(0),
419 WPA_SETBAND_2G = BIT(1),
420 WPA_SETBAND_6G = BIT(2),
424 BAND_2_4_GHZ = BIT(0),
425 BAND_5_GHZ = BIT(1),
426 BAND_60_GHZ = BIT(2),
440 #define OCE_STA BIT(0)
441 #define OCE_STA_CFON BIT(1)
442 #define OCE_AP BIT(2)
444 /* enum chan_width - Channel width definitions */
466 CONF_OPER_CHWIDTH_160MHZ = 2,
477 KEY_FLAG_MODIFY = BIT(0),
478 KEY_FLAG_DEFAULT = BIT(1),
479 KEY_FLAG_RX = BIT(2),
480 KEY_FLAG_TX = BIT(3),
481 KEY_FLAG_GROUP = BIT(4),
482 KEY_FLAG_PAIRWISE = BIT(5),
483 KEY_FLAG_PMK = BIT(6),
520 FRAME_ENCRYPTION_UNKNOWN = -1,
530 SAE_PWE_BOTH = 2,