• Home
  • Raw
  • Download

Lines Matching refs:ies

257 	struct wpabuf *ies;  in p2p_listen_in_find()  local
291 ies = p2p_build_probe_resp_ies(p2p, NULL, 0); in p2p_listen_in_find()
292 if (ies == NULL) in p2p_listen_in_find()
300 ies) < 0) { in p2p_listen_in_find()
304 wpabuf_free(ies); in p2p_listen_in_find()
311 struct wpabuf *ies; in p2p_listen() local
340 ies = p2p_build_probe_resp_ies(p2p, NULL, 0); in p2p_listen()
341 if (ies == NULL) in p2p_listen()
346 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, freq, timeout, ies) < 0) { in p2p_listen()
349 wpabuf_free(ies); in p2p_listen()
352 wpabuf_free(ies); in p2p_listen()
632 static void p2p_update_peer_vendor_elems(struct p2p_device *dev, const u8 *ies, in p2p_update_peer_vendor_elems() argument
641 end = ies + ies_len; in p2p_update_peer_vendor_elems()
643 for (pos = ies; end - pos > 1; pos += len) { in p2p_update_peer_vendor_elems()
709 struct os_reltime *rx_time, int level, const u8 *ies, in p2p_add_device() argument
721 if (p2p_parse_ies(ies, ies_len, &msg)) { in p2p_add_device()
864 p2p_update_peer_vendor_elems(dev, ies, ies_len); in p2p_add_device()
2241 struct wpabuf *ies, in p2p_build_probe_resp_buf() argument
2288 wpabuf_put_buf(buf, ies); in p2p_build_probe_resp_buf()
2326 struct wpabuf *ies; in p2p_reply_probe() local
2458 ies = p2p_build_probe_resp_ies(p2p, msg.service_hash, in p2p_reply_probe()
2461 if (ies == NULL) in p2p_reply_probe()
2464 buf = wpabuf_alloc(200 + wpabuf_len(ies)); in p2p_reply_probe()
2466 wpabuf_free(ies); in p2p_reply_probe()
2470 if (p2p_build_probe_resp_buf(p2p, buf, ies, addr, rx_freq)) { in p2p_reply_probe()
2471 wpabuf_free(ies); in p2p_reply_probe()
2476 wpabuf_free(ies); in p2p_reply_probe()
2665 int p2p_scan_result_text(const u8 *ies, size_t ies_len, char *buf, char *end) in p2p_scan_result_text() argument
2670 p2p_ie = ieee802_11_vendor_ie_concat(ies, ies_len, P2P_IE_VENDOR_TYPE); in p2p_scan_result_text()
2852 int p2p_parse_dev_addr(const u8 *ies, size_t ies_len, u8 *dev_addr) in p2p_parse_dev_addr() argument
2857 p2p_ie = ieee802_11_vendor_ie_concat(ies, ies_len, in p2p_parse_dev_addr()
3469 struct os_reltime *rx_time, int level, const u8 *ies, in p2p_scan_res_handler() argument
3489 p2p_add_device(p2p, bssid, freq, rx_time, level, ies, ies_len, 1); in p2p_scan_res_handler()
3510 void p2p_scan_ie(struct p2p_data *p2p, struct wpabuf *ies, const u8 *dev_id, in p2p_scan_ie() argument
3518 wpabuf_put_buf(ies, p2p->wfd_ie_probe_req); in p2p_scan_ie()
3522 wpabuf_put_buf(ies, in p2p_scan_ie()
3525 len = p2p_buf_add_ie_hdr(ies); in p2p_scan_ie()
3533 p2p_buf_add_capability(ies, dev_capab, 0); in p2p_scan_ie()
3536 p2p_buf_add_device_id(ies, dev_id); in p2p_scan_ie()
3538 p2p_buf_add_listen_channel(ies, p2p->cfg->country, in p2p_scan_ie()
3542 p2p_buf_add_ext_listen_timing(ies, p2p->ext_listen_period, in p2p_scan_ie()
3546 p2p_buf_add_device_info(ies, p2p, NULL); in p2p_scan_ie()
3549 p2p_buf_add_service_hash(ies, p2p); in p2p_scan_ie()
3552 p2p_buf_update_ie_hdr(ies, len); in p2p_scan_ie()
5521 struct wpabuf *ies, *buf; in p2p_build_probe_resp_template() local
5525 ies = p2p_build_probe_resp_ies(p2p, NULL, 0); in p2p_build_probe_resp_template()
5526 if (!ies) { in p2p_build_probe_resp_template()
5532 buf = wpabuf_alloc(200 + wpabuf_len(ies)); in p2p_build_probe_resp_template()
5534 wpabuf_free(ies); in p2p_build_probe_resp_template()
5538 ret = p2p_build_probe_resp_buf(p2p, buf, ies, addr, freq); in p2p_build_probe_resp_template()
5539 wpabuf_free(ies); in p2p_build_probe_resp_template()