Lines Matching refs:peer
721 * Peer has an active GO, so if the role allows it and
738 * more than one peer.
1638 wpa_printf(MSG_DEBUG, "P2P: Start WPS Enrollee for peer " MACSTR
2556 const u8 *peer, const char *params,
2560 " %08d%s", MAC2STR(peer), generated_pin, params);
2565 const u8 *peer, const char *params)
2568 "%s", MAC2STR(peer), params);
2572 static void wpas_prov_disc_req(void *ctx, const u8 *peer, u16 config_methods,
2620 wpa_s, peer, 0 /* response */,
2624 wpas_prov_disc_local_display(wpa_s, peer, params,
2627 wpas_prov_disc_local_keypad(wpa_s, peer, params);
2630 MACSTR "%s", MAC2STR(peer), params);
2632 wpas_notify_p2p_provision_discovery(wpa_s, peer, 1 /* request */,
2638 static void wpas_prov_disc_resp(void *ctx, const u8 *peer, u16 config_methods)
2645 (os_memcmp(peer, wpa_s->pending_join_dev_addr, ETH_ALEN) == 0 ||
2646 os_memcmp(peer, wpa_s->pending_join_iface_addr, ETH_ALEN) == 0)) {
2666 wpas_prov_disc_local_keypad(wpa_s, peer, params);
2671 wpa_s, peer, 0 /* response */,
2675 wpas_prov_disc_local_display(wpa_s, peer, params,
2679 MACSTR "%s", MAC2STR(peer), params);
2681 wpas_notify_p2p_provision_discovery(wpa_s, peer, 0 /* response */,
2687 static void wpas_prov_disc_fail(void *ctx, const u8 *peer,
2717 MAC2STR(peer), status, adv_id,
2722 MAC2STR(peer), status, adv_id);
2726 MAC2STR(peer), status);
2729 wpas_notify_p2p_provision_discovery(wpa_s, peer, 0 /* response */,
2988 wpa_printf(MSG_DEBUG, "P2P: Peer was found to be "
3023 wpa_printf(MSG_DEBUG, "P2P: Invitation from peer " MACSTR
3061 wpa_printf(MSG_DEBUG, "P2P: Invitation from peer " MACSTR
3102 const u8 *peer, int inv)
3111 if (os_memcmp(ssid->p2p_client_list + i * 2 * ETH_ALEN, peer,
3117 os_memcmp(ssid->bssid, peer, ETH_ALEN) == 0) {
3124 return; /* Peer not found in client list */
3127 wpa_printf(MSG_DEBUG, "P2P: Remove peer " MACSTR " from persistent "
3129 MAC2STR(peer), ssid->id,
3142 const u8 *peer)
3153 ssid = wpas_p2p_get_persistent(wpa_s->p2pdev, peer,
3155 wpas_remove_persistent_peer(wpa_s, ssid, peer, 1);
3161 const u8 *peer, int neg_freq,
3178 wpa_printf(MSG_DEBUG, "P2P: Invitation result - status=%d peer=" MACSTR,
3179 status, MAC2STR(peer));
3185 wpas_remove_persistent_client(wpa_s, peer);
3215 wpa_printf(MSG_DEBUG, "P2P: Waiting for peer to start another "
3224 wpas_remove_persistent_peer(wpa_s, ssid, peer, 1);
3239 * The peer could have missed our ctrl::ack frame for Invitation
3241 * likelihood of the peer not getting successful TX status for the
3244 * acknowledge any possible retransmission from the peer.
3894 static int wpas_remove_stale_groups(void *ctx, const u8 *peer, const u8 *go,
3903 while ((s = wpas_p2p_get_persistent(wpa_s, peer, NULL, 0))) {
3919 peer, ETH_ALEN) != 0)
4058 "P2P: Peer device is a GO in a persistent group, but it did not provide the intended MAC address");
4708 wpa_printf(MSG_DEBUG, "P2P: Peer BSS entry not updated in the "
4715 wpa_printf(MSG_DEBUG, "P2P: Current BSS entry for peer updated at "
4754 "the peer " MACSTR " at %d MHz",
4788 wpa_printf(MSG_DEBUG, "P2P: Peer was not found to be "
4792 "reason=peer-not-running-GO");
4808 wpa_printf(MSG_DEBUG, "P2P: Peer was found running GO%s -> "
4828 " based on newly discovered P2P peer entry",
4839 "from P2P peer table: %d MHz", freq);
5320 * @peer_addr: Address of the peer P2P Device
5987 "P2P: Use freq %d MHz common with the peer",
6206 * and the peer (GO of a persistent group) tries to
6209 * since we now know that the peer is still trying to
6213 "P2P: Reschedule group formation timeout since peer is still trying to invite us");
6832 wpa_printf(MSG_DEBUG, "P2P: Missing peer "
7559 const u8 *peer;
7570 peer = p2p_get_go_neg_peer(global->p2p);
7571 if (peer) {
7572 wpa_printf(MSG_DEBUG, "P2P: Unauthorize pending GO Neg peer "
7573 MACSTR, MAC2STR(peer));
7574 p2p_unauthorize(global->p2p, peer);
7651 u8 peer[ETH_ALEN];
7657 if (hwaddr_aton(addr, peer))
7660 return p2p_unauthorize(p2p, peer);
7769 return s; /* peer is GO in the persistent group */
7775 return s; /* peer is P2P client in persistent
7792 * peer was able to connect, there is no need to time out group
7863 return 0; /* peer operating as a GO */
8038 const u8 *peer, int iface_addr)
8053 if ((iface_addr && os_memcmp(peer, psk->addr, ETH_ALEN) == 0) ||
8055 os_memcmp(peer, psk->p2p_dev_addr, ETH_ALEN) == 0)) {
8058 MAC2STR(peer), iface_addr);
8074 sta = ap_get_sta(hapd, peer);
8076 sta = ap_get_sta_p2p(hapd, peer);
8078 wpa_dbg(wpa_s, MSG_DEBUG, "P2P: Disconnect peer " MACSTR
8080 MAC2STR(peer), iface_addr);
8088 void wpas_p2p_remove_client(struct wpa_supplicant *wpa_s, const u8 *peer,
8095 wpa_dbg(wpa_s, MSG_DEBUG, "P2P: Remove client " MACSTR, MAC2STR(peer));
8102 wpas_remove_persistent_peer(p2p_wpa_s, s, peer, 0);
8103 wpas_p2p_remove_psk(p2p_wpa_s, s, peer, iface_addr);
8108 wpas_p2p_remove_client_go(w, peer, iface_addr);
8381 return wpas_p2p_connect(wpa_s, params->peer->p2p_device_addr, NULL,
8428 wpa_printf(MSG_DEBUG, "P2P: Negotiated handover - wait for peer to join without invitation");
8432 if (!params->peer ||
8433 !(params->peer->dev_capab & P2P_DEV_CAPAB_INVITATION_PROCEDURE))
8436 wpa_printf(MSG_DEBUG, "P2P: Static handover - invite peer " MACSTR
8437 " to join", MAC2STR(params->peer->p2p_device_addr));
8442 params->peer->p2p_device_addr,
8446 return p2p_invite(wpa_s->global->p2p, params->peer->p2p_device_addr,
8460 return wpas_p2p_connect(wpa_s, params->peer->p2p_device_addr, NULL,
8476 res = wpas_p2p_connect(wpa_s, params->peer->p2p_device_addr, NULL,
8487 params->peer->p2p_device_addr);
8561 wpa_msg(wpa_s, MSG_INFO, P2P_EVENT_NFC_BOTH_GO "peer=" MACSTR,
8562 MAC2STR(params.peer->p2p_device_addr));
8569 "peer=" MACSTR " freq=%d go_dev_addr=" MACSTR
8571 MAC2STR(params.peer->p2p_device_addr),
8578 "peer=" MACSTR " freq=%d",
8579 MAC2STR(params.peer->p2p_device_addr),
8586 wpa_msg(wpa_s, MSG_INFO, P2P_EVENT_NFC_WHILE_CLIENT "peer="
8587 MACSTR, MAC2STR(params.peer->p2p_device_addr));
8595 wpa_printf(MSG_DEBUG, "P2P: No peer OOB Dev Pw "
8601 wpa_printf(MSG_DEBUG, "P2P: Peer OOB Dev Pw %u", id);
8602 wpa_hexdump(MSG_DEBUG, "P2P: Peer OOB Public Key hash",
8611 "peer OOB Device Password Id %u", id);
8614 wpa_printf(MSG_DEBUG, "P2P: Static handover - use peer OOB "
8616 wpa_hexdump_key(MSG_DEBUG, "P2P: Peer OOB Device Password",