Searched refs:GetAddr1Ptr (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.10/drivers/staging/rtl8188eu/include/ |
D | wifi.h | 219 #define GetAddr1Ptr(pbuf) ((unsigned char *)((size_t)(pbuf) + 4)) macro 234 da = GetAddr1Ptr(pframe); in get_da() 237 da = GetAddr1Ptr(pframe); in get_da() 284 sa = GetAddr1Ptr(pframe); in get_hdr_bssid() 287 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
|
/Linux-v5.10/drivers/staging/rtl8712/ |
D | wifi.h | 273 #define GetAddr1Ptr(pbuf) ((unsigned char *)((addr_t)(pbuf) + 4)) macro 288 da = GetAddr1Ptr(pframe); in get_da() 291 da = GetAddr1Ptr(pframe); in get_da() 339 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
|
D | rtl871x_recv.c | 339 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in sta2sta_data_frame() 406 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in ap2sta_data_frame() 494 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_recv_data_frame()
|
/Linux-v5.10/drivers/staging/rtl8723bs/include/ |
D | wifi.h | 335 #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-v5.10/drivers/staging/rtl8723bs/core/ |
D | rtw_recv.c | 843 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in sta2sta_data_frame() 964 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in ap2sta_data_frame() 1096 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN)) in validate_recv_ctrl_frame() 1242 if (!memcmp(padapter->eeprompriv.mac_addr, GetAddr1Ptr(precv_frame->u.hdr.rx_data), ETH_ALEN)) in validate_recv_mgnt_frame() 1244 else if (is_broadcast_mac_addr(GetAddr1Ptr(precv_frame->u.hdr.rx_data)) in validate_recv_mgnt_frame() 1245 || is_multicast_mac_addr(GetAddr1Ptr(precv_frame->u.hdr.rx_data))) in validate_recv_mgnt_frame() 1308 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_recv_data_frame() 1409 if (pattrib->privacy && !(IS_MCAST(GetAddr1Ptr(ptr))) && in validate_80211w_mgmt() 1419 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_80211w_mgmt() 1440 } else if (IS_MCAST(GetAddr1Ptr(ptr)) && in validate_80211w_mgmt()
|
D | rtw_mlme_ext.c | 510 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in _mgt_dispatcher() 511 memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) in _mgt_dispatcher() 539 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in mgt_dispatcher() 540 memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) { in mgt_dispatcher() 1925 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN))/* for if1, sta/ap mode */ in OnAction_back() 2112 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN)) in on_action_public() 2140 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN)) in OnAction_ht() 2325 memcpy(pattrib->ra, GetAddr1Ptr(pframe), ETH_ALEN); in update_mgntframe_attrib_addr() 3130 memcpy((void *)GetAddr1Ptr(pwlanhdr), pstat->hwaddr, ETH_ALEN); in issue_asocrsp()
|
/Linux-v5.10/drivers/staging/rtl8188eu/core/ |
D | rtw_recv.c | 865 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN)) in validate_recv_ctrl_frame() 1006 GetAddr1Ptr(precv_frame->pkt->data), ETH_ALEN)) in validate_recv_mgnt_frame() 1008 else if (is_multicast_ether_addr(GetAddr1Ptr(precv_frame->pkt->data))) in validate_recv_mgnt_frame() 1063 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_recv_data_frame()
|
D | rtw_mlme_ext.c | 908 ether_addr_copy((void *)GetAddr1Ptr(pwlanhdr), pstat->hwaddr); in issue_asocrsp() 3585 if (memcmp(myid(&padapter->eeprompriv), GetAddr1Ptr(pframe), in OnAction_back() 3738 if (memcmp(myid(&padapter->eeprompriv), GetAddr1Ptr(pframe), ETH_ALEN)) in on_action_public() 4064 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in _mgt_dispatcher() 4065 memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) in _mgt_dispatcher() 4095 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in mgt_dispatcher() 4096 memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) in mgt_dispatcher()
|
/Linux-v5.10/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_cfg80211.c | 2506 MAC_ARG(GetAddr1Ptr(buf)), FUNC_NDEV_ARG(ndev)); in rtw_cfg80211_monitor_if_xmit_entry() 3105 DBG_8192C("RTW_Tx:tx_ch =%d, da ="MAC_FMT"\n", tx_ch, MAC_ARG(GetAddr1Ptr(buf))); in cfg80211_rtw_mgmt_tx()
|