Lines Matching refs:ies
261 struct wpabuf *ies; in p2p_listen_in_find() local
283 ies = p2p_build_probe_resp_ies(p2p); in p2p_listen_in_find()
284 if (ies == NULL) in p2p_listen_in_find()
288 ies) < 0) { in p2p_listen_in_find()
293 wpabuf_free(ies); in p2p_listen_in_find()
300 struct wpabuf *ies; in p2p_listen() local
330 ies = p2p_build_probe_resp_ies(p2p); in p2p_listen()
331 if (ies == NULL) in p2p_listen()
334 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, freq, timeout, ies) < 0) { in p2p_listen()
338 wpabuf_free(ies); in p2p_listen()
341 wpabuf_free(ies); in p2p_listen()
609 const u8 *ies, size_t ies_len) in p2p_add_device() argument
617 if (p2p_parse_ies(ies, ies_len, &msg)) { in p2p_add_device()
1885 struct wpabuf *ies; in p2p_reply_probe() local
1961 ies = p2p_build_probe_resp_ies(p2p); in p2p_reply_probe()
1962 if (ies == NULL) in p2p_reply_probe()
1965 buf = wpabuf_alloc(200 + wpabuf_len(ies)); in p2p_reply_probe()
1967 wpabuf_free(ies); in p2p_reply_probe()
2005 wpabuf_put_buf(buf, ies); in p2p_reply_probe()
2006 wpabuf_free(ies); in p2p_reply_probe()
2144 int p2p_scan_result_text(const u8 *ies, size_t ies_len, char *buf, char *end) in p2p_scan_result_text() argument
2149 p2p_ie = ieee802_11_vendor_ie_concat(ies, ies_len, P2P_IE_VENDOR_TYPE); in p2p_scan_result_text()
2159 int p2p_parse_dev_addr(const u8 *ies, size_t ies_len, u8 *dev_addr) in p2p_parse_dev_addr() argument
2164 p2p_ie = ieee802_11_vendor_ie_concat(ies, ies_len, in p2p_parse_dev_addr()
2672 int level, const u8 *ies, size_t ies_len) in p2p_scan_res_handler() argument
2674 p2p_add_device(p2p, bssid, freq, level, ies, ies_len); in p2p_scan_res_handler()
2706 void p2p_scan_ie(struct p2p_data *p2p, struct wpabuf *ies, const u8 *dev_id) in p2p_scan_ie() argument
2708 u8 *len = p2p_buf_add_ie_hdr(ies); in p2p_scan_ie()
2709 p2p_buf_add_capability(ies, p2p->dev_capab, 0); in p2p_scan_ie()
2711 p2p_buf_add_device_id(ies, dev_id); in p2p_scan_ie()
2713 p2p_buf_add_listen_channel(ies, p2p->cfg->country, in p2p_scan_ie()
2717 p2p_buf_add_ext_listen_timing(ies, p2p->ext_listen_period, in p2p_scan_ie()
2720 p2p_buf_update_ie_hdr(ies, len); in p2p_scan_ie()