Lines Matching refs:peer
42 * P2P_PEER_EXPIRATION_AGE - Number of seconds after which inactive peer
95 * peer is the GO, so do not expire the peer entry.
108 * The peer is connected as a client in a group where
109 * we are the GO, so do not expire the peer entry.
116 /* If Connection is in progress, don't expire the peer
122 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Expiring old peer "
237 void p2p_go_neg_failed(struct p2p_data *p2p, struct p2p_device *peer,
251 if (peer) {
252 os_memcpy(res.peer_device_addr, peer->info.p2p_device_addr,
254 os_memcpy(res.peer_interface_addr, peer->intended_addr,
375 * p2p_get_device - Fetch a peer entry
377 * @addr: P2P Device Address of the peer
392 * p2p_get_device_interface - Fetch a peer entry based on P2P Interface Address
394 * @addr: P2P Interface Address of the peer
410 * p2p_create_device - Create a peer entry
412 * @addr: P2P Device Address of the peer
415 * If there is already an entry for the peer, it will be returned instead of
436 "P2P: Remove oldest peer entry to make room for a new "
437 "peer");
627 wpa_printf(MSG_DEBUG, "P2P: Update peer " MACSTR
639 * p2p_add_device - Add peer entries based on scan results or P2P frames
643 * @level: Signal level (signal strength of the received frame from the peer)
652 * to the peer table. This function can also be used with some other frames
688 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Do not add peer "
689 "filter for " MACSTR " due to peer filter",
707 * Update the device entry only if the new peer
712 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Do not update peer "
802 "P2P: Peer found with Listen frequency %d MHz "
817 * events, postpone reporting this peer until we've fully
820 * At least for now, do this only if the peer was detected on
821 * one of the social channels since that peer can be easily be
828 "P2P: Do not report peer " MACSTR " with unknown "
1033 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Peer not "
1319 * @dev: Selected peer device
1325 * Negotiation prior to having received peer information. The selected channel
1326 * may be further optimized in p2p_reselect_channel() once the peer information
1383 "P2P: Request to start group negotiation - peer=" MACSTR
1418 * First, try to connect directly. If the peer does not
1500 "P2P: Request to authorize group negotiation - peer=" MACSTR
1555 "P2P: Unknown peer Listen channel: "
1564 "peer " MACSTR " Listen channel: %u -> %u MHz",
1623 void p2p_go_complete(struct p2p_data *p2p, struct p2p_device *peer)
1626 int go = peer->go_state == LOCAL_GO;
1633 "GO)", MAC2STR(peer->info.p2p_device_addr),
1634 go ? "local end" : "peer");
1638 os_memcpy(res.peer_device_addr, peer->info.p2p_device_addr, ETH_ALEN);
1639 os_memcpy(res.peer_interface_addr, peer->intended_addr, ETH_ALEN);
1640 res.wps_method = peer->wps_method;
1641 if (peer->flags & P2P_DEV_PREFER_PERSISTENT_GROUP) {
1642 if (peer->flags & P2P_DEV_PREFER_PERSISTENT_RECONN)
1657 res.freq = peer->oper_freq;
1664 p2p_channels_intersect(&p2p->channels, &peer->channels,
1675 freq = p2p_channel_to_freq(peer->country, c->reg_class,
1683 res.peer_config_timeout = go ? peer->client_timeout : peer->go_timeout;
1687 peer->go_neg_req_sent = 0;
1688 peer->wps_method = WPS_NOT_READY;
1880 * peer entry based on this frames.
2242 /* Received a Probe Request from GO Negotiation peer */
2244 "P2P: Found GO Negotiation peer - try to start GO "
2255 /* Received a Probe Request from Invite peer */
2257 "P2P: Found Invite peer - try to start Invite from "
2322 struct p2p_device *peer;
2350 peer = bssid ? p2p_get_device(p2p, bssid) : NULL;
2357 p2p_buf_add_device_info(tmp, p2p, peer);
2443 "for " MACSTR " (GO Negotiation peer " MACSTR ")",
2446 return; /* Ignore unexpected peer address */
2614 /* Check if after_scan_tx is for this peer. If so free it */
2775 * There may be a scenario, where a particular peer device have
2779 * we will always continue to send SD requests always to that peer only.
2781 * This implementation keeps track of last serviced peer device.
2838 "P2P: No SD peer entry known");
2843 /* Wait for response from the peer */
2861 * Retry the prov disc req attempt only for the peer that the user had
2931 /* Wait for response from the peer */
3057 "P2P: Peer " MACSTR " did not acknowledge request - "
3075 * Peer is expected to wait our response and we will skip the
3078 * sync with peer not listening.
3131 * often showing failure even when the peer has actually
3132 * received the frame. Since the peer may change channels
3136 * peer did indeed receive the frame, continue regardless of
3141 "received by the peer even though Ack was not "
3324 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Peer expected to "
3378 "P2P: Unknown GO Neg peer - stop GO Neg wait");
3385 "P2P: Timeout on waiting peer to become ready for GO "
3392 "P2P: Go to Listen state while waiting for the peer to become "
3587 "connection attempts by peer " MACSTR, MAC2STR(peer_addr));
3589 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Peer " MACSTR
4236 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Disable peer "
4239 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Enable peer "