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.c86 if (sta->p2p_ie == NULL) in ap_get_sta_p2p()
89 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie); in ap_get_sta_p2p()
310 wpabuf_free(sta->p2p_ie); in ap_free_sta()
1128 if (sta->p2p_ie != NULL && in ap_sta_set_authorized()
1129 p2p_parse_dev_addr_in_p2p_ie(sta->p2p_ie, addr) == 0) in ap_sta_set_authorized()
Ddrv_callbacks.c129 wpabuf_free(sta->p2p_ie); in hostapd_notif_assoc()
130 sta->p2p_ie = ieee802_11_vendor_ie_concat(req_ies, req_ies_len, in hostapd_notif_assoc()
132 if (sta->p2p_ie) in hostapd_notif_assoc()
133 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie); in hostapd_notif_assoc()
Dsta_info.h171 struct wpabuf *p2p_ie; /* P2P IE from (Re)Association Request */ member
Dieee802_11.c1515 wpabuf_free(sta->p2p_ie); in check_assoc_ies()
1516 sta->p2p_ie = ieee802_11_vendor_ie_concat(ies, ies_len, in check_assoc_ies()
1518 if (sta->p2p_ie) in check_assoc_ies()
1519 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie); in check_assoc_ies()
1521 wpabuf_free(sta->p2p_ie); in check_assoc_ies()
1522 sta->p2p_ie = NULL; in check_assoc_ies()
1919 if (sta->p2p_ie && hapd->p2p_group) { in send_assoc_resp()
Dieee802_1x.c859 sta->wps_ie, sta->p2p_ie, sta, in ieee802_1x_alloc_eapol_sm()
Dhostapd.c2659 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()
521 struct wpabuf *p2p_ie, in p2p_build_client_info() argument
529 if (p2p_ie == NULL) in p2p_build_client_info()
533 if (p2p_parse_p2p_ie(p2p_ie, &msg) || in p2p_build_client_info()
614 m->p2p_ie = ieee802_11_vendor_ie_concat(ie, len, P2P_IE_VENDOR_TYPE); in p2p_group_notif_assoc()
615 if (m->p2p_ie) { in p2p_group_notif_assoc()
616 m->client_info = p2p_build_client_info(addr, m->p2p_ie, in p2p_group_notif_assoc()
631 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.h1860 int p2p_ie_text(struct wpabuf *p2p_ie, char *buf, char *end);
1882 int p2p_parse_dev_addr_in_p2p_ie(struct wpabuf *p2p_ie, u8 *dev_addr);
1904 size_t len, int p2p_group, struct wpabuf *p2p_ie);
1936 u8 p2p_get_group_capab(const struct wpabuf *p2p_ie);
1943 int p2p_get_cross_connect_disallowed(const struct wpabuf *p2p_ie);
1950 const u8 * p2p_get_go_dev_addr(const struct wpabuf *p2p_ie);
Dp2p.c2520 u8 *buf, size_t len, struct wpabuf *p2p_ie) in p2p_assoc_req_ie_wlan_ap() argument
2529 if (p2p_ie == NULL) in p2p_assoc_req_ie_wlan_ap()
2533 if (p2p_parse_p2p_ie(p2p_ie, &msg) < 0) in p2p_assoc_req_ie_wlan_ap()
2581 size_t len, int p2p_group, struct wpabuf *p2p_ie) in p2p_assoc_req_ie() argument
2591 return p2p_assoc_req_ie_wlan_ap(p2p, bssid, buf, len, p2p_ie); in p2p_assoc_req_ie()
2645 struct wpabuf *p2p_ie; in p2p_scan_result_text() local
2648 p2p_ie = ieee802_11_vendor_ie_concat(ies, ies_len, P2P_IE_VENDOR_TYPE); in p2p_scan_result_text()
2649 if (p2p_ie == NULL) in p2p_scan_result_text()
2652 ret = p2p_attr_text(p2p_ie, buf, end); in p2p_scan_result_text()
2653 wpabuf_free(p2p_ie); in p2p_scan_result_text()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Devents.c1036 struct wpabuf *p2p_ie; in wpa_scan_res_match() local
1044 p2p_ie = wpa_bss_get_vendor_ie_multi( in wpa_scan_res_match()
1046 if (p2p_ie == NULL) { in wpa_scan_res_match()
1051 if (p2p_parse_dev_addr_in_p2p_ie(p2p_ie, dev_addr) < 0 in wpa_scan_res_match()
1055 wpabuf_free(p2p_ie); in wpa_scan_res_match()
1058 wpabuf_free(p2p_ie); in wpa_scan_res_match()
Dp2p_supplicant.c6661 struct wpabuf *p2p_ie; in wpas_p2p_assoc_req_ie() local
6677 p2p_ie = wpa_bss_get_vendor_ie_multi(bss, P2P_IE_VENDOR_TYPE); in wpas_p2p_assoc_req_ie()
6679 p2p_group, p2p_ie); in wpas_p2p_assoc_req_ie()
6680 wpabuf_free(p2p_ie); in wpas_p2p_assoc_req_ie()