Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/p2p/
Dp2p.h310 struct p2p_data;
1150 struct p2p_data * p2p_init(const struct p2p_config *cfg);
1156 void p2p_deinit(struct p2p_data *p2p);
1164 void p2p_flush(struct p2p_data *p2p);
1177 int p2p_unauthorize(struct p2p_data *p2p, const u8 *addr);
1187 int p2p_set_dev_name(struct p2p_data *p2p, const char *dev_name);
1189 int p2p_set_manufacturer(struct p2p_data *p2p, const char *manufacturer);
1190 int p2p_set_model_name(struct p2p_data *p2p, const char *model_name);
1191 int p2p_set_model_number(struct p2p_data *p2p, const char *model_number);
1192 int p2p_set_serial_number(struct p2p_data *p2p, const char *serial_number);
[all …]
Dp2p_i.h165 struct p2p_data { struct
704 void p2p_channels_dump(struct p2p_data *p2p, const char *title,
756 void p2p_buf_add_device_info(struct wpabuf *buf, struct p2p_data *p2p,
779 void p2p_buf_add_p2p_interface(struct wpabuf *buf, struct p2p_data *p2p);
783 void p2p_buf_add_service_hash(struct wpabuf *buf, struct p2p_data *p2p);
787 void p2p_buf_add_service_instance(struct wpabuf *buf, struct p2p_data *p2p,
795 int p2p_build_wps_ie(struct p2p_data *p2p, struct wpabuf *buf, int pw_id,
801 struct p2p_sd_query * p2p_pending_sd_req(struct p2p_data *p2p,
803 void p2p_free_sd_queries(struct p2p_data *p2p);
804 void p2p_rx_gas_initial_req(struct p2p_data *p2p, const u8 *sa,
[all …]
Dp2p.c26 static void p2p_device_free(struct p2p_data *p2p, struct p2p_device *dev);
27 static void p2p_process_presence_req(struct p2p_data *p2p, const u8 *da,
30 static void p2p_process_presence_resp(struct p2p_data *p2p, const u8 *da,
54 void p2p_expire_peers(struct p2p_data *p2p) in p2p_expire_peers()
142 const char * p2p_get_state_txt(struct p2p_data *p2p) in p2p_get_state_txt()
148 struct p2ps_advertisement * p2p_get_p2ps_adv_list(struct p2p_data *p2p) in p2p_get_p2ps_adv_list()
154 void p2p_set_intended_addr(struct p2p_data *p2p, const u8 *intended_addr) in p2p_set_intended_addr()
161 u16 p2p_get_provisioning_info(struct p2p_data *p2p, const u8 *addr) in p2p_get_provisioning_info()
176 void p2p_clear_provisioning_info(struct p2p_data *p2p, const u8 *addr) in p2p_clear_provisioning_info()
189 void p2p_set_state(struct p2p_data *p2p, int new_state) in p2p_set_state()
[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()
328 void p2p_rx_gas_initial_req(struct p2p_data *p2p, const u8 *sa, in p2p_rx_gas_initial_req()
424 void p2p_sd_response(struct p2p_data *p2p, int freq, const u8 *dst, in p2p_sd_response()
482 void p2p_rx_gas_initial_resp(struct p2p_data *p2p, const u8 *sa, in p2p_rx_gas_initial_resp()
621 void p2p_rx_gas_comeback_req(struct p2p_data *p2p, const u8 *sa, in p2p_rx_gas_comeback_req()
[all …]
Dp2p_utils.c287 int p2p_supported_freq(struct p2p_data *p2p, unsigned int freq) in p2p_supported_freq()
297 int p2p_supported_freq_go(struct p2p_data *p2p, unsigned int freq) in p2p_supported_freq_go()
308 int p2p_supported_freq_cli(struct p2p_data *p2p, unsigned int freq) in p2p_supported_freq_cli()
320 unsigned int p2p_get_pref_freq(struct p2p_data *p2p, in p2p_get_pref_freq()
341 void p2p_channels_dump(struct p2p_data *p2p, const char *title, in p2p_channels_dump()
Dp2p_invitation.c18 static struct wpabuf * p2p_build_invitation_req(struct p2p_data *p2p, in p2p_build_invitation_req()
108 static struct wpabuf * p2p_build_invitation_resp(struct p2p_data *p2p, in p2p_build_invitation_resp()
174 void p2p_process_invitation_req(struct p2p_data *p2p, const u8 *sa, in p2p_process_invitation_req()
431 void p2p_process_invitation_resp(struct p2p_data *p2p, const u8 *sa, in p2p_process_invitation_resp()
565 int p2p_invite_send(struct p2p_data *p2p, struct p2p_device *dev, in p2p_invite_send()
607 void p2p_invitation_req_cb(struct p2p_data *p2p, int success) in p2p_invitation_req_cb()
628 void p2p_invitation_resp_cb(struct p2p_data *p2p, int success) in p2p_invitation_resp_cb()
648 int p2p_invite(struct p2p_data *p2p, const u8 *peer, enum p2p_invite_role role, in p2p_invite()
Dp2p_build.c186 void p2p_buf_add_device_info(struct wpabuf *buf, struct p2p_data *p2p, in p2p_buf_add_device_info()
353 void p2p_buf_add_p2p_interface(struct wpabuf *buf, struct p2p_data *p2p) in p2p_buf_add_p2p_interface()
387 void p2p_buf_add_service_hash(struct wpabuf *buf, struct p2p_data *p2p) in p2p_buf_add_service_hash()
446 static int p2ps_wildcard_hash(struct p2p_data *p2p, in p2ps_wildcard_hash()
462 static int p2p_wfa_service_adv(struct p2p_data *p2p) in p2p_wfa_service_adv()
476 static int p2p_buf_add_service_info(struct wpabuf *buf, struct p2p_data *p2p, in p2p_buf_add_service_info()
594 void p2p_buf_add_service_instance(struct wpabuf *buf, struct p2p_data *p2p, in p2p_buf_add_service_instance()
736 int p2p_build_wps_ie(struct p2p_data *p2p, struct wpabuf *buf, int pw_id, in p2p_build_wps_ie()
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()
213 int p2p_connect_send(struct p2p_data *p2p, struct p2p_device *dev) in p2p_connect_send()
271 static struct wpabuf * p2p_build_go_neg_resp(struct p2p_data *p2p, in p2p_build_go_neg_resp()
383 void p2p_reselect_channel(struct p2p_data *p2p, in p2p_reselect_channel()
514 int p2p_go_select_channel(struct p2p_data *p2p, struct p2p_device *dev, in p2p_go_select_channel()
562 static void p2p_check_pref_chan_no_recv(struct p2p_data *p2p, int go, in p2p_check_pref_chan_no_recv()
609 static void p2p_check_pref_chan_recv(struct p2p_data *p2p, int go, in p2p_check_pref_chan_recv()
652 void p2p_check_pref_chan(struct p2p_data *p2p, int go, in p2p_check_pref_chan()
[all …]
Dp2p_pd.c43 static void p2ps_add_new_group_info(struct p2p_data *p2p, in p2ps_add_new_group_info()
95 static void p2ps_add_pd_req_attrs(struct p2p_data *p2p, struct p2p_device *dev, in p2ps_add_pd_req_attrs()
178 static struct wpabuf * p2p_build_prov_disc_req(struct p2p_data *p2p, in p2p_build_prov_disc_req()
246 static struct wpabuf * p2p_build_prov_disc_resp(struct p2p_data *p2p, in p2p_build_prov_disc_resp()
405 static int p2ps_setup_p2ps_prov(struct p2p_data *p2p, u32 adv_id, in p2ps_setup_p2ps_prov()
444 static int p2ps_validate_pd_req(struct p2p_data *p2p, struct p2p_message *msg, in p2ps_validate_pd_req()
554 void p2p_process_prov_disc_req(struct p2p_data *p2p, const u8 *sa, in p2p_process_prov_disc_req()
1194 static int p2p_validate_p2ps_pd_resp(struct p2p_data *p2p, in p2p_validate_p2ps_pd_resp()
1293 void p2p_process_prov_disc_resp(struct p2p_data *p2p, const u8 *sa, in p2p_process_prov_disc_resp()
1591 int p2p_send_prov_disc_req(struct p2p_data *p2p, struct p2p_device *dev, in p2p_send_prov_disc_req()
[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()
915 struct p2p_data *p2p = group->p2p; in p2p_group_go_discover()
1080 void p2p_loop_on_all_groups(struct p2p_data *p2p, in p2p_loop_on_all_groups()
/external/wpa_supplicant_8/src/ap/
Dhostapd.h296 struct p2p_data *p2p;
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_supplicant_i.h287 struct p2p_data *p2p;
Dp2p_supplicant.c7759 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_p2p_update_config()
8203 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_p2p_update_best_channels()
8213 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_p2p_unauthorize()
9832 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_p2p_lo_start()
Dctrl_iface.c8272 struct p2p_data *p2p = wpa_s->global->p2p; in wpa_supplicant_driver_cmd()
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.4/
Dsta_iface.cpp1206 struct p2p_data *p2p = wpa_s->global->p2p; in setCountryCodeInternal()
Dp2p_iface.cpp1755 struct p2p_data *p2p = wpa_s->global->p2p; in addGroup_1_2Internal()
Dhidl_manager.cpp1398 struct p2p_data *p2p = wpa_s->global->p2p; in notifyP2pGroupStarted()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers_p2p.c1223 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_dbus_getter_p2p_peers()