/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. 54 int p2p_connection_in_progress(struct p2p_data *p2p) 58 switch (p2p->state) { 71 wpa_printf(MSG_DEBUG, "p2p_connection_in_progress state %d", p2p->state); 79 static void p2p_expire_peers(struct p2p_data *p2p) 137 struct p2p_data *p2p = eloop_ctx; local 979 struct p2p_data *p2p = eloop_ctx; local 1047 struct p2p_data *p2p = eloop_ctx; local 1842 struct p2p_data *p2p = eloop_ctx; local 1853 struct p2p_data *p2p = eloop_ctx; local 2476 struct p2p_data *p2p; local 3503 struct p2p_data *p2p = eloop_ctx; local 4006 struct p2p_data *p2p = eloop_ctx; local [all...] |
p2p_invitation.c | 2 * Wi-Fi Direct - P2P Invitation procedure 14 #include "p2p.h" 17 static struct wpabuf * p2p_build_invitation_req(struct p2p_data *p2p, 27 struct wpabuf *wfd_ie = p2p->wfd_ie_invitation; 28 if (wfd_ie && p2p->inv_role == P2P_INVITE_ROLE_ACTIVE_GO) { 30 for (i = 0; i < p2p->num_groups; i++) { 31 struct p2p_group *g = p2p->groups[i]; 34 p2p->inv_bssid, ETH_ALEN) != 0) 58 if (p2p->inv_role == P2P_INVITE_ROLE_ACTIVE_GO || !p2p->inv_persistent [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 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, 46 "P2P: Device Discoverability Request TX callback: success=%d", 51 * Use P2P find, if needed, to find the other device or to 54 p2p_set_state(p2p, P2P_CONNECT); 55 p2p_set_timeout(p2p, 0, 100000); 59 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG [all...] |
p2p_go_neg.c | 2 * Wi-Fi Direct - P2P Group Owner Negotiation 15 #include "p2p.h" 33 int p2p_peer_channels_check(struct p2p_data *p2p, struct p2p_channels *own, 50 wpa_hexdump_ascii(MSG_DEBUG, "P2P: Peer country", pos, 3); 51 if (pos[2] != 0x04 && os_memcmp(pos, p2p->cfg->country, 2) != 0) { 52 wpa_msg(p2p->cfg->msg_ctx, MSG_INFO, 53 "P2P: Mismatching country (ours=%c%c peer's=%c%c)", 54 p2p->cfg->country[0], p2p->cfg->country[1], 64 wpa_msg(p2p->cfg->msg_ctx, MSG_INFO [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, 63 for (q = p2p->sd_queries; q; q = q->next) { 79 static int p2p_unlink_sd_query(struct p2p_data *p2p, 83 q = p2p->sd_queries; 90 p2p->sd_queries = q->next; 91 if (p2p->sd_query == query) 92 p2p->sd_query = NULL; 111 void p2p_free_sd_queries(struct p2p_data *p2p) [all...] |
p2p_pd.c | 2 * Wi-Fi Direct - P2P provision discovery 15 #include "p2p.h" 42 static struct wpabuf * p2p_build_prov_disc_req(struct p2p_data *p2p, 52 if (p2p->wfd_ie_prov_disc_req) 53 extra = wpabuf_len(p2p->wfd_ie_prov_disc_req); 63 p2p_buf_add_capability(buf, p2p->dev_capab & 65 p2p_buf_add_device_info(buf, p2p, NULL); 76 if (p2p->wfd_ie_prov_disc_req) 77 wpabuf_put_buf(buf, p2p->wfd_ie_prov_disc_req); 84 static struct wpabuf * p2p_build_prov_disc_resp(struct p2p_data *p2p, [all...] |
p2p.h | 2 * Wi-Fi Direct - P2P module 61 * 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 157 * struct p2p_peer_info - P2P peer information 161 * p2p_device_addr - P2P Device Address of the peer 249 * struct p2p_config - P2P configuration 251 * This configuration is provided to the P2P module during initialization with 256 * country - Country code to use in P2P operations 325 * dev_addr - P2P Device Addres [all...] |
p2p_i.h | 2 * P2P - Internal definitions for P2P module 13 #include "p2p.h" 22 * struct p2p_device - P2P Device data (internal to P2P module) 36 * identifier for the P2P Device. 41 * P2P Device Address of the GO in whose group this P2P Device is a 47 * 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" 46 p2p_set_wfd_ie_beacon(global->p2p, NULL); 47 p2p_set_wfd_ie_probe_req(global->p2p, NULL); 48 p2p_set_wfd_ie_probe_resp(global->p2p, NULL); 49 p2p_set_wfd_ie_assoc_req(global->p2p, NULL); 50 p2p_set_wfd_ie_invitation(global->p2p, NULL); 51 p2p_set_wfd_ie_prov_disc_req(global->p2p, NULL); 52 p2p_set_wfd_ie_prov_disc_resp(global->p2p, NULL); 53 p2p_set_wfd_ie_go_neg(global->p2p, NULL) [all...] |