Home
last modified time | relevance | path

Searched refs:len_pos (Results 1 – 8 of 8) sorted by relevance

/external/wpa_supplicant_8/wpa_supplicant/
Dp2p_supplicant_sd.c186 u8 *len_pos; in wpas_sd_add_empty() local
192 len_pos = wpabuf_put(resp, 2); in wpas_sd_add_empty()
198 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - 2); in wpas_sd_add_empty()
229 u8 *len_pos; in wpas_sd_all_bonjour() local
244 len_pos = wpabuf_put(resp, 2); in wpas_sd_all_bonjour()
255 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - in wpas_sd_all_bonjour()
293 u8 *len_pos; in wpas_sd_req_bonjour() local
322 len_pos = wpabuf_put(resp, 2); in wpas_sd_req_bonjour()
336 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - 2); in wpas_sd_req_bonjour()
346 len_pos = wpabuf_put(resp, 2); in wpas_sd_req_bonjour()
[all …]
Dmbo.c521 u8 *len_pos; in mbo_build_anqp_buf() local
534 len_pos = gas_anqp_add_element(anqp_buf, ANQP_VENDOR_SPECIFIC); in mbo_build_anqp_buf()
539 gas_anqp_set_element_len(anqp_buf, len_pos); in mbo_build_anqp_buf()
Dhs20_supplicant.c176 u8 *len_pos; in hs20_put_anqp_req() local
181 len_pos = gas_anqp_add_element(buf, ANQP_VENDOR_SPECIFIC); in hs20_put_anqp_req()
203 gas_anqp_set_element_len(buf, len_pos); in hs20_put_anqp_req()
Dinterworking.c102 u8 *len_pos; in anqp_build_req() local
109 len_pos = gas_anqp_add_element(buf, ANQP_QUERY_LIST); in anqp_build_req()
112 gas_anqp_set_element_len(buf, len_pos); in anqp_build_req()
281 u8 *len_pos; in interworking_anqp_send_req() local
287 len_pos = gas_anqp_add_element(extra, ANQP_VENDOR_SPECIFIC); in interworking_anqp_send_req()
304 gas_anqp_set_element_len(extra, len_pos); in interworking_anqp_send_req()
/external/wpa_supplicant_8/src/common/
Dgas.c270 void gas_anqp_set_element_len(struct wpabuf *buf, u8 *len_pos) in gas_anqp_set_element_len() argument
272 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(buf, 0) - len_pos - 2); in gas_anqp_set_element_len()
Dgas.h35 void gas_anqp_set_element_len(struct wpabuf *buf, u8 *len_pos);
/external/wpa_supplicant_8/src/p2p/
Dp2p_sd.c175 u8 *len_pos; in p2p_build_sd_query() local
182 len_pos = gas_anqp_add_element(buf, ANQP_VENDOR_SPECIFIC); in p2p_build_sd_query()
186 gas_anqp_set_element_len(buf, len_pos); in p2p_build_sd_query()
218 u8 *len_pos; in p2p_build_sd_response() local
228 len_pos = gas_anqp_add_element(buf, ANQP_VENDOR_SPECIFIC); in p2p_build_sd_response()
233 gas_anqp_set_element_len(buf, len_pos); in p2p_build_sd_response()
Dp2p_group.c526 u8 *len_pos; in p2p_build_client_info() local
548 len_pos = wpabuf_put(buf, 1); in p2p_build_client_info()
563 *len_pos = wpabuf_len(buf) - 1; in p2p_build_client_info()