Home
last modified time | relevance | path

Searched refs:p2p_group (Results 1 – 25 of 62) sorted by relevance

123

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p_group.c34 struct p2p_group { struct
46 struct p2p_group * p2p_group_init(struct p2p_data *p2p, in p2p_group_init() argument
49 struct p2p_group *group, **groups; in p2p_group_init()
56 sizeof(struct p2p_group *)); in p2p_group_init()
84 static void p2p_group_free_members(struct p2p_group *group) in p2p_group_free_members()
98 void p2p_group_deinit(struct p2p_group *group) in p2p_group_deinit()
137 static void p2p_group_add_common_ies(struct p2p_group *group, in p2p_group_add_common_ies()
208 static struct wpabuf * p2p_group_build_beacon_ie(struct p2p_group *group) in p2p_group_build_beacon_ie()
249 struct wpabuf * p2p_group_get_wfd_ie(struct p2p_group *g) in p2p_group_get_wfd_ie()
354 wifi_display_build_go_ie(struct p2p_group *group) in wifi_display_build_go_ie()
[all …]
Dp2p.h1696 struct p2p_group;
1783 struct p2p_group * p2p_group_init(struct p2p_data *p2p,
1790 void p2p_group_deinit(struct p2p_group *group);
1800 int p2p_group_notif_assoc(struct p2p_group *group, const u8 *addr,
1812 struct wpabuf * p2p_group_assoc_resp_ie(struct p2p_group *group, u8 status);
1819 void p2p_group_notif_disassoc(struct p2p_group *group, const u8 *addr);
1825 void p2p_group_notif_formation_done(struct p2p_group *group);
1838 int p2p_group_notif_noa(struct p2p_group *group, const u8 *noa,
1852 int p2p_group_match_dev_type(struct p2p_group *group, struct wpabuf *wps);
1857 int p2p_group_match_dev_id(struct p2p_group *group, struct wpabuf *p2p);
[all …]
Dp2p_i.h452 struct p2p_group **groups;
730 const u8 * p2p_group_get_interface_addr(struct p2p_group *group);
731 u8 p2p_group_presence_req(struct p2p_group *group,
734 int p2p_group_is_group_id_match(struct p2p_group *group, const u8 *group_id,
736 void p2p_group_update_ies(struct p2p_group *group);
737 void p2p_group_force_beacon_update_ies(struct p2p_group *group);
738 struct wpabuf * p2p_group_get_wfd_ie(struct p2p_group *g);
739 void p2p_buf_add_group_info(struct p2p_group *group, struct wpabuf *buf,
741 void p2p_group_buf_add_id(struct p2p_group *group, struct wpabuf *buf);
742 int p2p_group_get_freq(struct p2p_group *group);
DMakefile9 p2p_group.o \
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_group.c34 struct p2p_group { struct
46 struct p2p_group * p2p_group_init(struct p2p_data *p2p, in p2p_group_init() argument
49 struct p2p_group *group, **groups; in p2p_group_init()
56 sizeof(struct p2p_group *)); in p2p_group_init()
84 static void p2p_group_free_members(struct p2p_group *group) in p2p_group_free_members()
98 void p2p_group_deinit(struct p2p_group *group) in p2p_group_deinit()
137 static void p2p_group_add_common_ies(struct p2p_group *group, in p2p_group_add_common_ies()
208 static struct wpabuf * p2p_group_build_beacon_ie(struct p2p_group *group) in p2p_group_build_beacon_ie()
249 struct wpabuf * p2p_group_get_wfd_ie(struct p2p_group *g) in p2p_group_get_wfd_ie()
354 wifi_display_build_go_ie(struct p2p_group *group) in wifi_display_build_go_ie()
[all …]
Dp2p.h1684 struct p2p_group;
1771 struct p2p_group * p2p_group_init(struct p2p_data *p2p,
1778 void p2p_group_deinit(struct p2p_group *group);
1788 int p2p_group_notif_assoc(struct p2p_group *group, const u8 *addr,
1800 struct wpabuf * p2p_group_assoc_resp_ie(struct p2p_group *group, u8 status);
1807 void p2p_group_notif_disassoc(struct p2p_group *group, const u8 *addr);
1813 void p2p_group_notif_formation_done(struct p2p_group *group);
1826 int p2p_group_notif_noa(struct p2p_group *group, const u8 *noa,
1840 int p2p_group_match_dev_type(struct p2p_group *group, struct wpabuf *wps);
1845 int p2p_group_match_dev_id(struct p2p_group *group, struct wpabuf *p2p);
[all …]
Dp2p_i.h452 struct p2p_group **groups;
725 const u8 * p2p_group_get_interface_addr(struct p2p_group *group);
726 u8 p2p_group_presence_req(struct p2p_group *group,
729 int p2p_group_is_group_id_match(struct p2p_group *group, const u8 *group_id,
731 void p2p_group_update_ies(struct p2p_group *group);
732 void p2p_group_force_beacon_update_ies(struct p2p_group *group);
733 struct wpabuf * p2p_group_get_wfd_ie(struct p2p_group *g);
734 void p2p_buf_add_group_info(struct p2p_group *group, struct wpabuf *buf,
736 void p2p_group_buf_add_id(struct p2p_group *group, struct wpabuf *buf);
737 int p2p_group_get_freq(struct p2p_group *group);
DMakefile19 p2p_group.o \
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dwps_supplicant.h33 int p2p_group, int multi_ap_backhaul_sta);
35 const char *pin, int p2p_group, u16 dev_pw_id);
71 int p2p_group, const u8 *peer_pubkey_hash,
Dwps_supplicant.c446 if (!ssid->p2p_group) { in wpa_supplicant_wps_cred()
467 ssid->p2p_group = wpa_s->current_ssid->p2p_group; in wpa_supplicant_wps_cred()
1147 int p2p_group, int multi_ap_backhaul_sta) in wpas_wps_start_pbc() argument
1164 ssid->p2p_group = p2p_group; in wpas_wps_start_pbc()
1170 if (!p2p_group) in wpas_wps_start_pbc()
1173 if (p2p_group && wpa_s->go_params && wpa_s->go_params->ssid_len) { in wpas_wps_start_pbc()
1206 const char *pin, int p2p_group, u16 dev_pw_id, in wpas_wps_start_dev_pw() argument
1231 ssid->p2p_group = p2p_group; in wpas_wps_start_dev_pw()
1237 if (!p2p_group) in wpas_wps_start_dev_pw()
1255 if (p2p_group && wpa_s->go_params && wpa_s->go_params->ssid_len) { in wpas_wps_start_dev_pw()
[all …]
Dp2p_supplicant.c493 if (s->disabled != 0 || !s->p2p_group || in wpas_get_p2p_group()
551 wpa_s, s, s->disabled, s->p2p_group, in p2p_group_go_member_count()
553 if (!s->disabled && s->p2p_group && in p2p_group_go_member_count()
556 wpa_s->p2p_group); in p2p_group_go_member_count()
569 wpa_s->current_ssid->p2p_group && in p2p_is_active_persistent_group()
595 if (p2p_get_group_num_members(wpa_s->p2p_group)) in wpas_p2p_get_go_group()
676 owned_members = p2p_get_group_num_members(go_wpa_s->p2p_group); in p2ps_group_capability()
695 p2p_client_limit_reached(go_wpa_s->p2p_group)) in p2ps_group_capability()
811 if (go_wpa_s && p2p_client_limit_reached(go_wpa_s->p2p_group)) in p2ps_group_capability()
853 if (ssid->p2p_group && ssid->disabled != 2) in wpas_p2p_group_delete()
[all …]
Dp2p_supplicant.h54 struct p2p_group * wpas_p2p_group_init(struct wpa_supplicant *wpa_s,
81 u8 *buf, size_t len, int p2p_group);
Dconfig_ssid.h616 int p2p_group; member
Dap.c68 if (!ssid->p2p_group) { in wpas_conf_ap_vht()
190 ssid->p2p_group, in wpa_supplicant_conf_ap_ht()
197 if (ssid->p2p_group && in wpa_supplicant_conf_ap_ht()
211 if (!ssid->p2p_group && in wpa_supplicant_conf_ap_ht()
353 if (ssid->p2p_group) { in wpa_supplicant_conf_ap()
869 hapd_iface->bss[i]->p2p_group = wpas_p2p_group_init(wpa_s, in wpa_supplicant_create_ap()
Dnotify.c374 if (!ssid->p2p_group && wpa_s->global->p2p_group_formation != wpa_s) in wpas_notify_network_added()
404 if (!ssid->p2p_group && wpa_s->global->p2p_group_formation != wpa_s && in wpas_notify_network_removed()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dwps_supplicant.h33 int p2p_group, int multi_ap_backhaul_sta);
35 const char *pin, int p2p_group, u16 dev_pw_id);
72 int p2p_group, const u8 *peer_pubkey_hash,
Dwps_supplicant.c243 iftype = ssid->p2p_group ? WPA_IF_P2P_CLIENT : WPA_IF_STATION; in wpas_wps_security_workaround()
451 if (!ssid->p2p_group) { in wpa_supplicant_wps_cred()
472 ssid->p2p_group = wpa_s->current_ssid->p2p_group; in wpa_supplicant_wps_cred()
540 if (ssid->p2p_group && is_p2p_6ghz_capable(wpa_s->global->p2p)) in wpa_supplicant_wps_cred()
1155 int p2p_group, int multi_ap_backhaul_sta) in wpas_wps_start_pbc() argument
1172 ssid->p2p_group = p2p_group; in wpas_wps_start_pbc()
1178 if (!p2p_group) in wpas_wps_start_pbc()
1181 if (p2p_group && wpa_s->go_params && wpa_s->go_params->ssid_len) { in wpas_wps_start_pbc()
1219 const char *pin, int p2p_group, u16 dev_pw_id, in wpas_wps_start_dev_pw() argument
1244 ssid->p2p_group = p2p_group; in wpas_wps_start_dev_pw()
[all …]
Dap.c99 if (!ssid->p2p_group) { in wpas_conf_ap_vht()
237 ssid->p2p_group, he_chanwidth); in wpas_conf_ap_he_6ghz()
244 if (is_chanwidth_40_80 && ssid->p2p_group && in wpas_conf_ap_he_6ghz()
256 if ((is_chanwidth_40_80 || is_chanwidth_160) && ssid->p2p_group && in wpas_conf_ap_he_6ghz()
332 ssid->p2p_group, in wpa_supplicant_conf_ap_ht()
347 if (ssid->p2p_group && in wpa_supplicant_conf_ap_ht()
358 } else if (ssid->p2p_group && conf->secondary_channel && in wpa_supplicant_conf_ap_ht()
371 if (!ssid->p2p_group && in wpa_supplicant_conf_ap_ht()
517 if (ssid->p2p_group) { in wpa_supplicant_conf_ap()
1093 hapd_iface->bss[i]->p2p_group = wpas_p2p_group_init(wpa_s, in wpa_supplicant_create_ap()
Dp2p_supplicant.c550 if (s->disabled != 0 || !s->p2p_group || in wpas_get_p2p_group()
608 wpa_s, s, s->disabled, s->p2p_group, in p2p_group_go_member_count()
610 if (!s->disabled && s->p2p_group && in p2p_group_go_member_count()
613 wpa_s->p2p_group); in p2p_group_go_member_count()
626 wpa_s->current_ssid->p2p_group && in p2p_is_active_persistent_group()
652 if (p2p_get_group_num_members(wpa_s->p2p_group)) in wpas_p2p_get_go_group()
733 owned_members = p2p_get_group_num_members(go_wpa_s->p2p_group); in p2ps_group_capability()
752 p2p_client_limit_reached(go_wpa_s->p2p_group)) in p2ps_group_capability()
868 if (go_wpa_s && p2p_client_limit_reached(go_wpa_s->p2p_group)) in p2ps_group_capability()
910 if (ssid->p2p_group && ssid->disabled != 2) in wpas_p2p_group_delete()
[all …]
Dp2p_supplicant.h56 struct p2p_group * wpas_p2p_group_init(struct wpa_supplicant *wpa_s,
84 u8 *buf, size_t len, int p2p_group);
Dconfig_ssid.h667 int p2p_group; member
Dnotify.c375 if (!ssid->p2p_group && wpa_s->global->p2p_group_formation != wpa_s) { in wpas_notify_network_added()
408 if (!ssid->p2p_group && wpa_s->global->p2p_group_formation != wpa_s && in wpas_notify_network_removed()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dhostapd.h289 struct p2p_group *p2p_group; member
Dbeacon.c812 if (hapd->p2p && hapd->p2p_group && elems.wps_ie) { in handle_probe_req()
815 if (wps && !p2p_group_match_dev_type(hapd->p2p_group, wps)) { in handle_probe_req()
825 if (hapd->p2p && hapd->p2p_group && elems.p2p) { in handle_probe_req()
828 if (p2p && !p2p_group_match_dev_id(hapd->p2p_group, p2p)) { in handle_probe_req()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dhostapd.h299 struct p2p_group *p2p_group; member

123