Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/ap/
Dp2p_hostapd.c26 if (sta->p2p_ie == NULL) in hostapd_p2p_get_mib_sta()
29 return p2p_ie_text(sta->p2p_ie, buf, buf + buflen); in hostapd_p2p_get_mib_sta()
Dsta_info.c89 if (sta->p2p_ie == NULL) in ap_get_sta_p2p()
92 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie); in ap_get_sta_p2p()
320 wpabuf_free(sta->p2p_ie); in ap_free_sta()
1176 if (sta->p2p_ie != NULL && in ap_sta_set_authorized()
1177 p2p_parse_dev_addr_in_p2p_ie(sta->p2p_ie, addr) == 0) in ap_sta_set_authorized()
Ddrv_callbacks.c200 wpabuf_free(sta->p2p_ie); in hostapd_notif_assoc()
201 sta->p2p_ie = ieee802_11_vendor_ie_concat(req_ies, req_ies_len, in hostapd_notif_assoc()
203 if (sta->p2p_ie) in hostapd_notif_assoc()
204 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie); in hostapd_notif_assoc()
Dsta_info.h184 struct wpabuf *p2p_ie; /* P2P IE from (Re)Association Request */ member
Dieee802_11.c2370 wpabuf_free(sta->p2p_ie); in check_assoc_ies()
2371 sta->p2p_ie = ieee802_11_vendor_ie_concat(ies, ies_len, in check_assoc_ies()
2373 if (sta->p2p_ie) in check_assoc_ies()
2374 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie); in check_assoc_ies()
2376 wpabuf_free(sta->p2p_ie); in check_assoc_ies()
2377 sta->p2p_ie = NULL; in check_assoc_ies()
2675 sta->vht_opmode, sta->p2p_ie ? 1 : 0, in add_associated_sta()
2828 if (sta && sta->p2p_ie && hapd->p2p_group) { in send_assoc_resp()
Dieee802_1x.c863 sta->wps_ie, sta->p2p_ie, sta, in ieee802_1x_alloc_eapol_sm()
Dhostapd.c2943 if (sta->p2p_ie == NULL && !sta->no_p2p_set) { in hostapd_new_assoc_sta()
/external/wpa_supplicant_8/src/p2p/
Dp2p_group.c25 struct wpabuf *p2p_ie; member
78 wpabuf_free(m->p2p_ie); in p2p_group_free_member()
523 struct wpabuf *p2p_ie, in p2p_build_client_info() argument
531 if (p2p_ie == NULL) in p2p_build_client_info()
535 if (p2p_parse_p2p_ie(p2p_ie, &msg) || in p2p_build_client_info()
616 m->p2p_ie = ieee802_11_vendor_ie_concat(ie, len, P2P_IE_VENDOR_TYPE); in p2p_group_notif_assoc()
617 if (m->p2p_ie) { in p2p_group_notif_assoc()
618 m->client_info = p2p_build_client_info(addr, m->p2p_ie, in p2p_group_notif_assoc()
633 MAC2STR(addr), m->p2p_ie ? 1 : 0, m->wfd_ie ? 1 : 0, in p2p_group_notif_assoc()
Dp2p_parse.c846 int p2p_get_cross_connect_disallowed(const struct wpabuf *p2p_ie) in p2p_get_cross_connect_disallowed() argument
851 if (p2p_parse_p2p_ie(p2p_ie, &msg)) in p2p_get_cross_connect_disallowed()
861 u8 p2p_get_group_capab(const struct wpabuf *p2p_ie) in p2p_get_group_capab() argument
866 if (p2p_parse_p2p_ie(p2p_ie, &msg)) in p2p_get_group_capab()
876 const u8 * p2p_get_go_dev_addr(const struct wpabuf *p2p_ie) in p2p_get_go_dev_addr() argument
881 if (p2p_parse_p2p_ie(p2p_ie, &msg)) in p2p_get_go_dev_addr()
Dp2p.h1861 int p2p_ie_text(struct wpabuf *p2p_ie, char *buf, char *end);
1883 int p2p_parse_dev_addr_in_p2p_ie(struct wpabuf *p2p_ie, u8 *dev_addr);
1905 size_t len, int p2p_group, struct wpabuf *p2p_ie);
1937 u8 p2p_get_group_capab(const struct wpabuf *p2p_ie);
1944 int p2p_get_cross_connect_disallowed(const struct wpabuf *p2p_ie);
1951 const u8 * p2p_get_go_dev_addr(const struct wpabuf *p2p_ie);
Dp2p.c2563 u8 *buf, size_t len, struct wpabuf *p2p_ie) in p2p_assoc_req_ie_wlan_ap() argument
2572 if (p2p_ie == NULL) in p2p_assoc_req_ie_wlan_ap()
2576 if (p2p_parse_p2p_ie(p2p_ie, &msg) < 0) in p2p_assoc_req_ie_wlan_ap()
2624 size_t len, int p2p_group, struct wpabuf *p2p_ie) in p2p_assoc_req_ie() argument
2634 return p2p_assoc_req_ie_wlan_ap(p2p, bssid, buf, len, p2p_ie); in p2p_assoc_req_ie()
2688 struct wpabuf *p2p_ie; in p2p_scan_result_text() local
2691 p2p_ie = ieee802_11_vendor_ie_concat(ies, ies_len, P2P_IE_VENDOR_TYPE); in p2p_scan_result_text()
2692 if (p2p_ie == NULL) in p2p_scan_result_text()
2695 ret = p2p_attr_text(p2p_ie, buf, end); in p2p_scan_result_text()
2696 wpabuf_free(p2p_ie); in p2p_scan_result_text()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Devents.c1231 struct wpabuf *p2p_ie; in wpa_scan_res_match() local
1241 p2p_ie = wpa_bss_get_vendor_ie_multi( in wpa_scan_res_match()
1243 if (p2p_ie == NULL) { in wpa_scan_res_match()
1250 if (p2p_parse_dev_addr_in_p2p_ie(p2p_ie, dev_addr) < 0 in wpa_scan_res_match()
1256 wpabuf_free(p2p_ie); in wpa_scan_res_match()
1259 wpabuf_free(p2p_ie); in wpa_scan_res_match()
Dp2p_supplicant.c6720 struct wpabuf *p2p_ie; in wpas_p2p_assoc_req_ie() local
6736 p2p_ie = wpa_bss_get_vendor_ie_multi(bss, P2P_IE_VENDOR_TYPE); in wpas_p2p_assoc_req_ie()
6738 p2p_group, p2p_ie); in wpas_p2p_assoc_req_ie()
6739 wpabuf_free(p2p_ie); in wpas_p2p_assoc_req_ie()