Home
last modified time | relevance | path

Searched refs:p2p_data (Results 1 – 16 of 16) sorted by relevance

/external/wpa_supplicant_8/src/p2p/
Dp2p.h244 struct p2p_data;
1048 struct p2p_data * p2p_init(const struct p2p_config *cfg);
1054 void p2p_deinit(struct p2p_data *p2p);
1062 void p2p_flush(struct p2p_data *p2p);
1075 int p2p_unauthorize(struct p2p_data *p2p, const u8 *addr);
1085 int p2p_set_dev_name(struct p2p_data *p2p, const char *dev_name);
1087 int p2p_set_manufacturer(struct p2p_data *p2p, const char *manufacturer);
1088 int p2p_set_model_name(struct p2p_data *p2p, const char *model_name);
1089 int p2p_set_model_number(struct p2p_data *p2p, const char *model_number);
1090 int p2p_set_serial_number(struct p2p_data *p2p, const char *serial_number);
[all …]
Dp2p_i.h171 struct p2p_data { struct
677 void p2p_channels_dump(struct p2p_data *p2p, const char *title,
725 void p2p_buf_add_device_info(struct wpabuf *buf, struct p2p_data *p2p,
748 void p2p_buf_add_p2p_interface(struct wpabuf *buf, struct p2p_data *p2p);
752 void p2p_buf_add_service_hash(struct wpabuf *buf, struct p2p_data *p2p);
756 void p2p_buf_add_service_instance(struct wpabuf *buf, struct p2p_data *p2p,
764 int p2p_build_wps_ie(struct p2p_data *p2p, struct wpabuf *buf, int pw_id,
768 struct p2p_sd_query * p2p_pending_sd_req(struct p2p_data *p2p,
770 void p2p_free_sd_queries(struct p2p_data *p2p);
771 void p2p_rx_gas_initial_req(struct p2p_data *p2p, const u8 *sa,
[all …]
Dp2p.c24 static void p2p_device_free(struct p2p_data *p2p, struct p2p_device *dev);
25 static void p2p_process_presence_req(struct p2p_data *p2p, const u8 *da,
28 static void p2p_process_presence_resp(struct p2p_data *p2p, const u8 *da,
53 static void p2p_expire_peers(struct p2p_data *p2p) in p2p_expire_peers()
108 struct p2p_data *p2p = eloop_ctx; in p2p_expiration_timeout()
150 const char * p2p_get_state_txt(struct p2p_data *p2p) in p2p_get_state_txt()
156 struct p2ps_advertisement * p2p_get_p2ps_adv_list(struct p2p_data *p2p) in p2p_get_p2ps_adv_list()
162 void p2p_set_intended_addr(struct p2p_data *p2p, const u8 *intended_addr) in p2p_set_intended_addr()
169 u16 p2p_get_provisioning_info(struct p2p_data *p2p, const u8 *addr) in p2p_get_provisioning_info()
184 void p2p_clear_provisioning_info(struct p2p_data *p2p, const u8 *addr) in p2p_clear_provisioning_info()
[all …]
Dp2p_dev_disc.c17 static struct wpabuf * p2p_build_dev_disc_req(struct p2p_data *p2p, in p2p_build_dev_disc_req()
43 void p2p_dev_disc_req_cb(struct p2p_data *p2p, int success) in p2p_dev_disc_req_cb()
67 int p2p_send_dev_disc_req(struct p2p_data *p2p, struct p2p_device *dev) in p2p_send_dev_disc_req()
129 void p2p_dev_disc_resp_cb(struct p2p_data *p2p, int success) in p2p_dev_disc_resp_cb()
137 static void p2p_send_dev_disc_resp(struct p2p_data *p2p, u8 dialog_token, in p2p_send_dev_disc_resp()
161 void p2p_process_dev_disc_req(struct p2p_data *p2p, const u8 *sa, in p2p_process_dev_disc_req()
214 void p2p_process_dev_disc_resp(struct p2p_data *p2p, const u8 *sa, in p2p_process_dev_disc_resp()
288 void p2p_go_disc_req_cb(struct p2p_data *p2p, int success) in p2p_go_disc_req_cb()
309 void p2p_process_go_disc_req(struct p2p_data *p2p, const u8 *da, const u8 *sa, in p2p_process_go_disc_req()
Dp2p_sd.c50 struct p2p_sd_query * p2p_pending_sd_req(struct p2p_data *p2p, in p2p_pending_sd_req()
100 static void p2p_decrease_sd_bc_queries(struct p2p_data *p2p, int query_number) in p2p_decrease_sd_bc_queries()
117 static int p2p_unlink_sd_query(struct p2p_data *p2p, in p2p_unlink_sd_query()
157 void p2p_free_sd_queries(struct p2p_data *p2p) in p2p_free_sd_queries()
194 static void p2p_send_gas_comeback_req(struct p2p_data *p2p, const u8 *dst, in p2p_send_gas_comeback_req()
272 int p2p_start_sd(struct p2p_data *p2p, struct p2p_device *dev) in p2p_start_sd()
320 void p2p_rx_gas_initial_req(struct p2p_data *p2p, const u8 *sa, in p2p_rx_gas_initial_req()
416 void p2p_sd_response(struct p2p_data *p2p, int freq, const u8 *dst, in p2p_sd_response()
465 void p2p_rx_gas_initial_resp(struct p2p_data *p2p, const u8 *sa, in p2p_rx_gas_initial_resp()
604 void p2p_rx_gas_comeback_req(struct p2p_data *p2p, const u8 *sa, in p2p_rx_gas_comeback_req()
[all …]
Dp2p_invitation.c18 static struct wpabuf * p2p_build_invitation_req(struct p2p_data *p2p, in p2p_build_invitation_req()
105 static struct wpabuf * p2p_build_invitation_resp(struct p2p_data *p2p, in p2p_build_invitation_resp()
171 void p2p_process_invitation_req(struct p2p_data *p2p, const u8 *sa, in p2p_process_invitation_req()
422 void p2p_process_invitation_resp(struct p2p_data *p2p, const u8 *sa, in p2p_process_invitation_resp()
550 int p2p_invite_send(struct p2p_data *p2p, struct p2p_device *dev, in p2p_invite_send()
592 void p2p_invitation_req_cb(struct p2p_data *p2p, int success) in p2p_invitation_req_cb()
613 void p2p_invitation_resp_cb(struct p2p_data *p2p, int success) in p2p_invitation_resp_cb()
633 int p2p_invite(struct p2p_data *p2p, const u8 *peer, enum p2p_invite_role role, in p2p_invite()
Dp2p_build.c147 void p2p_buf_add_device_info(struct wpabuf *buf, struct p2p_data *p2p, in p2p_buf_add_device_info()
314 void p2p_buf_add_p2p_interface(struct wpabuf *buf, struct p2p_data *p2p) in p2p_buf_add_p2p_interface()
348 void p2p_buf_add_service_hash(struct wpabuf *buf, struct p2p_data *p2p) in p2p_buf_add_service_hash()
407 static int p2ps_wildcard_hash(struct p2p_data *p2p, in p2ps_wildcard_hash()
423 static int p2p_wfa_service_adv(struct p2p_data *p2p) in p2p_wfa_service_adv()
437 static int p2p_buf_add_service_info(struct wpabuf *buf, struct p2p_data *p2p, in p2p_buf_add_service_info()
555 void p2p_buf_add_service_instance(struct wpabuf *buf, struct p2p_data *p2p, in p2p_buf_add_service_instance()
697 int p2p_build_wps_ie(struct p2p_data *p2p, struct wpabuf *buf, int pw_id, in p2p_build_wps_ie()
Dp2p_utils.c334 int p2p_supported_freq(struct p2p_data *p2p, unsigned int freq) in p2p_supported_freq()
344 int p2p_supported_freq_go(struct p2p_data *p2p, unsigned int freq) in p2p_supported_freq_go()
355 int p2p_supported_freq_cli(struct p2p_data *p2p, unsigned int freq) in p2p_supported_freq_cli()
367 unsigned int p2p_get_pref_freq(struct p2p_data *p2p, in p2p_get_pref_freq()
388 void p2p_channels_dump(struct p2p_data *p2p, const char *title, in p2p_channels_dump()
Dp2p_go_neg.c35 int p2p_peer_channels_check(struct p2p_data *p2p, struct p2p_channels *own, in p2p_peer_channels_check()
91 static int p2p_peer_channels(struct p2p_data *p2p, struct p2p_device *dev, in p2p_peer_channels()
137 static struct wpabuf * p2p_build_go_neg_req(struct p2p_data *p2p, in p2p_build_go_neg_req()
210 int p2p_connect_send(struct p2p_data *p2p, struct p2p_device *dev) in p2p_connect_send()
268 static struct wpabuf * p2p_build_go_neg_resp(struct p2p_data *p2p, in p2p_build_go_neg_resp()
375 void p2p_reselect_channel(struct p2p_data *p2p, in p2p_reselect_channel()
497 int p2p_go_select_channel(struct p2p_data *p2p, struct p2p_device *dev, in p2p_go_select_channel()
545 void p2p_process_go_neg_req(struct p2p_data *p2p, const u8 *sa, in p2p_process_go_neg_req()
865 static struct wpabuf * p2p_build_go_neg_conf(struct p2p_data *p2p, in p2p_build_go_neg_conf()
937 void p2p_process_go_neg_resp(struct p2p_data *p2p, const u8 *sa, in p2p_process_go_neg_resp()
[all …]
Dp2p_pd.c43 static void p2ps_add_new_group_info(struct p2p_data *p2p, struct wpabuf *buf) in p2ps_add_new_group_info()
81 static void p2ps_add_pd_req_attrs(struct p2p_data *p2p, struct p2p_device *dev, in p2ps_add_pd_req_attrs()
158 static struct wpabuf * p2p_build_prov_disc_req(struct p2p_data *p2p, in p2p_build_prov_disc_req()
226 static struct wpabuf * p2p_build_prov_disc_resp(struct p2p_data *p2p, in p2p_build_prov_disc_resp()
377 static int p2ps_setup_p2ps_prov(struct p2p_data *p2p, u32 adv_id, in p2ps_setup_p2ps_prov()
403 void p2p_process_prov_disc_req(struct p2p_data *p2p, const u8 *sa, in p2p_process_prov_disc_req()
790 void p2p_process_prov_disc_resp(struct p2p_data *p2p, const u8 *sa, in p2p_process_prov_disc_resp()
1008 int p2p_send_prov_disc_req(struct p2p_data *p2p, struct p2p_device *dev, in p2p_send_prov_disc_req()
1085 int p2p_prov_disc_req(struct p2p_data *p2p, const u8 *peer_addr, in p2p_prov_disc_req()
1153 void p2p_reset_pending_pd(struct p2p_data *p2p) in p2p_reset_pending_pd()
[all …]
Dp2p_group.c35 struct p2p_data *p2p;
46 struct p2p_group * p2p_group_init(struct p2p_data *p2p, in p2p_group_init()
101 struct p2p_data *p2p; in p2p_group_deinit()
898 struct p2p_data *p2p = group->p2p; in p2p_group_go_discover()
1062 void p2p_loop_on_all_groups(struct p2p_data *p2p, in p2p_loop_on_all_groups()
/external/wpa_supplicant_8/src/ap/
Dhostapd.h235 struct p2p_data *p2p;
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_supplicant_i.h259 struct p2p_data *p2p;
Dp2p_supplicant.c6476 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_p2p_update_config()
6920 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_p2p_update_best_channels()
6930 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_p2p_unauthorize()
Dctrl_iface.c6575 struct p2p_data *p2p = wpa_s->global->p2p; in wpa_supplicant_driver_cmd()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers_p2p.c1094 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_dbus_getter_p2p_peers()