| /freebsd-12-stable/contrib/wpa/src/rsn_supp/ |
| D | wpa.h | 54 int (*update_ft_ies)(void *ctx, const u8 *md, const u8 *ies, 57 const u8 *ies, size_t ies_len); 437 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len); 439 int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *ies, size_t ies_len, 442 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, 447 int wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, 462 wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params() argument 473 static inline int wpa_ft_add_mdie(struct wpa_sm *sm, u8 *ies, size_t ies_len, in wpa_ft_add_mdie() argument 480 wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response() argument 496 wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_validate_reassoc_resp() argument [all …]
|
| D | wpa_ft.c | 92 int wpa_sm_set_ft_params(struct wpa_sm *sm, const u8 *ies, size_t ies_len) in wpa_sm_set_ft_params() argument 100 if (!get_ie(ies, ies_len, WLAN_EID_MOBILITY_DOMAIN)) { in wpa_sm_set_ft_params() 112 if (wpa_ft_parse_ies(ies, ies_len, &ft, use_sha384) < 0) in wpa_sm_set_ft_params() 537 int wpa_ft_process_response(struct wpa_sm *sm, const u8 *ies, size_t ies_len, in wpa_ft_process_response() argument 553 wpa_hexdump(MSG_DEBUG, "FT: Response IEs", ies, ies_len); in wpa_ft_process_response() 577 if (wpa_ft_parse_ies(ies, ies_len, &parse, use_sha384) < 0) { in wpa_ft_process_response() 976 int wpa_ft_validate_reassoc_resp(struct wpa_sm *sm, const u8 *ies, in wpa_ft_validate_reassoc_resp() argument 990 wpa_hexdump(MSG_DEBUG, "FT: Response IEs", ies, ies_len); in wpa_ft_validate_reassoc_resp() 1003 if (wpa_ft_parse_ies(ies, ies_len, &parse, use_sha384) < 0) { in wpa_ft_validate_reassoc_resp()
|
| D | wpa_i.h | 327 const u8 *ies, size_t ies_len) in wpa_sm_update_ft_ies() argument 330 return sm->ctx->update_ft_ies(sm->ctx->ctx, md, ies, ies_len); in wpa_sm_update_ft_ies() 336 const u8 *ies, size_t ies_len) in wpa_sm_send_ft_action() argument 340 ies, ies_len); in wpa_sm_send_ft_action()
|
| /freebsd-12-stable/contrib/wpa/wpa_supplicant/ |
| 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() argument
|
| D | rrm.c | 707 int wpas_get_op_chan_phy(int freq, const u8 *ies, size_t ies_len, in wpas_get_op_chan_phy() argument 716 ie = get_ie(ies, ies_len, WLAN_EID_HT_OPERATION); in wpas_get_op_chan_phy() 730 ie = get_ie(ies, ies_len, WLAN_EID_VHT_OPERATION); in wpas_get_op_chan_phy() 781 const u8 *ies = *ies_buf; in wpas_beacon_rep_add_frame_body() local 830 while (ies_len > 2 && 2U + ies[1] <= ies_len && rem_len > 0) { in wpas_beacon_rep_add_frame_body() 832 (eids && bitfield_is_set(eids, ies[0]))) { in wpas_beacon_rep_add_frame_body() 833 u8 elen = ies[1]; in wpas_beacon_rep_add_frame_body() 839 *pos++ = ies[0]; in wpas_beacon_rep_add_frame_body() 841 os_memcpy(pos, ies + 2, elen); in wpas_beacon_rep_add_frame_body() 846 ies_len -= 2 + ies[1]; in wpas_beacon_rep_add_frame_body() [all …]
|
| D | bss.c | 455 os_memcpy(bss->ies, res + 1, res->ie_len + res->beacon_ie_len); in wpa_bss_add() 682 os_memcpy(bss->ies, res + 1, res->ie_len + res->beacon_ie_len); in wpa_bss_update() 703 os_memcpy(bss->ies, res + 1, in wpa_bss_update() 1159 const u8 *ies; in wpa_bss_get_vendor_ie() local 1162 ies = wpa_bss_ie_ptr(bss); in wpa_bss_get_vendor_ie() 1164 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, bss->ie_len) { in wpa_bss_get_vendor_ie() 1189 const u8 *ies; in wpa_bss_get_vendor_ie_beacon() local 1195 ies = wpa_bss_ie_ptr(bss); in wpa_bss_get_vendor_ie_beacon() 1196 ies += bss->ie_len; in wpa_bss_get_vendor_ie_beacon() 1198 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, in wpa_bss_get_vendor_ie_beacon()
|
| 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() 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()
|
| D | sme.h | 20 const u8 *ies, size_t ies_len); 61 const u8 *ies, size_t ies_len) in sme_update_ft_ies() argument
|
| D | mesh.c | 281 params->ies = ifmsh->mconf->rsn_ie; in wpas_mesh_complete() 582 const u8 *ies, size_t ie_len) in wpa_mesh_notify_peer() argument 589 if (ieee802_11_parse_elems(ies, ie_len, &elems, 0) == ParseFailed) { in wpa_mesh_notify_peer() 729 static int mesh_attr_text(const u8 *ies, size_t ies_len, char *buf, char *end) in mesh_attr_text() argument 736 if (ieee802_11_parse_elems(ies, ies_len, &elems, 0) == ParseFailed) in mesh_attr_text() 817 int wpas_mesh_scan_result_text(const u8 *ies, size_t ies_len, char *buf, in wpas_mesh_scan_result_text() argument 820 return mesh_attr_text(ies, ies_len, buf, end); in wpas_mesh_scan_result_text()
|
| D | bss.h | 125 u8 ies[]; member 130 return bss->ies; in wpa_bss_ie_ptr()
|
| D | mesh_mpm.c | 1134 const u8 *ies; in mesh_mpm_action_rx() local 1148 ies = mgmt->u.action.u.slf_prot_action.variable; in mesh_mpm_action_rx() 1163 WPA_GET_LE16(ies)); in mesh_mpm_action_rx() 1164 ies += 2; /* capability */ in mesh_mpm_action_rx() 1168 aid = WPA_GET_LE16(ies); in mesh_mpm_action_rx() 1170 ies += 2; /* aid */ in mesh_mpm_action_rx() 1175 if (ieee802_11_parse_elems(ies, ie_len, &elems, 0) == ParseFailed) { in mesh_mpm_action_rx() 1250 ies, ie_len); in mesh_mpm_action_rx()
|
| D | scan.c | 1954 const u8 *ies; in wpa_scan_get_vendor_ie() local 1957 ies = (const u8 *) (res + 1); in wpa_scan_get_vendor_ie() 1959 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, res->ie_len) { in wpa_scan_get_vendor_ie() 1984 const u8 *ies; in wpa_scan_get_vendor_ie_beacon() local 1990 ies = (const u8 *) (res + 1); in wpa_scan_get_vendor_ie_beacon() 1991 ies += res->ie_len; in wpa_scan_get_vendor_ie_beacon() 1993 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, in wpa_scan_get_vendor_ie_beacon() 2493 const u8 *ies, size_t ies_len, int rate, in wpas_get_est_tpt() argument 2545 ie = get_ie(ies, ies_len, WLAN_EID_HT_CAP); in wpas_get_est_tpt() 2555 ie = get_ie(ies, ies_len, WLAN_EID_HT_OPERATION); in wpas_get_est_tpt() [all …]
|
| D | op_classes.c | 444 const u8 *ies; in wpas_sta_secondary_channel_offset() local 450 ies = wpa_bss_ie_ptr(bss); in wpas_sta_secondary_channel_offset() 452 return wpas_get_op_chan_phy(bss->freq, ies, ies_len, current, in wpas_sta_secondary_channel_offset()
|
| D | wmm_ac.h | 163 void wmm_ac_notify_assoc(struct wpa_supplicant *wpa_s, const u8 *ies,
|
| D | driver_i.h | 333 const u8 *ies, size_t ies_len) in wpa_drv_update_ft_ies() argument 337 ies, ies_len); in wpa_drv_update_ft_ies() 1023 const u8 *ies, size_t ies_len) in wpa_drv_p2p_lo_start() argument 1029 dev_types_len, ies, ies_len); in wpa_drv_p2p_lo_start() 1040 const u8 *ies, size_t len) in wpa_drv_set_default_scan_ies() argument 1044 return wpa_s->driver->set_default_scan_ies(wpa_s->drv_priv, ies, len); in wpa_drv_set_default_scan_ies()
|
| D | robust_av.c | 525 const u8 *ies, size_t ies_len) in wpas_handle_assoc_resp_mscs() argument 532 if (!ies || ies_len == 0 || !wpa_s->robust_av.valid_config) in wpas_handle_assoc_resp_mscs() 535 mscs_desc_ie = get_ie_ext(ies, ies_len, WLAN_EID_EXT_MSCS_DESCRIPTOR); in wpas_handle_assoc_resp_mscs() 567 const u8 *ies, size_t ies_len) in wpas_handle_assoc_resp_qos_mgmt() argument 575 if (!ies || ies_len == 0 || !wpa_s->enable_dscp_policy_capa) in wpas_handle_assoc_resp_qos_mgmt() 578 wfa_capa = get_vendor_ie(ies, ies_len, WFA_CAPA_IE_VENDOR_TYPE); in wpas_handle_assoc_resp_qos_mgmt()
|
| /freebsd-12-stable/sys/net80211/ |
| D | ieee80211_node.c | 1091 ieee80211_ies_init(struct ieee80211_ies *ies, const uint8_t *data, int len) in ieee80211_ies_init() argument 1094 memset(ies, 0, offsetof(struct ieee80211_ies, data)); in ieee80211_ies_init() 1095 if (ies->data != NULL && ies->len != len) { in ieee80211_ies_init() 1097 IEEE80211_FREE(ies->data, M_80211_NODE_IE); in ieee80211_ies_init() 1098 ies->data = NULL; in ieee80211_ies_init() 1100 if (ies->data == NULL) { in ieee80211_ies_init() 1101 ies->data = (uint8_t *) IEEE80211_MALLOC(len, M_80211_NODE_IE, in ieee80211_ies_init() 1103 if (ies->data == NULL) { in ieee80211_ies_init() 1104 ies->len = 0; in ieee80211_ies_init() 1109 memcpy(ies->data, data, len); in ieee80211_ies_init() [all …]
|
| /freebsd-12-stable/contrib/wpa/src/common/ |
| D | ieee802_11_common.c | 540 elems->mb_ies.ies[elems->mb_ies.nof_ies].ie = pos; in ieee802_11_parse_elems() 541 elems->mb_ies.ies[elems->mb_ies.nof_ies].ie_len = elen; in ieee802_11_parse_elems() 618 int ieee802_11_ie_count(const u8 *ies, size_t ies_len) in ieee802_11_ie_count() argument 623 if (ies == NULL) in ieee802_11_ie_count() 626 for_each_element(elem, ies, ies_len) in ieee802_11_ie_count() 633 struct wpabuf * ieee802_11_vendor_ie_concat(const u8 *ies, size_t ies_len, in ieee802_11_vendor_ie_concat() argument 639 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, ies_len) { in ieee802_11_vendor_ie_concat() 658 for_each_element_id(elem, WLAN_EID_VENDOR_SPECIFIC, ies, ies_len) { in ieee802_11_vendor_ie_concat() 1832 info->ies[info->nof_ies].ie = elem->data; in mb_ies_info_by_ies() 1833 info->ies[info->nof_ies].ie_len = elem->datalen; in mb_ies_info_by_ies() [all …]
|
| D | ieee802_11_common.h | 30 } ies[MAX_NOF_MB_IES_SUPPORTED]; member 184 int ieee802_11_ie_count(const u8 *ies, size_t ies_len); 185 struct wpabuf * ieee802_11_vendor_ie_concat(const u8 *ies, size_t ies_len, 247 const u8 * get_ie(const u8 *ies, size_t len, u8 eid); 248 const u8 * get_ie_ext(const u8 *ies, size_t len, u8 ext); 249 const u8 * get_vendor_ie(const u8 *ies, size_t len, u32 vendor_type);
|
| /freebsd-12-stable/contrib/wpa/src/p2p/ |
| 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()
|
| 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() [all …]
|
| /freebsd-12-stable/contrib/wpa/src/ap/ |
| 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()
|
| D | wpa_auth.h | 460 u16 auth_transaction, const u8 *ies, size_t ies_len, 463 const u8 *ies, size_t ies_len), 465 int wpa_ft_validate_reassoc(struct wpa_state_machine *sm, const u8 *ies, 519 const u8 *ies, size_t ies_len, 521 int wpa_fils_validate_key_confirm(struct wpa_state_machine *sm, const u8 *ies,
|
| /freebsd-12-stable/sys/contrib/ngatm/netnatm/msg/ |
| D | parseie.awk | 85 ies[iecnt] = ie
|
| /freebsd-12-stable/contrib/wpa/src/drivers/ |
| D | driver.h | 1611 const u8 *ies; member 2883 int (*update_ft_ies)(void *priv, const u8 *md, const u8 *ies, 4442 const u8 *ies, size_t ies_len); 4465 int (*set_default_scan_ies)(void *priv, const u8 *ies, size_t ies_len); 5519 const u8 *ies; member 5545 const u8 *ies; member 5923 const u8 *ies; member
|