Home
last modified time | relevance | path

Searched refs:u16 (Results 1 – 25 of 97) sorted by relevance

1234

/hal_espressif-latest/components/wpa_supplicant/src/wps/
Dwps_attr_parse.h73 u16 manufacturer_len;
74 u16 model_name_len;
75 u16 model_number_len;
76 u16 serial_number_len;
77 u16 dev_name_len;
78 u16 public_key_len;
79 u16 encr_settings_len;
80 u16 ssid_len;
81 u16 network_key_len;
82 u16 authorized_macs_len;
[all …]
Dwps.h50 u16 auth_type;
51 u16 encr_type;
98 u16 config_methods;
168 u16 dev_pw_id;
250 struct wpabuf * wps_build_probe_req_ie(u16 pw_id, struct wps_device_data *dev,
332 void (*set_sel_reg_cb)(void *ctx, int sel_reg, u16 dev_passwd_id,
333 u16 sel_reg_config_methods);
347 const u8 *pri_dev_type, u16 config_methods,
348 u16 dev_password_id, u8 request_type,
537 u16 config_methods;
[all …]
Dwps_i.h73 u16 dev_pw_id;
77 u16 alt_dev_pw_id;
90 u16 encr_type;
95 u16 auth_type;
108 u16 config_error;
109 u16 error_indication;
143 u16 config_error, u16 error_indication, const u8 *mac_addr);
160 int wps_build_config_methods(struct wpabuf *msg, u16 methods);
162 int wps_build_dev_password_id(struct wpabuf *msg, u16 id);
163 int wps_build_config_error(struct wpabuf *msg, u16 err);
[all …]
/hal_espressif-latest/components/wpa_supplicant/src/common/
Dieee802_11_defs.h381 u16 status_code;
382 u16 comeback_delay;
436 #define HT_CAP_INFO_LDPC_CODING_CAP ((u16) BIT(0))
437 #define HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET ((u16) BIT(1))
438 #define HT_CAP_INFO_SMPS_MASK ((u16) (BIT(2) | BIT(3)))
439 #define HT_CAP_INFO_SMPS_STATIC ((u16) 0)
440 #define HT_CAP_INFO_SMPS_DYNAMIC ((u16) BIT(2))
441 #define HT_CAP_INFO_SMPS_DISABLED ((u16) (BIT(2) | BIT(3)))
442 #define HT_CAP_INFO_GREEN_FIELD ((u16) BIT(4))
443 #define HT_CAP_INFO_SHORT_GI20MHZ ((u16) BIT(5))
[all …]
Dwnm_sta.h31 u16 tsf_offset; /* valid if tsf_present=1 */
32 u16 beacon_int; /* valid if tsf_present=1 */
35 u16 bearing; /* valid if bearing_present=1 */
36 u16 rel_height; /* valid if bearing_present=1 */
39 u16 bss_term_dur; /* valid if bss_term_present=1 */
57 u8 action, u16 intval, struct wpabuf *tfs_req);
Dsae.h110 u16 send_confirm;
119 u16 rc; /* protocol instance variable: Rc (received send-confirm) */
138 u16 sae_parse_commit(struct sae_data *sae, const u8 *data, size_t len,
143 u16 sae_group_allowed(struct sae_data *sae, int *allowed_groups, u16 group);
/hal_espressif-latest/components/wpa_supplicant/src/ap/
Dieee802_11.h14 int auth_sae_queue(struct hostapd_data *hapd, u8 *buf, size_t len, u8 *bssid, u16 status, u32 auth_…
17 u16 auth_transaction, u16 status);
18 u16 wpa_res_to_status_code(enum wpa_validate_result res);
Dcomeback_token.h13 u16 *comeback_pending_idx, const u8 *addr,
17 u8 *comeback_key, u16 comeback_idx,
18 u16 *comeback_pending_idx, size_t idx_len,
Dcomeback_token.c33 u16 *comeback_pending_idx, const u8 *addr, in check_comeback_token()
39 u16 token_idx; in check_comeback_token()
73 u8 *comeback_key, u16 comeback_idx, in auth_build_token_req()
74 u16 *comeback_pending_idx, size_t idx_len, in auth_build_token_req()
84 u16 token_idx; in auth_build_token_req()
Dsta_info.h53 u16 auth_alg;
108 u16 reason);
110 u16 reason);
121 const u8 *addr, u16 reason);
Dhostapd.h71 u16 status;
151 u16 comeback_idx;
152 u16 comeback_pending_idx[COMEBACK_PENDING_IDX_SIZE];
/hal_espressif-latest/components/wpa_supplicant/src/tls/
Dtlsv1_record.h32 u16 tls_version;
51 u16 cipher_suite;
52 u16 write_cipher_suite;
53 u16 read_cipher_suite;
61 u16 cipher_suite);
Dtlsv1_common.h216 u16 suite;
250 const struct tls_cipher_suite * tls_get_cipher_suite(u16 suite);
258 int tls_version_ok(u16 ver);
259 const char * tls_version_str(u16 ver);
260 int tls_prf(u16 ver, const u8 *secret, size_t secret_len, const char *label,
262 int tlsv12_key_x_server_params_hash(u16 tls_version, u8 hash_Alg,
267 int tls_key_x_server_params_hash(u16 tls_version, const u8 *client_random,
271 int tls_verify_signature(u16 tls_version, struct crypto_public_key *pk,
Dtlsv1_server_i.h40 u16 cipher_suites[MAX_CIPHER_COUNT];
43 u16 cipher_suite;
48 u16 client_version;
Dtlsv1_client_i.h46 u16 cipher_suites[MAX_CIPHER_COUNT];
49 u16 prev_cipher_suite;
81 u16 tls_client_highest_ver(struct tlsv1_client *conn);
Dtlsv1_common.c107 const struct tls_cipher_suite * tls_get_cipher_suite(u16 suite) in tls_get_cipher_suite()
289 int tls_version_ok(u16 ver) in tls_version_ok()
306 const char * tls_version_str(u16 ver) in tls_version_str()
321 int tls_prf(u16 ver, const u8 *secret, size_t secret_len, const char *label, in tls_prf()
338 int tlsv12_key_x_server_params_hash(u16 tls_version, u8 hash_alg, in tlsv12_key_x_server_params_hash()
380 int tls_key_x_server_params_hash(u16 tls_version, const u8 *client_random, in tls_key_x_server_params_hash()
416 int tls_verify_signature(u16 tls_version, struct crypto_public_key *pk, in tls_verify_signature()
423 u16 slen; in tls_verify_signature()
/hal_espressif-latest/components/wpa_supplicant/src/eap_peer/
Deap_fast_common.h92 void eap_fast_put_tlv_hdr(struct wpabuf *buf, u16 type, u16 len);
93 void eap_fast_put_tlv(struct wpabuf *buf, u16 type, const void *data,
94 u16 len);
95 void eap_fast_put_tlv_buf(struct wpabuf *buf, u16 type,
Deap_fast_common.c19 void eap_fast_put_tlv_hdr(struct wpabuf *buf, u16 type, u16 len) in eap_fast_put_tlv_hdr()
28 void eap_fast_put_tlv(struct wpabuf *buf, u16 type, const void *data, in eap_fast_put_tlv()
29 u16 len) in eap_fast_put_tlv()
36 void eap_fast_put_tlv_buf(struct wpabuf *buf, u16 type, in eap_fast_put_tlv_buf()
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/
Desp_wpa3_i.h47 u16 status;
62 u16 auth_alg, u16 auth_transaction, u16 resp,
Desp_wpas_glue.h11 const void *data, u16 data_len,
26 const void *data, u16 data_len,
31 int wpa_ether_send(void *ctx, const u8 *dest, u16 proto,
Desp_hostap.h20 u16 esp_send_assoc_resp(struct hostapd_data *data, const u8 *addr,
21 u16 status_code, bool omit_rsnxe, int subtype);
/hal_espressif-latest/components/wpa_supplicant/src/utils/
Dcommon.h23 typedef uint16_t u16; typedef
85 #define le_to_host16(n) ((__force u16) (le16) (n))
86 #define host_to_le16(n) ((__force le16) (u16) (n))
87 #define be_to_host16(n) __builtin_bswap16((__force u16) (be16) (n))
128 static inline u16 WPA_GET_BE16(const u8 *a) in WPA_GET_BE16()
133 static inline void WPA_PUT_BE16(u8 *a, u16 val) in WPA_PUT_BE16()
139 static inline u16 WPA_GET_LE16(const u8 *a) in WPA_GET_LE16()
144 static inline void WPA_PUT_LE16(u8 *a, u16 val) in WPA_PUT_LE16()
303 #define bswap_16(a) ((((u16) (a) << 8) & 0xff00) | (((u16) (a) >> 8) & 0xff))
354 typedef u16 __bitwise be16;
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/
Dbt_types.h234 #define UINT16_TO_STREAM(p, u16) {*(p)++ = (UINT8)(u16); *(p)++ = (UINT8)((u16) >> 8);} argument
247 #define STREAM_TO_UINT16(u16, p) {u16 = ((UINT16)(*(p)) + (((UINT16)(*((p) + 1))) << 8)); (p) += 2;} argument
268 #define UINT16_TO_FIELD(p, u16) {*(UINT8 *)(p) = (UINT8)(u16); *((UINT8 *)(p)+1) = (UINT8)((u16) >>… argument
278 #define UINT16_TO_BE_STREAM(p, u16) {*(p)++ = (UINT8)((u16) >> 8); *(p)++ = (UINT8)(u16);} argument
284 #define BE_STREAM_TO_UINT16(u16, p) {u16 = (UINT16)(((UINT16)(*(p)) << 8) + (UINT16)(*((p) + 1))); … argument
296 #define UINT16_TO_BE_FIELD(p, u16) {*(UINT8 *)(p) = (UINT8)((u16) >> 8); *((UINT8 *)(p)+1) = (UINT8… argument
/hal_espressif-latest/components/wpa_supplicant/src/drivers/
Ddriver.h66 u16 beacon_int;
67 u16 caps;
143 u16 duration;
/hal_espressif-latest/components/bt/host/bluedroid/stack/sdp/
Dsdp_api.c353 p_uuid->uu.uuid16 = p_sattr->attr_value.v.u16; in SDP_FindServiceUUIDInRec()
380 p_uuid->uu.uuid16 = p_extra_sattr->attr_value.v.u16; in SDP_FindServiceUUIDInRec()
393 p_uuid->uu.uuid16 = p_attr->attr_value.v.u16; in SDP_FindServiceUUIDInRec()
499 p_sattr->attr_value.v.u16, service_uuid); in SDP_FindServiceInDb()
501 …if ( (p_sattr->attr_value.v.u16 == UUID_SERVCLASS_HDP_SOURCE) || ( p_sattr->attr_value.v.u16 == UU… in SDP_FindServiceInDb()
511 && p_sattr->attr_value.v.u16 == service_uuid))) in SDP_FindServiceInDb()
529 … && ((p_extra_sattr->attr_value.v.u16 == service_uuid) || (service_uuid == 0))) { in SDP_FindServiceInDb()
541 && ((p_attr->attr_value.v.u16 == service_uuid) || service_uuid == 0)) { in SDP_FindServiceInDb()
711 && (p_sattr->attr_value.v.u16 == layer_uuid)) { in sdp_fill_proto_elem()
723 p_elem->params[p_elem->num_params++] = p_sattr->attr_value.v.u16; in sdp_fill_proto_elem()
[all …]

1234