Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/staging/rtl8723bs/include/
Dwifi.h206 #define GetAddr1Ptr(pbuf) ((unsigned char *)((size_t)(pbuf) + 4)) macro
232 ra = GetAddr1Ptr(pframe); in rtl8723bs_get_ra()
249 da = GetAddr1Ptr(pframe); in get_da()
252 da = GetAddr1Ptr(pframe); in get_da()
302 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
305 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
/Linux-v5.15/drivers/staging/rtl8712/
Dwifi.h151 #define GetAddr1Ptr(pbuf) ((unsigned char *)((addr_t)(pbuf) + 4)) macro
172 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
Drtl871x_recv.c341 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
408 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in ap2sta_data_frame()
496 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_recv_data_frame()
/Linux-v5.15/drivers/staging/r8188eu/include/
Dwifi.h363 #define GetAddr1Ptr(pbuf) ((unsigned char *)((size_t)(pbuf) + 4)) macro
386 da = GetAddr1Ptr(pframe); in get_da()
389 da = GetAddr1Ptr(pframe); in get_da()
436 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
439 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
/Linux-v5.15/drivers/staging/rtl8723bs/core/
Drtw_recv.c712 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
799 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in ap2sta_data_frame()
906 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN)) in validate_recv_ctrl_frame()
1213 if (!memcmp(padapter->eeprompriv.mac_addr, GetAddr1Ptr(precv_frame->u.hdr.rx_data), ETH_ALEN)) in validate_recv_mgnt_frame()
1215 else if (is_broadcast_mac_addr(GetAddr1Ptr(precv_frame->u.hdr.rx_data)) || in validate_recv_mgnt_frame()
1216 is_multicast_mac_addr(GetAddr1Ptr(precv_frame->u.hdr.rx_data))) in validate_recv_mgnt_frame()
1275 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_recv_data_frame()
1358 if (pattrib->privacy && !(IS_MCAST(GetAddr1Ptr(ptr))) && in validate_80211w_mgmt()
1368 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_80211w_mgmt()
1387 } else if (IS_MCAST(GetAddr1Ptr(ptr)) && in validate_80211w_mgmt()
Drtw_mlme_ext.c431 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in _mgt_dispatcher()
432 memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) in _mgt_dispatcher()
454 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in mgt_dispatcher()
455 memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) { in mgt_dispatcher()
1658 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN))/* for if1, sta/ap mode */ in OnAction_back()
1825 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN)) in on_action_public()
1853 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN)) in OnAction_ht()
2027 memcpy(pattrib->ra, GetAddr1Ptr(pframe), ETH_ALEN); in update_mgntframe_attrib_addr()
2771 memcpy((void *)GetAddr1Ptr(pwlanhdr), pstat->hwaddr, ETH_ALEN); in issue_asocrsp()
/Linux-v5.15/drivers/staging/r8188eu/core/
Drtw_recv.c697 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
790 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in ap2sta_data_frame()
896 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN)) in validate_recv_ctrl_frame()
1026 if (!memcmp(padapter->eeprompriv.mac_addr, GetAddr1Ptr(precv_frame->rx_data), ETH_ALEN)) in validate_recv_mgnt_frame()
1028 else if (is_broadcast_mac_addr(GetAddr1Ptr(precv_frame->rx_data)) || in validate_recv_mgnt_frame()
1029 is_multicast_mac_addr(GetAddr1Ptr(precv_frame->rx_data))) in validate_recv_mgnt_frame()
1084 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_recv_data_frame()
Drtw_mlme_ext.c401 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in _mgt_dispatcher()
402 memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) in _mgt_dispatcher()
423 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in mgt_dispatcher()
424 memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) in mgt_dispatcher()
1732 if (memcmp(myid(&padapter->eeprompriv), GetAddr1Ptr(pframe), ETH_ALEN))/* for if1, sta/ap mode */ in OnAction_back()
4154 if (memcmp(myid(&padapter->eeprompriv), GetAddr1Ptr(pframe), ETH_ALEN)) in on_action_public()
4197 if (memcmp(myid(&padapter->eeprompriv), GetAddr1Ptr(pframe), ETH_ALEN))/* for if1, sta/ap mode */ in OnAction_p2p()
5095 memcpy((void *)GetAddr1Ptr(pwlanhdr), pstat->hwaddr, ETH_ALEN); in issue_asocrsp()