Home
last modified time | relevance | path

Searched refs:frag_len (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-3.6.0/components/wpa_supplicant/src/wps/
Dwps_attr_build.c404 size_t frag_len = end - pos; in wps_ie_encapsulate() local
405 if (frag_len > 251) in wps_ie_encapsulate()
406 frag_len = 251; in wps_ie_encapsulate()
408 wpabuf_put_u8(ie, 4 + frag_len); in wps_ie_encapsulate()
410 wpabuf_put_data(ie, pos, frag_len); in wps_ie_encapsulate()
411 pos += frag_len; in wps_ie_encapsulate()
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/avdt/
Davdt_scb_act.c426 UINT16 frag_len; /* fragment length */ in avdt_scb_hdl_pkt_frag() local
464 frag_len = (UINT16)(p_end - p); in avdt_scb_hdl_pkt_frag()
466 if (frag_len >= al_len) { in avdt_scb_hdl_pkt_frag()
467 frag_len = al_len; in avdt_scb_hdl_pkt_frag()
476 p = avdt_scb_hdl_report(p_scb, p, frag_len); in avdt_scb_hdl_pkt_frag()
540 p_scb->frag_org_len, p_scb->frag_off, al_len, frag_len); in avdt_scb_hdl_pkt_frag()
543 memcpy(p_scb->p_media_buf + p_scb->frag_off, p, frag_len); in avdt_scb_hdl_pkt_frag()
544 p_scb->frag_off += frag_len; in avdt_scb_hdl_pkt_frag()
546 p += frag_len; in avdt_scb_hdl_pkt_frag()
/hal_espressif-3.6.0/components/wpa_supplicant/esp_supplicant/src/
Desp_wps.c731 int wps_enrollee_process_msg_frag(struct wpabuf **buf, int tot_len, u8 *frag_data, int frag_len, u8… in wps_enrollee_process_msg_frag() argument
748 if (0 == (flag & WPS_MSG_FLAG_LEN) || tot_len < frag_len) { in wps_enrollee_process_msg_frag()
758 wpabuf_put_data(*buf, frag_data, frag_len); in wps_enrollee_process_msg_frag()
767 wpabuf_put_data(*buf, frag_data, frag_len); in wps_enrollee_process_msg_frag()
784 int frag_len; in wps_process_wps_mX_req() local
797 frag_len = len - (sizeof(struct eap_expand) + 1 + 2); in wps_process_wps_mX_req()
802 frag_len = len - (sizeof(struct eap_expand) + 1); in wps_process_wps_mX_req()
803 tlen = frag_len; in wps_process_wps_mX_req()
807 …rag_len: %d, tot_len: %d, be_tot_len:%d", sm->current_identifier, flag, frag_len, tlen, be_tot_len… in wps_process_wps_mX_req()
808 if (ESP_OK != wps_enrollee_process_msg_frag(&wps_buf, tlen, tbuf, frag_len, flag)) { in wps_process_wps_mX_req()