Home | History | Annotate | Download | only in p2p

Lines Matching refs:peer

52 	wpa_hexdump_ascii(MSG_DEBUG, "P2P: Peer country", pos, 3);
54 p2p_info(p2p, "Mismatching country (ours=%c%c peer's=%c%c)",
66 p2p_info(p2p, "Invalid peer Channel List");
79 p2p_dbg(p2p, "Own reg_classes %d peer reg_classes %d intersection reg_classes %d",
138 struct p2p_device *peer)
158 p2p_buf_add_public_action_hdr(buf, P2P_GO_NEG_REQ, peer->dialog_token);
162 if (peer->flags & P2P_DEV_PREFER_PERSISTENT_GROUP) {
164 if (peer->flags & P2P_DEV_PREFER_PERSISTENT_RECONN)
174 p2p_buf_add_go_intent(buf, (p2p->go_intent << 1) | peer->tie_breaker);
183 p2p_buf_add_device_info(buf, p2p, peer);
192 pw_id = p2p_wps_method_pw_id(peer->wps_method);
193 if (peer->oob_pw_id)
194 pw_id = peer->oob_pw_id;
240 p2p_dbg(p2p, "No Listen/Operating frequency known for the peer "
272 struct p2p_device *peer,
301 if (peer && peer->go_state == LOCAL_GO) {
302 if (peer->flags & P2P_DEV_PREFER_PERSISTENT_GROUP) {
304 if (peer->flags & P2P_DEV_PREFER_PERSISTENT_RECONN)
323 } else if (peer && peer->go_state == REMOTE_GO && !p2p->num_pref_freq) {
331 if (status || peer == NULL) {
334 } else if (peer->go_state == REMOTE_GO) {
339 p2p_channels_intersect(&p2p->channels, &peer->channels,
343 p2p_buf_add_device_info(buf, p2p, peer);
344 if (peer && peer->go_state == LOCAL_GO) {
351 pw_id = p2p_wps_method_pw_id(peer ? peer->wps_method : WPS_NOT_READY);
352 if (peer && peer->oob_pw_id)
353 pw_id = peer->oob_pw_id;
373 * p2p_reselect_channel - Re-select operating channel based on peer information
375 * @intersection: Support channel list intersection from local and peer
378 * information from the peer to allow supported channel lists to be intersected.
444 /* Select channel with highest preference if the peer supports it */
511 p2p_channels_dump(p2p, "peer channels", &dev->channels);
530 p2p_dbg(p2p, "Peer does not support the forced channel");
534 p2p_dbg(p2p, "Selected operating channel (op_class %u channel %u) not acceptable to the peer",
539 p2p_dbg(p2p, "Try to optimize channel selection with peer information received; previously selected op_class %u channel %u",
563 "Peer didn't provide a preferred frequency list, see if any of our preferred channels are supported by peer device");
567 * also supported by the peer device.
570 /* Make sure that the common frequency is supported by peer. */
591 "Freq %d MHz is a preferred channel and is also supported by peer, use it as the operating channel",
595 "None of our preferred channels are supported by peer!");
610 * Peer device supports a Preferred Frequency List.
612 * of both peer and local devices.
635 "Freq %d MHz is a common preferred channel for both peer and local, use it as operating channel",
701 * Check if peer's preference of operating channel is in
710 /* Peer operating channel preference matches our preference */
719 "Peer operating channel preference: %d MHz is not in our preferred channel list",
723 Check if peer's preferred channel list is
834 * This may happen if the peer entry was added based on PD
836 * from this peer (or that information has timed out).
838 p2p_dbg(p2p, "Update peer " MACSTR
848 p2p_dbg(p2p, "User has rejected this peer");
863 p2p_dbg(p2p, "Already in Group Formation with another peer");
869 p2p_dbg(p2p, "Starting GO Negotiation with previously authorized peer");
895 p2p_dbg(p2p, "Do not reply since peer has higher address and GO Neg Request already sent");
903 "Do not reply since peer is waiting for us to start a new GO Negotiation and GO Neg Request already sent");
924 p2p_dbg(p2p, "PIN from peer Display");
933 p2p_dbg(p2p, "Peer entered PIN on Keypad");
942 p2p_dbg(p2p, "Peer using pushbutton");
951 p2p_dbg(p2p, "Peer using P2PS pin");
963 p2p_dbg(p2p, "Peer using NFC");
995 p2p_dbg(p2p, "Peer operating channel preference: %d MHz",
1045 * Peer has smaller address, so the GO Negotiation
1048 * the peer if it happens to be received after this
1068 peer,
1097 if (peer->go_state == LOCAL_GO) {
1098 if (peer->flags & P2P_DEV_PREFER_PERSISTENT_GROUP) {
1100 if (peer->flags & P2P_DEV_PREFER_PERSISTENT_RECONN)
1119 p2p_channels_intersect(&p2p->channels, &peer->channels, &res);
1184 p2p_dbg(p2p, "Wait for the peer to become ready for GO Negotiation");
1297 p2p_dbg(p2p, "Peer operating channel preference: %d MHz",
1304 p2p_dbg(p2p, "PIN from peer Display");
1313 p2p_dbg(p2p, "Peer entered PIN on Keypad");
1322 p2p_dbg(p2p, "Peer using pushbutton");
1331 p2p_dbg(p2p, "P2P: Peer using P2PS default pin");
1342 p2p_dbg(p2p, "Peer using NFC");
1484 p2p_dbg(p2p, "Updated peer (GO) operating channel preference from %d MHz to %d MHz",
1510 * The peer could have missed our ctrl::ack frame for GO Negotiation
1512 * likelihood of the peer not getting successful TX status for the
1515 * acknowledge any possible retransmission from the peer.