Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8712/
Dwifi.h285 #define GetAddr1Ptr(pbuf) ((unsigned char *)((addr_t)(pbuf) + 4)) macro
311 da = GetAddr1Ptr(pframe); in get_da()
314 da = GetAddr1Ptr(pframe); in get_da()
363 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
Drtl871x_recv.c357 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
424 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in ap2sta_data_frame()
512 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_recv_data_frame()
/Linux-v4.19/drivers/staging/rtl8188eu/include/
Dwifi.h252 #define GetAddr1Ptr(pbuf) ((unsigned char *)((size_t)(pbuf) + 4)) macro
275 da = GetAddr1Ptr(pframe); in get_da()
278 da = GetAddr1Ptr(pframe); in get_da()
325 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
328 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Dwifi.h335 #define GetAddr1Ptr(pbuf) ((unsigned char *)((size_t)(pbuf) + 4)) macro
361 ra = GetAddr1Ptr(pframe); in get_ra()
378 da = GetAddr1Ptr(pframe); in get_da()
381 da = GetAddr1Ptr(pframe); in get_da()
431 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
434 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_recv.c845 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
966 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in ap2sta_data_frame()
1098 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN)) in validate_recv_ctrl_frame()
1244 if (!memcmp(padapter->eeprompriv.mac_addr, GetAddr1Ptr(precv_frame->u.hdr.rx_data), ETH_ALEN)) in validate_recv_mgnt_frame()
1246 else if (is_broadcast_mac_addr(GetAddr1Ptr(precv_frame->u.hdr.rx_data)) in validate_recv_mgnt_frame()
1247 || is_multicast_mac_addr(GetAddr1Ptr(precv_frame->u.hdr.rx_data))) in validate_recv_mgnt_frame()
1310 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_recv_data_frame()
1413 if (pattrib->privacy && !(IS_MCAST(GetAddr1Ptr(ptr))) && in validate_80211w_mgmt()
1424 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_80211w_mgmt()
1445 } else if (IS_MCAST(GetAddr1Ptr(ptr)) && in validate_80211w_mgmt()
Drtw_mlme_ext.c519 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in _mgt_dispatcher()
520 memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) in _mgt_dispatcher()
548 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in mgt_dispatcher()
549 memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) { in mgt_dispatcher()
1941 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN))/* for if1, sta/ap mode */ in OnAction_back()
2127 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN)) in on_action_public()
2155 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN)) in OnAction_ht()
2339 memcpy(pattrib->ra, GetAddr1Ptr(pframe), ETH_ALEN); in update_mgntframe_attrib_addr()
3143 memcpy((void *)GetAddr1Ptr(pwlanhdr), pstat->hwaddr, ETH_ALEN); in issue_asocrsp()
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_recv.c879 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN)) in validate_recv_ctrl_frame()
1020 GetAddr1Ptr(precv_frame->pkt->data), ETH_ALEN)) in validate_recv_mgnt_frame()
1022 else if (is_multicast_ether_addr(GetAddr1Ptr(precv_frame->pkt->data))) in validate_recv_mgnt_frame()
1077 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_recv_data_frame()
Drtw_mlme_ext.c915 ether_addr_copy((void *)GetAddr1Ptr(pwlanhdr), pstat->hwaddr); in issue_asocrsp()
3607 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), in OnAction_back()
3760 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN)) in on_action_public()
4091 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in _mgt_dispatcher()
4092 memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) in _mgt_dispatcher()
4122 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in mgt_dispatcher()
4123 memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) in mgt_dispatcher()
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c2557 MAC_ARG(GetAddr1Ptr(buf)), FUNC_NDEV_ARG(ndev)); in rtw_cfg80211_monitor_if_xmit_entry()
3169 DBG_8192C("RTW_Tx:tx_ch =%d, da ="MAC_FMT"\n", tx_ch, MAC_ARG(GetAddr1Ptr(buf))); in cfg80211_rtw_mgmt_tx()