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.c82 if (sta->p2p_ie == NULL) in ap_get_sta_p2p()
85 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie); in ap_get_sta_p2p()
267 wpabuf_free(sta->p2p_ie); in ap_free_sta()
954 if (sta->p2p_ie != NULL && in ap_sta_set_authorized()
955 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.h125 struct wpabuf *p2p_ie; /* P2P IE from (Re)Association Request */ member
Dieee802_11.c939 wpabuf_free(sta->p2p_ie); in check_assoc_ies()
940 sta->p2p_ie = ieee802_11_vendor_ie_concat(ies, ies_len, in check_assoc_ies()
942 if (sta->p2p_ie) in check_assoc_ies()
943 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie); in check_assoc_ies()
945 wpabuf_free(sta->p2p_ie); in check_assoc_ies()
946 sta->p2p_ie = NULL; in check_assoc_ies()
1237 if (sta->p2p_ie) { in send_assoc_resp()
Dhostapd.c2091 if (sta->p2p_ie == NULL && !sta->no_p2p_set) { in hostapd_new_assoc_sta()
Dieee802_1x.c762 sta->wps_ie, sta->p2p_ie, sta, in ieee802_1x_alloc_eapol_sm()
/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_parse.c723 int p2p_get_cross_connect_disallowed(const struct wpabuf *p2p_ie) in p2p_get_cross_connect_disallowed() argument
728 if (p2p_parse_p2p_ie(p2p_ie, &msg)) in p2p_get_cross_connect_disallowed()
738 u8 p2p_get_group_capab(const struct wpabuf *p2p_ie) in p2p_get_group_capab() argument
743 if (p2p_parse_p2p_ie(p2p_ie, &msg)) in p2p_get_group_capab()
753 const u8 * p2p_get_go_dev_addr(const struct wpabuf *p2p_ie) in p2p_get_go_dev_addr() argument
758 if (p2p_parse_p2p_ie(p2p_ie, &msg)) in p2p_get_go_dev_addr()
Dp2p.h1554 int p2p_ie_text(struct wpabuf *p2p_ie, char *buf, char *end);
1576 int p2p_parse_dev_addr_in_p2p_ie(struct wpabuf *p2p_ie, u8 *dev_addr);
1598 size_t len, int p2p_group, struct wpabuf *p2p_ie);
1628 u8 p2p_get_group_capab(const struct wpabuf *p2p_ie);
1635 int p2p_get_cross_connect_disallowed(const struct wpabuf *p2p_ie);
1642 const u8 * p2p_get_go_dev_addr(const struct wpabuf *p2p_ie);
Dp2p.c2239 u8 *buf, size_t len, struct wpabuf *p2p_ie) in p2p_assoc_req_ie_wlan_ap() argument
2247 if (p2p_ie == NULL) in p2p_assoc_req_ie_wlan_ap()
2289 size_t len, int p2p_group, struct wpabuf *p2p_ie) in p2p_assoc_req_ie() argument
2299 return p2p_assoc_req_ie_wlan_ap(p2p, bssid, buf, len, p2p_ie); in p2p_assoc_req_ie()
2353 struct wpabuf *p2p_ie; in p2p_scan_result_text() local
2356 p2p_ie = ieee802_11_vendor_ie_concat(ies, ies_len, P2P_IE_VENDOR_TYPE); in p2p_scan_result_text()
2357 if (p2p_ie == NULL) in p2p_scan_result_text()
2360 ret = p2p_attr_text(p2p_ie, buf, end); in p2p_scan_result_text()
2361 wpabuf_free(p2p_ie); in p2p_scan_result_text()
2366 int p2p_parse_dev_addr_in_p2p_ie(struct wpabuf *p2p_ie, u8 *dev_addr) in p2p_parse_dev_addr_in_p2p_ie() argument
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Devents.c920 struct wpabuf *p2p_ie; in wpa_scan_res_match() local
928 p2p_ie = wpa_bss_get_vendor_ie_multi( in wpa_scan_res_match()
930 if (p2p_ie == NULL) { in wpa_scan_res_match()
935 if (p2p_parse_dev_addr_in_p2p_ie(p2p_ie, dev_addr) < 0 in wpa_scan_res_match()
939 wpabuf_free(p2p_ie); in wpa_scan_res_match()
942 wpabuf_free(p2p_ie); in wpa_scan_res_match()
Dp2p_supplicant.c5793 struct wpabuf *p2p_ie; in wpas_p2p_assoc_req_ie() local
5803 p2p_ie = wpa_bss_get_vendor_ie_multi(bss, P2P_IE_VENDOR_TYPE); in wpas_p2p_assoc_req_ie()
5805 p2p_group, p2p_ie); in wpas_p2p_assoc_req_ie()
5806 wpabuf_free(p2p_ie); in wpas_p2p_assoc_req_ie()