Home
last modified time | relevance | path

Searched refs:GetAddr1Ptr (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/staging/rtl8723bs/include/
H A Dwifi.h184 #define GetAddr1Ptr(pbuf) ((unsigned char *)((size_t)(pbuf) + 4)) macro
195 ra = GetAddr1Ptr(pframe); in rtl8723bs_get_ra()
212 da = GetAddr1Ptr(pframe); in get_da()
215 da = GetAddr1Ptr(pframe); in get_da()
265 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
268 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_recv.c765 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
852 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in ap2sta_data_frame()
960 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN)) in validate_recv_ctrl_frame()
1269 if (!memcmp(padapter->eeprompriv.mac_addr, GetAddr1Ptr(precv_frame->u.hdr.rx_data), ETH_ALEN)) in validate_recv_mgnt_frame()
1271 else if (is_broadcast_mac_addr(GetAddr1Ptr(precv_frame->u.hdr.rx_data)) || in validate_recv_mgnt_frame()
1272 is_multicast_mac_addr(GetAddr1Ptr(precv_frame->u.hdr.rx_data))) in validate_recv_mgnt_frame()
1331 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_recv_data_frame()
1414 if (pattrib->privacy && !(is_multicast_ether_addr(GetAddr1Ptr(ptr))) && in validate_80211w_mgmt()
1424 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_80211w_mgmt()
1441 } else if (is_multicast_ether_addr(GetAddr1Ptr(ptr)) && in validate_80211w_mgmt()
H A Drtw_mlme_ext.c426 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in _mgt_dispatcher()
427 !is_broadcast_ether_addr(GetAddr1Ptr(pframe))) in _mgt_dispatcher()
446 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in mgt_dispatcher()
447 !is_broadcast_ether_addr(GetAddr1Ptr(pframe))) { in mgt_dispatcher()
1624 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN))/* for if1, sta/ap mode */ in OnAction_back()
1789 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN)) in on_action_public()
1817 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN)) in OnAction_ht()
1978 memcpy(pattrib->ra, GetAddr1Ptr(pframe), ETH_ALEN); in update_mgntframe_attrib_addr()
2718 memcpy((void *)GetAddr1Ptr(pwlanhdr), pstat->hwaddr, ETH_ALEN); in issue_asocrsp()