Lines Matching refs:p2p_data
308 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);
1187 void p2p_set_config_methods(struct p2p_data *p2p, u16 config_methods);
1188 void p2p_set_uuid(struct p2p_data *p2p, const u8 *uuid);
1198 int p2p_set_pri_dev_type(struct p2p_data *p2p, const u8 *pri_dev_type);
1208 int p2p_set_sec_dev_types(struct p2p_data *p2p, const u8 dev_types[][8],
1211 int p2p_set_country(struct p2p_data *p2p, const char *country);
1241 int p2p_find(struct p2p_data *p2p, unsigned int timeout,
1252 void p2p_notify_scan_trigger_status(struct p2p_data *p2p, int status);
1258 void p2p_stop_find(struct p2p_data *p2p);
1268 void p2p_stop_find_for_freq(struct p2p_data *p2p, int freq);
1281 int p2p_listen(struct p2p_data *p2p, unsigned int timeout);
1287 void p2p_stop_listen(struct p2p_data *p2p);
1310 int p2p_connect(struct p2p_data *p2p, const u8 *peer_addr,
1338 int p2p_authorize(struct p2p_data *p2p, const u8 *peer_addr,
1351 int p2p_reject(struct p2p_data *p2p, const u8 *peer_addr);
1372 int p2p_prov_disc_req(struct p2p_data *p2p, const u8 *peer_addr,
1387 void * p2p_sd_request(struct p2p_data *p2p, const u8 *dst,
1391 void * p2p_sd_request_wfd(struct p2p_data *p2p, const u8 *dst,
1401 int p2p_sd_cancel_request(struct p2p_data *p2p, void *req);
1414 void p2p_sd_response(struct p2p_data *p2p, int freq, const u8 *dst,
1425 void p2p_sd_service_update(struct p2p_data *p2p);
1451 int p2p_invite(struct p2p_data *p2p, const u8 *peer, enum p2p_invite_role role,
1471 int p2p_presence_req(struct p2p_data *p2p, const u8 *go_interface_addr,
1489 int p2p_ext_listen(struct p2p_data *p2p, unsigned int period,
1502 void p2p_wps_success_cb(struct p2p_data *p2p, const u8 *mac_addr);
1512 void p2p_group_formation_failed(struct p2p_data *p2p);
1524 u16 p2p_get_provisioning_info(struct p2p_data *p2p, const u8 *addr);
1534 void p2p_clear_provisioning_info(struct p2p_data *p2p, const u8 *addr);
1569 p2p_probe_req_rx(struct p2p_data *p2p, const u8 *addr, const u8 *dst,
1584 void p2p_rx_action(struct p2p_data *p2p, const u8 *da, const u8 *sa,
1614 int p2p_scan_res_handler(struct p2p_data *p2p, const u8 *bssid, int freq,
1628 void p2p_scan_res_handled(struct p2p_data *p2p);
1648 void p2p_send_action_cb(struct p2p_data *p2p, unsigned int freq, const u8 *dst,
1661 void p2p_listen_cb(struct p2p_data *p2p, unsigned int freq,
1673 int p2p_listen_end(struct p2p_data *p2p, unsigned int freq);
1675 void p2p_deauth_notif(struct p2p_data *p2p, const u8 *bssid, u16 reason_code,
1678 void p2p_disassoc_notif(struct p2p_data *p2p, const u8 *bssid, u16 reason_code,
1771 struct p2p_group * p2p_group_init(struct p2p_data *p2p,
1911 int p2p_assoc_req_ie(struct p2p_data *p2p, const u8 *bssid, u8 *buf,
1921 void p2p_scan_ie(struct p2p_data *p2p, struct wpabuf *ies, const u8 *dev_id,
1929 size_t p2p_scan_ie_buf_len(struct p2p_data *p2p);
1937 int p2p_go_params(struct p2p_data *p2p, struct p2p_go_neg_results *params);
1967 const struct p2p_peer_info * p2p_get_peer_info(struct p2p_data *p2p,
1990 int p2p_peer_known(struct p2p_data *p2p, const u8 *addr);
2001 void p2p_set_client_discoverability(struct p2p_data *p2p, int enabled);
2008 void p2p_set_managed_oper(struct p2p_data *p2p, int enabled);
2028 int p2p_set_listen_channel(struct p2p_data *p2p, u8 reg_class, u8 channel,
2031 u8 p2p_get_listen_channel(struct p2p_data *p2p);
2033 int p2p_set_ssid_postfix(struct p2p_data *p2p, const u8 *postfix, size_t len);
2035 int p2p_get_interface_addr(struct p2p_data *p2p, const u8 *dev_addr,
2037 int p2p_get_dev_addr(struct p2p_data *p2p, const u8 *iface_addr,
2040 void p2p_set_peer_filter(struct p2p_data *p2p, const u8 *addr);
2047 void p2p_set_cross_connect(struct p2p_data *p2p, int enabled);
2049 int p2p_get_oper_freq(struct p2p_data *p2p, const u8 *iface_addr);
2056 void p2p_set_intra_bss_dist(struct p2p_data *p2p, int enabled);
2070 int p2p_supported_freq(struct p2p_data *p2p, unsigned int freq);
2078 int p2p_supported_freq_go(struct p2p_data *p2p, unsigned int freq);
2086 int p2p_supported_freq_cli(struct p2p_data *p2p, unsigned int freq);
2094 unsigned int p2p_get_pref_freq(struct p2p_data *p2p,
2097 void p2p_update_channel_list(struct p2p_data *p2p,
2108 void p2p_set_best_channels(struct p2p_data *p2p, int freq_24, int freq_5,
2120 void p2p_set_own_freq_preference(struct p2p_data *p2p, int freq);
2122 const u8 * p2p_get_go_neg_peer(struct p2p_data *p2p);
2189 void p2p_loop_on_all_groups(struct p2p_data *p2p,
2202 p2p_get_peer_found(struct p2p_data *p2p, const u8 *addr, int next);
2208 void p2p_remove_wps_vendor_extensions(struct p2p_data *p2p);
2219 int p2p_add_wps_vendor_extension(struct p2p_data *p2p,
2230 int p2p_set_oper_channel(struct p2p_data *p2p, u8 op_reg_class, u8 op_channel,
2240 int p2p_set_pref_chan(struct p2p_data *p2p, unsigned int num_pref_chan,
2249 int p2p_set_no_go_freq(struct p2p_data *p2p,
2258 int p2p_in_progress(struct p2p_data *p2p);
2268 void p2p_set_config_timeout(struct p2p_data *p2p, u8 go_timeout,
2271 int p2p_set_wfd_ie_beacon(struct p2p_data *p2p, struct wpabuf *ie);
2272 int p2p_set_wfd_ie_probe_req(struct p2p_data *p2p, struct wpabuf *ie);
2273 int p2p_set_wfd_ie_probe_resp(struct p2p_data *p2p, struct wpabuf *ie);
2274 int p2p_set_wfd_ie_assoc_req(struct p2p_data *p2p, struct wpabuf *ie);
2275 int p2p_set_wfd_ie_invitation(struct p2p_data *p2p, struct wpabuf *ie);
2276 int p2p_set_wfd_ie_prov_disc_req(struct p2p_data *p2p, struct wpabuf *ie);
2277 int p2p_set_wfd_ie_prov_disc_resp(struct p2p_data *p2p, struct wpabuf *ie);
2278 int p2p_set_wfd_ie_go_neg(struct p2p_data *p2p, struct wpabuf *ie);
2279 int p2p_set_wfd_dev_info(struct p2p_data *p2p, const struct wpabuf *elem);
2280 int p2p_set_wfd_r2_dev_info(struct p2p_data *p2p, const struct wpabuf *elem);
2281 int p2p_set_wfd_assoc_bssid(struct p2p_data *p2p, const struct wpabuf *elem);
2282 int p2p_set_wfd_coupled_sink_info(struct p2p_data *p2p,
2304 int p2p_set_disc_int(struct p2p_data *p2p, int min_disc_int, int max_disc_int,
2316 const char * p2p_get_state_txt(struct p2p_data *p2p);
2318 struct wpabuf * p2p_build_nfc_handover_req(struct p2p_data *p2p,
2322 struct wpabuf * p2p_build_nfc_handover_sel(struct p2p_data *p2p,
2348 int p2p_process_nfc_connection_handover(struct p2p_data *p2p,
2351 void p2p_set_authorized_oob_dev_pw_id(struct p2p_data *p2p, u16 dev_pw_id,
2355 int p2p_set_passphrase_len(struct p2p_data *p2p, unsigned int len);
2357 void p2p_loop_on_known_peers(struct p2p_data *p2p,
2362 void p2p_set_vendor_elems(struct p2p_data *p2p, struct wpabuf **vendor_elem);
2364 void p2p_set_intended_addr(struct p2p_data *p2p, const u8 *intended_addr);
2367 p2p_service_p2ps_id(struct p2p_data *p2p, u32 adv_id);
2368 int p2p_service_add_asp(struct p2p_data *p2p, int auto_accept, u32 adv_id,
2372 int p2p_service_del_asp(struct p2p_data *p2p, u32 adv_id);
2373 void p2p_service_flush_asp(struct p2p_data *p2p);
2374 struct p2ps_advertisement * p2p_get_p2ps_adv_list(struct p2p_data *p2p);
2383 void p2p_expire_peers(struct p2p_data *p2p);
2385 void p2p_set_own_pref_freq_list(struct p2p_data *p2p,
2388 void p2p_set_override_pref_op_chan(struct p2p_data *p2p, u8 op_class,
2401 struct wpabuf * p2p_build_probe_resp_template(struct p2p_data *p2p,