Searched refs:GetAddr1Ptr (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/staging/rtl8723bs/include/ |
H A D | wifi.h | 184 #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/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()
|
/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_recv.c | 707 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in sta2sta_data_frame() 794 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in ap2sta_data_frame() 902 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN)) in validate_recv_ctrl_frame() 1211 if (!memcmp(padapter->eeprompriv.mac_addr, GetAddr1Ptr(precv_frame->u.hdr.rx_data), ETH_ALEN)) in validate_recv_mgnt_frame() 1213 else if (is_broadcast_mac_addr(GetAddr1Ptr(precv_frame->u.hdr.rx_data)) || in validate_recv_mgnt_frame() 1214 is_multicast_mac_addr(GetAddr1Ptr(precv_frame->u.hdr.rx_data))) in validate_recv_mgnt_frame() 1273 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_recv_data_frame() 1356 if (pattrib->privacy && !(is_multicast_ether_addr(GetAddr1Ptr(ptr))) && in validate_80211w_mgmt() 1366 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_80211w_mgmt() 1383 } else if (is_multicast_ether_addr(GetAddr1Ptr(ptr)) && in validate_80211w_mgmt()
|
H A D | rtw_mlme_ext.c | 427 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in _mgt_dispatcher() 428 !is_broadcast_ether_addr(GetAddr1Ptr(pframe))) in _mgt_dispatcher() 449 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in mgt_dispatcher() 450 !is_broadcast_ether_addr(GetAddr1Ptr(pframe))) { in mgt_dispatcher() 1638 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN))/* for if1, sta/ap mode */ in OnAction_back() 1803 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN)) in on_action_public() 1831 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN)) in OnAction_ht() 2005 memcpy(pattrib->ra, GetAddr1Ptr(pframe), ETH_ALEN); in update_mgntframe_attrib_addr() 2745 memcpy((void *)GetAddr1Ptr(pwlanhdr), pstat->hwaddr, ETH_ALEN); in issue_asocrsp()
|