Searched refs:frag_len (Results 1 – 4 of 4) sorted by relevance
/hostap-3.7.0/src/p2p/ |
D | p2p_group.c | 194 size_t frag_len = end - pos; in p2p_group_encaps_probe_resp() local 195 if (frag_len > 251) in p2p_group_encaps_probe_resp() 196 frag_len = 251; in p2p_group_encaps_probe_resp() 198 wpabuf_put_u8(ie, 4 + frag_len); in p2p_group_encaps_probe_resp() 200 wpabuf_put_data(ie, pos, frag_len); in p2p_group_encaps_probe_resp() 201 pos += frag_len; in p2p_group_encaps_probe_resp() 271 size_t frag_len = end - pos; in wifi_display_encaps() local 272 if (frag_len > 251) in wifi_display_encaps() 273 frag_len = 251; in wifi_display_encaps() 275 wpabuf_put_u8(ie, 4 + frag_len); in wifi_display_encaps() [all …]
|
D | p2p_sd.c | 626 size_t frag_len, max_len; in p2p_rx_gas_comeback_req() local 656 frag_len = wpabuf_len(p2p->sd_resp) - p2p->sd_resp_pos; in p2p_rx_gas_comeback_req() 657 if (frag_len > max_len) { in p2p_rx_gas_comeback_req() 658 frag_len = max_len; in p2p_rx_gas_comeback_req() 664 p2p->sd_resp_pos, frag_len, in p2p_rx_gas_comeback_req() 670 p2p->sd_frag_id, more, (int) frag_len); in p2p_rx_gas_comeback_req() 672 p2p->sd_resp_pos += frag_len; in p2p_rx_gas_comeback_req()
|
/hostap-3.7.0/src/wps/ |
D | wps_attr_build.c | 479 size_t frag_len = end - pos; in wps_ie_encapsulate() local 480 if (frag_len > 251) in wps_ie_encapsulate() 481 frag_len = 251; in wps_ie_encapsulate() 483 wpabuf_put_u8(ie, 4 + frag_len); in wps_ie_encapsulate() 485 wpabuf_put_data(ie, pos, frag_len); in wps_ie_encapsulate() 486 pos += frag_len; in wps_ie_encapsulate()
|
/hostap-3.7.0/src/ap/ |
D | gas_serv.c | 1742 size_t frag_len; in gas_serv_rx_gas_comeback_req() local 1768 frag_len = wpabuf_len(dialog->sd_resp) - dialog->sd_resp_pos; in gas_serv_rx_gas_comeback_req() 1769 if (frag_len > hapd->conf->gas_frag_limit) { in gas_serv_rx_gas_comeback_req() 1770 frag_len = hapd->conf->gas_frag_limit; in gas_serv_rx_gas_comeback_req() 1774 (unsigned int) frag_len); in gas_serv_rx_gas_comeback_req() 1776 dialog->sd_resp_pos, frag_len); in gas_serv_rx_gas_comeback_req() 1788 10 + 2 + frag_len); in gas_serv_rx_gas_comeback_req() 1791 wpabuf_put_le16(tx_buf, frag_len); in gas_serv_rx_gas_comeback_req() 1807 dialog->sd_frag_id, more, (int) frag_len); in gas_serv_rx_gas_comeback_req() 1809 dialog->sd_resp_pos += frag_len; in gas_serv_rx_gas_comeback_req()
|