| /src/external/bsd/wpa/dist/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 21 #include "p2p.h" 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, 40 * timeout for this to avoid hitting P2P timeout unnecessarily. 53 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 & 1063 struct p2p_data *p2p = eloop_ctx; local 1118 struct p2p_data *p2p = eloop_ctx; local 2032 struct p2p_data *p2p = eloop_ctx; local 2053 struct p2p_data *p2p = eloop_ctx; local 2973 struct p2p_data *p2p; local 4159 struct p2p_data *p2p = eloop_ctx; local 4652 struct p2p_data *p2p = eloop_ctx; local 5562 struct p2p_data *p2p = eloop_ctx; local [all...] |
| p2p_go_neg.c | 2 * Wi-Fi Direct - P2P Group Owner Negotiation 18 #include "p2p.h" 36 int p2p_peer_channels_check(struct p2p_data *p2p, struct p2p_channels *own, 53 wpa_hexdump_ascii(MSG_DEBUG, "P2P: Peer country", pos, 3); 54 if (pos[2] != 0x04 && os_memcmp(pos, p2p->cfg->country, 2) != 0) { 55 p2p_info(p2p, "Mismatching country (ours=%c%c peer's=%c%c)", 56 p2p->cfg->country[0], p2p->cfg->country[1], 67 p2p_info(p2p, "Invalid peer Channel List"); 80 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, 30 struct wpabuf *wfd_ie = p2p->wfd_ie_invitation; 31 if (wfd_ie && p2p->inv_role == P2P_INVITE_ROLE_ACTIVE_GO) { 33 for (i = 0; i < p2p->num_groups; i++) { 34 struct p2p_group *g = p2p->groups[i]; 37 p2p->inv_bssid)) 50 if (p2p->vendor_elem && p2p->vendor_elem[VENDOR_ELEM_P2P_INV_REQ] [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) { 90 p2p_dbg(p2p, "Too many SD request attempts to " MACSTR 99 static void p2p_decrease_sd_bc_queries(struct p2p_data *p2p, int query_number) 103 p2p->num_p2p_sd_queries--; 104 dl_list_for_each(dev, &p2p->devices, struct p2p_device, list) { 116 static int p2p_unlink_sd_query(struct p2p_data *p2p, 122 q = p2p->sd_queries [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, 54 if (!p2p->cfg->get_go_info) 57 found = p2p->cfg->get_go_info( 58 p2p->cfg->cb_ctx, intended_addr, ssid, 62 p2p->p2ps_prov->force_freq = force_freq; 63 p2p->p2ps_prov->pref_freq = 0; 66 p2p_prepare_channel(p2p, dev, force_freq, 0, 0); 68 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr [all...] |
| p2p.h | 2 * Wi-Fi Direct - P2P module 17 /* P2P ASP Setup Capability */ 79 * struct p2p_go_neg_results - P2P Group Owner Negotiation results 141 * peer_device_addr - P2P Device Address of the peer 146 * peer_interface_addr - P2P Interface Address of the peer 203 * conncap - Connection Capabilities negotiated between P2P peers 324 * struct p2p_peer_info - P2P peer information 328 * p2p_device_addr - P2P Device Address of the peer 405 * This buffer includes any other vendor element than P2P, WPS, and WFD 430 * struct p2p_config - P2P configuratio [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 915 struct p2p_data *p2p = group->p2p; local [all...] |
| Makefile | 6 p2p.o \
|
| p2p_i.h | 2 * P2P - Internal definitions for P2P module 14 #include "p2p.h" 19 * A threshold (in seconds) to prefer a direct Probe Response frame from a P2P 20 * Device over the P2P Client Info received from a GO. 27 * To force Service Instances to fit within a single P2P Tag, MAX_SVC_ADV_LEN 40 * struct p2p_device - P2P Device data (internal to P2P module) 56 * identifier for the P2P Device. 64 * P2P Device Address of the GO in whose group this P2P Device is [all...] |
| p2p_build.c | 2 * P2P - IE builder 26 wpa_printf(MSG_DEBUG, "P2P: * Dialog Token: %d", dialog_token); 39 wpa_printf(MSG_DEBUG, "P2P: * Dialog Token: %d", dialog_token); 47 /* P2P IE header */ 51 wpa_printf(MSG_DEBUG, "P2P: * P2P IE header"); 58 /* Update P2P IE Length */ 65 /* P2P Capability */ 70 wpa_printf(MSG_DEBUG, "P2P: * Capability dev=%02x group=%02x", 81 wpa_printf(MSG_DEBUG, "P2P: * GO Intent: Intent %u Tie breaker %u" [all...] |
| p2p_utils.c | 2 * P2P - generic helper functions 287 int p2p_supported_freq(struct p2p_data *p2p, unsigned int freq) 292 return p2p_channels_includes(&p2p->cfg->channels, op_reg_class, 297 int p2p_supported_freq_go(struct p2p_data *p2p, unsigned int freq) 302 return p2p_channels_includes(&p2p->cfg->channels, op_reg_class, 304 !freq_range_list_includes(&p2p->no_go_freq, freq); 308 int p2p_supported_freq_cli(struct p2p_data *p2p, unsigned int freq) 313 return p2p_channels_includes(&p2p->cfg->channels, op_reg_class, 315 p2p_channels_includes(&p2p->cfg->cli_channels, op_reg_class, 320 unsigned int p2p_get_pref_freq(struct p2p_data *p2p, [all...] |
| /src/external/bsd/wpa/dist/wpa_supplicant/ |
| wifi_display.c | 13 #include "p2p/p2p.h" 45 if (global->p2p == NULL) 72 if (global->p2p == NULL) 80 p2p_set_wfd_ie_beacon(global->p2p, NULL); 81 p2p_set_wfd_ie_probe_req(global->p2p, NULL); 82 p2p_set_wfd_ie_probe_resp(global->p2p, NULL); 83 p2p_set_wfd_ie_assoc_req(global->p2p, NULL); 84 p2p_set_wfd_ie_invitation(global->p2p, NULL); 85 p2p_set_wfd_ie_prov_disc_req(global->p2p, NULL) [all...] |
| p2p_supplicant.c | 2 * wpa_supplicant - P2P 18 #include "p2p/p2p.h" 52 * it is currently using, but is no longer valid for P2P use cases. 65 * How many seconds to try to reconnect to the GO when connection in P2P client 75 * P2P Client. 83 * WPS provisioning step on the GO. This controls the extra time the P2P 99 #define P2P_MGMT_DEVICE_PREFIX "p2p-dev-" 198 wpa_dbg(wpa_s, MSG_DEBUG, "P2P: num_unused_channels: %d", unused); 205 * interfaces, and that are also valid for P2P operation 1115 struct wpabuf *p2p; local 4892 struct p2p_config p2p; local 8084 struct p2p_data *p2p = wpa_s->global->p2p; local 8528 struct p2p_data *p2p = wpa_s->global->p2p; local 8538 struct p2p_data *p2p = wpa_s->global->p2p; local 9194 struct wpabuf *wsc, *p2p; local 9227 struct wpabuf *wsc, *p2p; local 10168 struct p2p_data *p2p = wpa_s->global->p2p; local [all...] |
| p2p_supplicant_sd.c | 2 * wpa_supplicant - P2P service discovery 13 #include "p2p/p2p.h" 27 * 27-octet in-memory packet from P2P specification containing two implied 41 wpa_printf(MSG_DEBUG, "P2P: Invalid domain name " 52 wpa_printf(MSG_DEBUG, "P2P: No room for full " 59 wpa_printf(MSG_DEBUG, "P2P: Invalid DNS " 78 wpa_printf(MSG_DEBUG, "P2P: Invalid domain name " 99 /* Uncompress domain names per RFC 1035 using the P2P SD in-memory packet. 105 /* 27-octet in-memory packet from P2P specification * [all...] |
| config_ssid.h | 56 u8 p2p; member in struct:psk_list_entry 176 * If this is a persistent P2P group (disabled == 2), this is the GO 212 * go_p2p_dev_addr - GO's P2P Device Address or all zeros if not set 432 * 3 = P2P Group Owner (can be set in the configuration file) 434 * 4 = P2P Group Formation (used internally; not in configuration 468 * 2 = this network block includes parameters for a persistent P2P 469 * group (can be used with P2P ctrl_iface commands) 667 * p2p_client_list - List of P2P Clients in a persistent group (GO) 669 * This is a list of P2P Clients (P2P Device Address) that have joine [all...] |
| wpas_glue.c | 1534 struct wpabuf *p2p; local 1535 p2p = wpa_bss_get_vendor_ie_multi(wpa_s->current_bss, 1537 if (p2p) { 1539 group_capab = p2p_get_group_capab(p2p); 1542 conf.p2p = 1; 1543 wpabuf_free(p2p);
|
| ap.c | 132 * conf->vht_oper_chwidth might not be set for non-P2P GO cases, 166 wpa_printf(MSG_DEBUG, "VHT seg0 index %d for P2P GO", 253 "Secondary channel offset %d for P2P group", 381 "HT secondary channel offset %d for P2P group", 391 "Disable HT secondary channel for P2P group on 2.4 GHz"); 649 "P2P: Enable Interworking with access_network_type: %d", 656 "P2P: Venue group: %d Venue type: %d", 1040 params.p2p = 1; 1045 else if (params.p2p && (wpa_s->drv_flags & WPA_DRIVER_FLAGS_AP_UAPSD)) 1046 params.uapsd = 1; /* mandatory for P2P GO * [all...] |
| /src/external/bsd/wpa/dist/src/ |
| Makefile | 1 SUBDIRS=ap common crypto drivers eapol_auth eapol_supp eap_common eap_peer eap_server l2_packet p2p pae pasn radius rsn_supp tls utils wps
|
| /src/external/bsd/wpa/dist/src/ap/ |
| p2p_hostapd.c | 2 * hostapd / P2P integration 13 #include "p2p/p2p.h" 36 wpa_printf(MSG_DEBUG, "P2P: Set NoA parameters: count=%u start=%d " 46 wpa_printf(MSG_DEBUG, "P2P: Non-periodic NoA - set " 56 wpa_printf(MSG_DEBUG, "P2P: No legacy STAs connected - update " 61 wpa_printf(MSG_DEBUG, "P2P: Legacy STA(s) connected - do not enable " 70 wpa_printf(MSG_DEBUG, "P2P: First non-P2P device connected"); 73 wpa_printf(MSG_DEBUG, "P2P: Disable periodic NoA") [all...] |
| beacon.c | 22 #include "p2p/p2p.h" 867 if ((hapd->conf->p2p & P2P_ENABLED) && params->is_p2p && 875 if ((hapd->conf->p2p & (P2P_MANAGE | P2P_ENABLED | P2P_GROUP_OWNER)) == 1425 if (hapd->p2p && hapd->p2p_group && elems.wps_ie) { 1429 wpa_printf(MSG_MSGDUMP, "P2P: Ignore Probe Request " 1438 if (hapd->p2p && hapd->p2p_group && elems.p2p) { 1439 struct wpabuf *p2p; local 1440 p2p = ieee802_11_vendor_ie_concat(ie, ie_len, P2P_IE_VENDOR_TYPE) [all...] |
| /src/external/bsd/wpa/dist/src/common/ |
| privsep_commands.h | 54 int p2p; member in struct:privsep_cmd_authenticate
|
| ieee802_11_common.h | 67 const u8 *p2p; member in struct:ieee802_11_elems 266 enum { P2P_SUPP, NO_P2P_SUPP } p2p; member in struct:oper_class_map
|
| /src/external/bsd/wpa/dist/wpa_supplicant/examples/ |
| p2p-action-udhcp.sh | 23 if [ "$CMD" = "P2P-GROUP-STARTED" ]; then 28 udhcpd /etc/udhcpd-p2p.conf 38 if [ "$CMD" = "P2P-GROUP-REMOVED" ]; then 50 if [ "$CMD" = "P2P-CROSS-CONNECT-ENABLE" ]; then 61 if [ "$CMD" = "P2P-CROSS-CONNECT-DISABLE" ]; then
|
| /src/external/bsd/wpa/dist/wpa_supplicant/dbus/ |
| dbus_new_handlers_p2p.c | 2 * WPA Supplicant / dbus-based control interface (P2P) 23 #include "p2p/p2p.h" 47 "Could not find P2P mgmt interface"); 86 "There is no such persistent group in this P2P device."); 100 wpa_printf(MSG_DEBUG, "dbus: Could not find P2P mgmt interface"); 102 "Could not find P2P mgmt interface"); 181 message, "Could not start P2P find"); 247 "Could not start P2P listen"); 519 /* Return an error message or an error if P2P isn't available * 1279 struct p2p_data *p2p = wpa_s->global->p2p; local [all...] |