Lines Matching defs:group
74 * WPS provisioning step or after the re-invocation of a persistent group on a
85 * WPS provisioning has been completed on the GO during group formation.
93 * re-invocation of a persistent group on the GO when the client is expected
570 group where we are the GO */
583 /* Prefer a group with connected clients */
589 /* No group with connected clients, so pick the one without (if any) */
601 /* Find an interface for a P2P group where we are the P2P Client */
614 /* Find a persistent group where we are the GO */
750 * For now, we only will support ownership of one group, and being a
751 * client of one group. Therefore, if we have either an existing GO
752 * group, or an existing client group, we will not do a new GO
812 "P2P: Failed to allocate a new interface for the group");
836 * pending P2P group interface waiting for provisioning or a
837 * P2P group that is trying to reconnect.
848 wpa_printf(MSG_ERROR, "P2P: P2P group interface "
871 "P2P: PSK failure removal was scheduled, so use PSK failure as reason for group removal");
917 wpa_printf(MSG_DEBUG, "P2P: Cancelled P2P group freq_conflict timeout");
919 wpa_printf(MSG_DEBUG, "P2P: Cancelled P2P group idle timeout");
922 wpa_printf(MSG_DEBUG, "P2P: Cancelled P2P group formation "
934 * group has been removed.
942 wpa_printf(MSG_DEBUG, "P2P: Remove group interface %s",
957 * The primary interface was used for P2P group operations, so
977 wpa_printf(MSG_DEBUG, "P2P: Remove temporary group network");
1000 wpa_printf(MSG_DEBUG, "P2P: Temporary group network not "
1042 "group is persistent - BSS " MACSTR " not found",
1053 "group is persistent - BSS " MACSTR
1065 wpa_printf(MSG_DEBUG, "P2P: Checking whether group is persistent: "
1091 "group (GO Dev Addr " MACSTR ")", MAC2STR(go_dev_addr));
1101 wpa_printf(MSG_DEBUG, "P2P: Update existing persistent group "
1109 wpa_printf(MSG_DEBUG, "P2P: Create a new persistent group "
1120 * relevant flags in s to designate it as a persistent group.
1308 * to use the group interface if a new interface was created for the
1309 * group.
1687 wpa_dbg(wpa_s, MSG_DEBUG, "P2P: Add persistent group PSK entry for "
1708 wpa_dbg(wpa_s, MSG_DEBUG, "P2P: Common group frequencies (len=%u):",
1769 wpa_printf(MSG_DEBUG, "P2P: Group setup without provisioning");
1813 "P2P: Start group formation timeout of %d seconds until first data connection on GO",
2050 wpa_printf(MSG_DEBUG, "P2P: Create a new interface %s for the group",
2057 wpa_printf(MSG_ERROR, "P2P: Failed to create new group "
2085 wpa_printf(MSG_DEBUG, "P2P: Removing pending group interface %s",
2102 wpa_printf(MSG_ERROR, "P2P: No pending group interface");
2148 wpa_printf(MSG_DEBUG, "P2P: Group Formation timed out");
2166 wpa_printf(MSG_DEBUG, "P2P: Reject group formation due to WPS provisioning failure");
2179 /* Speed up group formation timeout since this cannot succeed */
2236 "on requested persistent group");
2576 struct wpa_supplicant *group = NULL;
2580 for (group = wpa_s->global->ifaces; group; group = group->next)
2582 struct wpa_ssid *s = group->current_ssid;
2603 group ? " group=" : "",
2604 group ? group->ifname : "");
2642 "join-existing-group operation");
2700 "join-existing-group operation (no ACK for PD "
2752 "P2P: Failed to get group common freqs");
2863 " to join an active group (SSID: %s)",
2898 "running persistent group");
2907 "invitation to re-invoke a persistent group");
2922 " requested reinvocation of an unknown group",
2945 "interface address for the group");
3092 wpa_printf(MSG_DEBUG, "P2P: Remove persistent group %d "
3102 "group %d client list%s",
3122 return; /* No known invitation group */
3126 return; /* Not operating as a GO in persistent group */
3162 * Invitation to an active group. If this is successful and we
3207 wpa_printf(MSG_ERROR, "P2P: Could not find persistent group "
3217 * the persistent group so that we will remain on the current channel to
3221 "starting persistent group");
3233 wpa_printf(MSG_DEBUG, "P2P: Persistent group invitation success - op_freq=%d MHz SSID=%s",
3786 wpa_dbg(wpa_s, MSG_DEBUG, "P2P: No group interface was waiting for presence response");
3842 * persistent group and set group_iface to 1, so the caller will know
3888 /* Remove stale persistent group */
4036 "P2P: Peer device is a GO in a persistent group, but it did not provide the intended MAC address");
4050 /* Remove stale persistent group */
4106 * it will be overwritten when the group is added.
4499 /* TODO: remove group interface from the driver if this wpa_s instance
4500 * is on top of a P2P group interface */
4518 /* Remove remaining P2P group interfaces */
4530 /* Disconnect from the P2P group and deinit the interface */
4556 return 1; /* P2P group requires a new interface in every case
4787 "try to join the group", join ? "" :
4868 "prior to joining an existing group (GO " MACSTR
4896 * joining the group. Proceed directly to join
4912 "existing group");
5034 wpa_printf(MSG_DEBUG, "P2P: Request to join existing group (iface "
5039 wpa_printf(MSG_DEBUG, "P2P: Group SSID specified: %s",
5061 struct wpa_supplicant *group;
5065 group = wpas_p2p_get_group_iface(wpa_s, 0, 0);
5066 if (group == NULL)
5068 if (group != wpa_s) {
5069 os_memcpy(group->p2p_pin, wpa_s->p2p_pin,
5070 sizeof(group->p2p_pin));
5071 group->p2p_wps_method = wpa_s->p2p_wps_method;
5075 * when a separate group interface is not used. This is needed
5078 * where a separate group interface is used.
5083 group->p2p_in_provisioning = 1;
5084 group->p2p_fallback_to_go_neg = wpa_s->p2p_fallback_to_go_neg;
5125 wpas_start_wps_enrollee(group, &res);
5128 * Allow a longer timeout for join-a-running-group than normal 15
5129 * second group formation timeout since the GO may not have authorized
5202 wpa_printf(MSG_DEBUG, "P2P: Cannot start P2P group on %u MHz as there are no available channels",
5273 "P2P: All channels are in use and none of them are P2P enabled. Cannot start P2P group");
5287 * wpas_p2p_connect - Request P2P Group Formation to be started
5291 * @persistent_group: Whether to create a persistent group
5293 * @join: Whether to join an existing group (as a client) instead of starting
5294 * Group Owner negotiation; @peer_addr is BSSID in that case
5296 * initiating Group Owner negotiation
5298 * @freq: Frequency for the group or 0 for auto-selection
5300 * @persistent_id: Persistent group credentials to use for forcing GO
5303 * interoperability workaround when initiating group formation
5308 * @group_ssid: Specific Group SSID for join or %NULL if not set
5383 "connect a running group from " MACSTR,
5423 /* Prepare to add a new interface for the group */
5429 "interface for the group");
5540 * wpas_p2p_group_remove - Remove a P2P group
5542 * @ifname: Network interface name of the group interface or "*" to remove all
5546 * This function is used to remove a P2P group. This can be used to disconnect
5547 * from a group in which the local end is a P2P Client or to end a P2P Group in
5548 * case the local end is the Group Owner. If a virtual network interface was
5549 * created for this group, that interface will be removed. Otherwise, only the
5550 * configured P2P group network will be removed from the interface.
5650 "5 GHz channel for P2P group");
5946 /* Try using one of the group common freqs */
5987 * cannot be used for group operations, so always use
5994 "P2P: Use primary interface for group operations");
6004 "P2P: Failed to add group interface");
6010 "P2P: Failed to initialize group interface");
6015 wpa_dbg(wpa_s, MSG_DEBUG, "P2P: Use separate group interface %s",
6023 * wpas_p2p_group_add - Add a new P2P group with local end as Group Owner
6025 * @persistent_group: Whether to create a persistent group
6026 * @freq: Frequency for the group or 0 to indicate no hardcoding
6033 * This function creates a new P2P group with the local end as the Group Owner,
6034 * i.e., without using Group Owner Negotiation.
6165 wpa_printf(MSG_DEBUG, "P2P: Requested persistent group is "
6172 * and the peer (GO of a persistent group) tries to
6179 "P2P: Reschedule group formation timeout since peer is still trying to invite us");
6239 "persistent group");
6292 wpa_printf(MSG_DEBUG, "P2P: GO - group %sidle", idle ? "" : "not ");
6308 struct p2p_group *group;
6337 group = p2p_group_init(wpa_s->global->p2p, cfg);
6338 if (group == NULL)
6341 p2p_group_notif_formation_done(group);
6342 wpa_s->p2p_group = group;
6343 return group;
6373 * complete to allow the group to be removed automatically if
6374 * something goes wrong in this step before the P2P group idle
6378 "P2P: Re-start group formation timeout (%d seconds) as client for initial connection",
6383 /* Complete group formation on successful data connection. */
6388 * complete to allow the group to be removed automatically if
6392 "P2P: Re-start group formation timeout (%d seconds) as GO for initial connection",
6398 * Complete group formation on first successful data connection
6428 * complete, but remove the group since group formation cannot
6431 wpa_printf(MSG_DEBUG, "P2P: WPS step failed during group formation - reject connection from timeout");
6764 /* Invite to reinvoke a persistent group */
6800 "group");
6847 /* Invite to join an active group */
6897 "invite to current group");
6948 "P2P: Marking group formation completed on client on data connection");
7050 wpa_printf(MSG_DEBUG, "P2P: Ignore group idle timeout - "
7055 wpa_printf(MSG_DEBUG, "P2P: Group idle timeout reached - terminate "
7056 "group");
7066 wpa_printf(MSG_DEBUG, "P2P: Cancelled P2P group idle timeout");
7088 * Use the normal group formation timeout during the
7090 * early due to group idle timeout.
7092 wpa_printf(MSG_DEBUG, "P2P: Do not use P2P group idle timeout "
7099 * Use the normal group formation timeout between the end of
7101 * avoid terminating this process too early due to group idle
7104 wpa_printf(MSG_DEBUG, "P2P: Do not use P2P group idle timeout "
7110 wpa_printf(MSG_DEBUG, "P2P: Set P2P group idle timeout to %u seconds",
7133 wpa_printf(MSG_DEBUG, "P2P: GO indicated that the P2P Group "
7394 wpa_printf(MSG_DEBUG, "P2P: Cancelled P2P group idle timeout");
7525 wpa_printf(MSG_DEBUG, "P2P: Request to cancel group formation");
7558 wpa_printf(MSG_DEBUG, "P2P: Interface %s in group "
7581 wpa_printf(MSG_DEBUG, "P2P: No ongoing group formation found");
7594 wpa_printf(MSG_DEBUG, "P2P: Remove group due to driver resource not "
7626 * wpas_p2p_disconnect - Disconnect from a P2P Group
7630 * This can be used to disconnect from a group in which the local end is a P2P
7631 * Client or to end a P2P Group in case the local end is the Group Owner. If a
7632 * virtual network interface was created for this group, that interface will be
7633 * removed. Otherwise, only the configured P2P group network will be removed
7658 * other parts of group formation) on another interface since
7665 "in group formation",
7679 wpa_dbg(wpa_s, MSG_DEBUG, "P2P: Waiting for initial client connection during group formation");
7695 * Remove the network by scheduling the group formation
7702 wpa_printf(MSG_DEBUG, "P2P: Canceled group formation due to "
7703 "P2P group network getting removed");
7730 return s; /* peer is GO in the persistent group */
7737 * group */
7753 * peer was able to connect, there is no need to time out group
7759 wpa_printf(MSG_DEBUG, "P2P: Canceled P2P group formation timeout on data connection");
7764 * GO has not yet notified group formation success since
7776 wpa_dbg(wpa_s, MSG_DEBUG, "P2P: Marking group formation completed on GO on first data connection");
7792 struct wpa_supplicant *group = wpa_s;
7796 group = wpa_s->global->p2p_group_formation;
7800 ret = wpas_p2p_group_delete(group, P2P_GROUP_REMOVAL_SILENT);
7877 "P2P: Remove persistent group PSK list entry for "
7913 wpa_dbg(wpa_s, MSG_DEBUG, "P2P: new_psk_cb during group formation");
7914 /* To be added to persistent group once created */
7940 wpa_dbg(wpa_s, MSG_DEBUG, "P2P: Could not find persistent group information to store the new PSK");
8017 wpa_dbg(wpa_s, MSG_DEBUG, "P2P: Remove operating group PSK entry for "
8033 /* Disconnect from group */
8040 " (iface_addr=%d) from group",
8058 /* Remove from any persistent group */
8067 /* Remove from any operating group */
8084 wpa_printf(MSG_DEBUG, "P2P: Frequency conflict - terminate group");
8152 wpa_dbg(wpa_s, MSG_DEBUG, "P2P: Could not determine whether 4-way handshake failures were for a persistent group");
8156 wpa_dbg(wpa_s, MSG_DEBUG, "P2P: Two 4-way handshake failures for a P2P group - go_dev_addr="
8162 wpa_dbg(wpa_s, MSG_DEBUG, "P2P: No matching persistent group stored");
8171 * Remove the group from a timeout to avoid issues with caller
8172 * continuing to use the interface if this is on a P2P group
8327 wpa_printf(MSG_DEBUG, "P2P: Initiate join-group based on NFC "
8357 wpa_printf(MSG_DEBUG, "P2P: Authorize join-group based on NFC "
8711 * P2P Group Interface present and the command came on group
8721 /* Prepare to add a new interface for the group */
8727 "interface for the group");
8934 * P2P Clients in the group that the group is terminated. */