Lines Matching refs:p2p

716 void p2p_channels_dump(struct p2p_data *p2p, const char *title,
731 int p2p_parse_ies_separate(const u8 *wsc, size_t wsc_len, const u8 *p2p,
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,
818 void p2p_rx_gas_initial_resp(struct p2p_data *p2p, const u8 *sa,
820 void p2p_rx_gas_comeback_req(struct p2p_data *p2p, const u8 *sa,
822 void p2p_rx_gas_comeback_resp(struct p2p_data *p2p, const u8 *sa,
824 int p2p_start_sd(struct p2p_data *p2p, struct p2p_device *dev);
827 int p2p_peer_channels_check(struct p2p_data *p2p, struct p2p_channels *own,
830 void p2p_process_go_neg_req(struct p2p_data *p2p, const u8 *sa,
832 void p2p_process_go_neg_resp(struct p2p_data *p2p, const u8 *sa,
834 void p2p_process_go_neg_conf(struct p2p_data *p2p, const u8 *sa,
836 int p2p_connect_send(struct p2p_data *p2p, struct p2p_device *dev);
838 void p2p_reselect_channel(struct p2p_data *p2p,
840 void p2p_check_pref_chan(struct p2p_data *p2p, int go,
844 void p2p_process_prov_disc_req(struct p2p_data *p2p, const u8 *sa,
846 void p2p_process_prov_disc_resp(struct p2p_data *p2p, const u8 *sa,
848 int p2p_send_prov_disc_req(struct p2p_data *p2p, struct p2p_device *dev,
850 void p2p_reset_pending_pd(struct p2p_data *p2p);
851 void p2ps_prov_free(struct p2p_data *p2p);
854 void p2p_process_invitation_req(struct p2p_data *p2p, const u8 *sa,
856 void p2p_process_invitation_resp(struct p2p_data *p2p, const u8 *sa,
858 int p2p_invite_send(struct p2p_data *p2p, struct p2p_device *dev,
860 void p2p_invitation_req_cb(struct p2p_data *p2p, int success);
861 void p2p_invitation_resp_cb(struct p2p_data *p2p, int success);
864 void p2p_process_dev_disc_req(struct p2p_data *p2p, const u8 *sa,
866 void p2p_dev_disc_req_cb(struct p2p_data *p2p, int success);
867 int p2p_send_dev_disc_req(struct p2p_data *p2p, struct p2p_device *dev);
868 void p2p_dev_disc_resp_cb(struct p2p_data *p2p, int success);
869 void p2p_process_dev_disc_resp(struct p2p_data *p2p, const u8 *sa,
871 void p2p_go_disc_req_cb(struct p2p_data *p2p, int success);
872 void p2p_process_go_disc_req(struct p2p_data *p2p, const u8 *da, const u8 *sa,
876 void p2p_set_state(struct p2p_data *p2p, int new_state);
877 void p2p_set_timeout(struct p2p_data *p2p, unsigned int sec,
879 void p2p_clear_timeout(struct p2p_data *p2p);
880 void p2p_continue_find(struct p2p_data *p2p);
881 struct p2p_device * p2p_add_dev_from_go_neg_req(struct p2p_data *p2p,
884 void p2p_add_dev_info(struct p2p_data *p2p, const u8 *addr,
886 int p2p_add_device(struct p2p_data *p2p, const u8 *addr, int freq,
889 struct p2p_device * p2p_get_device(struct p2p_data *p2p, const u8 *addr);
890 struct p2p_device * p2p_get_device_interface(struct p2p_data *p2p,
892 void p2p_go_neg_failed(struct p2p_data *p2p, int status);
893 void p2p_go_complete(struct p2p_data *p2p, struct p2p_device *peer);
894 int p2p_match_dev_type(struct p2p_data *p2p, struct wpabuf *wps);
897 struct wpabuf * p2p_build_probe_resp_ies(struct p2p_data *p2p,
900 void p2p_build_ssid(struct p2p_data *p2p, u8 *ssid, size_t *ssid_len);
901 int p2p_send_action(struct p2p_data *p2p, unsigned int freq, const u8 *dst,
904 void p2p_stop_listen_for_freq(struct p2p_data *p2p, int freq);
905 int p2p_prepare_channel(struct p2p_data *p2p, struct p2p_device *dev,
909 int p2p_go_select_channel(struct p2p_data *p2p, struct p2p_device *dev,
911 void p2p_dbg(struct p2p_data *p2p, const char *fmt, ...)
913 void p2p_info(struct p2p_data *p2p, const char *fmt, ...)
915 void p2p_err(struct p2p_data *p2p, const char *fmt, ...)