Home | History | Annotate | Download | only in p2p

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_ERROR, "P2P: Expiring old peer "
235 void p2p_go_neg_failed(struct p2p_data *p2p, struct p2p_device *peer,
247 if (peer) {
248 os_memcpy(res.peer_device_addr, peer->info.p2p_device_addr,
250 os_memcpy(res.peer_interface_addr, peer->intended_addr,
358 * p2p_get_device - Fetch a peer entry
360 * @addr: P2P Device Address of the peer
375 * p2p_get_device_interface - Fetch a peer entry based on P2P Interface Address
377 * @addr: P2P Interface Address of the peer
393 * p2p_create_device - Create a peer entry
395 * @addr: P2P Device Address of the peer
398 * If there is already an entry for the peer, it will be returned instead of
419 "P2P: Remove oldest peer entry to make room for a new "
420 "peer");
593 * p2p_add_device - Add peer entries based on scan results
597 * @level: Signal level (signal strength of the received frame from the peer)
604 * to the peer table. This function can also be used with some other frames
638 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Do not add peer "
639 "filter for " MACSTR " due to peer filter",
718 "P2P: Peer found with Listen frequency %d MHz", freq);
835 * Only scan the known listen frequency of the peer
846 * Only scan the known listen frequency of the peer
937 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Peer not "
1225 "P2P: Request to start group negotiation - peer=" MACSTR
1261 * First, try to connect directly. If the peer does not
1323 "P2P: Request to authorize group negotiation - peer=" MACSTR
1374 "P2P: Unknown peer Listen channel: "
1383 "peer " MACSTR " Listen channel: %u -> %u MHz",
1437 void p2p_go_complete(struct p2p_data *p2p, struct p2p_device *peer)
1440 int go = peer->go_state == LOCAL_GO;
1447 "GO)", MAC2STR(peer->info.p2p_device_addr),
1448 go ? "local end" : "peer");
1452 os_memcpy(res.peer_device_addr, peer->info.p2p_device_addr, ETH_ALEN);
1453 os_memcpy(res.peer_interface_addr, peer->intended_addr, ETH_ALEN);
1454 res.wps_method = peer->wps_method;
1455 if (peer->flags & P2P_DEV_PREFER_PERSISTENT_GROUP) {
1456 if (peer->flags & P2P_DEV_PREFER_PERSISTENT_RECONN)
1471 res.freq = peer->oper_freq;
1478 p2p_channels_intersect(&p2p->channels, &peer->channels,
1489 freq = p2p_channel_to_freq(peer->country, c->reg_class,
1497 res.peer_config_timeout = go ? peer->client_timeout : peer->go_timeout;
1501 peer->go_neg_req_sent = 0;
1502 peer->wps_method = WPS_NOT_READY;
1694 * peer entry based on this frames.
2025 /* Received a Probe Request from GO Negotiation peer */
2027 "P2P: Found GO Negotiation peer - try to start GO "
2037 /* Received a Probe Request from Invite peer */
2039 "P2P: Found Invite peer - try to start Invite from "
2104 struct p2p_device *peer;
2121 peer = bssid ? p2p_get_device(p2p, bssid) : NULL;
2128 p2p_buf_add_device_info(tmp, p2p, peer);
2206 "for " MACSTR " (GO Negotiation peer " MACSTR ")",
2209 return; /* Ignore unexpected peer address */
2355 /* Check if after_scan_tx is for this peer. If so free it */
2516 * There may be a scenario, where a particular peer device have
2520 * we will always continue to send SD requests always to that peer only.
2522 * This implementation keeps track of last serviced peer device.
2579 "P2P: No SD peer entry known");
2584 /* Wait for response from the peer */
2602 * Retry the prov disc req attempt only for the peer that the user had
2664 /* Wait for response from the peer */
2680 "P2P: Found GO Negotiation peer - try to start GO "
2769 "P2P: Peer " MACSTR " did not acknowledge request - "
2830 * often showing failure even when the peer has actually
2831 * received the frame. Since the peer may change channels
2835 * peer did indeed receive the frame, continue regardless of
2840 "received by the peer even though Ack was not "
3040 "P2P: Unknown GO Neg peer - stop GO Neg wait");
3047 "P2P: Timeout on waiting peer to become ready for GO "
3054 "P2P: Go to Listen state while waiting for the peer to become "
3222 "connection attempts by peer " MACSTR, MAC2STR(peer_addr));
3224 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Peer " MACSTR
3831 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Disable peer "
3834 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Enable peer "