Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/p2p/
Dp2p.h308 struct p2p_data;
1143 struct p2p_data * p2p_init(const struct p2p_config *cfg);
1149 void p2p_deinit(struct p2p_data *p2p);
1157 void p2p_flush(struct p2p_data *p2p);
1170 int p2p_unauthorize(struct p2p_data *p2p, const u8 *addr);
1180 int p2p_set_dev_name(struct p2p_data *p2p, const char *dev_name);
1182 int p2p_set_manufacturer(struct p2p_data *p2p, const char *manufacturer);
1183 int p2p_set_model_name(struct p2p_data *p2p, const char *model_name);
1184 int p2p_set_model_number(struct p2p_data *p2p, const char *model_number);
1185 int p2p_set_serial_number(struct p2p_data *p2p, const char *serial_number);
[all …]
Dp2p_i.h175 struct p2p_data { struct
716 void p2p_channels_dump(struct p2p_data *p2p, const char *title,
768 void p2p_buf_add_device_info(struct wpabuf *buf, struct p2p_data *p2p,
791 void p2p_buf_add_p2p_interface(struct wpabuf *buf, struct p2p_data *p2p);
795 void p2p_buf_add_service_hash(struct wpabuf *buf, struct p2p_data *p2p);
799 void p2p_buf_add_service_instance(struct wpabuf *buf, struct p2p_data *p2p,
807 int p2p_build_wps_ie(struct p2p_data *p2p, struct wpabuf *buf, int pw_id,
813 struct p2p_sd_query * p2p_pending_sd_req(struct p2p_data *p2p,
815 void p2p_free_sd_queries(struct p2p_data *p2p);
816 void p2p_rx_gas_initial_req(struct p2p_data *p2p, const u8 *sa,
[all …]
Dp2p.c25 static void p2p_device_free(struct p2p_data *p2p, struct p2p_device *dev);
26 static void p2p_process_presence_req(struct p2p_data *p2p, const u8 *da,
29 static void p2p_process_presence_resp(struct p2p_data *p2p, const u8 *da,
53 void p2p_expire_peers(struct p2p_data *p2p) in p2p_expire_peers()
141 const char * p2p_get_state_txt(struct p2p_data *p2p) in p2p_get_state_txt()
147 struct p2ps_advertisement * p2p_get_p2ps_adv_list(struct p2p_data *p2p) in p2p_get_p2ps_adv_list()
153 void p2p_set_intended_addr(struct p2p_data *p2p, const u8 *intended_addr) in p2p_set_intended_addr()
160 u16 p2p_get_provisioning_info(struct p2p_data *p2p, const u8 *addr) in p2p_get_provisioning_info()
175 void p2p_clear_provisioning_info(struct p2p_data *p2p, const u8 *addr) in p2p_clear_provisioning_info()
188 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_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_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_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()
505 int p2p_go_select_channel(struct p2p_data *p2p, struct p2p_device *dev, in p2p_go_select_channel()
553 static void p2p_check_pref_chan_no_recv(struct p2p_data *p2p, int go, in p2p_check_pref_chan_no_recv()
600 static void p2p_check_pref_chan_recv(struct p2p_data *p2p, int go, in p2p_check_pref_chan_recv()
643 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()
1196 static int p2p_validate_p2ps_pd_resp(struct p2p_data *p2p, in p2p_validate_p2ps_pd_resp()
1295 void p2p_process_prov_disc_resp(struct p2p_data *p2p, const u8 *sa, in p2p_process_prov_disc_resp()
1593 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.h280 struct p2p_data *p2p;
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_supplicant_i.h273 struct p2p_data *p2p;
Dp2p_supplicant.c7458 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_p2p_update_config()
7901 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_p2p_update_best_channels()
7911 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_p2p_unauthorize()
9510 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_p2p_lo_start()
Dctrl_iface.c7791 struct p2p_data *p2p = wpa_s->global->p2p; in wpa_supplicant_driver_cmd()
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.2/
Dsta_iface.cpp901 struct p2p_data *p2p = wpa_s->global->p2p; in setCountryCodeInternal()
Dp2p_iface.cpp1644 struct p2p_data *p2p = wpa_s->global->p2p; in addGroup_1_2Internal()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers_p2p.c1174 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_dbus_getter_p2p_peers()