/external/wpa_supplicant_8/src/p2p/ |
D | p2p.c | 25 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() argument 60 dl_list_for_each_safe(dev, n, &p2p->devices, struct p2p_device, list) { in p2p_expire_peers() 64 if (dev == p2p->go_neg_peer) { in p2p_expire_peers() 73 if (p2p->cfg->go_connected && in p2p_expire_peers() 74 p2p->cfg->go_connected(p2p->cfg->cb_ctx, in p2p_expire_peers() 84 for (i = 0; i < p2p->num_groups; i++) { in p2p_expire_peers() 86 p2p->groups[i], dev->info.p2p_device_addr)) in p2p_expire_peers() [all …]
|
D | p2p_invitation.c | 18 static struct wpabuf * p2p_build_invitation_req(struct p2p_data *p2p, in p2p_build_invitation_req() argument 29 struct wpabuf *wfd_ie = p2p->wfd_ie_invitation; in p2p_build_invitation_req() 30 if (wfd_ie && p2p->inv_role == P2P_INVITE_ROLE_ACTIVE_GO) { in p2p_build_invitation_req() 32 for (i = 0; i < p2p->num_groups; i++) { in p2p_build_invitation_req() 33 struct p2p_group *g = p2p->groups[i]; in p2p_build_invitation_req() 36 p2p->inv_bssid, ETH_ALEN) != 0) in p2p_build_invitation_req() 49 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_P2P_INV_REQ]) in p2p_build_invitation_req() 50 extra += wpabuf_len(p2p->vendor_elem[VENDOR_ELEM_P2P_INV_REQ]); in p2p_build_invitation_req() 63 if (p2p->inv_role == P2P_INVITE_ROLE_ACTIVE_GO || !p2p->inv_persistent) in p2p_build_invitation_req() 66 p2p_buf_add_config_timeout(buf, p2p->go_timeout, in p2p_build_invitation_req() [all …]
|
D | p2p_go_neg.c | 35 int p2p_peer_channels_check(struct p2p_data *p2p, struct p2p_channels *own, in p2p_peer_channels_check() argument 53 if (pos[2] != 0x04 && os_memcmp(pos, p2p->cfg->country, 2) != 0) { in p2p_peer_channels_check() 54 p2p_info(p2p, "Mismatching country (ours=%c%c peer's=%c%c)", in p2p_peer_channels_check() 55 p2p->cfg->country[0], p2p->cfg->country[1], in p2p_peer_channels_check() 66 p2p_info(p2p, "Invalid peer Channel List"); in p2p_peer_channels_check() 79 p2p_dbg(p2p, "Own reg_classes %d peer reg_classes %d intersection reg_classes %d", in p2p_peer_channels_check() 84 p2p_info(p2p, "No common channels found"); in p2p_peer_channels_check() 91 static int p2p_peer_channels(struct p2p_data *p2p, struct p2p_device *dev, in p2p_peer_channels() argument 94 return p2p_peer_channels_check(p2p, &p2p->channels, dev, in p2p_peer_channels() 137 static struct wpabuf * p2p_build_go_neg_req(struct p2p_data *p2p, in p2p_build_go_neg_req() argument [all …]
|
D | p2p_sd.c | 50 struct p2p_sd_query * p2p_pending_sd_req(struct p2p_data *p2p, in p2p_pending_sd_req() argument 64 for (q = p2p->sd_queries; q; q = q->next) { in p2p_pending_sd_req() 91 p2p_dbg(p2p, "Too many SD request attempts to " MACSTR 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() argument 104 p2p->num_p2p_sd_queries--; in p2p_decrease_sd_bc_queries() 105 dl_list_for_each(dev, &p2p->devices, struct p2p_device, list) { in p2p_decrease_sd_bc_queries() 117 static int p2p_unlink_sd_query(struct p2p_data *p2p, in p2p_unlink_sd_query() argument 123 q = p2p->sd_queries; in p2p_unlink_sd_query() 130 p2p_decrease_sd_bc_queries(p2p, query_number); in p2p_unlink_sd_query() 134 p2p->sd_queries = q->next; in p2p_unlink_sd_query() [all …]
|
D | p2p_pd.c | 43 static void p2ps_add_new_group_info(struct p2p_data *p2p, in p2ps_add_new_group_info() argument 54 if (!p2p->cfg->get_go_info) in p2ps_add_new_group_info() 57 found = p2p->cfg->get_go_info( in p2ps_add_new_group_info() 58 p2p->cfg->cb_ctx, intended_addr, ssid, in p2ps_add_new_group_info() 62 p2p->p2ps_prov->force_freq = force_freq; in p2ps_add_new_group_info() 63 p2p->p2ps_prov->pref_freq = 0; in p2ps_add_new_group_info() 66 p2p_prepare_channel(p2p, dev, force_freq, 0, 0); in p2ps_add_new_group_info() 68 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, in p2ps_add_new_group_info() 72 p2p_buf_add_intended_addr(buf, p2p->intended_addr); in p2ps_add_new_group_info() 76 if (!p2p->ssid_set) { in p2ps_add_new_group_info() [all …]
|
D | p2p_dev_disc.c | 17 static struct wpabuf * p2p_build_dev_disc_req(struct p2p_data *p2p, in p2p_build_dev_disc_req() argument 43 void p2p_dev_disc_req_cb(struct p2p_data *p2p, int success) in p2p_dev_disc_req_cb() argument 45 p2p_dbg(p2p, "Device Discoverability Request TX callback: success=%d", in p2p_dev_disc_req_cb() 53 p2p_set_state(p2p, P2P_CONNECT); in p2p_dev_disc_req_cb() 54 p2p_set_timeout(p2p, 0, 100000); in p2p_dev_disc_req_cb() 58 p2p_dbg(p2p, "GO acknowledged Device Discoverability Request - wait for response"); 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() argument 73 go = p2p_get_device(p2p, dev->member_in_go_dev); in p2p_send_dev_disc_req() 75 …p2p_dbg(p2p, "Could not find peer entry for GO and frequency to send Device Discoverability Reques… in p2p_send_dev_disc_req() 79 req = p2p_build_dev_disc_req(p2p, go, dev->info.p2p_device_addr); in p2p_send_dev_disc_req() [all …]
|
D | p2p.h | 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); [all …]
|
D | p2p_group.c | 35 struct p2p_data *p2p; member 46 struct p2p_group * p2p_group_init(struct p2p_data *p2p, in p2p_group_init() argument 55 groups = os_realloc_array(p2p->groups, p2p->num_groups + 1, in p2p_group_init() 61 groups[p2p->num_groups++] = group; in p2p_group_init() 62 p2p->groups = groups; in p2p_group_init() 64 group->p2p = p2p; in p2p_group_init() 101 struct p2p_data *p2p; in p2p_group_deinit() local 106 p2p = group->p2p; in p2p_group_deinit() 108 for (g = 0; g < p2p->num_groups; g++) { in p2p_group_deinit() 109 if (p2p->groups[g] == group) { in p2p_group_deinit() [all …]
|
D | p2p_i.h | 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, [all …]
|
D | p2p_build.c | 186 void p2p_buf_add_device_info(struct wpabuf *buf, struct p2p_data *p2p, in p2p_buf_add_device_info() argument 198 wpabuf_put_data(buf, p2p->cfg->dev_addr, ETH_ALEN); in p2p_buf_add_device_info() 210 } else if (p2p->cfg->config_methods) { in p2p_buf_add_device_info() 211 methods |= p2p->cfg->config_methods & in p2p_buf_add_device_info() 222 wpabuf_put_data(buf, p2p->cfg->pri_dev_type, in p2p_buf_add_device_info() 223 sizeof(p2p->cfg->pri_dev_type)); in p2p_buf_add_device_info() 226 wpabuf_put_u8(buf, p2p->cfg->num_sec_dev_types); in p2p_buf_add_device_info() 229 for (i = 0; i < p2p->cfg->num_sec_dev_types; i++) in p2p_buf_add_device_info() 230 wpabuf_put_data(buf, p2p->cfg->sec_dev_type[i], in p2p_buf_add_device_info() 234 nlen = p2p->cfg->dev_name ? os_strlen(p2p->cfg->dev_name) : 0; in p2p_buf_add_device_info() [all …]
|
D | p2p_utils.c | 287 int p2p_supported_freq(struct p2p_data *p2p, unsigned int freq) in p2p_supported_freq() argument 292 return p2p_channels_includes(&p2p->cfg->channels, op_reg_class, in p2p_supported_freq() 297 int p2p_supported_freq_go(struct p2p_data *p2p, unsigned int freq) in p2p_supported_freq_go() argument 302 return p2p_channels_includes(&p2p->cfg->channels, op_reg_class, in p2p_supported_freq_go() 304 !freq_range_list_includes(&p2p->no_go_freq, freq); in p2p_supported_freq_go() 308 int p2p_supported_freq_cli(struct p2p_data *p2p, unsigned int freq) in p2p_supported_freq_cli() argument 313 return p2p_channels_includes(&p2p->cfg->channels, op_reg_class, in p2p_supported_freq_cli() 315 p2p_channels_includes(&p2p->cfg->cli_channels, op_reg_class, in p2p_supported_freq_cli() 320 unsigned int p2p_get_pref_freq(struct p2p_data *p2p, in p2p_get_pref_freq() argument 326 channels : &p2p->cfg->channels; in p2p_get_pref_freq() [all …]
|
/external/tcpdump/tests/ |
D | spb.out | 1 IS-IS, p2p IIH, src-id 8888.8888.8888, length 1492 2 IS-IS, p2p IIH, src-id 2222.2222.2222, length 1492 3 IS-IS, p2p IIH, src-id 8888.8888.8888, length 1492 4 IS-IS, p2p IIH, src-id 2222.2222.2222, length 1492 7 IS-IS, p2p IIH, src-id 8888.8888.8888, length 1492 8 IS-IS, p2p IIH, src-id 2222.2222.2222, length 1492 9 IS-IS, p2p IIH, src-id 8888.8888.8888, length 1492 10 IS-IS, p2p IIH, src-id 2222.2222.2222, length 1492 11 IS-IS, p2p IIH, src-id 8888.8888.8888, length 1492 12 IS-IS, p2p IIH, src-id 2222.2222.2222, length 1492 [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wifi_display.c | 45 if (global->p2p == NULL) in wifi_display_get_wfd_ie() 72 if (global->p2p == NULL) in wifi_display_update_wfd_ie() 80 p2p_set_wfd_ie_beacon(global->p2p, NULL); in wifi_display_update_wfd_ie() 81 p2p_set_wfd_ie_probe_req(global->p2p, NULL); in wifi_display_update_wfd_ie() 82 p2p_set_wfd_ie_probe_resp(global->p2p, NULL); in wifi_display_update_wfd_ie() 83 p2p_set_wfd_ie_assoc_req(global->p2p, NULL); in wifi_display_update_wfd_ie() 84 p2p_set_wfd_ie_invitation(global->p2p, NULL); in wifi_display_update_wfd_ie() 85 p2p_set_wfd_ie_prov_disc_req(global->p2p, NULL); in wifi_display_update_wfd_ie() 86 p2p_set_wfd_ie_prov_disc_resp(global->p2p, NULL); in wifi_display_update_wfd_ie() 87 p2p_set_wfd_ie_go_neg(global->p2p, NULL); in wifi_display_update_wfd_ie() [all …]
|
D | p2p_supplicant.c | 213 if (p2p_supported_freq(wpa_s->global->p2p, freqs[i].freq)) in wpas_p2p_valid_oper_freqs() 228 if (wpa_s->global->p2p_disabled || wpa_s->global->p2p == NULL) in wpas_p2p_set_own_freq_preference() 241 p2p_set_own_freq_preference(wpa_s->global->p2p, freq); in wpas_p2p_set_own_freq_preference() 256 if (wpa_s->global->p2p_disabled || wpa_s->global->p2p == NULL) in wpas_p2p_scan_res_handler() 284 if (p2p_scan_res_handler(wpa_s->global->p2p, bss->bssid, in wpas_p2p_scan_res_handler() 290 p2p_scan_res_handled(wpa_s->global->p2p); in wpas_p2p_scan_res_handler() 322 p2p_notify_scan_trigger_status(wpa_s->global->p2p, ret); in wpas_p2p_trigger_scan_cb() 326 p2p_notify_scan_trigger_status(wpa_s->global->p2p, ret); in wpas_p2p_trigger_scan_cb() 347 return p2p_supported_freq(wpa_s->global->p2p, freq); in wpas_p2p_search_social_channel() 364 if (wpa_s->global->p2p_disabled || wpa_s->global->p2p == NULL) in wpas_p2p_scan() [all …]
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/mac80211/drv_change_interface/ |
D | format | 12 field:bool p2p; offset:56; size:1; signed:0; 17 …y_name, __get_str(vif_name), REC->vif_type, REC->p2p ? "/p2p" : "", REC->new_type, REC->new_p2p ? …
|
/external/iw/ |
D | p2p.c | 14 SECTION(p2p); 22 COMMAND(p2p, start, "", NL80211_CMD_START_P2P_DEVICE, 0, CIB_WDEV, handle_p2p_start, ""); 30 COMMAND(p2p, stop, "", NL80211_CMD_STOP_P2P_DEVICE, 0, CIB_WDEV, handle_p2p_stop, "");
|
/external/autotest/client/site_tests/p2p_ConsumeFiles/ |
D | control | 13 This test runs p2p-client on several common cases using a fake network of peers 14 to check that it can discover files on this network. If p2p-client isn't able 16 tested scenarios, a case where p2p-client should hang (because there are too 21 CRITERIA = 'Fails if p2p-client is not able to discover and get the URLs.'
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowWifiP2pManager.java | 6 import android.net.wifi.p2p.WifiP2pGroup; 7 import android.net.wifi.p2p.WifiP2pManager; 8 import android.net.wifi.p2p.WifiP2pManager.ActionListener; 9 import android.net.wifi.p2p.WifiP2pManager.Channel;
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/mac80211/api_connection_loss/ |
D | format | 11 field:bool p2p; offset:24; size:1; signed:0; 14 print fmt: " vif:%s(%d%s)", __get_str(vif_name), REC->vif_type, REC->p2p ? "/p2p" : ""
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/mac80211/api_beacon_loss/ |
D | format | 11 field:bool p2p; offset:24; size:1; signed:0; 14 print fmt: " vif:%s(%d%s)", __get_str(vif_name), REC->vif_type, REC->p2p ? "/p2p" : ""
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/mac80211/drv_mgd_prepare_tx/ |
D | format | 12 field:bool p2p; offset:56; size:1; signed:0; 15 print fmt: "%s vif:%s(%d%s)", REC->wiphy_name, __get_str(vif_name), REC->vif_type, REC->p2p ? "/p2p…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/mac80211/drv_get_tsf/ |
D | format | 12 field:bool p2p; offset:56; size:1; signed:0; 15 print fmt: "%s vif:%s(%d%s)", REC->wiphy_name, __get_str(vif_name), REC->vif_type, REC->p2p ? "/p2p…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/mac80211/drv_reset_tsf/ |
D | format | 12 field:bool p2p; offset:56; size:1; signed:0; 15 print fmt: "%s vif:%s(%d%s)", REC->wiphy_name, __get_str(vif_name), REC->vif_type, REC->p2p ? "/p2p…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/mac80211/drv_cancel_hw_scan/ |
D | format | 12 field:bool p2p; offset:56; size:1; signed:0; 15 print fmt: "%s vif:%s(%d%s)", REC->wiphy_name, __get_str(vif_name), REC->vif_type, REC->p2p ? "/p2p…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/mac80211/drv_sched_scan_start/ |
D | format | 12 field:bool p2p; offset:56; size:1; signed:0; 15 print fmt: "%s vif:%s(%d%s)", REC->wiphy_name, __get_str(vif_name), REC->vif_type, REC->p2p ? "/p2p…
|