Home
last modified time | relevance | path

Searched defs:p2p (Results 1 – 25 of 54) sorted by relevance

123

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p.c53 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()
204 void p2p_set_timeout(struct p2p_data *p2p, unsigned int sec, unsigned int usec) in p2p_set_timeout()
213 void p2p_clear_timeout(struct p2p_data *p2p) in p2p_clear_timeout()
220 void p2p_go_neg_failed(struct p2p_data *p2p, int status) in p2p_go_neg_failed()
[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_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_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_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_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_group.c35 struct p2p_data *p2p; member
46 struct p2p_group * p2p_group_init(struct p2p_data *p2p, in p2p_group_init()
101 struct p2p_data *p2p; in p2p_group_deinit() local
776 int p2p_group_match_dev_id(struct p2p_group *group, struct wpabuf *p2p) in p2p_group_match_dev_id()
915 struct p2p_data *p2p = group->p2p; in p2p_group_go_discover() local
1080 void p2p_loop_on_all_groups(struct p2p_data *p2p, in p2p_loop_on_all_groups()
Dp2p_parse.c594 int p2p_parse_ies_separate(const u8 *wsc, size_t wsc_len, const u8 *p2p, in p2p_parse_ies_separate()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p.c53 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()
204 void p2p_set_timeout(struct p2p_data *p2p, unsigned int sec, unsigned int usec) in p2p_set_timeout()
213 void p2p_clear_timeout(struct p2p_data *p2p) in p2p_clear_timeout()
220 void p2p_go_neg_failed(struct p2p_data *p2p, int status) in p2p_go_neg_failed()
[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_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_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_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_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_group.c35 struct p2p_data *p2p; member
46 struct p2p_group * p2p_group_init(struct p2p_data *p2p, in p2p_group_init()
101 struct p2p_data *p2p; in p2p_group_deinit() local
776 int p2p_group_match_dev_id(struct p2p_group *group, struct wpabuf *p2p) in p2p_group_match_dev_id()
915 struct p2p_data *p2p = group->p2p; in p2p_group_go_discover() local
1080 void p2p_loop_on_all_groups(struct p2p_data *p2p, in p2p_loop_on_all_groups()
Dp2p_parse.c594 int p2p_parse_ies_separate(const u8 *wsc, size_t wsc_len, const u8 *p2p, in p2p_parse_ies_separate()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dprivsep_commands.h54 int p2p; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dprivsep_commands.h54 int p2p; member
Dieee802_11_common.h60 const u8 *p2p; member
200 enum { P2P_SUPP, NO_P2P_SUPP } p2p; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dp2p_supplicant.c1033 struct wpabuf *p2p; in wpas_p2p_persistent_group() local
4443 struct p2p_config p2p; in wpas_p2p_init() local
7473 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_p2p_update_config() local
7916 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_p2p_update_best_channels() local
7926 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_p2p_unauthorize() local
8502 struct wpabuf *p2p) in wpas_p2p_nfc_handover()
8575 struct wpabuf *wsc, *p2p; in wpas_p2p_nfc_handover_req() local
8608 struct wpabuf *wsc, *p2p; in wpas_p2p_nfc_handover_sel() local
9525 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_p2p_lo_start() local
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dp2p_supplicant.c1091 struct wpabuf *p2p; in wpas_p2p_persistent_group() local
4791 struct p2p_config p2p; in wpas_p2p_init() local
7982 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_p2p_update_config() local
8426 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_p2p_update_best_channels() local
8436 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_p2p_unauthorize() local
9014 struct wpabuf *p2p) in wpas_p2p_nfc_handover()
9087 struct wpabuf *wsc, *p2p; in wpas_p2p_nfc_handover_req() local
9120 struct wpabuf *wsc, *p2p; in wpas_p2p_nfc_handover_sel() local
10055 struct p2p_data *p2p = wpa_s->global->p2p; in wpas_p2p_lo_start() local

123