Lines Matching refs:mgd
30 u.mgd.tdls_peer_del_work.work); in ieee80211_tdls_peer_del_work()
34 if (!is_zero_ether_addr(sdata->u.mgd.tdls_peer)) { in ieee80211_tdls_peer_del_work()
35 tdls_dbg(sdata, "TDLS del peer %pM\n", sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work()
36 sta_info_destroy_addr(sdata, sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work()
37 eth_zero_addr(sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work()
46 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_tdls_add_ext_capab()
221 memcpy(lnkid->bssid, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_tdls_add_link_ie()
561 ap_sta = sta_info_get(sdata, sdata->deflink.u.mgd.bssid); in ieee80211_tdls_add_setup_cfm_ies()
836 memcpy(mgmt->bssid, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_prep_tdls_direct()
1036 spin_lock_bh(&sdata->u.mgd.teardown_lock); in ieee80211_tdls_prep_mgmt_packet()
1037 if (try_resend && !sdata->u.mgd.teardown_skb) { in ieee80211_tdls_prep_mgmt_packet()
1049 sdata->u.mgd.teardown_skb = skb_copy(skb, GFP_ATOMIC); in ieee80211_tdls_prep_mgmt_packet()
1050 sdata->u.mgd.orig_teardown_skb = skb; in ieee80211_tdls_prep_mgmt_packet()
1052 spin_unlock_bh(&sdata->u.mgd.teardown_lock); in ieee80211_tdls_prep_mgmt_packet()
1077 sdata->deflink.u.mgd.driver_smps_mode; in ieee80211_tdls_mgmt_setup()
1091 if (!is_zero_ether_addr(sdata->u.mgd.tdls_peer) && in ieee80211_tdls_mgmt_setup()
1092 !ether_addr_equal(sdata->u.mgd.tdls_peer, peer)) { in ieee80211_tdls_mgmt_setup()
1115 memcpy(sdata->u.mgd.tdls_peer, peer, ETH_ALEN); in ieee80211_tdls_mgmt_setup()
1126 eth_zero_addr(sdata->u.mgd.tdls_peer); in ieee80211_tdls_mgmt_setup()
1132 &sdata->u.mgd.tdls_peer_del_work, in ieee80211_tdls_mgmt_setup()
1202 !sdata->u.mgd.associated) in ieee80211_tdls_mgmt()
1322 if (!(sdata->deflink.u.mgd.conn_flags & IEEE80211_CONN_DISABLE_HT)) in iee80211_tdls_recalc_ht_protection()
1397 WARN_ON_ONCE(is_zero_ether_addr(sdata->u.mgd.tdls_peer) || in ieee80211_tdls_oper()
1398 !ether_addr_equal(sdata->u.mgd.tdls_peer, peer)); in ieee80211_tdls_oper()
1429 if (ret == 0 && ether_addr_equal(sdata->u.mgd.tdls_peer, peer)) { in ieee80211_tdls_oper()
1430 cancel_delayed_work(&sdata->u.mgd.tdls_peer_del_work); in ieee80211_tdls_oper()
1431 eth_zero_addr(sdata->u.mgd.tdls_peer); in ieee80211_tdls_oper()
1436 &sdata->deflink.u.mgd.request_smps_work); in ieee80211_tdls_oper()