/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pInfo.java | 17 package android.net.wifi.p2p; 26 * A class representing connection information about a Wi-Fi p2p group 32 /** Indicates if a p2p group has been successfully formed */
|
WifiP2pConfig.java | 17 package android.net.wifi.p2p; 24 * A class representing a Wi-Fi P2p configuration for setting up a connection 31 * The device MAC address uniquely identifies a Wi-Fi p2p device 68 /** P2P-GO-NEG-REQUEST 42:fc:89:a8:96:09 dev_passwd_id=4 {@hide}*/ 72 if (tokens.length < 2 || !tokens[0].equals("P2P-GO-NEG-REQUEST")) {
|
WifiP2pDeviceList.java | 17 package android.net.wifi.p2p; 21 import android.net.wifi.p2p.WifiP2pDevice; 29 * A class representing a Wi-Fi P2p device list
|
WifiP2pGroup.java | 17 package android.net.wifi.p2p; 28 * A class representing a Wi-Fi P2p group 57 * P2P-GROUP-STARTED p2p-wlan0-0 [client|GO] ssid="DIRECT-W8" freq=2437 61 * P2P-GROUP-REMOVED p2p-wlan0-0 [client|GO] reason=REQUESTED 63 * P2P-INVITATION-RECEIVED sa=fa:7b:7a:42:02:13 go_dev_addr=f8:7b:7a:42:02:13 77 if (tokens[0].startsWith("P2P-GROUP")) { 99 } else if (tokens[0].equals("P2P-INVITATION-RECEIVED")) { 121 * the p2p group using the network name [all...] |
WifiP2pDevice.java | 17 package android.net.wifi.p2p; 26 * A class representing a Wi-Fi p2p device 35 * The device name is a user friendly string to identify a Wi-Fi p2p device 40 * The device MAC address uniquely identifies a Wi-Fi p2p device 48 * P2P Interface Address and the group interface will be created with 125 * P2P-DEVICE-FOUND fa:7b:7a:42:02:13 p2p_dev_addr=fa:7b:7a:42:02:13 126 * pri_dev_type=1-0050F204-1 name='p2p-TEST1' config_methods=0x188 dev_capab=0x27 129 * P2P-DEVICE-LOST p2p_dev_addr=fa:7b:7a:42:02:13 133 * P2P-PROV-DISC-PBC-REQ 42:fc:89:e1:e2:27 p2p_dev_addr=42:fc:89:e1:e2:27 134 * pri_dev_type=1-0050F204-1 name='p2p-TEST2' config_methods=0x188 dev_capab=0x2 [all...] |
WifiP2pManager.java | 17 package android.net.wifi.p2p; 43 * When a p2p connection is formed over wifi, the device continues to maintain the uplink 48 * {@link #initialize} before doing any p2p operation. 59 * or forms a p2p group. The {@link ActionListener} callbacks provide feedback on whether the 70 * Wi-Fi devices that do not support p2p, an app can create a group using {@link #createGroup} 77 * if the current device is a p2p group owner. A p2p client can thus communicate with 78 * the p2p group owner through a socket connection. 102 * Broadcast intent action to indicate whether Wi-Fi p2p is enabled or disabled. An 109 "android.net.wifi.p2p.STATE_CHANGED" [all...] |
WifiP2pService.java | 17 package android.net.wifi.p2p; 73 * WifiP2pService inclues a state machine to perform Wi-Fi p2p operations. Applications 78 * Note that the term Wifi when used without a p2p suffix refers to the client mode 95 //during p2p bring up 113 * Number of times we attempt to restart p2p 121 /* Message sent to WifiStateMachine to indicate p2p enable is pending */ 129 /* User accepted to disable Wi-Fi in order to enable p2p */ 131 /* User rejected to disable Wi-Fi in order to enable p2p */ 261 // Inactive is when p2p is enabled with no connectivity 332 // Disable p2p operation before we can respon [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
WifiP2pPeer.java | 17 package com.android.settings.wifi.p2p; 23 import android.net.wifi.p2p.WifiP2pManager; 24 import android.net.wifi.p2p.WifiP2pDevice;
|
WifiP2pDialog.java | 17 package com.android.settings.wifi.p2p; 23 import android.net.wifi.p2p.WifiP2pConfig; 24 import android.net.wifi.p2p.WifiP2pDevice; 35 * Dialog to setup a p2p connection
|
WifiP2pEnabler.java | 17 package com.android.settings.wifi.p2p; 25 import android.net.wifi.p2p.WifiP2pManager; 33 * WifiP2pEnabler is a helper to manage the Wifi p2p on/off 65 Log.e(TAG, "Failed to set up connection with wifi p2p service");
|
WifiP2pSettings.java | 17 package com.android.settings.wifi.p2p; 30 import android.net.wifi.p2p.WifiP2pConfig; 31 import android.net.wifi.p2p.WifiP2pDevice; 32 import android.net.wifi.p2p.WifiP2pDeviceList; 33 import android.net.wifi.p2p.WifiP2pManager; 34 import android.net.wifi.p2p.WifiP2pManager.PeerListListener; 57 * Displays Wi-fi p2p settings UI 129 Log.e(TAG, "Failed to set up connection with wifi p2p service"); 254 //TODO: add advanced settings for p2p
|
/external/wpa_supplicant_8/src/common/ |
ieee802_11_common.h | 43 const u8 *p2p; member in struct:ieee802_11_elems
|
/external/wpa_supplicant_8/wpa_supplicant/ |
p2p_supplicant.c | 2 * wpa_supplicant - P2P 23 #include "p2p/p2p.h" 67 if (wpa_s->global->p2p_disabled || wpa_s->global->p2p == NULL) 70 wpa_printf(MSG_DEBUG, "P2P: Scan results received (%d BSS)", 75 if (p2p_scan_res_handler(wpa_s->global->p2p, bss->bssid, 82 p2p_scan_res_handled(wpa_s->global->p2p); 96 if (wpa_s->global->p2p_disabled || wpa_s->global->p2p == NULL) 101 /* P2P Wildcard SSID */ 106 wpa_s->wps->dev.p2p = 1 328 struct wpabuf *p2p; local [all...] |
bss.c | 313 const u8 *ssid, *p2p; local 328 p2p = wpa_scan_get_vendor_ie(res, P2P_IE_VENDOR_TYPE); 329 if (p2p && ssid[1] == P2P_WILDCARD_SSID_LEN && 331 return; /* Skip P2P listen discovery results here */
|
wpa_supplicant.c | 40 #include "p2p/p2p.h" 1242 struct wpabuf *p2p; local [all...] |
ctrl_iface.c | 36 #include "p2p/p2p.h" 315 "P2P Device Address '%s'", 794 /* We have to send status command to p2p interface if p2p_interface is started 859 "mode=P2P GO\n"); 863 "mode=P2P GO - group " 899 if (wpa_s->global->p2p) { 1091 ssid->disabled == 2 ? "[P2P-PERSISTENT]" : 1302 const u8 *ie, *ie2, *p2p; local 1304 p2p = wpa_bss_get_vendor_ie(bss, P2P_IE_VENDOR_TYPE) [all...] |
wpa_supplicant_i.h | 221 struct p2p_data *p2p; member in struct:wpa_global 527 * Whether this P2P group is configured to use cross connection (only 528 * valid if this is P2P GO interface). The actual cross connect packet 560 /* Channel preferences for AP/P2P GO use */
|
/packages/apps/Settings/src/com/android/settings/ |
WirelessSettings.java | 25 import android.net.wifi.p2p.WifiP2pManager; 40 import com.android.settings.wifi.p2p.WifiP2pEnabler; 141 WifiP2pManager p2p = (WifiP2pManager) activity.getSystemService(Context.WIFI_P2P_SERVICE); local
|
/external/wpa_supplicant_8/src/p2p/ |
p2p_group.c | 2 * Wi-Fi Direct - P2P group operations 23 #include "p2p.h" 28 u8 addr[ETH_ALEN]; /* P2P Interface Address */ 29 u8 dev_addr[ETH_ALEN]; /* P2P Device Address */ 36 * struct p2p_group - Internal P2P module per-group data 39 struct p2p_data *p2p; member in struct:p2p_group 52 struct p2p_group * p2p_group_init(struct p2p_data *p2p, 61 groups = os_realloc(p2p->groups, (p2p->num_groups + 1) * 67 groups[p2p->num_groups++] = group 106 struct p2p_data *p2p; local 587 struct p2p_data *p2p = group->p2p; local [all...] |
p2p.c | 2 * Wi-Fi Direct - P2P module 23 #include "p2p.h" 27 static void p2p_device_free(struct p2p_data *p2p, struct p2p_device *dev); 28 static void p2p_process_presence_req(struct p2p_data *p2p, const u8 *da, 31 static void p2p_process_presence_resp(struct p2p_data *p2p, const u8 *da, 42 * timeout for this to avoid hitting P2P timeout unnecessarily. 54 static void p2p_expire_peers(struct p2p_data *p2p) 60 dl_list_for_each_safe(dev, n, &p2p->devices, struct p2p_device, list) { 63 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Expiring old peer 73 struct p2p_data *p2p = eloop_ctx; local 778 struct p2p_data *p2p = eloop_ctx; local 839 struct p2p_data *p2p = eloop_ctx; local 1469 struct p2p_data *p2p = eloop_ctx; local 1480 struct p2p_data *p2p = eloop_ctx; local 1961 struct p2p_data *p2p; local 2805 struct p2p_data *p2p = eloop_ctx; local 3285 struct p2p_data *p2p = eloop_ctx; local [all...] |
/external/wpa_supplicant_8/src/ap/ |
hostapd.h | 156 struct p2p_data *p2p; member in struct:hostapd_data 161 /* Number of non-P2P association stations */ 164 /* Periodic NoA (used only when no non-P2P clients in the group) */
|
ap_config.h | 329 int p2p; member in struct:hostapd_bss_config
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_new_handlers_p2p.c | 2 * WPA Supplicant / dbus-based control interface (P2P) 27 #include "p2p/p2p.h" 69 "this P2P device."); 373 p2p_flush(wpa_s->global->p2p); 454 (p2p_get_peer_info(wpa_s->global->p2p, addr, 0, NULL, 0) < 0)) { 556 (p2p_get_peer_info(wpa_s->global->p2p, 638 * from p2p module are not granular enough (yet). 654 * P2P Device property accessor methods. 965 struct p2p_data *p2p = wpa_s->global->p2p local [all...] |
/external/wpa_supplicant_8/src/drivers/ |
driver_test.c | 37 #include "p2p/p2p.h" 113 struct p2p_data *p2p; member in struct:wpa_driver_test_data 489 if (drv->p2p && 493 wpa_printf(MSG_DEBUG, "P2P: Ignore Action TX status - " 500 wpa_printf(MSG_DEBUG, "P2P: Ignore Action TX status - " 508 p2p_send_action_cb(drv->p2p, drv->pending_action_freq, 563 if (drv->p2p) 564 p2p_probe_req_rx(drv->p2p, sa, ie, ielen); 3272 struct p2p_config p2p; local [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps.h | 87 * @p2p: Whether the device is a P2P device 104 int p2p; member in struct:wps_device_data 182 * p2p_dev_addr - P2P Device Address from (Re)Association Request 184 * On AP/GO, this is set to the P2P Device Address of the associating 185 * P2P client if a P2P IE is included in the (Re)Association Request 186 * frame and the P2P Device Address is included. Otherwise, this is set 187 * to %NULL to indicate the station does not have a P2P Device Address.
|