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.c83 if (sta->p2p_ie == NULL) in ap_get_sta_p2p()
86 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie); in ap_get_sta_p2p()
297 wpabuf_free(sta->p2p_ie); in ap_free_sta()
1018 if (sta->p2p_ie != NULL && in ap_sta_set_authorized()
1019 p2p_parse_dev_addr_in_p2p_ie(sta->p2p_ie, addr) == 0) in ap_sta_set_authorized()
Ddrv_callbacks.c118 wpabuf_free(sta->p2p_ie); in hostapd_notif_assoc()
119 sta->p2p_ie = ieee802_11_vendor_ie_concat(req_ies, req_ies_len, in hostapd_notif_assoc()
121 if (sta->p2p_ie) in hostapd_notif_assoc()
122 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie); in hostapd_notif_assoc()
Dsta_info.h149 struct wpabuf *p2p_ie; /* P2P IE from (Re)Association Request */ member
Dieee802_11.c1330 wpabuf_free(sta->p2p_ie); in check_assoc_ies()
1331 sta->p2p_ie = ieee802_11_vendor_ie_concat(ies, ies_len, in check_assoc_ies()
1333 if (sta->p2p_ie) in check_assoc_ies()
1334 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie); in check_assoc_ies()
1336 wpabuf_free(sta->p2p_ie); in check_assoc_ies()
1337 sta->p2p_ie = NULL; in check_assoc_ies()
1647 if (sta->p2p_ie) { in send_assoc_resp()
Dieee802_1x.c823 sta->wps_ie, sta->p2p_ie, sta, in ieee802_1x_alloc_eapol_sm()
Dhostapd.c2369 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()
520 struct wpabuf *p2p_ie, in p2p_build_client_info() argument
528 if (p2p_ie == NULL) in p2p_build_client_info()
532 if (p2p_parse_p2p_ie(p2p_ie, &msg) || in p2p_build_client_info()
613 m->p2p_ie = ieee802_11_vendor_ie_concat(ie, len, P2P_IE_VENDOR_TYPE); in p2p_group_notif_assoc()
614 if (m->p2p_ie) { in p2p_group_notif_assoc()
615 m->client_info = p2p_build_client_info(addr, m->p2p_ie, in p2p_group_notif_assoc()
630 MAC2STR(addr), m->p2p_ie ? 1 : 0, m->wfd_ie ? 1 : 0, in p2p_group_notif_assoc()
Dp2p.h1766 int p2p_ie_text(struct wpabuf *p2p_ie, char *buf, char *end);
1788 int p2p_parse_dev_addr_in_p2p_ie(struct wpabuf *p2p_ie, u8 *dev_addr);
1810 size_t len, int p2p_group, struct wpabuf *p2p_ie);
1840 u8 p2p_get_group_capab(const struct wpabuf *p2p_ie);
1847 int p2p_get_cross_connect_disallowed(const struct wpabuf *p2p_ie);
1854 const u8 * p2p_get_go_dev_addr(const struct wpabuf *p2p_ie);
Dp2p_parse.c833 int p2p_get_cross_connect_disallowed(const struct wpabuf *p2p_ie) in p2p_get_cross_connect_disallowed() argument
838 if (p2p_parse_p2p_ie(p2p_ie, &msg)) in p2p_get_cross_connect_disallowed()
848 u8 p2p_get_group_capab(const struct wpabuf *p2p_ie) in p2p_get_group_capab() argument
853 if (p2p_parse_p2p_ie(p2p_ie, &msg)) in p2p_get_group_capab()
863 const u8 * p2p_get_go_dev_addr(const struct wpabuf *p2p_ie) in p2p_get_go_dev_addr() argument
868 if (p2p_parse_p2p_ie(p2p_ie, &msg)) in p2p_get_go_dev_addr()
Dp2p.c2508 u8 *buf, size_t len, struct wpabuf *p2p_ie) in p2p_assoc_req_ie_wlan_ap() argument
2517 if (p2p_ie == NULL) in p2p_assoc_req_ie_wlan_ap()
2521 if (p2p_parse_p2p_ie(p2p_ie, &msg) < 0) in p2p_assoc_req_ie_wlan_ap()
2569 size_t len, int p2p_group, struct wpabuf *p2p_ie) in p2p_assoc_req_ie() argument
2579 return p2p_assoc_req_ie_wlan_ap(p2p, bssid, buf, len, p2p_ie); in p2p_assoc_req_ie()
2633 struct wpabuf *p2p_ie; in p2p_scan_result_text() local
2636 p2p_ie = ieee802_11_vendor_ie_concat(ies, ies_len, P2P_IE_VENDOR_TYPE); in p2p_scan_result_text()
2637 if (p2p_ie == NULL) in p2p_scan_result_text()
2640 ret = p2p_attr_text(p2p_ie, buf, end); in p2p_scan_result_text()
2641 wpabuf_free(p2p_ie); in p2p_scan_result_text()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Devents.c1009 struct wpabuf *p2p_ie; in wpa_scan_res_match() local
1017 p2p_ie = wpa_bss_get_vendor_ie_multi( in wpa_scan_res_match()
1019 if (p2p_ie == NULL) { in wpa_scan_res_match()
1024 if (p2p_parse_dev_addr_in_p2p_ie(p2p_ie, dev_addr) < 0 in wpa_scan_res_match()
1028 wpabuf_free(p2p_ie); in wpa_scan_res_match()
1031 wpabuf_free(p2p_ie); in wpa_scan_res_match()
Dp2p_supplicant.c6005 struct wpabuf *p2p_ie; in wpas_p2p_assoc_req_ie() local
6021 p2p_ie = wpa_bss_get_vendor_ie_multi(bss, P2P_IE_VENDOR_TYPE); in wpas_p2p_assoc_req_ie()
6023 p2p_group, p2p_ie); in wpas_p2p_assoc_req_ie()
6024 wpabuf_free(p2p_ie); in wpas_p2p_assoc_req_ie()