/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/ |
H A D | wpa.h | 52 int (*update_ft_ies)(void *ctx, const u8 *md, const u8 *ies, 55 const u8 *ies, size_t ies_len); 363 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len); 365 int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *ies, size_t ies_len, 368 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, 373 int wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, 381 wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params() argument 392 static inline int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *ies, size_t ies_len, in wpa_ft_add_mdie() argument 399 wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response() argument 415 wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, size_ argument [all...] |
H A D | wpa_ft.c | 72 * @ies: Association Response IEs or %NULL to clear FT parameters 73 * @ies_len: Length of ies buffer in octets 76 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params() argument 85 if (wpa_ft_parse_ies(ies, ies_len, &ft, use_sha384) < 0) in wpa_sm_set_ft_params() 485 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response() argument 501 wpa_hexdump(MSG_DEBUG, "FT: Response IEs", ies, ies_len); in wpa_ft_process_response() 525 if (wpa_ft_parse_ies(ies, ies_len, &parse, use_sha384) < 0) { in wpa_ft_process_response() 841 int wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, in wpa_ft_validate_reassoc_resp() argument 854 wpa_hexdump(MSG_DEBUG, "FT: Response IEs", ies, ies_len); in wpa_ft_validate_reassoc_resp() 867 if (wpa_ft_parse_ies(ies, ies_le in wpa_ft_validate_reassoc_resp() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | mesh.h | 17 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf, 28 const u8 *ies, size_t ie_len); 36 const u8 *ies, size_t ie_len) in wpa_mesh_notify_peer() 34 wpa_mesh_notify_peer(struct wpa_supplicant *wpa_s, const u8 *addr, const u8 *ies, size_t ie_len) wpa_mesh_notify_peer() argument
|
H A D | rrm.c | 688 static int wpas_get_op_chan_phy(int freq, const u8 *ies, size_t ies_len, in wpas_get_op_chan_phy() argument 697 ie = get_ie(ies, ies_len, WLAN_EID_HT_OPERATION); in wpas_get_op_chan_phy() 711 ie = get_ie(ies, ies_len, WLAN_EID_VHT_OPERATION); in wpas_get_op_chan_phy() 762 u8 *ies = *ies_buf; in wpas_beacon_rep_add_frame_body() local 811 while (ies_len > 2 && 2U + ies[1] <= ies_len && rem_len > 0) { in wpas_beacon_rep_add_frame_body() 813 (eids && bitfield_is_set(eids, ies[0]))) { in wpas_beacon_rep_add_frame_body() 814 u8 elen = ies[1]; in wpas_beacon_rep_add_frame_body() 820 *pos++ = ies[0]; in wpas_beacon_rep_add_frame_body() 822 os_memcpy(pos, ies + 2, elen); in wpas_beacon_rep_add_frame_body() 827 ies_len -= 2 + ies[ in wpas_beacon_rep_add_frame_body() 911 u8 *ies = (u8 *) (bss + 1); wpas_add_beacon_rep() local [all...] |
H A D | mesh.c | 221 params->ies = ifmsh->mconf->rsn_ie; in wpas_mesh_complete() 406 const u8 *ies, size_t ie_len) in wpa_mesh_notify_peer() 413 if (ieee802_11_parse_elems(ies, ie_len, &elems, 0) == ParseFailed) { in wpa_mesh_notify_peer() 549 static int mesh_attr_text(const u8 *ies, size_t ies_len, char *buf, char *end) in mesh_attr_text() argument 556 if (ieee802_11_parse_elems(ies, ies_len, &elems, 0) == ParseFailed) in mesh_attr_text() 637 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf, in wpas_mesh_scan_result_text() argument 640 return mesh_attr_text(ies, ies_len, buf, end); in wpas_mesh_scan_result_text() 405 wpa_mesh_notify_peer(struct wpa_supplicant *wpa_s, const u8 *addr, const u8 *ies, size_t ie_len) wpa_mesh_notify_peer() argument
|
H A D | sme.h | 20 const u8 *ies, size_t ies_len); 61 const u8 *ies, size_t ies_len) in sme_update_ft_ies() 60 sme_update_ft_ies(struct wpa_supplicant *wpa_s, const u8 *md, const u8 *ies, size_t ies_len) sme_update_ft_ies() argument
|
H A D | wmm_ac.c | 418 wmm_ac_process_param_elem(struct wpa_supplicant *wpa_s, const u8 *ies, 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() 428 wpa_printf(MSG_DEBUG, "WMM AC: could not parse assoc ies"); in wmm_ac_process_param_elem() 463 static int wmm_ac_init(struct wpa_supplicant *wpa_s, const u8 *ies, in wmm_ac_init() argument 474 if (!ies || !(wmm_params->info_bitmap & WMM_PARAMS_UAPSD_QUEUES_INFO)) { in wmm_ac_init() 483 assoc_data = wmm_ac_process_param_elem(wpa_s, ies, ies_len); in wmm_ac_init() 528 void wmm_ac_notify_assoc(struct wpa_supplicant *wpa_s, const u8 *ies, in wmm_ac_notify_assoc() argument 531 if (wmm_ac_init(wpa_s, ies, ies_len, wmm_params)) in wmm_ac_notify_assoc()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | mesh.h | 19 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf, 30 const u8 *ies, size_t ie_len); 38 const u8 *ies, size_t ie_len) in wpa_mesh_notify_peer() 36 wpa_mesh_notify_peer(struct wpa_supplicant *wpa_s, const u8 *addr, const u8 *ies, size_t ie_len) wpa_mesh_notify_peer() argument
|
H A D | rrm.c | 710 int wpas_get_op_chan_phy(int freq, const u8 *ies, size_t ies_len, in wpas_get_op_chan_phy() argument 719 ie = get_ie(ies, ies_len, WLAN_EID_HT_OPERATION); in wpas_get_op_chan_phy() 733 ie = get_ie(ies, ies_len, WLAN_EID_VHT_OPERATION); in wpas_get_op_chan_phy() 784 const u8 *ies = *ies_buf; in wpas_beacon_rep_add_frame_body() local 833 while (ies_len > 2 && 2U + ies[1] <= ies_len && rem_len > 0) { in wpas_beacon_rep_add_frame_body() 835 (eids && bitfield_is_set(eids, ies[0]))) { in wpas_beacon_rep_add_frame_body() 836 u8 elen = ies[1]; in wpas_beacon_rep_add_frame_body() 842 *pos++ = ies[0]; in wpas_beacon_rep_add_frame_body() 844 os_memcpy(pos, ies + 2, elen); in wpas_beacon_rep_add_frame_body() 849 ies_len -= 2 + ies[ in wpas_beacon_rep_add_frame_body() 933 const u8 *ies = wpa_bss_ie_ptr(bss); wpas_add_beacon_rep() local [all...] |
H A D | sme.h | 20 const u8 *ies, size_t ies_len); 61 const u8 *ies, size_t ies_len) in sme_update_ft_ies() 60 sme_update_ft_ies(struct wpa_supplicant *wpa_s, const u8 *md, const u8 *ies, size_t ies_len) sme_update_ft_ies() argument
|
H A D | bss.c | 491 os_memcpy(bss->ies, res + 1, res->ie_len + res->beacon_ie_len); in wpa_bss_add() 754 os_memcpy(bss->ies, res + 1, res->ie_len + res->beacon_ie_len); in wpa_bss_update() 775 os_memcpy(bss->ies, res + 1, in wpa_bss_update() 1264 const u8 *ies; in wpa_bss_get_vendor_ie() local 1267 ies = wpa_bss_ie_ptr(bss); in wpa_bss_get_vendor_ie() 1269 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, bss->ie_len) { in wpa_bss_get_vendor_ie() 1294 const u8 *ies; in wpa_bss_get_vendor_ie_beacon() local 1300 ies = wpa_bss_ie_ptr(bss); in wpa_bss_get_vendor_ie_beacon() 1301 ies += bss->ie_len; in wpa_bss_get_vendor_ie_beacon() 1303 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, in wpa_bss_get_vendor_ie_beacon() [all...] |
H A D | mesh.c | 281 params->ies = ifmsh->mconf->rsn_ie; in wpas_mesh_complete() 587 const u8 *ies, size_t ie_len) in wpa_mesh_notify_peer() 595 if (ieee802_11_parse_elems(ies, ie_len, &elems, 0) == ParseFailed) { in wpa_mesh_notify_peer() 735 static int mesh_attr_text(const u8 *ies, size_t ies_len, char *buf, char *end) in mesh_attr_text() argument 742 if (ieee802_11_parse_elems(ies, ies_len, &elems, 0) == ParseFailed) in mesh_attr_text() 823 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf, in wpas_mesh_scan_result_text() argument 826 return mesh_attr_text(ies, ies_len, buf, end); in wpas_mesh_scan_result_text() 586 wpa_mesh_notify_peer(struct wpa_supplicant *wpa_s, const u8 *addr, const u8 *ies, size_t ie_len) wpa_mesh_notify_peer() argument
|
H A D | wmm_ac.c | 418 wmm_ac_process_param_elem(struct wpa_supplicant *wpa_s, const u8 *ies, 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() 428 wpa_printf(MSG_DEBUG, "WMM AC: could not parse assoc ies"); in wmm_ac_process_param_elem() 463 static int wmm_ac_init(struct wpa_supplicant *wpa_s, const u8 *ies, in wmm_ac_init() argument 474 if (!ies || !(wmm_params->info_bitmap & WMM_PARAMS_UAPSD_QUEUES_INFO)) { in wmm_ac_init() 483 assoc_data = wmm_ac_process_param_elem(wpa_s, ies, ies_len); in wmm_ac_init() 528 void wmm_ac_notify_assoc(struct wpa_supplicant *wpa_s, const u8 *ies, in wmm_ac_notify_assoc() argument 531 if (wmm_ac_init(wpa_s, ies, ies_len, wmm_params)) in wmm_ac_notify_assoc()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | ieee802_11_common.c | 477 elems->mb_ies.ies[elems->mb_ies.nof_ies].ie = pos; in ieee802_11_parse_elems() 478 elems->mb_ies.ies[elems->mb_ies.nof_ies].ie_len = elen; in ieee802_11_parse_elems() 544 int ieee802_11_ie_count(const u8 *ies, size_t ies_len) in ieee802_11_ie_count() argument 549 if (ies == NULL) in ieee802_11_ie_count() 552 for_each_element(elem, ies, ies_len) in ieee802_11_ie_count() 559 struct wpabuf * ieee802_11_vendor_ie_concat(const u8 *ies, size_t ies_len, in ieee802_11_vendor_ie_concat() argument 565 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, ies_len) { in ieee802_11_vendor_ie_concat() 584 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, ies_len) { in ieee802_11_vendor_ie_concat() 1517 info->ies[info->nof_ies].ie = elem->data; in mb_ies_info_by_ies() 1518 info->ies[inf in mb_ies_info_by_ies() 1645 get_ie(const u8 *ies, size_t len, u8 eid) get_ie() argument 1669 get_ie_ext(const u8 *ies, size_t len, u8 ext) get_ie_ext() argument 1683 get_vendor_ie(const u8 *ies, size_t len, u32 vendor_type) get_vendor_ie() argument [all...] |
H A D | ieee802_11_common.h | 29 } ies[MAX_NOF_MB_IES_SUPPORTED]; member 157 int ieee802_11_ie_count(const u8 *ies, size_t ies_len); 158 struct wpabuf * ieee802_11_vendor_ie_concat(const u8 *ies, size_t ies_len, 206 const u8 * get_ie(const u8 *ies, size_t len, u8 eid); 207 const u8 * get_ie_ext(const u8 *ies, size_t len, u8 ext); 208 const u8 * get_vendor_ie(const u8 *ies, size_t len, u32 vendor_type);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/ |
H A D | wpa.h | 58 int (*update_ft_ies)(void *ctx, const u8 *md, const u8 *ies, 61 const u8 *ies, size_t ies_len); 480 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len); 482 int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *ies, size_t ies_len, 485 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, 490 int wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, 505 wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params() argument 516 static inline int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *ies, size_t ies_len, in wpa_ft_add_mdie() argument 523 wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response() argument 539 wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, size_ argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | ieee802_11_common.c | 667 elems->mb_ies.ies[elems->mb_ies.nof_ies].ie = pos; in ieee802_11_parse_elems() 668 elems->mb_ies.ies[elems->mb_ies.nof_ies].ie_len = elen; in ieee802_11_parse_elems() 759 int ieee802_11_ie_count(const u8 *ies, size_t ies_len) in ieee802_11_ie_count() argument 764 if (ies == NULL) in ieee802_11_ie_count() 767 for_each_element(elem, ies, ies_len) in ieee802_11_ie_count() 774 struct wpabuf * ieee802_11_vendor_ie_concat(const u8 *ies, size_t ies_len, in ieee802_11_vendor_ie_concat() argument 780 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, ies_len) { in ieee802_11_vendor_ie_concat() 799 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, ies_len) { in ieee802_11_vendor_ie_concat() 1973 info->ies[info->nof_ies].ie = elem->data; in mb_ies_info_by_ies() 1974 info->ies[inf in mb_ies_info_by_ies() 2169 get_ie(const u8 *ies, size_t len, u8 eid) get_ie() argument 2193 get_ie_ext(const u8 *ies, size_t len, u8 ext) get_ie_ext() argument 2207 get_vendor_ie(const u8 *ies, size_t len, u32 vendor_type) get_vendor_ie() argument 3235 get_ml_ie(const u8 *ies, size_t len, u8 type) get_ml_ie() argument [all...] |
H A D | ieee802_11_common.h | 39 } ies[MAX_NOF_MB_IES_SUPPORTED]; member 234 int ieee802_11_ie_count(const u8 *ies, size_t ies_len); 235 struct wpabuf * ieee802_11_vendor_ie_concat(const u8 *ies, size_t ies_len, 303 const u8 * get_ie(const u8 *ies, size_t len, u8 eid); 304 const u8 * get_ie_ext(const u8 *ies, size_t len, u8 ext); 305 const u8 * get_vendor_ie(const u8 *ies, size_t len, u32 vendor_type); 402 const u8 * get_ml_ie(const u8 *ies, size_t len, u8 type);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | taxonomy.c | 85 static void ie_to_string(char *fstr, size_t fstr_len, const struct wpabuf *ies) in ie_to_string() argument 118 if (!ies) in ie_to_string() 120 ie = wpabuf_head(ies); in ie_to_string() 121 ie_len = wpabuf_len(ies); in ie_to_string()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | taxonomy.c | 85 static void ie_to_string(char *fstr, size_t fstr_len, const struct wpabuf *ies) in ie_to_string() argument 118 if (!ies) in ie_to_string() 120 ie = wpabuf_head(ies); in ie_to_string() 121 ie_len = wpabuf_len(ies); in ie_to_string()
|
H A D | wpa_auth.h | 410 u16 auth_transaction, const u8 *ies, size_t ies_len, 413 const u8 *ies, size_t ies_len), 415 u16 wpa_ft_validate_reassoc(struct wpa_state_machine *sm, const u8 *ies, 460 const u8 *ies, size_t ies_len, 462 int wpa_fils_validate_key_confirm(struct wpa_state_machine *sm, const u8 *ies,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
H A D | p2p_dev_disc.c | 313 struct wpabuf *ies; in p2p_process_go_disc_req() local 317 ies = p2p_build_probe_resp_ies(p2p, NULL, 0); in p2p_process_go_disc_req() 318 if (ies == NULL) in p2p_process_go_disc_req() 325 ies) < 0) { in p2p_process_go_disc_req() 328 wpabuf_free(ies); in p2p_process_go_disc_req()
|
H A D | p2p.c | 257 struct wpabuf *ies; in p2p_listen_in_find() local 291 ies = p2p_build_probe_resp_ies(p2p, NULL, 0); in p2p_listen_in_find() 292 if (ies == NULL) in p2p_listen_in_find() 300 ies) < 0) { in p2p_listen_in_find() 304 wpabuf_free(ies); in p2p_listen_in_find() 311 struct wpabuf *ies; in p2p_listen() local 340 ies = p2p_build_probe_resp_ies(p2p, NULL, 0); in p2p_listen() 341 if (ies == NULL) in p2p_listen() 346 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, freq, timeout, ies) < 0) { in p2p_listen() 349 wpabuf_free(ies); in p2p_listen() 632 p2p_update_peer_vendor_elems(struct p2p_device *dev, const u8 *ies, size_t ies_len) p2p_update_peer_vendor_elems() argument 708 p2p_add_device(struct p2p_data *p2p, const u8 *addr, int freq, struct os_reltime *rx_time, int level, const u8 *ies, size_t ies_len, int scan_res) p2p_add_device() argument 2240 p2p_build_probe_resp_buf(struct p2p_data *p2p, struct wpabuf *buf, struct wpabuf *ies, const u8 *addr, int rx_freq) p2p_build_probe_resp_buf() argument 2326 struct wpabuf *ies; p2p_reply_probe() local 2665 p2p_scan_result_text(const u8 *ies, size_t ies_len, char *buf, char *end) p2p_scan_result_text() argument 2852 p2p_parse_dev_addr(const u8 *ies, size_t ies_len, u8 *dev_addr) p2p_parse_dev_addr() argument 3468 p2p_scan_res_handler(struct p2p_data *p2p, const u8 *bssid, int freq, struct os_reltime *rx_time, int level, const u8 *ies, size_t ies_len) p2p_scan_res_handler() argument 3510 p2p_scan_ie(struct p2p_data *p2p, struct wpabuf *ies, const u8 *dev_id, unsigned int bands) p2p_scan_ie() argument 5521 struct wpabuf *ies, *buf; p2p_build_probe_resp_template() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/ |
H A D | p2p_dev_disc.c | 313 struct wpabuf *ies; in p2p_process_go_disc_req() local 317 ies = p2p_build_probe_resp_ies(p2p, NULL, 0); in p2p_process_go_disc_req() 318 if (ies == NULL) in p2p_process_go_disc_req() 325 ies) < 0) { in p2p_process_go_disc_req() 328 wpabuf_free(ies); in p2p_process_go_disc_req()
|
H A D | p2p.c | 91 static void get_pvt_wfd_elems(const u8 *ies, size_t ies_len) in get_pvt_wfd_elems() argument 93 p2p_get_pvt_wfd_elems(&g_pvt_wfd_elems, ies, ies_len); in get_pvt_wfd_elems() 307 struct wpabuf *ies; local 341 ies = p2p_build_probe_resp_ies(p2p, NULL, 0); 342 if (ies == NULL) 356 p2p->pending_listen_usec / 1000, ies) < 0) { 359 ies) < 0) { 364 wpabuf_free(ies); 371 struct wpabuf *ies; local 400 ies 694 p2p_update_peer_vendor_elems(struct p2p_device *dev, const u8 *ies, size_t ies_len) global() argument 772 p2p_add_device(struct p2p_data *p2p, const u8 *addr, int freq, struct os_reltime *rx_time, int level, const u8 *ies, size_t ies_len, int scan_res) global() argument 2368 p2p_build_probe_resp_buf(struct p2p_data *p2p, struct wpabuf *buf, struct wpabuf *ies, const u8 *addr, int rx_freq) global() argument 2454 struct wpabuf *ies; global() local 2797 p2p_scan_result_text(const u8 *ies, size_t ies_len, char *buf, char *end) global() argument 2984 p2p_parse_dev_addr(const u8 *ies, size_t ies_len, u8 *dev_addr) global() argument 3630 p2p_scan_res_handler(struct p2p_data *p2p, const u8 *bssid, int freq, struct os_reltime *rx_time, int level, const u8 *ies, size_t ies_len) global() argument 3677 p2p_scan_ie(struct p2p_data *p2p, struct wpabuf *ies, const u8 *dev_id, unsigned int bands) global() argument 5740 struct wpabuf *ies, *buf; global() local [all...] |