Lines Matching refs:p2p_data

244 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);
1092 void p2p_set_config_methods(struct p2p_data *p2p, u16 config_methods);
1093 void p2p_set_uuid(struct p2p_data *p2p, const u8 *uuid);
1103 int p2p_set_pri_dev_type(struct p2p_data *p2p, const u8 *pri_dev_type);
1113 int p2p_set_sec_dev_types(struct p2p_data *p2p, const u8 dev_types[][8],
1116 int p2p_set_country(struct p2p_data *p2p, const char *country);
1146 int p2p_find(struct p2p_data *p2p, unsigned int timeout,
1157 void p2p_notify_scan_trigger_status(struct p2p_data *p2p, int status);
1163 void p2p_stop_find(struct p2p_data *p2p);
1173 void p2p_stop_find_for_freq(struct p2p_data *p2p, int freq);
1186 int p2p_listen(struct p2p_data *p2p, unsigned int timeout);
1192 void p2p_stop_listen(struct p2p_data *p2p);
1215 int p2p_connect(struct p2p_data *p2p, const u8 *peer_addr,
1243 int p2p_authorize(struct p2p_data *p2p, const u8 *peer_addr,
1256 int p2p_reject(struct p2p_data *p2p, const u8 *peer_addr);
1277 int p2p_prov_disc_req(struct p2p_data *p2p, const u8 *peer_addr,
1292 void * p2p_sd_request(struct p2p_data *p2p, const u8 *dst,
1296 void * p2p_sd_request_wfd(struct p2p_data *p2p, const u8 *dst,
1306 int p2p_sd_cancel_request(struct p2p_data *p2p, void *req);
1319 void p2p_sd_response(struct p2p_data *p2p, int freq, const u8 *dst,
1330 void p2p_sd_service_update(struct p2p_data *p2p);
1356 int p2p_invite(struct p2p_data *p2p, const u8 *peer, enum p2p_invite_role role,
1376 int p2p_presence_req(struct p2p_data *p2p, const u8 *go_interface_addr,
1394 int p2p_ext_listen(struct p2p_data *p2p, unsigned int period,
1407 void p2p_wps_success_cb(struct p2p_data *p2p, const u8 *mac_addr);
1417 void p2p_group_formation_failed(struct p2p_data *p2p);
1429 u16 p2p_get_provisioning_info(struct p2p_data *p2p, const u8 *addr);
1439 void p2p_clear_provisioning_info(struct p2p_data *p2p, const u8 *addr);
1473 p2p_probe_req_rx(struct p2p_data *p2p, const u8 *addr, const u8 *dst,
1488 void p2p_rx_action(struct p2p_data *p2p, const u8 *da, const u8 *sa,
1518 int p2p_scan_res_handler(struct p2p_data *p2p, const u8 *bssid, int freq,
1532 void p2p_scan_res_handled(struct p2p_data *p2p);
1552 void p2p_send_action_cb(struct p2p_data *p2p, unsigned int freq, const u8 *dst,
1565 void p2p_listen_cb(struct p2p_data *p2p, unsigned int freq,
1577 int p2p_listen_end(struct p2p_data *p2p, unsigned int freq);
1579 void p2p_deauth_notif(struct p2p_data *p2p, const u8 *bssid, u16 reason_code,
1582 void p2p_disassoc_notif(struct p2p_data *p2p, const u8 *bssid, u16 reason_code,
1669 struct p2p_group * p2p_group_init(struct p2p_data *p2p,
1809 int p2p_assoc_req_ie(struct p2p_data *p2p, const u8 *bssid, u8 *buf,
1818 void p2p_scan_ie(struct p2p_data *p2p, struct wpabuf *ies, const u8 *dev_id);
1825 size_t p2p_scan_ie_buf_len(struct p2p_data *p2p);
1833 int p2p_go_params(struct p2p_data *p2p, struct p2p_go_neg_results *params);
1863 const struct p2p_peer_info * p2p_get_peer_info(struct p2p_data *p2p,
1886 int p2p_peer_known(struct p2p_data *p2p, const u8 *addr);
1897 void p2p_set_client_discoverability(struct p2p_data *p2p, int enabled);
1904 void p2p_set_managed_oper(struct p2p_data *p2p, int enabled);
1920 int p2p_set_listen_channel(struct p2p_data *p2p, u8 reg_class, u8 channel,
1923 u8 p2p_get_listen_channel(struct p2p_data *p2p);
1925 int p2p_set_ssid_postfix(struct p2p_data *p2p, const u8 *postfix, size_t len);
1927 int p2p_get_interface_addr(struct p2p_data *p2p, const u8 *dev_addr,
1929 int p2p_get_dev_addr(struct p2p_data *p2p, const u8 *iface_addr,
1932 void p2p_set_peer_filter(struct p2p_data *p2p, const u8 *addr);
1939 void p2p_set_cross_connect(struct p2p_data *p2p, int enabled);
1941 int p2p_get_oper_freq(struct p2p_data *p2p, const u8 *iface_addr);
1948 void p2p_set_intra_bss_dist(struct p2p_data *p2p, int enabled);
1962 int p2p_supported_freq(struct p2p_data *p2p, unsigned int freq);
1970 int p2p_supported_freq_go(struct p2p_data *p2p, unsigned int freq);
1978 int p2p_supported_freq_cli(struct p2p_data *p2p, unsigned int freq);
1986 unsigned int p2p_get_pref_freq(struct p2p_data *p2p,
1989 void p2p_update_channel_list(struct p2p_data *p2p,
2000 void p2p_set_best_channels(struct p2p_data *p2p, int freq_24, int freq_5,
2012 void p2p_set_own_freq_preference(struct p2p_data *p2p, int freq);
2014 const u8 * p2p_get_go_neg_peer(struct p2p_data *p2p);
2071 void p2p_loop_on_all_groups(struct p2p_data *p2p,
2084 p2p_get_peer_found(struct p2p_data *p2p, const u8 *addr, int next);
2090 void p2p_remove_wps_vendor_extensions(struct p2p_data *p2p);
2101 int p2p_add_wps_vendor_extension(struct p2p_data *p2p,
2112 int p2p_set_oper_channel(struct p2p_data *p2p, u8 op_reg_class, u8 op_channel,
2122 int p2p_set_pref_chan(struct p2p_data *p2p, unsigned int num_pref_chan,
2131 int p2p_set_no_go_freq(struct p2p_data *p2p,
2140 int p2p_in_progress(struct p2p_data *p2p);
2150 void p2p_set_config_timeout(struct p2p_data *p2p, u8 go_timeout,
2153 int p2p_set_wfd_ie_beacon(struct p2p_data *p2p, struct wpabuf *ie);
2154 int p2p_set_wfd_ie_probe_req(struct p2p_data *p2p, struct wpabuf *ie);
2155 int p2p_set_wfd_ie_probe_resp(struct p2p_data *p2p, struct wpabuf *ie);
2156 int p2p_set_wfd_ie_assoc_req(struct p2p_data *p2p, struct wpabuf *ie);
2157 int p2p_set_wfd_ie_invitation(struct p2p_data *p2p, struct wpabuf *ie);
2158 int p2p_set_wfd_ie_prov_disc_req(struct p2p_data *p2p, struct wpabuf *ie);
2159 int p2p_set_wfd_ie_prov_disc_resp(struct p2p_data *p2p, struct wpabuf *ie);
2160 int p2p_set_wfd_ie_go_neg(struct p2p_data *p2p, struct wpabuf *ie);
2161 int p2p_set_wfd_dev_info(struct p2p_data *p2p, const struct wpabuf *elem);
2162 int p2p_set_wfd_assoc_bssid(struct p2p_data *p2p, const struct wpabuf *elem);
2163 int p2p_set_wfd_coupled_sink_info(struct p2p_data *p2p,
2185 int p2p_set_disc_int(struct p2p_data *p2p, int min_disc_int, int max_disc_int,
2197 const char * p2p_get_state_txt(struct p2p_data *p2p);
2199 struct wpabuf * p2p_build_nfc_handover_req(struct p2p_data *p2p,
2203 struct wpabuf * p2p_build_nfc_handover_sel(struct p2p_data *p2p,
2229 int p2p_process_nfc_connection_handover(struct p2p_data *p2p,
2232 void p2p_set_authorized_oob_dev_pw_id(struct p2p_data *p2p, u16 dev_pw_id,
2236 int p2p_set_passphrase_len(struct p2p_data *p2p, unsigned int len);
2238 void p2p_loop_on_known_peers(struct p2p_data *p2p,
2243 void p2p_set_vendor_elems(struct p2p_data *p2p, struct wpabuf **vendor_elem);
2245 void p2p_set_intended_addr(struct p2p_data *p2p, const u8 *intended_addr);
2248 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id);
2249 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id,
2252 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id);
2253 void p2p_service_flush_asp(struct p2p_data *p2p);
2254 struct p2ps_advertisement * p2p_get_p2ps_adv_list(struct p2p_data *p2p);