Searched refs:GetAddr1Ptr (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/staging/rtl8723bs/include/ |
H A D | wifi.h | 206 #define GetAddr1Ptr(pbuf) ((unsigned char *)((size_t)(pbuf) + 4)) macro 217 ra = GetAddr1Ptr(pframe); in rtl8723bs_get_ra() 234 da = GetAddr1Ptr(pframe); in get_da() 237 da = GetAddr1Ptr(pframe); in get_da() 287 sa = GetAddr1Ptr(pframe); in get_hdr_bssid() 290 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
|
/openbmc/linux/drivers/staging/rtl8712/ |
H A D | wifi.h | 151 #define GetAddr1Ptr(pbuf) ((unsigned char *)((addr_t)(pbuf) + 4)) macro 172 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
|
H A D | rtl871x_recv.c | 343 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in sta2sta_data_frame() 410 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in ap2sta_data_frame() 497 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_recv_data_frame()
|
/openbmc/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_recv.c | 708 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in sta2sta_data_frame() 795 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in ap2sta_data_frame() 903 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN)) in validate_recv_ctrl_frame() 1212 if (!memcmp(padapter->eeprompriv.mac_addr, GetAddr1Ptr(precv_frame->u.hdr.rx_data), ETH_ALEN)) in validate_recv_mgnt_frame() 1214 else if (is_broadcast_mac_addr(GetAddr1Ptr(precv_frame->u.hdr.rx_data)) || in validate_recv_mgnt_frame() 1215 is_multicast_mac_addr(GetAddr1Ptr(precv_frame->u.hdr.rx_data))) in validate_recv_mgnt_frame() 1274 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_recv_data_frame() 1357 if (pattrib->privacy && !(is_multicast_ether_addr(GetAddr1Ptr(ptr))) && in validate_80211w_mgmt() 1367 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_80211w_mgmt() 1384 } else if (is_multicast_ether_addr(GetAddr1Ptr(ptr)) && in validate_80211w_mgmt()
|
H A D | rtw_mlme_ext.c | 428 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in _mgt_dispatcher() 429 !is_broadcast_ether_addr(GetAddr1Ptr(pframe))) in _mgt_dispatcher() 450 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in mgt_dispatcher() 451 !is_broadcast_ether_addr(GetAddr1Ptr(pframe))) { in mgt_dispatcher() 1639 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN))/* for if1, sta/ap mode */ in OnAction_back() 1804 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN)) in on_action_public() 1832 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN)) in OnAction_ht() 2006 memcpy(pattrib->ra, GetAddr1Ptr(pframe), ETH_ALEN); in update_mgntframe_attrib_addr() 2746 memcpy((void *)GetAddr1Ptr(pwlanhdr), pstat->hwaddr, ETH_ALEN); in issue_asocrsp()
|