Searched refs:p2p_ie (Results 1 - 13 of 13) sorted by relevance

/freebsd-11-stable/contrib/wpa/src/ap/
H A Dp2p_hostapd.c26 if (sta->p2p_ie == NULL)
29 return p2p_ie_text(sta->p2p_ie, buf, buf + buflen);
H A Dsta_info.c90 if (sta->p2p_ie == NULL)
93 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie);
323 wpabuf_free(sta->p2p_ie);
1238 if (sta->p2p_ie != NULL &&
1239 p2p_parse_dev_addr_in_p2p_ie(sta->p2p_ie, addr) == 0)
H A Dsta_info.h191 struct wpabuf *p2p_ie; /* P2P IE from (Re)Association Request */ member in struct:sta_info
H A Ddrv_callbacks.c202 wpabuf_free(sta->p2p_ie);
203 sta->p2p_ie = ieee802_11_vendor_ie_concat(req_ies, req_ies_len,
205 if (sta->p2p_ie)
206 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie);
H A Dieee802_11.c3003 wpabuf_free(sta->p2p_ie);
3004 sta->p2p_ie = ieee802_11_vendor_ie_concat(ies, ies_len,
3006 if (sta->p2p_ie)
3007 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie);
3009 wpabuf_free(sta->p2p_ie);
3010 sta->p2p_ie = NULL;
3435 sta->vht_opmode, sta->p2p_ie ? 1 : 0,
3665 if (sta && sta->p2p_ie && hapd->p2p_group) {
H A Dieee802_1x.c986 sta->wps_ie, sta->p2p_ie, sta,
H A Dhostapd.c3066 if (sta->p2p_ie == NULL && !sta->no_p2p_set) {
/freebsd-11-stable/contrib/wpa/src/p2p/
H A Dp2p_group.c25 struct wpabuf *p2p_ie; member in struct:p2p_group_member
78 wpabuf_free(m->p2p_ie);
513 * @p2p_ie: P2P IE from (Re)Association Request
523 struct wpabuf *p2p_ie,
531 if (p2p_ie == NULL)
535 if (p2p_parse_p2p_ie(p2p_ie, &msg) ||
616 m->p2p_ie = ieee802_11_vendor_ie_concat(ie, len, P2P_IE_VENDOR_TYPE);
617 if (m->p2p_ie) {
618 m->client_info = p2p_build_client_info(addr, m->p2p_ie,
633 MAC2STR(addr), m->p2p_ie
522 p2p_build_client_info(const u8 *addr, struct wpabuf *p2p_ie, u8 *dev_capab, u8 *dev_addr) argument
[all...]
H A Dp2p_parse.c846 int p2p_get_cross_connect_disallowed(const struct wpabuf *p2p_ie) argument
851 if (p2p_parse_p2p_ie(p2p_ie, &msg))
861 u8 p2p_get_group_capab(const struct wpabuf *p2p_ie) argument
866 if (p2p_parse_p2p_ie(p2p_ie, &msg))
876 const u8 * p2p_get_go_dev_addr(const struct wpabuf *p2p_ie) argument
881 if (p2p_parse_p2p_ie(p2p_ie, &msg))
H A Dp2p.h1860 * @p2p_ie: P2P IE
1868 int p2p_ie_text(struct wpabuf *p2p_ie, char *buf, char *end);
1886 * @p2p_ie: P2P IE
1890 int p2p_parse_dev_addr_in_p2p_ie(struct wpabuf *p2p_ie, u8 *dev_addr);
1908 * @p2p_ie: Reassembled P2P IE data from scan results or %NULL if none
1912 size_t len, int p2p_group, struct wpabuf *p2p_ie);
1941 * @p2p_ie: P2P IE(s) contents
1944 u8 p2p_get_group_capab(const struct wpabuf *p2p_ie);
1948 * @p2p_ie: P2P IE(s) contents
1951 int p2p_get_cross_connect_disallowed(const struct wpabuf *p2p_ie);
[all...]
H A Dp2p.c2540 u8 *buf, size_t len, struct wpabuf *p2p_ie)
2549 if (p2p_ie == NULL)
2553 if (p2p_parse_p2p_ie(p2p_ie, &msg) < 0)
2601 size_t len, int p2p_group, struct wpabuf *p2p_ie)
2611 return p2p_assoc_req_ie_wlan_ap(p2p, bssid, buf, len, p2p_ie);
2665 struct wpabuf *p2p_ie; local
2668 p2p_ie = ieee802_11_vendor_ie_concat(ies, ies_len, P2P_IE_VENDOR_TYPE);
2669 if (p2p_ie == NULL)
2672 ret = p2p_attr_text(p2p_ie, buf, end);
2673 wpabuf_free(p2p_ie);
2539 p2p_assoc_req_ie_wlan_ap(struct p2p_data *p2p, const u8 *bssid, u8 *buf, size_t len, struct wpabuf *p2p_ie) argument
2600 p2p_assoc_req_ie(struct p2p_data *p2p, const u8 *bssid, u8 *buf, size_t len, int p2p_group, struct wpabuf *p2p_ie) argument
2831 p2p_parse_dev_addr_in_p2p_ie(struct wpabuf *p2p_ie, u8 *dev_addr) argument
2852 struct wpabuf *p2p_ie; local
3571 p2p_ie_text(struct wpabuf *p2p_ie, char *buf, char *end) argument
[all...]
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Devents.c1287 struct wpabuf *p2p_ie; local
1297 p2p_ie = wpa_bss_get_vendor_ie_multi(
1299 if (p2p_ie == NULL) {
1306 if (p2p_parse_dev_addr_in_p2p_ie(p2p_ie, dev_addr) < 0
1312 wpabuf_free(p2p_ie);
1315 wpabuf_free(p2p_ie);
H A Dp2p_supplicant.c6953 struct wpabuf *p2p_ie; local
6969 p2p_ie = wpa_bss_get_vendor_ie_multi(bss, P2P_IE_VENDOR_TYPE);
6971 p2p_group, p2p_ie);
6972 wpabuf_free(p2p_ie);

Completed in 264 milliseconds