Lines Matching refs:peer
204 struct sk_buff *skb, const u8 *peer, in ieee80211_tdls_add_link_ie() argument
213 rsp_addr = peer; in ieee80211_tdls_add_link_ie()
215 init_addr = peer; in ieee80211_tdls_add_link_ie()
366 struct sk_buff *skb, const u8 *peer, in ieee80211_tdls_add_setup_start_ies() argument
437 sta = sta_info_get(sdata, peer); in ieee80211_tdls_add_setup_start_ies()
477 ieee80211_tdls_add_link_ie(link, skb, peer, initiator); in ieee80211_tdls_add_setup_start_ies()
620 struct sk_buff *skb, const u8 *peer, in ieee80211_tdls_add_setup_cfm_ies() argument
635 sta = sta_info_get(sdata, peer); in ieee80211_tdls_add_setup_cfm_ies()
691 ieee80211_tdls_add_link_ie(link, skb, peer, initiator); in ieee80211_tdls_add_setup_cfm_ies()
717 struct sk_buff *skb, const u8 *peer, in ieee80211_tdls_add_chan_switch_req_ies() argument
745 ieee80211_tdls_add_link_ie(link, skb, peer, initiator); in ieee80211_tdls_add_chan_switch_req_ies()
756 struct sk_buff *skb, const u8 *peer, in ieee80211_tdls_add_chan_switch_resp_ies() argument
762 ieee80211_tdls_add_link_ie(link, skb, peer, initiator); in ieee80211_tdls_add_chan_switch_resp_ies()
769 struct sk_buff *skb, const u8 *peer, in ieee80211_tdls_add_ies() argument
781 skb, peer, in ieee80211_tdls_add_ies()
789 ieee80211_tdls_add_setup_cfm_ies(link, skb, peer, in ieee80211_tdls_add_ies()
799 peer, initiator); in ieee80211_tdls_add_ies()
802 ieee80211_tdls_add_chan_switch_req_ies(link, skb, peer, in ieee80211_tdls_add_ies()
808 ieee80211_tdls_add_chan_switch_resp_ies(link, skb, peer, in ieee80211_tdls_add_ies()
820 const u8 *peer, u8 action_code, u8 dialog_token, in ieee80211_prep_tdls_encap_data() argument
828 memcpy(tf->da, peer, ETH_ALEN); in ieee80211_prep_tdls_encap_data()
902 const u8 *peer, struct ieee80211_link_data *link, in ieee80211_prep_tdls_direct() argument
910 memcpy(mgmt->da, peer, ETH_ALEN); in ieee80211_prep_tdls_direct()
937 const u8 *peer, int link_id, in ieee80211_tdls_build_mgmt_packet_data() argument
993 sdata->dev, link, peer, in ieee80211_tdls_build_mgmt_packet_data()
999 peer, link, action_code, in ieee80211_tdls_build_mgmt_packet_data()
1011 ieee80211_tdls_add_ies(link, skb, peer, action_code, status_code, in ieee80211_tdls_build_mgmt_packet_data()
1026 const u8 *peer, int link_id, in ieee80211_tdls_prep_mgmt_packet() argument
1040 sta = sta_info_get(sdata, peer); in ieee80211_tdls_prep_mgmt_packet()
1085 skb = ieee80211_tdls_build_mgmt_packet_data(sdata, peer, in ieee80211_tdls_prep_mgmt_packet()
1126 sta = sta_info_get(sdata, peer); in ieee80211_tdls_prep_mgmt_packet()
1164 const u8 *peer, int link_id, in ieee80211_tdls_mgmt_setup() argument
1187 !ether_addr_equal(sdata->u.mgd.tdls_peer, peer)) { in ieee80211_tdls_mgmt_setup()
1201 if (!sta_info_get(sdata, peer)) { in ieee80211_tdls_mgmt_setup()
1210 memcpy(sdata->u.mgd.tdls_peer, peer, ETH_ALEN); in ieee80211_tdls_mgmt_setup()
1214 ret = ieee80211_tdls_prep_mgmt_packet(wiphy, dev, peer, in ieee80211_tdls_mgmt_setup()
1239 const u8 *peer, int link_id, in ieee80211_tdls_mgmt_teardown() argument
1260 ret = ieee80211_tdls_prep_mgmt_packet(wiphy, dev, peer, in ieee80211_tdls_mgmt_teardown()
1275 sta = sta_info_get(sdata, peer); in ieee80211_tdls_mgmt_teardown()
1287 const u8 *peer, int link_id, in ieee80211_tdls_mgmt() argument
1306 ret = ieee80211_tdls_mgmt_setup(wiphy, dev, peer, in ieee80211_tdls_mgmt()
1313 ret = ieee80211_tdls_mgmt_teardown(wiphy, dev, peer, link_id, in ieee80211_tdls_mgmt()
1330 ret = ieee80211_tdls_prep_mgmt_packet(wiphy, dev, peer, in ieee80211_tdls_mgmt()
1344 action_code, peer, link_id, ret); in ieee80211_tdls_mgmt()
1443 const u8 *peer, enum nl80211_tdls_operation oper) in ieee80211_tdls_oper() argument
1472 tdls_dbg(sdata, "TDLS oper %d peer %pM\n", oper, peer); in ieee80211_tdls_oper()
1483 sta = sta_info_get(sdata, peer); in ieee80211_tdls_oper()
1497 !ether_addr_equal(sdata->u.mgd.tdls_peer, peer)); in ieee80211_tdls_oper()
1515 ret = sta_info_destroy_addr(sdata, peer); in ieee80211_tdls_oper()
1528 if (ret == 0 && ether_addr_equal(sdata->u.mgd.tdls_peer, peer)) { in ieee80211_tdls_oper()
1542 void ieee80211_tdls_oper_request(struct ieee80211_vif *vif, const u8 *peer, in ieee80211_tdls_oper_request() argument
1554 cfg80211_tdls_oper_request(sdata->dev, peer, oper, reason_code, gfp); in ieee80211_tdls_oper_request()
2093 const u8 *peer, u16 reason) in ieee80211_tdls_handle_disconnect() argument
2098 sta = ieee80211_find_sta(&sdata->vif, peer); in ieee80211_tdls_handle_disconnect()
2106 peer, reason, in ieee80211_tdls_handle_disconnect()
2109 ieee80211_tdls_oper_request(&sdata->vif, peer, in ieee80211_tdls_handle_disconnect()