/external/wpa_supplicant_8/src/p2p/ |
p2p.c | 2 * Wi-Fi Direct - P2P module 18 #include "p2p.h" 22 static void p2p_device_free(struct p2p_data *p2p, struct p2p_device *dev); 23 static void p2p_process_presence_req(struct p2p_data *p2p, const u8 *da, 26 static void p2p_process_presence_resp(struct p2p_data *p2p, const u8 *da, 37 * timeout for this to avoid hitting P2P timeout unnecessarily. 51 static void p2p_expire_peers(struct p2p_data *p2p) 58 dl_list_for_each_safe(dev, n, &p2p->devices, struct p2p_device, list) { 62 if (dev == p2p->go_neg_peer) { 71 if (p2p->cfg->go_connected & 106 struct p2p_data *p2p = eloop_ctx; local 972 struct p2p_data *p2p = eloop_ctx; local 1027 struct p2p_data *p2p = eloop_ctx; local 1824 struct p2p_data *p2p = eloop_ctx; local 1835 struct p2p_data *p2p = eloop_ctx; local 2447 struct p2p_data *p2p; local 3458 struct p2p_data *p2p = eloop_ctx; local 3940 struct p2p_data *p2p = eloop_ctx; local [all...] |
p2p_dev_disc.c | 2 * Wi-Fi Direct - P2P Device Discoverability procedure 14 #include "p2p.h" 17 static struct wpabuf * p2p_build_dev_disc_req(struct p2p_data *p2p, 43 void p2p_dev_disc_req_cb(struct p2p_data *p2p, int success) 45 p2p_dbg(p2p, "Device Discoverability Request TX callback: success=%d", 50 * Use P2P find, if needed, to find the other device or to 53 p2p_set_state(p2p, P2P_CONNECT); 54 p2p_set_timeout(p2p, 0, 100000); 58 p2p_dbg(p2p, "GO acknowledged Device Discoverability Request - wait for response"); 67 int p2p_send_dev_disc_req(struct p2p_data *p2p, struct p2p_device *dev [all...] |
p2p_invitation.c | 2 * Wi-Fi Direct - P2P Invitation procedure 15 #include "p2p.h" 18 static struct wpabuf * p2p_build_invitation_req(struct p2p_data *p2p, 29 struct wpabuf *wfd_ie = p2p->wfd_ie_invitation; 30 if (wfd_ie && p2p->inv_role == P2P_INVITE_ROLE_ACTIVE_GO) { 32 for (i = 0; i < p2p->num_groups; i++) { 33 struct p2p_group *g = p2p->groups[i]; 36 p2p->inv_bssid, ETH_ALEN) != 0) 49 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_P2P_INV_REQ] [all...] |
p2p_go_neg.c | 2 * Wi-Fi Direct - P2P Group Owner Negotiation 16 #include "p2p.h" 34 int p2p_peer_channels_check(struct p2p_data *p2p, struct p2p_channels *own, 51 wpa_hexdump_ascii(MSG_DEBUG, "P2P: Peer country", pos, 3); 52 if (pos[2] != 0x04 && os_memcmp(pos, p2p->cfg->country, 2) != 0) { 53 p2p_info(p2p, "Mismatching country (ours=%c%c peer's=%c%c)", 54 p2p->cfg->country[0], p2p->cfg->country[1], 64 p2p_info(p2p, "Invalid peer Channel List"); 78 p2p_dbg(p2p, "Own reg_classes %d peer reg_classes %d intersection reg_classes %d" [all...] |
p2p_pd.c | 2 * Wi-Fi Direct - P2P provision discovery 16 #include "p2p.h" 43 static struct wpabuf * p2p_build_prov_disc_req(struct p2p_data *p2p, 53 if (p2p->wfd_ie_prov_disc_req) 54 extra = wpabuf_len(p2p->wfd_ie_prov_disc_req); 57 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_P2P_PD_REQ]) 58 extra += wpabuf_len(p2p->vendor_elem[VENDOR_ELEM_P2P_PD_REQ]); 67 p2p_buf_add_capability(buf, p2p->dev_capab & 69 p2p_buf_add_device_info(buf, p2p, NULL) [all...] |
p2p_sd.c | 2 * Wi-Fi Direct - P2P service discovery 15 #include "p2p.h" 50 struct p2p_sd_query * p2p_pending_sd_req(struct p2p_data *p2p, 64 for (q = p2p->sd_queries; q; q = q->next) { 91 static void p2p_decrease_sd_bc_queries(struct p2p_data *p2p, int query_number) 95 p2p->num_p2p_sd_queries--; 96 dl_list_for_each(dev, &p2p->devices, struct p2p_device, list) { 108 static int p2p_unlink_sd_query(struct p2p_data *p2p, 114 q = p2p->sd_queries; 121 p2p_decrease_sd_bc_queries(p2p, query_number) [all...] |
p2p.h | 2 * Wi-Fi Direct - P2P module 59 * struct p2p_go_neg_results - P2P Group Owner Negotiation results 110 * peer_device_addr - P2P Device Address of the peer 115 * peer_interface_addr - P2P Interface Address of the peer 156 * struct p2p_peer_info - P2P peer information 160 * p2p_device_addr - P2P Device Address of the peer 237 * This buffer includes any other vendor element than P2P, WPS, and WFD 256 * struct p2p_config - P2P configuration 258 * This configuration is provided to the P2P module during initialization with 263 * country - Country code to use in P2P operation [all...] |
p2p_i.h | 2 * P2P - Internal definitions for P2P module 13 #include "p2p.h" 26 * struct p2p_device - P2P Device data (internal to P2P module) 42 * identifier for the P2P Device. 47 * P2P Device Address of the GO in whose group this P2P Device is a 53 * P2P Interface Address of the GO in whose group this P2P Device is [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pConfig.aidl | 17 package android.net.wifi.p2p;
|
WifiP2pDevice.aidl | 17 package android.net.wifi.p2p;
|
WifiP2pDeviceList.aidl | 17 package android.net.wifi.p2p;
|
WifiP2pGroup.aidl | 17 package android.net.wifi.p2p;
|
WifiP2pGroupList.aidl | 17 package android.net.wifi.p2p;
|
WifiP2pInfo.aidl | 17 package android.net.wifi.p2p;
|
IWifiP2pManager.aidl | 17 package android.net.wifi.p2p;
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pServiceInfo.aidl | 17 package android.net.wifi.p2p.servicediscovery;
|
WifiP2pServiceRequest.aidl | 17 package android.net.wifi.p2p.servicediscovery;
|
WifiP2pServiceResponse.aidl | 17 package android.net.wifi.p2p.servicediscovery;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/ |
GoNegRequesterTestActivity.java | 16 package com.android.cts.verifier.p2p; 20 import com.android.cts.verifier.p2p.testcase.GoNegReqTestSuite; 21 import com.android.cts.verifier.p2p.testcase.ReqTestCase; 24 * Test activity that tries to connect to the p2p device with group owner negotiation.
|
P2pClientTestActivity.java | 16 package com.android.cts.verifier.p2p; 20 import com.android.cts.verifier.p2p.testcase.P2pClientTestSuite; 21 import com.android.cts.verifier.p2p.testcase.ReqTestCase; 24 * Test activity that tries to join an existing p2p group.
|
ServiceRequesterTestActivity.java | 16 package com.android.cts.verifier.p2p; 20 import com.android.cts.verifier.p2p.testcase.ReqTestCase; 21 import com.android.cts.verifier.p2p.testcase.ServReqTestSuite;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
LocalServices.java | 16 package com.android.cts.verifier.p2p.testcase; 23 import android.net.wifi.p2p.nsd.WifiP2pDnsSdServiceInfo; 24 import android.net.wifi.p2p.nsd.WifiP2pServiceInfo; 25 import android.net.wifi.p2p.nsd.WifiP2pUpnpServiceInfo;
|
ServReqAllTestCase03.java | 17 package com.android.cts.verifier.p2p.testcase; 25 import android.net.wifi.p2p.nsd.WifiP2pDnsSdServiceRequest; 26 import android.net.wifi.p2p.nsd.WifiP2pServiceRequest; 27 import android.net.wifi.p2p.nsd.WifiP2pUpnpServiceRequest;
|
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
WiFiP2pService.java | 4 import android.net.wifi.p2p.WifiP2pDevice;
|
/external/wpa_supplicant_8/wpa_supplicant/ |
wifi_display.c | 13 #include "p2p/p2p.h" 44 if (global->p2p == NULL) 52 p2p_set_wfd_ie_beacon(global->p2p, NULL); 53 p2p_set_wfd_ie_probe_req(global->p2p, NULL); 54 p2p_set_wfd_ie_probe_resp(global->p2p, NULL); 55 p2p_set_wfd_ie_assoc_req(global->p2p, NULL); 56 p2p_set_wfd_ie_invitation(global->p2p, NULL); 57 p2p_set_wfd_ie_prov_disc_req(global->p2p, NULL); 58 p2p_set_wfd_ie_prov_disc_resp(global->p2p, NULL) [all...] |