• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/wpa/src/p2p/

Lines Matching defs:peer

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);
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!");
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",
703 * Check if peer's preference of operating channel is in
725 Check if peer's preferred channel list is
836 * This may happen if the peer entry was added based on PD
838 * from this peer (or that information has timed out).
840 p2p_dbg(p2p, "Update peer " MACSTR
850 p2p_dbg(p2p, "User has rejected this peer");
865 p2p_dbg(p2p, "Already in Group Formation with another peer");
871 p2p_dbg(p2p, "Starting GO Negotiation with previously authorized peer");
897 p2p_dbg(p2p, "Do not reply since peer has higher address and GO Neg Request already sent");
905 "Do not reply since peer is waiting for us to start a new GO Negotiation and GO Neg Request already sent");
926 p2p_dbg(p2p, "PIN from peer Display");
1050 * the peer if it happens to be received after this
1070 struct p2p_device *peer,
1099 if (peer->go_state == LOCAL_GO) {
1100 if (peer->flags & P2P_DEV_PREFER_PERSISTENT_GROUP) {
1102 if (peer->flags & P2P_DEV_PREFER_PERSISTENT_RECONN)
1121 p2p_channels_intersect(&p2p->channels, &peer->channels, &res);
1186 p2p_dbg(p2p, "Wait for the peer to become ready for GO Negotiation");
1306 p2p_dbg(p2p, "PIN from peer Display");
1486 p2p_dbg(p2p, "Updated peer (GO) operating channel preference from %d MHz to %d MHz",
1512 * The peer could have missed our ctrl::ack frame for GO Negotiation
1514 * likelihood of the peer not getting successful TX status for the
1517 * acknowledge any possible retransmission from the peer.