Lines Matching full:peer
47 * P2P_PEER_EXPIRATION_AGE - Number of seconds after which inactive peer
63 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Expiring old peer "
141 void p2p_go_neg_failed(struct p2p_data *p2p, struct p2p_device *peer,
151 if (peer) {
152 os_memcpy(res.peer_device_addr, peer->info.p2p_device_addr,
154 os_memcpy(res.peer_interface_addr, peer->intended_addr,
256 * p2p_get_device - Fetch a peer entry
258 * @addr: P2P Device Address of the peer
273 * p2p_get_device_interface - Fetch a peer entry based on P2P Interface Address
275 * @addr: P2P Interface Address of the peer
291 * p2p_create_device - Create a peer entry
293 * @addr: P2P Device Address of the peer
296 * If there is already an entry for the peer, it will be returned instead of
317 "P2P: Remove oldest peer entry to make room for a new "
318 "peer");
484 * p2p_add_device - Add peer entries based on scan results
488 * @level: Signal level (signal strength of the received frame from the peer)
495 * to the peer table. This function can also be used with some other frames
529 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Do not add peer "
530 "filter for " MACSTR " due to peer filter",
614 "P2P: Peer found with Listen frequency %d MHz", freq);
730 * Only scan the known listen frequency of the peer
741 * Only scan the known listen frequency of the peer
825 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Peer not "
1038 "P2P: Request to start group negotiation - peer=" MACSTR
1073 * First, try to connect directly. If the peer does not
1138 "P2P: Request to authorize group negotiation - peer=" MACSTR
1192 "P2P: Unknown peer Listen channel: "
1201 "peer " MACSTR " Listen channel: %u -> %u MHz",
1255 void p2p_go_complete(struct p2p_data *p2p, struct p2p_device *peer)
1258 int go = peer->go_state == LOCAL_GO;
1265 "GO)", MAC2STR(peer->info.p2p_device_addr),
1266 go ? "local end" : "peer");
1270 os_memcpy(res.peer_device_addr, peer->info.p2p_device_addr, ETH_ALEN);
1271 os_memcpy(res.peer_interface_addr, peer->intended_addr, ETH_ALEN);
1272 res.wps_method = peer->wps_method;
1273 if (peer->flags & P2P_DEV_PREFER_PERSISTENT_GROUP)
1285 res.freq = peer->oper_freq;
1292 p2p_channels_intersect(&p2p->channels, &peer->channels,
1303 freq = p2p_channel_to_freq(peer->country, c->reg_class,
1311 res.peer_config_timeout = go ? peer->client_timeout : peer->go_timeout;
1314 peer->go_neg_req_sent = 0;
1315 peer->wps_method = WPS_NOT_READY;
1507 * peer entry based on this frames.
1773 /* Received a Probe Request from GO Negotiation peer */
1775 "P2P: Found GO Negotiation peer - try to start GO "
1785 /* Received a Probe Request from Invite peer */
1787 "P2P: Found Invite peer - try to start Invite from "
1852 struct p2p_device *peer;
1869 peer = bssid ? p2p_get_device(p2p, bssid) : NULL;
1876 p2p_buf_add_device_info(tmp, p2p, peer);
1928 "for " MACSTR " (GO Negotiation peer " MACSTR ")",
1931 return; /* Ignore unexpected peer address */
2060 /* Check if after_scan_tx is for this peer. If so free it */
2255 "P2P: No SD peer entry known");
2260 /* Wait for response from the peer */
2278 * Retry the prov disc req attempt only for the peer that the user had
2340 /* Wait for response from the peer */
2356 "P2P: Found GO Negotiation peer - try to start GO "
2430 "P2P: Peer " MACSTR " did not acknowledge request - "
2491 * often showing failure even when the peer has actually
2492 * received the frame. Since the peer may change channels
2496 * peer did indeed receive the frame, continue regardless of
2501 "received by the peer even though Ack was not "
2680 * the GO Nego req from the peer.
2695 "P2P: Unknown GO Neg peer - stop GO Neg wait");
2702 "P2P: Timeout on waiting peer to become ready for GO "
2709 "P2P: Go to Listen state while waiting for the peer to become "
2875 "connection attempts by peer " MACSTR, MAC2STR(peer_addr));
2877 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Peer " MACSTR
3493 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Disable peer "
3496 wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Enable peer "