Home
last modified time | relevance | path

Searched refs:BIT (Results 1 – 25 of 78) sorted by relevance

1234

/hostap-latest/src/common/
Dieee802_11_defs.h39 #define WLAN_GET_SEQ_FRAG(seq) ((seq) & (BIT(3) | BIT(2) | BIT(1) | BIT(0)))
41 (((seq) & (~(BIT(3) | BIT(2) | BIT(1) | BIT(0)))) >> 4)
105 #define WLAN_CAPABILITY_ESS BIT(0)
106 #define WLAN_CAPABILITY_IBSS BIT(1)
107 #define WLAN_CAPABILITY_CF_POLLABLE BIT(2)
108 #define WLAN_CAPABILITY_CF_POLL_REQUEST BIT(3)
109 #define WLAN_CAPABILITY_PRIVACY BIT(4)
110 #define WLAN_CAPABILITY_SHORT_PREAMBLE BIT(5)
111 #define WLAN_CAPABILITY_PBCC BIT(6)
112 #define WLAN_CAPABILITY_CHANNEL_AGILITY BIT(7)
[all …]
Ddefs.h12 #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)
[all …]
Dwpa_ctrl.h453 #ifndef BIT
454 #define BIT(x) (1U << (x)) macro
463 #define WPA_BSS_MASK_ID BIT(0)
464 #define WPA_BSS_MASK_BSSID BIT(1)
465 #define WPA_BSS_MASK_FREQ BIT(2)
466 #define WPA_BSS_MASK_BEACON_INT BIT(3)
467 #define WPA_BSS_MASK_CAPABILITIES BIT(4)
468 #define WPA_BSS_MASK_QUAL BIT(5)
469 #define WPA_BSS_MASK_NOISE BIT(6)
470 #define WPA_BSS_MASK_LEVEL BIT(7)
[all …]
Dnan.h60 #define NAN_SRV_CTRL_TYPE_MASK (BIT(0) | BIT(1))
61 #define NAN_SRV_CTRL_MATCHING_FILTER BIT(2)
62 #define NAN_SRV_CTRL_RESP_FILTER BIT(3)
63 #define NAN_SRV_CTRL_SRV_INFO BIT(4)
64 #define NAN_SRV_CTRL_DISCOVERY_RANGE_LIMITED BIT(5)
65 #define NAN_SRV_CTRL_BINDING_BITMAP BIT(6)
76 #define NAN_SDEA_CTRL_FSD_REQ BIT(0)
77 #define NAN_SDEA_CTRL_FSD_GAS BIT(1)
78 #define NAN_SDEA_CTRL_DATA_PATH_REQ BIT(2)
79 #define NAN_SDEA_CTRL_DATA_PATH_TYPE BIT(3)
[all …]
Dwpa_common.h171 #define WPA_CAPABILITY_PREAUTH BIT(0)
172 #define WPA_CAPABILITY_NO_PAIRWISE BIT(1)
175 #define WPA_CAPABILITY_MFPR BIT(6)
176 #define WPA_CAPABILITY_MFPC BIT(7)
178 #define WPA_CAPABILITY_PEERKEY_ENABLED BIT(9)
179 #define WPA_CAPABILITY_SPP_A_MSDU_CAPABLE BIT(10)
180 #define WPA_CAPABILITY_SPP_A_MSDU_REQUIRED BIT(11)
181 #define WPA_CAPABILITY_PBAC BIT(12)
182 #define WPA_CAPABILITY_EXT_KEY_ID_FOR_UNICAST BIT(13)
183 #define WPA_CAPABILITY_OCVC BIT(14)
[all …]
Dqca-vendor.h23 #ifndef BIT
24 #define BIT(x) (1U << (x)) macro
2401 QCA_SETBAND_5G = BIT(0),
2402 QCA_SETBAND_2G = BIT(1),
2403 QCA_SETBAND_6G = BIT(2),
4784 QCA_WLAN_LL_STATS_CLR_REQ_BITMAP_RADIO = BIT(0),
4785 QCA_WLAN_LL_STATS_CLR_REQ_BITMAP_RADIO_CCA = BIT(1),
4786 QCA_WLAN_LL_STATS_CLR_REQ_BITMAP_RADIO_CHANNELS = BIT(2),
4787 QCA_WLAN_LL_STATS_CLR_REQ_BITMAP_RADIO_SCAN = BIT(3),
4788 QCA_WLAN_LL_STATS_CLR_REQ_BITMAP_IFACE = BIT(4),
[all …]
/hostap-latest/src/crypto/
Dtls.h104 #define TLS_CONN_ALLOW_SIGN_RSA_MD5 BIT(0)
105 #define TLS_CONN_DISABLE_TIME_CHECKS BIT(1)
106 #define TLS_CONN_DISABLE_SESSION_TICKET BIT(2)
107 #define TLS_CONN_REQUEST_OCSP BIT(3)
108 #define TLS_CONN_REQUIRE_OCSP BIT(4)
109 #define TLS_CONN_DISABLE_TLSv1_1 BIT(5)
110 #define TLS_CONN_DISABLE_TLSv1_2 BIT(6)
111 #define TLS_CONN_EAP_FAST BIT(7)
112 #define TLS_CONN_DISABLE_TLSv1_0 BIT(8)
113 #define TLS_CONN_EXT_CERT_CHECK BIT(9)
[all …]
/hostap-latest/src/ap/
Dsta_info.h23 #define WLAN_STA_AUTH BIT(0)
24 #define WLAN_STA_ASSOC BIT(1)
25 #define WLAN_STA_AUTHORIZED BIT(5)
26 #define WLAN_STA_PENDING_POLL BIT(6) /* pending activity poll not ACKed */
27 #define WLAN_STA_SHORT_PREAMBLE BIT(7)
28 #define WLAN_STA_PREAUTH BIT(8)
29 #define WLAN_STA_WMM BIT(9)
30 #define WLAN_STA_MFP BIT(10)
31 #define WLAN_STA_HT BIT(11)
32 #define WLAN_STA_WPS BIT(12)
[all …]
Dap_config.h47 #define MESH_CONF_SEC_NONE BIT(0)
48 #define MESH_CONF_SEC_AUTH BIT(1)
49 #define MESH_CONF_SEC_AMPE BIT(2)
549 #define P2P_ENABLED BIT(0)
550 #define P2P_GROUP_OWNER BIT(1)
551 #define P2P_GROUP_FORMATION BIT(2)
552 #define P2P_MANAGE BIT(3)
553 #define P2P_ALLOW_CROSS_CONNECTION BIT(4)
565 #define TDLS_PROHIBIT BIT(0)
566 #define TDLS_PROHIBIT_CHAN_SWITCH BIT(1)
[all …]
Dieee802_11_ht.c257 (bc_ie->coex_param & BIT(0)) ? "[InfoReq]" : "", in hostapd_2040_coex_action()
258 (bc_ie->coex_param & BIT(1)) ? "[40MHzIntolerant]" : "", in hostapd_2040_coex_action()
259 (bc_ie->coex_param & BIT(2)) ? "[20MHzBSSWidthReq]" : "", in hostapd_2040_coex_action()
260 (bc_ie->coex_param & BIT(3)) ? "[OBSSScanExemptionReq]" : "", in hostapd_2040_coex_action()
261 (bc_ie->coex_param & BIT(4)) ? in hostapd_2040_coex_action()
263 (bc_ie->coex_param & (BIT(5) | BIT(6) | BIT(7))) ? in hostapd_2040_coex_action()
Dieee802_11_shared.c766 *pos++ = hapd->conf->bss_max_idle == 2 ? BIT(0) : 0x00; in hostapd_eid_bss_max_idle_period()
991 fils_info |= BIT(7); in hostapd_eid_fils_indic()
993 fils_info |= BIT(8); /* HESSID Included */ in hostapd_eid_fils_indic()
995 fils_info |= BIT(9); in hostapd_eid_fils_indic()
998 fils_info |= BIT(10); in hostapd_eid_fils_indic()
1116 capab |= BIT(WLAN_RSNX_CAPAB_SAE_H2E); in hostapd_eid_rsnxe()
1119 capab |= BIT(WLAN_RSNX_CAPAB_SAE_PK); in hostapd_eid_rsnxe()
1124 capab |= BIT(WLAN_RSNX_CAPAB_SECURE_LTF); in hostapd_eid_rsnxe()
1126 capab |= BIT(WLAN_RSNX_CAPAB_SECURE_RTT); in hostapd_eid_rsnxe()
1128 capab |= BIT(WLAN_RSNX_CAPAB_URNM_MFPR); in hostapd_eid_rsnxe()
[all …]
/hostap-latest/wpa_supplicant/
Dconfig.h421 #define CFG_CHANGED_DEVICE_NAME BIT(0)
422 #define CFG_CHANGED_CONFIG_METHODS BIT(1)
423 #define CFG_CHANGED_DEVICE_TYPE BIT(2)
424 #define CFG_CHANGED_OS_VERSION BIT(3)
425 #define CFG_CHANGED_UUID BIT(4)
426 #define CFG_CHANGED_COUNTRY BIT(5)
427 #define CFG_CHANGED_SEC_DEVICE_TYPE BIT(6)
428 #define CFG_CHANGED_P2P_SSID_POSTFIX BIT(7)
429 #define CFG_CHANGED_WPS_STRING BIT(8)
430 #define CFG_CHANGED_P2P_INTRA_BSS BIT(9)
[all …]
Dbss.h14 #define WPA_BSS_QUAL_INVALID BIT(0)
15 #define WPA_BSS_NOISE_INVALID BIT(1)
16 #define WPA_BSS_LEVEL_INVALID BIT(2)
17 #define WPA_BSS_LEVEL_DBM BIT(3)
18 #define WPA_BSS_AUTHENTICATED BIT(4)
19 #define WPA_BSS_ASSOCIATED BIT(5)
20 #define WPA_BSS_ANQP_FETCH_TRIED BIT(6)
21 #define WPA_BSS_OWE_TRANSITION BIT(7)
23 #define WPA_BSS_FREQ_CHANGED_FLAG BIT(0)
24 #define WPA_BSS_SIGNAL_CHANGED_FLAG BIT(1)
[all …]
Drobust_av.c957 if (classifier_mask & BIT(1)) { in write_ipv4_info()
972 if (classifier_mask & BIT(2)) { in write_ipv4_info()
987 if (classifier_mask & BIT(3)) { in write_ipv4_info()
996 if (classifier_mask & BIT(4)) { in write_ipv4_info()
1005 if (classifier_mask & BIT(6)) { in write_ipv4_info()
1027 if (classifier_mask & BIT(1)) { in write_ipv6_info()
1042 if (classifier_mask & BIT(2)) { in write_ipv6_info()
1057 if (classifier_mask & BIT(3)) { in write_ipv6_info()
1066 if (classifier_mask & BIT(4)) { in write_ipv6_info()
1075 if (classifier_mask & BIT(6)) { in write_ipv6_info()
[all …]
Dtwt.c68 req_type |= BIT(0); /* This STA is a TWT Requesting STA */ in wpas_twt_send_setup()
72 req_type |= BIT(4); /* TWT SP includes trigger frames */ in wpas_twt_send_setup()
74 req_type |= BIT(5); /* Implicit TWT */ in wpas_twt_send_setup()
76 req_type |= BIT(6); /* Flow Type: Unannounced TWT */ in wpas_twt_send_setup()
80 req_type |= BIT(15); in wpas_twt_send_setup()
Dconfig_ssid.h341 #define EAPOL_FLAG_REQUIRE_KEY_UNICAST BIT(0)
342 #define EAPOL_FLAG_REQUIRE_KEY_BROADCAST BIT(1)
994 #define MKA_PSK_SET_CKN BIT(0)
995 #define MKA_PSK_SET_CAK BIT(1)
/hostap-latest/wlantest/
Dtest_vectors.c209 (fc & (BIT(2) | BIT(3) | BIT(4))) >> 2, in test_vector_ccmp_pv1()
210 (fc & (BIT(5) | BIT(6) | BIT(7))) >> 5, in test_vector_ccmp_pv1()
211 !!(fc & BIT(8)), in test_vector_ccmp_pv1()
212 !!(fc & BIT(9)), in test_vector_ccmp_pv1()
213 !!(fc & BIT(10)), in test_vector_ccmp_pv1()
214 !!(fc & BIT(11)), in test_vector_ccmp_pv1()
215 !!(fc & BIT(12)), in test_vector_ccmp_pv1()
216 !!(fc & BIT(13)), in test_vector_ccmp_pv1()
217 !!(fc & BIT(14)), in test_vector_ccmp_pv1()
218 !!(fc & BIT(15))); in test_vector_ccmp_pv1()
[all …]
Dccmp.c97 nonce[0] = BIT(5); /* PV1 */ in ccmp_aad_nonce_pv1()
101 type = (fc & (BIT(2) | BIT(3) | BIT(4))) >> 2; in ccmp_aad_nonce_pv1()
107 ptid = (fc & (BIT(5) | BIT(6) | BIT(7))) >> 5; in ccmp_aad_nonce_pv1()
111 fc &= ~(BIT(10) | BIT(11) | BIT(13) | BIT(14) | BIT(15)); in ccmp_aad_nonce_pv1()
112 fc |= BIT(12); in ccmp_aad_nonce_pv1()
276 hdr->frame_control |= host_to_le16(BIT(12)); /* Protected Frame */ in ccmp_encrypt_pv1()
/hostap-latest/src/drivers/
Ddriver.h53 HOSTAPD_CHAN_WIDTH_10 = BIT(0),
54 HOSTAPD_CHAN_WIDTH_20 = BIT(1),
55 HOSTAPD_CHAN_WIDTH_40P = BIT(2),
56 HOSTAPD_CHAN_WIDTH_40M = BIT(3),
57 HOSTAPD_CHAN_WIDTH_80 = BIT(4),
58 HOSTAPD_CHAN_WIDTH_160 = BIT(5),
59 HOSTAPD_CHAN_WIDTH_320 = BIT(6),
63 #define WPA_DATA_FRAME_FILTER_FLAG_ARP BIT(0)
65 #define WPA_DATA_FRAME_FILTER_FLAG_NA BIT(1)
67 #define WPA_DATA_FRAME_FILTER_FLAG_GTK BIT(2)
[all …]
/hostap-latest/src/p2p/
Dp2p_i.h100 #define P2P_DEV_PROBE_REQ_ONLY BIT(0)
101 #define P2P_DEV_REPORTED BIT(1)
102 #define P2P_DEV_NOT_YET_READY BIT(2)
103 #define P2P_DEV_PD_PEER_DISPLAY BIT(5)
104 #define P2P_DEV_PD_PEER_KEYPAD BIT(6)
105 #define P2P_DEV_USER_REJECTED BIT(7)
106 #define P2P_DEV_PEER_WAITING_RESPONSE BIT(8)
107 #define P2P_DEV_PREFER_PERSISTENT_GROUP BIT(9)
108 #define P2P_DEV_WAIT_GO_NEG_RESPONSE BIT(10)
109 #define P2P_DEV_WAIT_GO_NEG_CONFIRM BIT(11)
[all …]
/hostap-latest/src/eap_peer/
Deap_config.h651 #define EAP_CONFIG_FLAGS_PASSWORD_NTHASH BIT(0)
652 #define EAP_CONFIG_FLAGS_EXT_PASSWORD BIT(1)
653 #define EAP_CONFIG_FLAGS_MACHINE_PASSWORD_NTHASH BIT(2)
654 #define EAP_CONFIG_FLAGS_EXT_MACHINE_PASSWORD BIT(3)
/hostap-latest/src/eapol_auth/
Deapol_auth_sm.h12 #define EAPOL_SM_PREAUTH BIT(0)
13 #define EAPOL_SM_WAIT_START BIT(1)
14 #define EAPOL_SM_USES_WPA BIT(2)
15 #define EAPOL_SM_FROM_PMKSA_CACHE BIT(3)
/hostap-latest/src/utils/
Dbitfield.c44 bf->bits[bit / 8] |= BIT(bit % 8); in bitfield_set()
52 bf->bits[bit / 8] &= ~BIT(bit % 8); in bitfield_clear()
60 return !!(bf->bits[bit / 8] & BIT(bit % 8)); in bitfield_is_set()
/hostap-latest/src/rsn_supp/
Dwpa_ie.c382 capab |= BIT(WLAN_RSNX_CAPAB_SAE_H2E); in wpa_gen_rsnxe()
385 capab |= BIT(WLAN_RSNX_CAPAB_SAE_PK); in wpa_gen_rsnxe()
390 capab |= BIT(WLAN_RSNX_CAPAB_SECURE_LTF); in wpa_gen_rsnxe()
392 capab |= BIT(WLAN_RSNX_CAPAB_SECURE_RTT); in wpa_gen_rsnxe()
394 capab |= BIT(WLAN_RSNX_CAPAB_URNM_MFPR); in wpa_gen_rsnxe()
396 capab |= BIT(WLAN_RSNX_CAPAB_SSID_PROTECTION); in wpa_gen_rsnxe()
/hostap-latest/src/eapol_supp/
Deapol_supp_sm.h33 #define EAPOL_REQUIRE_KEY_UNICAST BIT(0)
34 #define EAPOL_REQUIRE_KEY_BROADCAST BIT(1)
64 #define EAPOL_LOCAL_WPS_IN_USE BIT(0)
65 #define EAPOL_PEER_IS_WPS20_AP BIT(1)

1234