Home
last modified time | relevance | path

Searched refs:ie (Results 1 – 25 of 44) sorted by relevance

12

/hal_espressif-latest/components/wpa_supplicant/src/wps/
Dwps.c495 struct wpabuf *ie; in wps_build_assoc_req_ie() local
500 ie = wpabuf_alloc(100); in wps_build_assoc_req_ie()
501 if (ie == NULL) in wps_build_assoc_req_ie()
504 wpabuf_put_u8(ie, WLAN_EID_VENDOR_SPECIFIC); in wps_build_assoc_req_ie()
505 len = wpabuf_put(ie, 1); in wps_build_assoc_req_ie()
506 wpabuf_put_be32(ie, WPS_DEV_OUI_WFA); in wps_build_assoc_req_ie()
508 if (wps_build_version(ie) || in wps_build_assoc_req_ie()
509 wps_build_req_type(ie, req_type) || in wps_build_assoc_req_ie()
510 wps_build_wfa_ext(ie, 0, NULL, 0, 0)) { in wps_build_assoc_req_ie()
511 wpabuf_free(ie); in wps_build_assoc_req_ie()
[all …]
Dwps_attr_build.c472 struct wpabuf *ie; in wps_ie_encapsulate() local
475 ie = wpabuf_alloc(wpabuf_len(data) + 100); in wps_ie_encapsulate()
476 if (ie == NULL) { in wps_ie_encapsulate()
488 wpabuf_put_u8(ie, WLAN_EID_VENDOR_SPECIFIC); in wps_ie_encapsulate()
489 wpabuf_put_u8(ie, 4 + frag_len); in wps_ie_encapsulate()
490 wpabuf_put_be32(ie, WPS_DEV_OUI_WFA); in wps_ie_encapsulate()
491 wpabuf_put_data(ie, pos, frag_len); in wps_ie_encapsulate()
497 return ie; in wps_ie_encapsulate()
/hal_espressif-latest/components/wpa_supplicant/src/rsn_supp/
Dwpa_ie.c333 struct wpa_eapol_ie_parse *ie) in wpa_parse_generic() argument
342 ie->wpa_ie = pos; in wpa_parse_generic()
343 ie->wpa_ie_len = pos[1] + 2; in wpa_parse_generic()
345 ie->wpa_ie, ie->wpa_ie_len); in wpa_parse_generic()
352 ie->pmkid = pos + 2 + RSN_SELECTOR_LEN; in wpa_parse_generic()
360 ie->gtk = pos + 2 + RSN_SELECTOR_LEN; in wpa_parse_generic()
361 ie->gtk_len = pos[1] - RSN_SELECTOR_LEN; in wpa_parse_generic()
369 ie->mac_addr = pos + 2 + RSN_SELECTOR_LEN; in wpa_parse_generic()
370 ie->mac_addr_len = pos[1] - RSN_SELECTOR_LEN; in wpa_parse_generic()
378 ie->igtk = pos + 2 + RSN_SELECTOR_LEN; in wpa_parse_generic()
[all …]
Dwpa.c665 struct wpa_eapol_ie_parse ie; in wpa_supplicant_process_1_of_4() local
686 memset(&ie, 0, sizeof(ie)); in wpa_supplicant_process_1_of_4()
692 if (wpa_supplicant_parse_ies(key_data, key_data_len, &ie) < 0) in wpa_supplicant_process_1_of_4()
694 if (ie.pmkid) { in wpa_supplicant_process_1_of_4()
696 "Authenticator", ie.pmkid, PMKID_LEN); in wpa_supplicant_process_1_of_4()
699 res = wpa_supplicant_get_pmk(sm, src_addr, ie.pmkid); in wpa_supplicant_process_1_of_4()
1104 struct wpa_eapol_ie_parse *ie) in ieee80211w_set_keys() argument
1112 if (ie->igtk) { in ieee80211w_set_keys()
1116 if (ie->igtk_len != WPA_IGTK_KDE_PREFIX_LEN + len) { in ieee80211w_set_keys()
1120 igtk = (const wifi_wpa_igtk_t*)ie->igtk; in ieee80211w_set_keys()
[all …]
Dwpa.h57 int wpa_sm_set_ap_rsnxe(const u8 *ie, size_t len);
59 int wpa_sm_set_assoc_rsnxe(struct wpa_sm *sm, const u8 *ie, size_t len);
Dwpa_ie.h47 struct wpa_eapol_ie_parse *ie);
/hal_espressif-latest/components/wpa_supplicant/esp_supplicant/src/
Desp_common.c427 u8 *ie; in supplicant_sta_conn_handler() local
435 ie = (u8 *)bss; in supplicant_sta_conn_handler()
436 ie += sizeof(struct wpa_bss); in supplicant_sta_conn_handler()
437 ieee802_11_parse_elems(wpa_s, ie, bss->ie_len); in supplicant_sta_conn_handler()
571 static size_t get_rm_enabled_ie(uint8_t *ie, size_t len) in get_rm_enabled_ie() argument
591 os_memcpy(ie, rrm_ie, sizeof(rrm_ie)); in get_rm_enabled_ie()
597 static size_t get_mbo_oce_scan_ie(uint8_t *ie, size_t len) in get_mbo_oce_scan_ie() argument
614 os_memcpy(ie, mbo_ie, mbo_ie_len); in get_mbo_oce_scan_ie()
618 static size_t get_mbo_oce_assoc_ie(uint8_t *ie, size_t len) in get_mbo_oce_assoc_ie() argument
629 os_memcpy(ie, mbo_ie, mbo_ie_len); in get_mbo_oce_assoc_ie()
[all …]
Desp_wpa_main.c231 struct wpa_ie_data ie; in wpa_parse_wpa_ie_wrapper() local
234 ret = wpa_parse_wpa_ie(wpa_ie, wpa_ie_len, &ie); in wpa_parse_wpa_ie_wrapper()
235 data->proto = ie.proto; in wpa_parse_wpa_ie_wrapper()
236 data->pairwise_cipher = cipher_type_map_supp_to_public(ie.pairwise_cipher); in wpa_parse_wpa_ie_wrapper()
237 data->group_cipher = cipher_type_map_supp_to_public(ie.group_cipher); in wpa_parse_wpa_ie_wrapper()
238 data->key_mgmt = ie.key_mgmt; in wpa_parse_wpa_ie_wrapper()
239 data->capabilities = ie.capabilities; in wpa_parse_wpa_ie_wrapper()
240 data->pmkid = ie.pmkid; in wpa_parse_wpa_ie_wrapper()
241 data->mgmt_group_cipher = cipher_type_map_supp_to_public(ie.mgmt_group_cipher); in wpa_parse_wpa_ie_wrapper()
242 data->rsnxe_capa = ie.rsnxe_capa; in wpa_parse_wpa_ie_wrapper()
/hal_espressif-latest/components/wpa_supplicant/src/ap/
Dwpa_auth_ie.c666 struct wpa_eapol_ie_parse *ie) in wpa_parse_generic() argument
675 ie->wpa_ie = pos; in wpa_parse_generic()
676 ie->wpa_ie_len = pos[1] + 2; in wpa_parse_generic()
683 ie->pmkid = pos + 2 + RSN_SELECTOR_LEN; in wpa_parse_generic()
689 ie->gtk = pos + 2 + RSN_SELECTOR_LEN; in wpa_parse_generic()
690 ie->gtk_len = pos[1] - RSN_SELECTOR_LEN; in wpa_parse_generic()
696 ie->mac_addr = pos + 2 + RSN_SELECTOR_LEN; in wpa_parse_generic()
697 ie->mac_addr_len = pos[1] - RSN_SELECTOR_LEN; in wpa_parse_generic()
704 ie->igtk = pos + 2 + RSN_SELECTOR_LEN; in wpa_parse_generic()
705 ie->igtk_len = pos[1] - RSN_SELECTOR_LEN; in wpa_parse_generic()
[all …]
Dwpa_auth_ie.h37 struct wpa_eapol_ie_parse *ie);
/hal_espressif-latest/components/wpa_supplicant/src/common/
Dmbo.c99 struct wpa_ie_data ie; in wpas_mbo_check_pmf() local
111 if (!rsne || wpa_parse_wpa_ie(rsne, 2 + rsne[1], &ie) < 0) in wpas_mbo_check_pmf()
114 if (!(ie.capabilities & WPA_CAPABILITY_MFPC)) in wpas_mbo_check_pmf()
483 void wpas_mbo_scan_ie(struct wpa_supplicant *wpa_s, struct wpabuf *ie) in wpas_mbo_scan_ie() argument
487 wpabuf_put_u8(ie, WLAN_EID_VENDOR_SPECIFIC); in wpas_mbo_scan_ie()
488 len = wpabuf_put(ie, 1); in wpas_mbo_scan_ie()
490 wpabuf_put_be24(ie, OUI_WFA); in wpas_mbo_scan_ie()
491 wpabuf_put_u8(ie, MBO_OUI_TYPE); in wpas_mbo_scan_ie()
493 wpabuf_put_u8(ie, MBO_ATTR_ID_CELL_DATA_CAPA); in wpas_mbo_scan_ie()
494 wpabuf_put_u8(ie, 1); in wpas_mbo_scan_ie()
[all …]
Dscan.c85 const u8 * wpa_scan_get_ie(const struct wpa_scan_res *res, u8 ie) in wpa_scan_get_ie() argument
93 return get_ie((const u8 *) (res + 1), ie_len, ie); in wpa_scan_get_ie()
Dieee802_11_common.c347 int ieee802_11_ext_capab(const u8 *ie, unsigned int capab) in ieee802_11_ext_capab() argument
349 if (!ie || ie[1] <= capab / 8) in ieee802_11_ext_capab()
351 return !!(ie[2 + capab / 8] & BIT(capab % 8)); in ieee802_11_ext_capab()
Dscan.h23 const u8 * wpa_scan_get_ie(const struct wpa_scan_res *res, u8 ie);
Dwpa_supplicant_i.h167 void wpas_mbo_scan_ie(struct wpa_supplicant *wpa_s, struct wpabuf *ie);
168 void wpas_mbo_ie_trans_req(struct wpa_supplicant *wpa_s, const u8 *ie,
Drrm.c387 const u8 *ie; in wpas_get_op_chan_phy() local
391 ie = get_ie(ies, ies_len, WLAN_EID_HT_OPERATION); in wpas_get_op_chan_phy()
392 if (ie && ie[1] >= 2) { in wpas_get_op_chan_phy()
393 ht_oper = (struct ieee80211_ht_operation *) (ie + 2); in wpas_get_op_chan_phy()
498 u8 **ie, size_t *ie_len, u8 idx) in wpas_add_beacon_rep_elem() argument
517 14 + *ie_len, ie, ie_len, in wpas_add_beacon_rep_elem()
Dieee802_11_common.h41 int ieee802_11_ext_capab(const u8 *ie, unsigned int capab);
Dbss.h84 const u8 * wpa_bss_get_ie(const struct wpa_bss *bss, u8 ie);
Dwnm_sta.h62 void wpas_mbo_ie_trans_req(struct wpa_supplicant *wpa_s, const u8 *ie,
/hal_espressif-latest/components/soc/include/soc/
Drtc_io_periph.h43 uint32_t ie; /*!< Mask of input enable */ member
/hal_espressif-latest/components/hal/esp32s2/include/hal/
Drtc_io_ll.h105 SET_PERI_REG_MASK(rtc_io_desc[rtcio_num].reg, rtc_io_desc[rtcio_num].ie); in rtcio_ll_input_enable()
115 CLEAR_PERI_REG_MASK(rtc_io_desc[rtcio_num].reg, rtc_io_desc[rtcio_num].ie); in rtcio_ll_input_disable()
/hal_espressif-latest/components/hal/esp32/include/hal/
Drtc_io_ll.h102 SET_PERI_REG_MASK(rtc_io_desc[rtcio_num].reg, rtc_io_desc[rtcio_num].ie); in rtcio_ll_input_enable()
112 CLEAR_PERI_REG_MASK(rtc_io_desc[rtcio_num].reg, rtc_io_desc[rtcio_num].ie); in rtcio_ll_input_disable()
/hal_espressif-latest/tools/esptool_py/docs/en/esptool/
Dindex.rst8 To see all options for a particular command, append ``-h`` to the command name. ie ``esptool.py wri…
/hal_espressif-latest/components/hal/esp32s3/include/hal/
Drtc_io_ll.h113 SET_PERI_REG_MASK(rtc_io_desc[rtcio_num].reg, rtc_io_desc[rtcio_num].ie); in rtcio_ll_input_enable()
123 CLEAR_PERI_REG_MASK(rtc_io_desc[rtcio_num].reg, rtc_io_desc[rtcio_num].ie); in rtcio_ll_input_disable()
/hal_espressif-latest/components/hal/include/hal/
Dgpio_hal.h52 #define gpio_hal_get_io_config(hal, gpio_num, pu, pd, ie, oe, od, drv, fun_sel, sig_out, slp_sel) \ argument
53 … gpio_ll_get_io_config((hal)->dev, gpio_num, pu, pd, ie, oe, od, drv, fun_sel, sig_out, slp_sel)

12