HomeSort by relevance Sort by last modified time
    Searched refs:p2p (Results 1 - 25 of 158) sorted by null

1 2 3 4 5 6 7

  /external/wpa_supplicant_8/src/p2p/
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.c 2 * Wi-Fi Direct - P2P module
20 #include "p2p.h"
24 static void p2p_device_free(struct p2p_data *p2p, struct p2p_device *dev);
25 static void p2p_process_presence_req(struct p2p_data *p2p, const u8 *da,
28 static void p2p_process_presence_resp(struct p2p_data *p2p, const u8 *da,
39 * timeout for this to avoid hitting P2P timeout unnecessarily.
53 static void p2p_expire_peers(struct p2p_data *p2p)
60 dl_list_for_each_safe(dev, n, &p2p->devices, struct p2p_device, list) {
64 if (dev == p2p->go_neg_peer) {
73 if (p2p->cfg->go_connected &
108 struct p2p_data *p2p = eloop_ctx; local
1034 struct p2p_data *p2p = eloop_ctx; local
1105 struct p2p_data *p2p = eloop_ctx; local
1981 struct p2p_data *p2p = eloop_ctx; local
2001 struct p2p_data *p2p = eloop_ctx; local
2872 struct p2p_data *p2p; local
3991 struct p2p_data *p2p = eloop_ctx; local
4483 struct p2p_data *p2p = eloop_ctx; local
5386 struct p2p_data *p2p = eloop_ctx; local
    [all...]
p2p_go_neg.c 2 * Wi-Fi Direct - P2P Group Owner Negotiation
17 #include "p2p.h"
35 int p2p_peer_channels_check(struct p2p_data *p2p, struct p2p_channels *own,
52 wpa_hexdump_ascii(MSG_DEBUG, "P2P: Peer country", pos, 3);
53 if (pos[2] != 0x04 && os_memcmp(pos, p2p->cfg->country, 2) != 0) {
54 p2p_info(p2p, "Mismatching country (ours=%c%c peer's=%c%c)",
55 p2p->cfg->country[0], p2p->cfg->country[1],
65 p2p_info(p2p, "Invalid peer Channel List");
79 p2p_dbg(p2p, "Own reg_classes %d peer reg_classes %d intersection reg_classes %d"
    [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_pd.c 2 * Wi-Fi Direct - P2P provision discovery
16 #include "p2p.h"
43 static void p2ps_add_new_group_info(struct p2p_data *p2p, struct wpabuf *buf)
51 if (!p2p->cfg->get_go_info)
54 found = p2p->cfg->get_go_info(
55 p2p->cfg->cb_ctx, intended_addr, ssid,
58 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr,
62 if (!p2p->ssid_set) {
63 p2p_build_ssid(p2p, p2p->ssid, &p2p->ssid_len)
    [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 p2p_dbg(p2p, "Too many SD request attempts to " MACSTR
100 static void p2p_decrease_sd_bc_queries(struct p2p_data *p2p, int query_number)
104 p2p->num_p2p_sd_queries--;
105 dl_list_for_each(dev, &p2p->devices, struct p2p_device, list) {
117 static int p2p_unlink_sd_query(struct p2p_data *p2p,
123 q = p2p->sd_queries
    [all...]
p2p.h 2 * Wi-Fi Direct - P2P module
15 /* P2P ASP Setup Capability */
71 * struct p2p_go_neg_results - P2P Group Owner Negotiation results
122 * peer_device_addr - P2P Device Address of the peer
127 * peer_interface_addr - P2P Interface Address of the peer
179 * conncap - Connection Capabilities negotiated between P2P peers
256 * struct p2p_peer_info - P2P peer information
260 * p2p_device_addr - P2P Device Address of the peer
337 * This buffer includes any other vendor element than P2P, WPS, and WFD
362 * struct p2p_config - P2P configuratio
    [all...]
p2p_i.h 2 * P2P - Internal definitions for P2P module
13 #include "p2p.h"
18 * A threshold (in seconds) to prefer a direct Probe Response frame from a P2P
19 * Device over the P2P Client Info received from a GO.
26 * To force Service Instances to fit within a single P2P Tag, MAX_SVC_ADV_LEN
39 * struct p2p_device - P2P Device data (internal to P2P module)
55 * identifier for the P2P Device.
60 * P2P Device Address of the GO in whose group this P2P Device is
    [all...]
p2p_group.c 2 * Wi-Fi Direct - P2P group operations
18 #include "p2p.h"
23 u8 addr[ETH_ALEN]; /* P2P Interface Address */
24 u8 dev_addr[ETH_ALEN]; /* P2P Device Address */
32 * struct p2p_group - Internal P2P module per-group data
35 struct p2p_data *p2p; member in struct:p2p_group
46 struct p2p_group * p2p_group_init(struct p2p_data *p2p,
55 groups = os_realloc_array(p2p->groups, p2p->num_groups + 1,
61 groups[p2p->num_groups++] = group
101 struct p2p_data *p2p; local
898 struct p2p_data *p2p = group->p2p; local
    [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;

Completed in 516 milliseconds

1 2 3 4 5 6 7