Home
last modified time | relevance | path

Searched refs:ies_len (Results 1 – 25 of 41) sorted by relevance

12

/external/wpa_supplicant_8/src/rsn_supp/
Dwpa.h52 size_t ies_len);
54 const u8 *ies, size_t ies_len);
354 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len);
356 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len,
362 size_t ies_len, const u8 *src_addr);
369 wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params() argument
381 wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response() argument
397 wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_validate_reassoc_resp() argument
Dwpa_ft.c58 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params() argument
65 if (wpa_ft_parse_ies(ies, ies_len, &ft) < 0) in wpa_sm_set_ft_params()
376 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response() argument
389 wpa_hexdump(MSG_DEBUG, "FT: Response IEs", ies, ies_len); in wpa_ft_process_response()
413 if (wpa_ft_parse_ies(ies, ies_len, &parse) < 0) { in wpa_ft_process_response()
675 size_t ies_len, const u8 *src_addr) in wpa_ft_validate_reassoc_resp() argument
683 wpa_hexdump(MSG_DEBUG, "FT: Response IEs", ies, ies_len); in wpa_ft_validate_reassoc_resp()
696 if (wpa_ft_parse_ies(ies, ies_len, &parse) < 0) { in wpa_ft_validate_reassoc_resp()
Dwpa_i.h266 const u8 *ies, size_t ies_len) in wpa_sm_update_ft_ies() argument
269 return sm->ctx->update_ft_ies(sm->ctx->ctx, md, ies, ies_len); in wpa_sm_update_ft_ies()
275 const u8 *ies, size_t ies_len) in wpa_sm_send_ft_action() argument
279 ies, ies_len); in wpa_sm_send_ft_action()
/external/wpa_supplicant_8/src/common/
Dieee802_11_common.c522 int ieee802_11_ie_count(const u8 *ies, size_t ies_len) in ieee802_11_ie_count() argument
531 end = ies + ies_len; in ieee802_11_ie_count()
544 struct wpabuf * ieee802_11_vendor_ie_concat(const u8 *ies, size_t ies_len, in ieee802_11_vendor_ie_concat() argument
551 end = ies + ies_len; in ieee802_11_vendor_ie_concat()
568 buf = wpabuf_alloc(ies_len); in ieee802_11_vendor_ie_concat()
1270 size_t ies_len) in mb_ies_info_by_ies() argument
1274 while (ies_buf && ies_len >= 2 && in mb_ies_info_by_ies()
1278 if (len > ies_len) { in mb_ies_info_by_ies()
1280 ies_buf, ies_len); in mb_ies_info_by_ies()
1291 ies_len -= len; in mb_ies_info_by_ies()
Dieee802_11_common.h134 int ieee802_11_ie_count(const u8 *ies, size_t ies_len);
135 struct wpabuf * ieee802_11_vendor_ie_concat(const u8 *ies, size_t ies_len,
160 size_t ies_len);
Dprivsep_commands.h107 size_t ies_len; member
Dwpa_common.h422 int wpa_insert_pmkid(u8 *ies, size_t *ies_len, const u8 *pmkid);
447 int wpa_ft_parse_ies(const u8 *ies, size_t ies_len, struct wpa_ft_ies *parse);
/external/wpa_supplicant_8/wpa_supplicant/
Dsme.h20 const u8 *ies, size_t ies_len);
56 const u8 *ies, size_t ies_len) in sme_update_ft_ies() argument
Dwmm_ac.c419 size_t ies_len) in wmm_ac_process_param_elem() argument
427 if (ieee802_11_parse_elems(ies, ies_len, &elems, 1) == ParseFailed) { in wmm_ac_process_param_elem()
464 size_t ies_len, const struct wmm_params *wmm_params) in wmm_ac_init() argument
488 assoc_data = wmm_ac_process_param_elem(wpa_s, ies, ies_len); in wmm_ac_init()
534 size_t ies_len, const struct wmm_params *wmm_params) in wmm_ac_notify_assoc() argument
536 if (wmm_ac_init(wpa_s, ies, ies_len, wmm_params)) in wmm_ac_notify_assoc()
Drrm.c639 static int wpas_get_op_chan_phy(int freq, const u8 *ies, size_t ies_len, in wpas_get_op_chan_phy() argument
648 ie = get_ie(ies, ies_len, WLAN_EID_HT_OPERATION); in wpas_get_op_chan_phy()
662 ie = get_ie(ies, ies_len, WLAN_EID_VHT_OPERATION); in wpas_get_op_chan_phy()
713 size_t ies_len = bss->ie_len ? bss->ie_len : bss->beacon_ie_len; in wpas_beacon_rep_add_frame_body() local
757 while (ies_len > 2 && 2U + ies[1] <= ies_len && rem_len > 0) { in wpas_beacon_rep_add_frame_body()
781 ies_len -= 2 + ies[1]; in wpas_beacon_rep_add_frame_body()
Dsme.c930 data->auth.ies, data->auth.ies_len); in sme_event_auth()
939 data->auth.ies_len); in sme_event_auth()
958 if (data->auth.ies && data->auth.ies_len) { in sme_event_auth()
959 size_t buflen = 2 * data->auth.ies_len + 1; in sme_event_auth()
963 data->auth.ies_len); in sme_event_auth()
1017 data->auth.ies_len, 0, in sme_event_auth()
1057 data->auth.ies, data->auth.ies_len) < 0) { in sme_event_auth()
1329 const u8 *ies, size_t ies_len) in sme_update_ft_ies() argument
1341 wpa_hexdump(MSG_DEBUG, "SME: FT IEs", ies, ies_len); in sme_update_ft_ies()
1343 wpa_s->sme.ft_ies = os_memdup(ies, ies_len); in sme_update_ft_ies()
[all …]
Dmesh.c493 static int mesh_attr_text(const u8 *ies, size_t ies_len, char *buf, char *end) in mesh_attr_text() argument
500 if (ieee802_11_parse_elems(ies, ies_len, &elems, 0) == ParseFailed) in mesh_attr_text()
581 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf, in wpas_mesh_scan_result_text() argument
584 return mesh_attr_text(ies, ies_len, buf, end); in wpas_mesh_scan_result_text()
Dwpas_glue.c602 const u8 *ies, size_t ies_len) in wpa_supplicant_update_ft_ies() argument
606 return sme_update_ft_ies(wpa_s, md, ies, ies_len); in wpa_supplicant_update_ft_ies()
607 return wpa_drv_update_ft_ies(wpa_s, md, ies, ies_len); in wpa_supplicant_update_ft_ies()
613 const u8 *ies, size_t ies_len) in wpa_supplicant_send_ft_action() argument
635 data_len = 2 + 2 * ETH_ALEN + ies_len; in wpa_supplicant_send_ft_action()
646 os_memcpy(pos, ies, ies_len); in wpa_supplicant_send_ft_action()
Dmesh.h17 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf,
Dwmm_ac.h164 size_t ies_len, const struct wmm_params *wmm_params);
Dwpa_priv.c886 size_t buflen = sizeof(struct privsep_event_auth) + data->auth.ies_len; in wpa_priv_send_auth()
903 os_memcpy(pos, data->auth.ies, data->auth.ies_len); in wpa_priv_send_auth()
904 auth->ies_len = data->auth.ies_len; in wpa_priv_send_auth()
1015 len = sizeof(int) + ETH_ALEN + data->ft_ies.ies_len; in wpa_priv_send_ft_response()
1025 os_memcpy(pos, data->ft_ies.ies, data->ft_ies.ies_len); in wpa_priv_send_ft_response()
Ddriver_i.h308 const u8 *ies, size_t ies_len) in wpa_drv_update_ft_ies() argument
312 ies, ies_len); in wpa_drv_update_ft_ies()
959 const u8 *ies, size_t ies_len) in wpa_drv_p2p_lo_start() argument
965 dev_types_len, ies, ies_len); in wpa_drv_p2p_lo_start()
Dwps_supplicant.h48 int wpas_wps_scan_result_text(const u8 *ies, size_t ies_len, char *pos,
/external/wpa_supplicant_8/src/ap/
Dwpa_auth.h368 u16 auth_transaction, const u8 *ies, size_t ies_len,
371 const u8 *ies, size_t ies_len),
374 size_t ies_len);
418 const u8 *ies, size_t ies_len,
421 size_t ies_len);
Dwpa_auth_ft.c1400 const u8 *ies, size_t ies_len, in wpa_ft_pull_pmk_r1() argument
1494 ft_pending_req_ies = wpabuf_alloc_copy(ies, ies_len); in wpa_ft_pull_pmk_r1()
1663 const u8 *ies, size_t ies_len) in wpa_ft_process_rdie() argument
1671 ies, ies_len); in wpa_ft_process_rdie()
1686 if (ieee802_11_parse_elems((u8 *) ies, ies_len, &parse, 1) == in wpa_ft_process_rdie()
2054 const u8 *ies, size_t ies_len, in wpa_ft_process_auth_req() argument
2075 ies, ies_len); in wpa_ft_process_auth_req()
2077 if (wpa_ft_parse_ies(ies, ies_len, &parse) < 0) { in wpa_ft_process_auth_req()
2132 if (wpa_ft_pull_pmk_r1(sm, ies, ies_len, parse.rsn_pmkid) < 0) { in wpa_ft_process_auth_req()
2203 u16 auth_transaction, const u8 *ies, size_t ies_len, in wpa_ft_process_auth() argument
[all …]
Dieee802_11.c280 const u8 *ies, size_t ies_len) in send_auth_reply() argument
287 rlen = IEEE80211_HDRLEN + sizeof(reply->u.auth) + ies_len; in send_auth_reply()
303 if (ies && ies_len) in send_auth_reply()
304 os_memcpy(reply->u.auth.variable, ies, ies_len); in send_auth_reply()
309 resp, (unsigned long) ies_len); in send_auth_reply()
324 const u8 *ies, size_t ies_len) in handle_auth_ft_finish() argument
331 auth_transaction, status, ies, ies_len); in handle_auth_ft_finish()
2301 const u8 *ies, size_t ies_len, int reassoc) in check_assoc_ies() argument
2309 if (ieee802_11_parse_elems(ies, ies_len, &elems, 1) == ParseFailed) { in check_assoc_ies()
2371 sta->p2p_ie = ieee802_11_vendor_ie_concat(ies, ies_len, in check_assoc_ies()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver_privsep.c390 if (len < sizeof(*auth) + auth->ies_len) in wpa_driver_privsep_event_auth()
398 if (auth->ies_len) { in wpa_driver_privsep_event_auth()
400 data.auth.ies_len = auth->ies_len; in wpa_driver_privsep_event_auth()
498 data.ft_ies.ies_len = len - sizeof(int) - ETH_ALEN; in wpa_driver_privsep_event_ft_response()
Ddriver.h2425 size_t ies_len);
3924 const u8 *ies, size_t ies_len);
3947 int (*set_default_scan_ies)(void *priv, const u8 *ies, size_t ies_len);
4859 size_t ies_len; member
4885 size_t ies_len; member
/external/iw/
Dscan.c359 size_t ies_len = 0, meshid_len = 0; in handle_scan() local
424 ies = parse_hex(argv[i], &ies_len); in handle_scan()
447 tmpies = (unsigned char *) malloc(ies_len + meshid_len); in handle_scan()
451 memcpy(tmpies, ies, ies_len); in handle_scan()
455 memcpy(&tmpies[ies_len], meshid, meshid_len); in handle_scan()
458 NLA_PUT(msg, NL80211_ATTR_IE, ies_len + meshid_len, tmpies); in handle_scan()
/external/wpa_supplicant_8/src/p2p/
Dp2p.h1609 size_t ies_len);
1874 int p2p_scan_result_text(const u8 *ies, size_t ies_len, char *buf, char *end);
1892 int p2p_parse_dev_addr(const u8 *ies, size_t ies_len, u8 *dev_addr);

12