Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/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.h1692 struct p2p_group;
1779 struct p2p_group * p2p_group_init(struct p2p_data *p2p,
1786 void p2p_group_deinit(struct p2p_group *group);
1796 int p2p_group_notif_assoc(struct p2p_group *group, const u8 *addr,
1808 struct wpabuf * p2p_group_assoc_resp_ie(struct p2p_group *group, u8 status);
1815 void p2p_group_notif_disassoc(struct p2p_group *group, const u8 *addr);
1821 void p2p_group_notif_formation_done(struct p2p_group *group);
1834 int p2p_group_notif_noa(struct p2p_group *group, const u8 *noa,
1848 int p2p_group_match_dev_type(struct p2p_group *group, struct wpabuf *wps);
1853 int p2p_group_match_dev_id(struct p2p_group *group, struct wpabuf *p2p);
[all …]
Dp2p_i.h463 struct p2p_group **groups;
736 const u8 * p2p_group_get_interface_addr(struct p2p_group *group);
737 u8 p2p_group_presence_req(struct p2p_group *group,
740 int p2p_group_is_group_id_match(struct p2p_group *group, const u8 *group_id,
742 void p2p_group_update_ies(struct p2p_group *group);
743 void p2p_group_force_beacon_update_ies(struct p2p_group *group);
744 struct wpabuf * p2p_group_get_wfd_ie(struct p2p_group *g);
745 void p2p_buf_add_group_info(struct p2p_group *group, struct wpabuf *buf,
747 void p2p_group_buf_add_id(struct p2p_group *group, struct wpabuf *buf);
748 int p2p_group_get_freq(struct p2p_group *group);
DMakefile9 p2p_group.o \
Dp2p_invitation.c33 struct p2p_group *g = p2p->groups[i]; in p2p_build_invitation_req()
124 struct p2p_group *g = p2p->groups[i]; in p2p_build_invitation_resp()
Dp2p.c2619 size_t len, int p2p_group, struct wpabuf *p2p_ie) in p2p_assoc_req_ie() argument
2628 if (!p2p_group) in p2p_assoc_req_ie()
4510 struct p2p_group *group = NULL; in p2p_process_presence_req()
5059 struct p2p_group *group; in p2p_update_wfd_ie_groups()
Dp2p_pd.c268 struct p2p_group *g = p2p->groups[i]; in p2p_build_prov_disc_resp()
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.h33 int p2p_group, int multi_ap_backhaul_sta);
35 const char *pin, int p2p_group, u16 dev_pw_id);
74 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()
450 if (!ssid->p2p_group) { in wpa_supplicant_wps_cred()
471 ssid->p2p_group = wpa_s->current_ssid->p2p_group; in wpa_supplicant_wps_cred()
1150 int p2p_group, int multi_ap_backhaul_sta) in wpas_wps_start_pbc() argument
1167 ssid->p2p_group = p2p_group; in wpas_wps_start_pbc()
1173 if (!p2p_group) in wpas_wps_start_pbc()
1176 if (p2p_group && wpa_s->go_params && wpa_s->go_params->ssid_len) { in wpas_wps_start_pbc()
1214 const char *pin, int p2p_group, u16 dev_pw_id, in wpas_wps_start_dev_pw() argument
1239 ssid->p2p_group = p2p_group; in wpas_wps_start_dev_pw()
1245 if (!p2p_group) in wpas_wps_start_dev_pw()
[all …]
Dp2p_supplicant.c534 if (s->disabled != 0 || !s->p2p_group || in wpas_get_p2p_group()
592 wpa_s, s, s->disabled, s->p2p_group, in p2p_group_go_member_count()
594 if (!s->disabled && s->p2p_group && in p2p_group_go_member_count()
597 wpa_s->p2p_group); in p2p_group_go_member_count()
610 wpa_s->current_ssid->p2p_group && in p2p_is_active_persistent_group()
636 if (p2p_get_group_num_members(wpa_s->p2p_group)) in wpas_p2p_get_go_group()
717 owned_members = p2p_get_group_num_members(go_wpa_s->p2p_group); in p2ps_group_capability()
736 p2p_client_limit_reached(go_wpa_s->p2p_group)) in p2ps_group_capability()
852 if (go_wpa_s && p2p_client_limit_reached(go_wpa_s->p2p_group)) in p2ps_group_capability()
894 if (ssid->p2p_group && ssid->disabled != 2) in wpas_p2p_group_delete()
[all …]
Dap.c94 if (!ssid->p2p_group) { in wpas_conf_ap_vht()
243 ssid->p2p_group, in wpa_supplicant_conf_ap_ht()
258 if (ssid->p2p_group && in wpa_supplicant_conf_ap_ht()
269 } else if (ssid->p2p_group && conf->secondary_channel && in wpa_supplicant_conf_ap_ht()
282 if (!ssid->p2p_group && in wpa_supplicant_conf_ap_ht()
428 if (ssid->p2p_group) { in wpa_supplicant_conf_ap()
1000 hapd_iface->bss[i]->p2p_group = wpas_p2p_group_init(wpa_s, in wpa_supplicant_create_ap()
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.h658 int p2p_group; member
Dnotify.c388 if (!ssid->p2p_group && wpa_s->global->p2p_group_formation != wpa_s) { in wpas_notify_network_added()
422 if (!ssid->p2p_group && wpa_s->global->p2p_group_formation != wpa_s && in wpas_notify_network_removed()
Dwpa_supplicant_i.h975 struct p2p_group *p2p_group; member
Dsme.c361 params.p2p = ssid->p2p_group; in sme_send_authentication()
598 ssid->p2p_group); in sme_send_authentication()
2085 if (ssid && ssid->p2p_group) in sme_associate()
Dwpa_supplicant.c959 wpa_s->current_ssid->p2p_group) { in wpa_supplicant_set_state()
1084 (wpa_s->current_ssid && wpa_s->current_ssid->p2p_group)) in wpa_supplicant_terminate_proc()
2988 ssid->p2p_group); in wpas_populate_assoc_ies()
3026 if (ssid->p2p_group) in wpas_populate_assoc_ies()
3818 params.p2p = ssid->p2p_group; in wpas_start_assoc_cb()
7824 if (ssid->p2p_group && in wpas_auth_failed()
8027 freqs_data[i].flags |= ifs->current_ssid->p2p_group ? in get_shared_radio_freqs_data()
Dwpas_glue.c1467 if (ssid->p2p_group && wpa_s->current_bss && in wpa_supplicant_rsn_supp_set_config()
Devents.c1349 if (ssid->p2p_group && in wpa_scan_res_ok()
5358 (wpa_s->current_ssid && wpa_s->current_ssid->p2p_group && in wpa_supplicant_event()
5371 wpa_s->current_ssid->p2p_group) in wpa_supplicant_event()
/external/wpa_supplicant_8/src/ap/
Dhostapd.h297 struct p2p_group *p2p_group; member
Dbeacon.c891 if (hapd->p2p && hapd->p2p_group && elems.wps_ie) { in handle_probe_req()
894 if (wps && !p2p_group_match_dev_type(hapd->p2p_group, wps)) { in handle_probe_req()
904 if (hapd->p2p && hapd->p2p_group && elems.p2p) { in handle_probe_req()
907 if (p2p && !p2p_group_match_dev_id(hapd->p2p_group, p2p)) { in handle_probe_req()
Dsta_info.c336 p2p_group_notif_disassoc(hapd->p2p_group, sta->addr); in ap_free_sta()
1282 if (hapd->p2p_group == NULL) { in ap_sta_set_authorized()
1287 dev_addr = p2p_group_get_dev_addr(hapd->p2p_group, sta->addr); in ap_sta_set_authorized()
Dap_drv_ops.c163 if (hapd->p2p_group) { in hostapd_build_ap_extra_ies()
165 a = p2p_group_assoc_resp_ie(hapd->p2p_group, P2P_SC_SUCCESS); in hostapd_build_ap_extra_ies()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers_p2p.c1324 if (ssid->p2p_group) in wpas_get_p2p_role()
1877 static int match_group_where_peer_is_client(struct p2p_group *group, in match_group_where_peer_is_client()
2349 num_members = p2p_get_group_num_members(wpa_s->p2p_group); in wpas_dbus_getter_p2p_group_members()
2356 while ((addr = p2p_iterate_group_members(wpa_s->p2p_group, &next))) { in wpas_dbus_getter_p2p_group_members()
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.4/
Dp2p_iface.cpp248 wpa_network->p2p_group = 1; in addGroupClientNetwork()

12