Lines Matching refs:ether_addr_equal
117 bool from_ap = !ether_addr_equal(mgmt->sa, wdev->netdev->dev_addr); in cfg80211_process_deauth()
121 if (!wdev->connected || !ether_addr_equal(wdev->u.client.connected_addr, bssid)) in cfg80211_process_deauth()
136 bool from_ap = !ether_addr_equal(mgmt->sa, wdev->netdev->dev_addr); in cfg80211_process_disassoc()
142 !ether_addr_equal(wdev->u.client.connected_addr, bssid))) in cfg80211_process_disassoc()
283 ether_addr_equal(req->bss->bssid, wdev->u.client.connected_addr)) in cfg80211_mlme_auth()
286 if (ether_addr_equal(req->bss->bssid, dev->dev_addr) || in cfg80211_mlme_auth()
288 ether_addr_equal(req->ap_mld_addr, dev->dev_addr))) in cfg80211_mlme_auth()
346 if (ether_addr_equal(req->links[i].bss->bssid, dev->dev_addr)) in cfg80211_mlme_assoc()
352 !ether_addr_equal(wdev->u.client.connected_addr, req->prev_bssid))) in cfg80211_mlme_assoc()
355 if ((req->bss && ether_addr_equal(req->bss->bssid, dev->dev_addr)) || in cfg80211_mlme_assoc()
357 ether_addr_equal(req->ap_mld_addr, dev->dev_addr))) in cfg80211_mlme_assoc()
402 !ether_addr_equal(wdev->u.client.connected_addr, bssid))) in cfg80211_mlme_deauth()
405 if (ether_addr_equal(wdev->disconnect_bssid, bssid) || in cfg80211_mlme_deauth()
407 ether_addr_equal(wdev->u.client.connected_addr, bssid))) in cfg80211_mlme_deauth()
684 if (ether_addr_equal(addr, wdev->links[i].addr)) in cfg80211_allowed_address()
688 return ether_addr_equal(addr, wdev_address(wdev)); in cfg80211_allowed_address()
762 !ether_addr_equal(wdev->u.ibss.current_bss->pub.bssid, in cfg80211_mlme_mgmt_tx()
777 if (!ether_addr_equal(wdev->u.client.connected_addr, in cfg80211_mlme_mgmt_tx()
784 if (!ether_addr_equal(wdev->u.client.connected_addr, in cfg80211_mlme_mgmt_tx()
793 if (!ether_addr_equal(mgmt->bssid, wdev_address(wdev)) && in cfg80211_mlme_mgmt_tx()
795 !ether_addr_equal(mgmt->bssid, in cfg80211_mlme_mgmt_tx()
800 if (!ether_addr_equal(mgmt->sa, mgmt->bssid)) { in cfg80211_mlme_mgmt_tx()