/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
H A D | p2p_group.c | 25 struct wpabuf *p2p_ie; member 78 wpabuf_free(m->p2p_ie); in p2p_group_free_member() 513 * @p2p_ie: P2P IE from (Re)Association Request 523 struct wpabuf *p2p_ie, in p2p_build_client_info() 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 in p2p_group_notif_assoc() 522 p2p_build_client_info(const u8 *addr, struct wpabuf *p2p_ie, u8 *dev_capab, u8 *dev_addr) p2p_build_client_info() argument [all...] |
H A D | p2p.h | 1860 * @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 D | p2p_parse.c | 846 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()
|
H A D | p2p.c | 2542 u8 *buf, size_t len, struct wpabuf *p2p_ie) in p2p_assoc_req_ie_wlan_ap() 2551 if (p2p_ie == NULL) in p2p_assoc_req_ie_wlan_ap() 2555 if (p2p_parse_p2p_ie(p2p_ie, &msg) < 0) in p2p_assoc_req_ie_wlan_ap() 2603 size_t len, int p2p_group, struct wpabuf *p2p_ie) in p2p_assoc_req_ie() 2613 return p2p_assoc_req_ie_wlan_ap(p2p, bssid, buf, len, p2p_ie); in p2p_assoc_req_ie() 2667 struct wpabuf *p2p_ie; in p2p_scan_result_text() local 2670 p2p_ie = ieee802_11_vendor_ie_concat(ies, ies_len, P2P_IE_VENDOR_TYPE); in p2p_scan_result_text() 2671 if (p2p_ie == NULL) in p2p_scan_result_text() 2674 ret = p2p_attr_text(p2p_ie, buf, end); in p2p_scan_result_text() 2675 wpabuf_free(p2p_ie); in p2p_scan_result_text() 2541 p2p_assoc_req_ie_wlan_ap(struct p2p_data *p2p, const u8 *bssid, u8 *buf, size_t len, struct wpabuf *p2p_ie) p2p_assoc_req_ie_wlan_ap() argument 2602 p2p_assoc_req_ie(struct p2p_data *p2p, const u8 *bssid, u8 *buf, size_t len, int p2p_group, struct wpabuf *p2p_ie) p2p_assoc_req_ie() argument 2833 p2p_parse_dev_addr_in_p2p_ie(struct wpabuf *p2p_ie, u8 *dev_addr) p2p_parse_dev_addr_in_p2p_ie() argument 2854 struct wpabuf *p2p_ie; p2p_parse_dev_addr() local 3573 p2p_ie_text(struct wpabuf *p2p_ie, char *buf, char *end) p2p_ie_text() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | p2p_hostapd.c | 26 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()
|
H A D | sta_info.c | 100 if (sta->p2p_ie == NULL) in ap_get_sta_p2p() 103 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie); in ap_get_sta_p2p() 361 wpabuf_free(sta->p2p_ie); in ap_free_sta() 1305 if (sta->p2p_ie != NULL && in ap_sta_set_authorized() 1306 p2p_parse_dev_addr_in_p2p_ie(sta->p2p_ie, addr) == 0) in ap_sta_set_authorized()
|
H A D | sta_info.h | 232 struct wpabuf *p2p_ie; /* P2P IE from (Re)Association Request */ member
|
H A D | drv_callbacks.c | 253 wpabuf_free(sta->p2p_ie); in hostapd_notif_assoc() 254 sta->p2p_ie = ieee802_11_vendor_ie_concat(req_ies, req_ies_len, in hostapd_notif_assoc() 256 if (sta->p2p_ie) in hostapd_notif_assoc() 257 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie); in hostapd_notif_assoc()
|
H A D | ieee802_11.c | 4583 wpabuf_free(sta->p2p_ie); in check_assoc_ies() 4584 sta->p2p_ie = ieee802_11_vendor_ie_concat(ies, ies_len, in check_assoc_ies() 4586 if (sta->p2p_ie) in check_assoc_ies() 4587 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie); in check_assoc_ies() 4589 wpabuf_free(sta->p2p_ie); in check_assoc_ies() 4590 sta->p2p_ie = NULL; in check_assoc_ies() 5022 sta->vht_opmode, sta->p2p_ie ? 1 : 0, in add_associated_sta() 5274 if (sta && sta->p2p_ie && hapd->p2p_group) { in send_assoc_resp()
|
H A D | ieee802_1x.c | 995 sta->wps_ie, sta->p2p_ie, sta, in ieee802_1x_alloc_eapol_sm()
|
H A D | hostapd.c | 3287 if (sta->p2p_ie == NULL && !sta->no_p2p_set) { in hostapd_new_assoc_sta()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | p2p_hostapd.c | 26 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()
|
H A D | sta_info.c | 90 if (sta->p2p_ie == NULL) in ap_get_sta_p2p() 93 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie); in ap_get_sta_p2p() 323 wpabuf_free(sta->p2p_ie); in ap_free_sta() 1238 if (sta->p2p_ie != NULL && in ap_sta_set_authorized() 1239 p2p_parse_dev_addr_in_p2p_ie(sta->p2p_ie, addr) == 0) in ap_sta_set_authorized()
|
H A D | sta_info.h | 191 struct wpabuf *p2p_ie; /* P2P IE from (Re)Association Request */ member
|
H A D | drv_callbacks.c | 215 wpabuf_free(sta->p2p_ie); in hostapd_notif_assoc() 216 sta->p2p_ie = ieee802_11_vendor_ie_concat(req_ies, req_ies_len, in hostapd_notif_assoc() 218 if (sta->p2p_ie) in hostapd_notif_assoc() 219 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie); in hostapd_notif_assoc()
|
H A D | ieee802_11.c | 3003 wpabuf_free(sta->p2p_ie); in check_assoc_ies() 3004 sta->p2p_ie = ieee802_11_vendor_ie_concat(ies, ies_len, in check_assoc_ies() 3006 if (sta->p2p_ie) in check_assoc_ies() 3007 p2p_dev_addr = p2p_get_go_dev_addr(sta->p2p_ie); in check_assoc_ies() 3009 wpabuf_free(sta->p2p_ie); in check_assoc_ies() 3010 sta->p2p_ie = NULL; in check_assoc_ies() 3435 sta->vht_opmode, sta->p2p_ie ? 1 : 0, in add_associated_sta() 3665 if (sta && sta->p2p_ie && hapd->p2p_group) { in send_assoc_resp()
|
H A D | ieee802_1x.c | 986 sta->wps_ie, sta->p2p_ie, sta, in ieee802_1x_alloc_eapol_sm()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/ |
H A D | p2p_group.c | 25 struct wpabuf *p2p_ie; member 83 wpabuf_free(m->p2p_ie); in p2p_group_free_member() 549 * @p2p_ie: P2P IE from (Re)Association Request 559 struct wpabuf *p2p_ie, in p2p_build_client_info() 567 if (p2p_ie == NULL) in p2p_build_client_info() 571 if (p2p_parse_p2p_ie(p2p_ie, &msg) || in p2p_build_client_info() 652 m->p2p_ie = ieee802_11_vendor_ie_concat(ie, len, P2P_IE_VENDOR_TYPE); in p2p_group_notif_assoc() 653 if (m->p2p_ie) { in p2p_group_notif_assoc() 654 m->client_info = p2p_build_client_info(addr, m->p2p_ie, in p2p_group_notif_assoc() 669 MAC2STR_SEC(addr), m->p2p_ie in p2p_group_notif_assoc() 558 p2p_build_client_info(const u8 *addr, struct wpabuf *p2p_ie, u8 *dev_capab, u8 *dev_addr) p2p_build_client_info() argument [all...] |
H A D | p2p.h | 1888 * @p2p_ie: P2P IE 1896 int p2p_ie_text(struct wpabuf *p2p_ie, char *buf, char *end); 1914 * @p2p_ie: P2P IE 1918 int p2p_parse_dev_addr_in_p2p_ie(struct wpabuf *p2p_ie, u8 *dev_addr); 1936 * @p2p_ie: Reassembled P2P IE data from scan results or %NULL if none 1940 size_t len, int p2p_group, struct wpabuf *p2p_ie); 1969 * @p2p_ie: P2P IE(s) contents 1972 u8 p2p_get_group_capab(const struct wpabuf *p2p_ie); 1976 * @p2p_ie: P2P IE(s) contents 1979 int p2p_get_cross_connect_disallowed(const struct wpabuf *p2p_ie); [all...] |
H A D | p2p_parse.c | 844 int p2p_get_cross_connect_disallowed(const struct wpabuf *p2p_ie) in p2p_get_cross_connect_disallowed() argument 849 if (p2p_parse_p2p_ie(p2p_ie, &msg)) in p2p_get_cross_connect_disallowed() 859 u8 p2p_get_group_capab(const struct wpabuf *p2p_ie) in p2p_get_group_capab() argument 864 if (p2p_parse_p2p_ie(p2p_ie, &msg)) in p2p_get_group_capab() 874 const u8 * p2p_get_go_dev_addr(const struct wpabuf *p2p_ie) in p2p_get_go_dev_addr() argument 879 if (p2p_parse_p2p_ie(p2p_ie, &msg)) in p2p_get_go_dev_addr()
|
H A D | p2p.c | 2674 u8 *buf, size_t len, struct wpabuf *p2p_ie) 2683 if (p2p_ie == NULL) 2687 if (p2p_parse_p2p_ie(p2p_ie, &msg) < 0) 2735 size_t len, int p2p_group, struct wpabuf *p2p_ie) 2745 return p2p_assoc_req_ie_wlan_ap(p2p, bssid, buf, len, p2p_ie); 2799 struct wpabuf *p2p_ie; local 2802 p2p_ie = ieee802_11_vendor_ie_concat(ies, ies_len, P2P_IE_VENDOR_TYPE); 2803 if (p2p_ie == NULL) 2806 ret = p2p_attr_text(p2p_ie, buf, end); 2807 wpabuf_free(p2p_ie); 2673 p2p_assoc_req_ie_wlan_ap(struct p2p_data *p2p, const u8 *bssid, u8 *buf, size_t len, struct wpabuf *p2p_ie) global() argument 2734 p2p_assoc_req_ie(struct p2p_data *p2p, const u8 *bssid, u8 *buf, size_t len, int p2p_group, struct wpabuf *p2p_ie) global() argument 2965 p2p_parse_dev_addr_in_p2p_ie(struct wpabuf *p2p_ie, u8 *dev_addr) global() argument 2986 struct wpabuf *p2p_ie; global() local 3740 p2p_ie_text(struct wpabuf *p2p_ie, char *buf, char *end) global() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | events.c | 1287 struct wpabuf *p2p_ie; in wpa_scan_res_match() local 1297 p2p_ie = wpa_bss_get_vendor_ie_multi( in wpa_scan_res_match() 1299 if (p2p_ie == NULL) { in wpa_scan_res_match() 1306 if (p2p_parse_dev_addr_in_p2p_ie(p2p_ie, dev_addr) < 0 in wpa_scan_res_match() 1312 wpabuf_free(p2p_ie); in wpa_scan_res_match() 1315 wpabuf_free(p2p_ie); in wpa_scan_res_match()
|
H A D | p2p_supplicant.c | 6966 struct wpabuf *p2p_ie; in wpas_p2p_assoc_req_ie() local 6982 p2p_ie = wpa_bss_get_vendor_ie_multi(bss, P2P_IE_VENDOR_TYPE); in wpas_p2p_assoc_req_ie() 6984 p2p_group, p2p_ie); in wpas_p2p_assoc_req_ie() 6985 wpabuf_free(p2p_ie); in wpas_p2p_assoc_req_ie()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | events.c | 1558 struct wpabuf *p2p_ie; in wpa_scan_res_ok() local 1568 p2p_ie = wpa_bss_get_vendor_ie_multi(bss, P2P_IE_VENDOR_TYPE); in wpa_scan_res_ok() 1569 if (!p2p_ie) { in wpa_scan_res_ok() 1576 if (p2p_parse_dev_addr_in_p2p_ie(p2p_ie, dev_addr) < 0 || in wpa_scan_res_ok() 1581 wpabuf_free(p2p_ie); in wpa_scan_res_ok() 1584 wpabuf_free(p2p_ie); in wpa_scan_res_ok()
|
H A D | p2p_supplicant.c | 8294 struct wpabuf *p2p_ie; local 8310 p2p_ie = wpa_bss_get_vendor_ie_multi(bss, P2P_IE_VENDOR_TYPE); 8312 p2p_group, p2p_ie); 8313 wpabuf_free(p2p_ie);
|