Home
last modified time | relevance | path

Searched refs:IEEE80211_ADDR_EQ (Results 1 – 23 of 23) sorted by relevance

/freebsd/sys/net80211/
H A Dieee80211_adhoc.c258 if (!IEEE80211_ADDR_EQ(ni->ni_macaddr, vap->iv_myaddr) && in adhoc_newstate()
397 !IEEE80211_ADDR_EQ(bssid, vap->iv_bss->ni_bssid) && in adhoc_input()
398 !IEEE80211_ADDR_EQ(bssid, ifp->if_broadcastaddr)) { in adhoc_input()
411 !IEEE80211_ADDR_EQ(wh->i_addr2, ni->ni_macaddr)) { in adhoc_input()
442 IEEE80211_ADDR_EQ(wh->i_addr2, ni->ni_macaddr)) { in adhoc_input()
772 if (!IEEE80211_ADDR_EQ(wh->i_addr2, ni->ni_macaddr)) { in adhoc_recv_mgmt()
956 !IEEE80211_ADDR_EQ(wh->i_addr2, ni->ni_macaddr)) { in adhoc_recv_mgmt()
960 } else if (!IEEE80211_ADDR_EQ(vap->iv_myaddr, wh->i_addr1) && in adhoc_recv_mgmt()
H A Dieee80211_hwmp.c957 if (IEEE80211_ADDR_EQ(vap->iv_myaddr, preq->preq_origaddr)) in hwmp_recv_preq()
971 (!IEEE80211_ADDR_EQ(vap->iv_myaddr, PREQ_TADDR(0)) || in hwmp_recv_preq()
975 IEEE80211_ADDR_EQ(vap->iv_myaddr, rttarg->rt_mesh_gate)))) { in hwmp_recv_preq()
990 !IEEE80211_ADDR_EQ(vap->iv_myaddr, PREQ_TADDR(0))) { in hwmp_recv_preq()
1056 if (IEEE80211_ADDR_EQ(vap->iv_myaddr, PREQ_TADDR(0)) || in hwmp_recv_preq()
1059 IEEE80211_ADDR_EQ(vap->iv_myaddr, rttarg->rt_mesh_gate) && in hwmp_recv_preq()
1125 if (IEEE80211_ADDR_EQ(PREQ_TADDR(0), broadcastaddr) && in hwmp_recv_preq()
1185 !IEEE80211_ADDR_EQ(PREQ_TADDR(0), broadcastaddr)) { in hwmp_recv_preq()
1267 (IEEE80211_ADDR_EQ(vap->iv_myaddr, rt->rt_mesh_gate)) in hwmp_recv_prep()
1289 if ((!IEEE80211_ADDR_EQ(vap->iv_myaddr, prep->prep_origaddr) || in hwmp_recv_prep()
[all …]
H A Dieee80211_acl.c138 if (IEEE80211_ADDR_EQ(acl->acl_macaddr, macaddr)) in _find_acl()
191 if (IEEE80211_ADDR_EQ(acl->acl_macaddr, mac)) { in acl_add()
H A Dieee80211_sta.c485 return IEEE80211_ADDR_EQ(sa, vap->iv_myaddr); in isdstods_mcastecho()
501 return IEEE80211_ADDR_EQ(wh->i_addr3, vap->iv_myaddr); in isfromds_mcastecho()
614 if (!IEEE80211_ADDR_EQ(bssid, ni->ni_bssid)) { in sta_input()
637 && (! IEEE80211_ADDR_EQ(wh->i_addr1, IF_LLADDR(ifp)))) { in sta_input()
1456 IEEE80211_ADDR_EQ(wh->i_addr2, ni->ni_bssid))) { in sta_recv_mgmt()
1959 if (!IEEE80211_ADDR_EQ(wh->i_addr1, vap->iv_myaddr)) { in sta_recv_mgmt()
1993 if (!IEEE80211_ADDR_EQ(wh->i_addr1, vap->iv_myaddr)) { in sta_recv_mgmt()
2019 if (!IEEE80211_ADDR_EQ(vap->iv_myaddr, wh->i_addr1) && in sta_recv_mgmt()
H A Dieee80211_mesh.c191 if (IEEE80211_ADDR_EQ(dest, rt->rt_dest)) in mesh_rt_find_locked()
204 KASSERT(!IEEE80211_ADDR_EQ(broadcastaddr, dest), in mesh_rt_add_locked()
246 KASSERT(!IEEE80211_ADDR_EQ(vap->iv_myaddr, dest), in ieee80211_mesh_rt_add()
371 if (IEEE80211_ADDR_EQ(rt->rt_dest, dest)) { in ieee80211_mesh_rt_del()
410 if (IEEE80211_ADDR_EQ(rt->rt_nexthop, peer)) in ieee80211_mesh_rt_flush_peer()
871 if (IEEE80211_ADDR_EQ(gr->gr_addr, addr)) { in ieee80211_mesh_mark_gate()
1360 return IEEE80211_ADDR_EQ(wh->i_addr3, vap->iv_myaddr); in mesh_isucastforme()
1458 if (IEEE80211_ADDR_EQ(mc10->mc_addr5, qwh->i_addr3)) { in mesh_recv_indiv_data_to_me()
1716 if (IEEE80211_ADDR_EQ(vap->iv_myaddr, addr)) { in mesh_input()
1729 if (IEEE80211_ADDR_EQ(vap->iv_myaddr, wh->i_addr3)) in mesh_input()
[all …]
H A Dieee80211_wds.c489 if (!IEEE80211_ADDR_EQ(wh->i_addr1, vap->iv_myaddr) && in wds_input()
490 !IEEE80211_ADDR_EQ(wh->i_addr1, ifp->if_broadcastaddr)) { in wds_input()
760 } else if (!IEEE80211_ADDR_EQ(vap->iv_myaddr, wh->i_addr1)) { in wds_recv_mgmt()
H A Dieee80211_hostap.c564 !IEEE80211_ADDR_EQ(bssid, vap->iv_bss->ni_bssid) && in hostap_input()
565 !IEEE80211_ADDR_EQ(bssid, ifp->if_broadcastaddr)) { in hostap_input()
1980 if (!IEEE80211_ADDR_EQ(wh->i_addr3, vap->iv_bss->ni_bssid)) { in hostap_recv_mgmt()
2056 if (!IEEE80211_ADDR_EQ(wh->i_addr3, vap->iv_bss->ni_bssid)) { in hostap_recv_mgmt()
2351 !IEEE80211_ADDR_EQ(wh->i_addr1, vap->iv_myaddr)) { in hostap_recv_mgmt()
2385 } else if (!IEEE80211_ADDR_EQ(vap->iv_myaddr, wh->i_addr1) && in hostap_recv_mgmt()
H A Dieee80211_ioctl.c513 if (IEEE80211_ADDR_EQ(macaddr, vap->iv_ifp->if_broadcastaddr)) { in ieee80211_ioctl_getstainfo()
737 if (!IEEE80211_ADDR_EQ(vlan.sv_macaddr, zerobssid)) { in ieee80211_ioctl_getstavlan()
1193 if (!IEEE80211_ADDR_EQ(ik.ik_macaddr, ni->ni_bssid)) { in ieee80211_ioctl_setkey()
1268 if (!IEEE80211_ADDR_EQ(dk.idk_macaddr, ni->ni_bssid)) { in ieee80211_ioctl_delkey()
1374 if (!IEEE80211_ADDR_EQ(mac, vap->iv_ifp->if_broadcastaddr)) { in setmlme_dropsta()
1428 if (!IEEE80211_ADDR_EQ(mac, vap->iv_bss->ni_macaddr)) { in setmlme_common()
1544 if (!IEEE80211_ADDR_EQ(look->mac, se->se_macaddr)) in mlmelookup()
2685 if (!IEEE80211_ADDR_EQ(vlan.sv_macaddr, zerobssid)) { in ieee80211_ioctl_setstavlan()
3024 if (IEEE80211_ADDR_EQ(vap->iv_des_bssid, zerobssid)) in ieee80211_ioctl_set80211()
3632 !IEEE80211_ADDR_EQ(vap->iv_myaddr, IF_LLADDR(ifp))) in ieee80211_ioctl()
H A Dieee80211_tdma.c355 !IEEE80211_ADDR_EQ(wh->i_addr2, ni->ni_macaddr)) { in tdma_recv_mgmt()
369 if (IEEE80211_ADDR_EQ(wh->i_addr3, ni->ni_bssid)) { in tdma_recv_mgmt()
H A Dieee80211_node.c535 !IEEE80211_ADDR_EQ(vap->iv_des_bssid, ni->ni_bssid)) in check_bss()
577 !IEEE80211_ADDR_EQ(vap->iv_des_bssid, ni->ni_bssid)) in check_bss_debug()
605 IEEE80211_ADDR_EQ(ni->ni_bssid, vap->iv_bss->ni_bssid)) { in ieee80211_ibss_merge_check()
880 IEEE80211_ADDR_EQ(obss->ni_macaddr, selbs->ni_macaddr)); in ieee80211_sta_join1()
1639 if (IEEE80211_ADDR_EQ(ni->ni_macaddr, macaddr)) { in _ieee80211_find_node_locked()
1680 IEEE80211_ADDR_EQ(ni->ni_macaddr, macaddr)) { in _ieee80211_find_vap_node_locked()
H A Dieee80211_input.c232 IEEE80211_ADDR_EQ(wh->i_addr1, lwh->i_addr1) && in ieee80211_defrag()
233 IEEE80211_ADDR_EQ(wh->i_addr2, lwh->i_addr2) && in ieee80211_defrag()
H A Dieee80211_scan_sta.c259 if (IEEE80211_ADDR_EQ(se->base.se_macaddr, macaddr)) in sta_add()
1150 !IEEE80211_ADDR_EQ(vap->iv_des_bssid, se->se_bssid)) in match_bss()
1334 if (IEEE80211_ADDR_EQ(se->base.se_macaddr, macaddr)) in sta_lookup()
H A Dieee80211_output.c427 if (!IEEE80211_ADDR_EQ(eh->ether_shost, vap->iv_myaddr)) { in ieee80211_start_pkt()
1596 if (IEEE80211_ADDR_EQ(rt->rt_mesh_gate, in ieee80211_encap()
1614 if (!IEEE80211_ADDR_EQ(eh.ether_shost, vap->iv_myaddr)) { in ieee80211_encap()
1635 !IEEE80211_ADDR_EQ(eh.ether_shost, vap->iv_myaddr)); in ieee80211_encap()
H A Dieee80211_var.h622 #define IEEE80211_ADDR_EQ(a1,a2) (memcmp(a1,a2,IEEE80211_ADDR_LEN) == 0) macro
/freebsd/tools/tools/net80211/wlanwds/
H A Dwlanwds.c73 #define IEEE80211_ADDR_EQ(a1,a2) (memcmp(a1,a2,IEEE80211_ADDR_LEN) == 0) macro
473 if (IEEE80211_ADDR_EQ(p->bssid, bssid)) { in wds_discovery()
547 if (IEEE80211_ADDR_EQ(p->bssid, bssid)) in wds_leave()
/freebsd/usr.sbin/wlanstats/
H A Dwlanstats.c59 #define IEEE80211_ADDR_EQ(a1,a2) (memcmp(a1,a2,IEEE80211_ADDR_LEN) == 0) macro
508 IEEE80211_ADDR_EQ(wf->mac, zeromac)) in wlan_setstamac()
/freebsd/sys/dev/mwl/
H A Dmwlhal.c94 #define IEEE80211_ADDR_EQ(_dst, _src) \ macro
1705 if (retval == 0 && IEEE80211_ADDR_EQ(vap->mac, addr)) in mwl_hal_newstation()
1720 islocal = IEEE80211_ADDR_EQ(vap->mac, addr); in mwl_hal_delstation()
H A Dif_mwl.c1731 !IEEE80211_ADDR_EQ(enm->enm_addrlo, enm->enm_addrhi)) { in mwl_setmcastfilter()
/freebsd/sys/dev/ath/
H A Dif_ath_rx.c381 IEEE80211_ADDR_EQ(ni->ni_bssid, vap->iv_bss->ni_bssid)) { in ath_recv_mgmt()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_80211.c6449 if (!IEEE80211_ADDR_EQ(wh->i_addr2, ni->ni_bssid))
6821 if (IEEE80211_ADDR_EQ(sta->addr, peer)) {
6850 !IEEE80211_ADDR_EQ(vif->addr, ourvifaddr))
7580 if (lookup->bssid && !IEEE80211_ADDR_EQ(lookup->bssid, se->se_bssid))
/freebsd/sys/dev/iwm/
H A Dif_iwm.c2063 if (!IEEE80211_ADDR_EQ(reserved_mac, hw_addr) && in iwm_set_hw_address_family_8000()
2064 !IEEE80211_ADDR_EQ(ieee80211broadcastaddr, data->hw_addr) && in iwm_set_hw_address_family_8000()
6201 if ((addr[0] & 1) || IEEE80211_ADDR_EQ(zero_addr, addr)) in iwm_is_valid_ether_addr()
/freebsd/sys/dev/iwi/
H A Dif_iwi.c1828 if (!IEEE80211_ADDR_EQ(wh->i_addr1, sc->sc_mcast)) { in iwi_tx_start()
/freebsd/sys/dev/usb/wlan/
H A Dif_rsu.c2220 IEEE80211_ADDR_EQ(vap->iv_bss->ni_bssid, buf)) { in rsu_rx_event()