Lines Matching defs:peer

36 		tdls_dbg(sdata, "TDLS del peer %pM\n", sdata->u.mgd.tdls_peer);
204 struct sk_buff *skb, const u8 *peer,
213 rsp_addr = peer;
215 init_addr = peer;
366 struct sk_buff *skb, const u8 *peer,
435 /* we should have the peer STA if we're already responding */
437 sta = sta_info_get(sdata, peer);
466 /* the peer caps are already intersected with our own */
477 ieee80211_tdls_add_link_ie(link, skb, peer, initiator);
521 /* the peer caps are already intersected with our own */
593 struct sk_buff *skb, const u8 *peer,
608 sta = sta_info_get(sdata, peer);
629 /* add the QoS param IE if both the peer and we support it */
664 ieee80211_tdls_add_link_ie(link, skb, peer, initiator);
690 struct sk_buff *skb, const u8 *peer,
718 ieee80211_tdls_add_link_ie(link, skb, peer, initiator);
729 struct sk_buff *skb, const u8 *peer,
735 ieee80211_tdls_add_link_ie(link, skb, peer, initiator);
742 struct sk_buff *skb, const u8 *peer,
754 skb, peer,
762 ieee80211_tdls_add_setup_cfm_ies(link, skb, peer,
772 peer, initiator);
775 ieee80211_tdls_add_chan_switch_req_ies(link, skb, peer,
781 ieee80211_tdls_add_chan_switch_resp_ies(link, skb, peer,
793 const u8 *peer, u8 action_code, u8 dialog_token,
801 memcpy(tf->da, peer, ETH_ALEN);
875 const u8 *peer, struct ieee80211_link_data *link,
883 memcpy(mgmt->da, peer, ETH_ALEN);
910 const u8 *peer, int link_id,
966 sdata->dev, link, peer,
972 peer, link, action_code,
984 ieee80211_tdls_add_ies(link, skb, peer, action_code, status_code,
999 const u8 *peer, int link_id,
1013 sta = sta_info_get(sdata, peer);
1058 skb = ieee80211_tdls_build_mgmt_packet_data(sdata, peer,
1090 * Later, if no ACK is returned from peer, we will re-send the teardown
1097 /* If not sending directly to peer - no point in keeping skb */
1099 sta = sta_info_get(sdata, peer);
1137 const u8 *peer, int link_id,
1158 /* we don't support concurrent TDLS peer setups */
1160 !ether_addr_equal(sdata->u.mgd.tdls_peer, peer)) {
1166 * make sure we have a STA representing the peer so we drop or buffer
1167 * non-TDLS-setup frames to the peer. We can't send other packets
1174 if (!sta_info_get(sdata, peer)) {
1183 memcpy(sdata->u.mgd.tdls_peer, peer, ETH_ALEN);
1186 ret = ieee80211_tdls_prep_mgmt_packet(wiphy, dev, peer,
1208 const u8 *peer, int link_id,
1220 * No packets can be transmitted to the peer via the AP during setup -
1221 * the STA is set as a TDLS peer, but is not authorized.
1229 ret = ieee80211_tdls_prep_mgmt_packet(wiphy, dev, peer,
1244 sta = sta_info_get(sdata, peer);
1256 const u8 *peer, int link_id,
1275 ret = ieee80211_tdls_mgmt_setup(wiphy, dev, peer,
1282 ret = ieee80211_tdls_mgmt_teardown(wiphy, dev, peer, link_id,
1299 ret = ieee80211_tdls_prep_mgmt_packet(wiphy, dev, peer,
1312 tdls_dbg(sdata, "TDLS mgmt action %d peer %pM link_id %d status %d\n",
1313 action_code, peer, link_id, ret);
1336 /* if width changed and a peer is given, update its BW */
1348 * if a TDLS peer BW was updated, we need to
1412 const u8 *peer, enum nl80211_tdls_operation oper)
1441 tdls_dbg(sdata, "TDLS oper %d peer %pM\n", oper, peer);
1450 sta = sta_info_get(sdata, peer);
1460 !ether_addr_equal(sdata->u.mgd.tdls_peer, peer));
1477 ret = sta_info_destroy_addr(sdata, peer);
1489 if (ether_addr_equal(sdata->u.mgd.tdls_peer, peer)) {
1501 void ieee80211_tdls_oper_request(struct ieee80211_vif *vif, const u8 *peer,
1513 cfg80211_tdls_oper_request(sdata->dev, peer, oper, reason_code, gfp);
1640 "Invalid TDLS peer %pM for channel switch request\n",
1684 "Invalid TDLS peer %pM for channel switch cancel\n",
1771 tdls_dbg(sdata, "TDLS chan switch from non-peer sta %pM\n",
1948 tdls_dbg(sdata, "TDLS chan switch from non-peer sta %pM\n",
1965 /* peer should have known better */
2054 const u8 *peer, u16 reason)
2059 sta = ieee80211_find_sta(&sdata->vif, peer);
2066 tdls_dbg(sdata, "disconnected from TDLS peer %pM (Reason: %u=%s)\n",
2067 peer, reason,
2070 ieee80211_tdls_oper_request(&sdata->vif, peer,