Home
last modified time | relevance | path

Searched refs:tdls_peer (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/net/wireless/marvell/mwifiex/
Dtdls.c1341 struct mwifiex_auto_tdls_peer *tdls_peer; in mwifiex_add_auto_tdls_peer() local
1347 list_for_each_entry(tdls_peer, &priv->auto_tdls_list, list) { in mwifiex_add_auto_tdls_peer()
1348 if (!memcmp(tdls_peer->mac_addr, mac, ETH_ALEN)) { in mwifiex_add_auto_tdls_peer()
1349 tdls_peer->tdls_status = TDLS_SETUP_INPROGRESS; in mwifiex_add_auto_tdls_peer()
1350 tdls_peer->rssi_jiffies = jiffies; in mwifiex_add_auto_tdls_peer()
1357 tdls_peer = kzalloc(sizeof(*tdls_peer), GFP_ATOMIC); in mwifiex_add_auto_tdls_peer()
1358 if (tdls_peer) { in mwifiex_add_auto_tdls_peer()
1359 ether_addr_copy(tdls_peer->mac_addr, mac); in mwifiex_add_auto_tdls_peer()
1360 tdls_peer->tdls_status = TDLS_SETUP_INPROGRESS; in mwifiex_add_auto_tdls_peer()
1361 tdls_peer->rssi_jiffies = jiffies; in mwifiex_add_auto_tdls_peer()
[all …]
/linux-5.19.10/net/mac80211/
Dtdls.c34 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()
1089 if (!is_zero_ether_addr(sdata->u.mgd.tdls_peer) && in ieee80211_tdls_mgmt_setup()
1090 !ether_addr_equal(sdata->u.mgd.tdls_peer, peer)) { in ieee80211_tdls_mgmt_setup()
1113 memcpy(sdata->u.mgd.tdls_peer, peer, ETH_ALEN); in ieee80211_tdls_mgmt_setup()
1124 eth_zero_addr(sdata->u.mgd.tdls_peer); in ieee80211_tdls_mgmt_setup()
1395 WARN_ON_ONCE(is_zero_ether_addr(sdata->u.mgd.tdls_peer) || in ieee80211_tdls_oper()
1396 !ether_addr_equal(sdata->u.mgd.tdls_peer, peer)); in ieee80211_tdls_oper()
[all …]
Dtx.c2568 bool tdls_peer; in ieee80211_build_hdr() local
2711 tdls_peer = test_sta_flag(sta, WLAN_STA_TDLS_PEER); in ieee80211_build_hdr()
2713 if (tdls_peer) { in ieee80211_build_hdr()
Dieee80211_i.h548 u8 tdls_peer[ETH_ALEN] __aligned(2); member