Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/rtl8188eu/include/
Dwifi.h252 #define GetAddr1Ptr(pbuf) ((unsigned char *)((size_t)(pbuf) + 4)) macro
267 da = GetAddr1Ptr(pframe); in get_da()
270 da = GetAddr1Ptr(pframe); in get_da()
317 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
320 sa = GetAddr1Ptr(pframe); in get_hdr_bssid()
/Linux-v5.4/drivers/staging/rtl8712/
Dwifi.h273 #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()
Drtl871x_recv.c344 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
411 memcpy(pattrib->dst, GetAddr1Ptr(ptr), ETH_ALEN); in ap2sta_data_frame()
499 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_recv_data_frame()
/Linux-v5.4/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-v5.4/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.c509 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in _mgt_dispatcher()
510 memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) in _mgt_dispatcher()
538 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in mgt_dispatcher()
539 memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) { in mgt_dispatcher()
1927 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN))/* for if1, sta/ap mode */ in OnAction_back()
2114 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN)) in on_action_public()
2142 if (memcmp(myid(&(padapter->eeprompriv)), GetAddr1Ptr(pframe), ETH_ALEN)) in OnAction_ht()
2326 memcpy(pattrib->ra, GetAddr1Ptr(pframe), ETH_ALEN); in update_mgntframe_attrib_addr()
3129 memcpy((void *)GetAddr1Ptr(pwlanhdr), pstat->hwaddr, ETH_ALEN); in issue_asocrsp()
/Linux-v5.4/drivers/staging/rtl8188eu/core/
Drtw_recv.c874 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN)) in validate_recv_ctrl_frame()
1015 GetAddr1Ptr(precv_frame->pkt->data), ETH_ALEN)) in validate_recv_mgnt_frame()
1017 else if (is_multicast_ether_addr(GetAddr1Ptr(precv_frame->pkt->data))) in validate_recv_mgnt_frame()
1072 memcpy(pattrib->ra, GetAddr1Ptr(ptr), ETH_ALEN); in validate_recv_data_frame()
Drtw_mlme_ext.c914 ether_addr_copy((void *)GetAddr1Ptr(pwlanhdr), pstat->hwaddr); in issue_asocrsp()
3593 if (memcmp(myid(&padapter->eeprompriv), GetAddr1Ptr(pframe), in OnAction_back()
3746 if (memcmp(myid(&padapter->eeprompriv), GetAddr1Ptr(pframe), ETH_ALEN)) in on_action_public()
4073 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in _mgt_dispatcher()
4074 memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) in _mgt_dispatcher()
4104 if (memcmp(GetAddr1Ptr(pframe), myid(&padapter->eeprompriv), ETH_ALEN) && in mgt_dispatcher()
4105 memcmp(GetAddr1Ptr(pframe), bc_addr, ETH_ALEN)) in mgt_dispatcher()
/Linux-v5.4/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c2531 MAC_ARG(GetAddr1Ptr(buf)), FUNC_NDEV_ARG(ndev)); in rtw_cfg80211_monitor_if_xmit_entry()
3133 DBG_8192C("RTW_Tx:tx_ch =%d, da ="MAC_FMT"\n", tx_ch, MAC_ARG(GetAddr1Ptr(buf))); in cfg80211_rtw_mgmt_tx()