Home
last modified time | relevance | path

Searched refs:GetAddr2Ptr (Results 1 – 25 of 36) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/staging/rtl8712/
H A Dwifi.h275 #define GetAddr2Ptr(pbuf) ((unsigned char *)((addr_t)(pbuf) + 10)) macro
310 sa = GetAddr2Ptr(pframe); in get_sa()
316 sa = GetAddr2Ptr(pframe); in get_sa()
336 sa = GetAddr2Ptr(pframe); in get_hdr_bssid()
H A Drtl871x_recv.c340 memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
407 memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); in ap2sta_data_frame()
495 memcpy(pattrib->ta, GetAddr2Ptr(ptr), ETH_ALEN); in validate_recv_data_frame()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/include/
H A Dwifi.h221 #define GetAddr2Ptr(pbuf) ((unsigned char *)((size_t)(pbuf) + 10)) macro
256 sa = GetAddr2Ptr(pframe); in get_sa()
262 sa = GetAddr2Ptr(pframe); in get_sa()
281 sa = GetAddr2Ptr(pframe); in get_hdr_bssid()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/include/
H A Dwifi.h337 #define GetAddr2Ptr(pbuf) ((unsigned char *)((size_t)(pbuf) + 10)) macro
367 ta = GetAddr2Ptr(pframe); in get_ta()
402 sa = GetAddr2Ptr(pframe); in get_sa()
408 sa = GetAddr2Ptr(pframe); in get_sa()
428 sa = GetAddr2Ptr(pframe); in get_hdr_bssid()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/include/
H A Dwifi.h437 #define GetAddr2Ptr(pbuf) ((unsigned char *)((SIZE_PTR)(pbuf) + 10)) macro
467 ta = GetAddr2Ptr(pframe); in get_ta()
502 sa = GetAddr2Ptr(pframe); in get_sa()
508 sa = GetAddr2Ptr(pframe); in get_sa()
528 sa = GetAddr2Ptr(pframe); in get_hdr_bssid()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/include/
H A Dwifi.h427 #define GetAddr2Ptr(pbuf) ((unsigned char *)((SIZE_PTR)(pbuf) + 10)) macro
457 ta = GetAddr2Ptr(pframe); in get_ta()
492 sa = GetAddr2Ptr(pframe); in get_sa()
498 sa = GetAddr2Ptr(pframe); in get_sa()
518 sa = GetAddr2Ptr(pframe); in get_hdr_bssid()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/include/
H A Dwifi.h427 #define GetAddr2Ptr(pbuf) ((unsigned char *)((SIZE_PTR)(pbuf) + 10)) macro
457 ta = GetAddr2Ptr(pframe); in get_ta()
492 sa = GetAddr2Ptr(pframe); in get_sa()
498 sa = GetAddr2Ptr(pframe); in get_sa()
518 sa = GetAddr2Ptr(pframe); in get_hdr_bssid()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/core/
H A Drtw_mlme_ext.c909 ether_addr_copy((void *)GetAddr2Ptr(pwlanhdr), in issue_asocrsp()
2126 ether_addr_copy(bssid->MacAddress, GetAddr2Ptr(pframe)); in collect_bss_info()
2138 ether_addr_copy(bssid->MacAddress, GetAddr2Ptr(pframe)); in collect_bss_info()
2592 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); in OnBeacon()
2606 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); in OnBeacon()
2628 report_add_sta_event(padapter, GetAddr2Ptr(pframe), cam_idx); in OnBeacon()
2661 sa = GetAddr2Ptr(pframe); in OnAuth()
2924 pstat = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); in OnAssocReq()
3302 issue_deauth(padapter, (void *)GetAddr2Ptr(pframe), status); in OnAssocReq()
3431 reason, GetAddr2Ptr(pframe)); in OnDeAuth()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/core/
H A Drtw_recv.c1336 _rtw_memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
1484 _rtw_memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); in ap2sta_data_frame()
1607 _rtw_memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); in sta2ap_data_frame()
1666 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); in validate_recv_ctrl_frame()
1848 …struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(precv_frame->u.hdr.rx_data… in validate_recv_mgnt_frame()
1903 _rtw_memcpy(pattrib->ta, GetAddr2Ptr(ptr), ETH_ALEN); in validate_recv_mgnt_frame()
1977 _rtw_memcpy(pattrib->ta, GetAddr2Ptr(ptr), ETH_ALEN); in validate_recv_data_frame()
2105 ppp = GetAddr2Ptr(ptr); in validate_80211w_mgmt()
2113 _rtw_memcpy(pattrib->ta, GetAddr2Ptr(ptr), ETH_ALEN); in validate_80211w_mgmt()
2174 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(ptr)); in validate_80211w_mgmt()
[all …]
H A Drtw_mlme_ext.c1011 struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(pframe)); in mgt_dispatcher()
1024 pbuf = GetAddr2Ptr(pframe); in mgt_dispatcher()
1052 … %s from "MAC_FMT"\n", rtw_tdls_action_txt(TDLS_DISCOVERY_RESPONSE), MAC_ARG(GetAddr2Ptr(pframe))); in mgt_dispatcher()
1489 if( _rtw_memcmp( pwdinfo->tx_prov_disc_info.peerIFAddr, GetAddr2Ptr(pframe), ETH_ALEN ) ) in OnProbeRsp()
1516 if( _rtw_memcmp( pwdinfo->nego_req_info.peerDevAddr, GetAddr2Ptr(pframe), ETH_ALEN ) ) in OnProbeRsp()
1528 if( _rtw_memcmp( pwdinfo->invitereq_info.peer_macaddr, GetAddr2Ptr(pframe), ETH_ALEN ) ) in OnProbeRsp()
1551 if ((psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe))) != NULL) in OnProbeRsp()
1669 if ((psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe))) != NULL) in OnBeacon()
1732 if ((psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe))) != NULL) in OnBeacon()
1765 report_add_sta_event(padapter, GetAddr2Ptr(pframe), cam_idx); in OnBeacon()
[all …]
H A Drtw_beamforming.c225 ta = GetAddr2Ptr(pframe); in beamforming_get_report_frame()
273 ta = GetAddr2Ptr(pframe); in beamforming_get_ndpa_frame()
H A Drtw_p2p.c2612 issue_p2p_devdisc_resp(pwdinfo, GetAddr2Ptr(pframe), status, dialogToken); in process_p2p_devdisc_req()
2662 issue_p2p_provision_resp( pwdinfo, GetAddr2Ptr(pframe), frame_body, uconfig_method); in process_p2p_provdisc_req()
3348 issue_p2p_presence_resp(pwdinfo, GetAddr2Ptr(pframe), status, dialogToken); in process_p2p_presence_req()
4120 _rtw_memcpy(nego_info->peer_mac, tx ? GetAddr1Ptr(buf) : GetAddr2Ptr(buf), ETH_ALEN); in rtw_p2p_check_frames()
4164 … && _rtw_memcmp(nego_info->peer_mac, tx ? GetAddr1Ptr(buf) : GetAddr2Ptr(buf), ETH_ALEN) == _TRUE in rtw_p2p_check_frames()
4210 … && _rtw_memcmp(nego_info->peer_mac, tx ? GetAddr1Ptr(buf) : GetAddr2Ptr(buf), ETH_ALEN) == _TRUE in rtw_p2p_check_frames()
4253 _rtw_memcpy(invit_info->peer_mac, tx ? GetAddr1Ptr(buf) : GetAddr2Ptr(buf), ETH_ALEN); in rtw_p2p_check_frames()
4306 … && _rtw_memcmp(invit_info->peer_mac, tx ? GetAddr1Ptr(buf) : GetAddr2Ptr(buf), ETH_ALEN) == _TRUE in rtw_p2p_check_frames()
H A Drtw_wapi.c398 pTaddr = GetAddr2Ptr(pkt_data); in rtw_wapi_is_wai_packet()
461 pTA = GetAddr2Ptr(ptr); in rtw_wapi_update_info()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/core/
H A Drtw_recv.c1353 _rtw_memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
1501 _rtw_memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); in ap2sta_data_frame()
1624 _rtw_memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); in sta2ap_data_frame()
1683 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); in validate_recv_ctrl_frame()
1865 …struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(precv_frame->u.hdr.rx_data… in validate_recv_mgnt_frame()
1920 _rtw_memcpy(pattrib->ta, GetAddr2Ptr(ptr), ETH_ALEN); in validate_recv_mgnt_frame()
1994 _rtw_memcpy(pattrib->ta, GetAddr2Ptr(ptr), ETH_ALEN); in validate_recv_data_frame()
2122 ppp = GetAddr2Ptr(ptr); in validate_80211w_mgmt()
2130 _rtw_memcpy(pattrib->ta, GetAddr2Ptr(ptr), ETH_ALEN); in validate_80211w_mgmt()
2191 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(ptr)); in validate_80211w_mgmt()
[all …]
H A Drtw_mlme_ext.c1111 struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(pframe)); in mgt_dispatcher()
1124 pbuf = GetAddr2Ptr(pframe); in mgt_dispatcher()
1152 … %s from "MAC_FMT"\n", rtw_tdls_action_txt(TDLS_DISCOVERY_RESPONSE), MAC_ARG(GetAddr2Ptr(pframe))); in mgt_dispatcher()
1589 if( _rtw_memcmp( pwdinfo->tx_prov_disc_info.peerIFAddr, GetAddr2Ptr(pframe), ETH_ALEN ) ) in OnProbeRsp()
1616 if( _rtw_memcmp( pwdinfo->nego_req_info.peerDevAddr, GetAddr2Ptr(pframe), ETH_ALEN ) ) in OnProbeRsp()
1628 if( _rtw_memcmp( pwdinfo->invitereq_info.peer_macaddr, GetAddr2Ptr(pframe), ETH_ALEN ) ) in OnProbeRsp()
1651 if ((psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe))) != NULL) in OnProbeRsp()
1771 if ((psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe))) != NULL) in OnBeacon()
1839 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); in OnBeacon()
1858 psta = rtw_alloc_stainfo(pstapriv, GetAddr2Ptr(pframe)); in OnBeacon()
[all …]
H A Drtw_p2p.c2644 issue_p2p_devdisc_resp(pwdinfo, GetAddr2Ptr(pframe), status, dialogToken); in process_p2p_devdisc_req()
2694 issue_p2p_provision_resp( pwdinfo, GetAddr2Ptr(pframe), frame_body, uconfig_method); in process_p2p_provdisc_req()
3352 issue_p2p_presence_resp(pwdinfo, GetAddr2Ptr(pframe), status, dialogToken); in process_p2p_presence_req()
4170 _rtw_memcpy(nego_info->peer_mac, tx ? GetAddr1Ptr(buf) : GetAddr2Ptr(buf), ETH_ALEN); in rtw_p2p_check_frames()
4215 … && _rtw_memcmp(nego_info->peer_mac, tx ? GetAddr1Ptr(buf) : GetAddr2Ptr(buf), ETH_ALEN) == _TRUE in rtw_p2p_check_frames()
4262 … && _rtw_memcmp(nego_info->peer_mac, tx ? GetAddr1Ptr(buf) : GetAddr2Ptr(buf), ETH_ALEN) == _TRUE in rtw_p2p_check_frames()
4306 _rtw_memcpy(invit_info->peer_mac, tx ? GetAddr1Ptr(buf) : GetAddr2Ptr(buf), ETH_ALEN); in rtw_p2p_check_frames()
4359 … && _rtw_memcmp(invit_info->peer_mac, tx ? GetAddr1Ptr(buf) : GetAddr2Ptr(buf), ETH_ALEN) == _TRUE in rtw_p2p_check_frames()
H A Drtw_beamforming.c1020 ta = GetAddr2Ptr(pframe); in beamforming_get_report_frame()
1070 ta = GetAddr2Ptr(pframe); in beamforming_get_ndpa_frame()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/core/
H A Drtw_recv.c1296 _rtw_memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
1431 _rtw_memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); in ap2sta_data_frame()
1552 _rtw_memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); in sta2ap_data_frame()
1608 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); in validate_recv_ctrl_frame()
1767 …struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(precv_frame->u.hdr.rx_data… in validate_recv_mgnt_frame()
1820 _rtw_memcpy(pattrib->ta, GetAddr2Ptr(ptr), ETH_ALEN); in validate_recv_mgnt_frame()
1893 _rtw_memcpy(pattrib->ta, GetAddr2Ptr(ptr), ETH_ALEN); in validate_recv_data_frame()
2008 ppp = GetAddr2Ptr(ptr); in validate_80211w_mgmt()
2016 _rtw_memcpy(pattrib->ta, GetAddr2Ptr(ptr), ETH_ALEN); in validate_80211w_mgmt()
2073 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(ptr)); in validate_80211w_mgmt()
[all …]
H A Drtw_mlme_ext.c1355 struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(pframe)); in mgt_dispatcher()
1368 pbuf = GetAddr2Ptr(pframe); in mgt_dispatcher()
1393 … %s from "MAC_FMT"\n", rtw_tdls_action_txt(TDLS_DISCOVERY_RESPONSE), MAC_ARG(GetAddr2Ptr(pframe))); in mgt_dispatcher()
1787 if (_rtw_memcmp(pwdinfo->tx_prov_disc_info.peerIFAddr, GetAddr2Ptr(pframe), ETH_ALEN)) { in OnProbeRsp()
1807 if (_rtw_memcmp(pwdinfo->nego_req_info.peerDevAddr, GetAddr2Ptr(pframe), ETH_ALEN)) { in OnProbeRsp()
1815 if (_rtw_memcmp(pwdinfo->invitereq_info.peer_macaddr, GetAddr2Ptr(pframe), ETH_ALEN)) { in OnProbeRsp()
1832 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); in OnProbeRsp()
1943 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); in OnBeacon()
2009 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); in OnBeacon()
2027 psta = rtw_alloc_stainfo(pstapriv, GetAddr2Ptr(pframe)); in OnBeacon()
[all …]
H A Drtw_beamforming.c1618 ta = GetAddr2Ptr(pframe); in beamforming_get_report_frame()
1666 ta = GetAddr2Ptr(pframe); in beamforming_get_report_frame()
1720 ta = GetAddr2Ptr(pframe); in beamforming_get_ndpa_frame()
1800 ta = GetAddr2Ptr(pframe); in beamforming_get_vht_gid_mgnt_frame()
H A Drtw_p2p.c2494 issue_p2p_devdisc_resp(pwdinfo, GetAddr2Ptr(pframe), status, dialogToken); in process_p2p_devdisc_req()
2538 issue_p2p_provision_resp(pwdinfo, GetAddr2Ptr(pframe), frame_body, uconfig_method); in process_p2p_provdisc_req()
3076 issue_p2p_presence_resp(pwdinfo, GetAddr2Ptr(pframe), status, dialogToken); in process_p2p_presence_req()
3850 _rtw_memcpy(nego_info->peer_mac, tx ? GetAddr1Ptr(buf) : GetAddr2Ptr(buf), ETH_ALEN); in rtw_p2p_check_frames()
3897 … && _rtw_memcmp(nego_info->peer_mac, tx ? GetAddr1Ptr(buf) : GetAddr2Ptr(buf), ETH_ALEN) == _TRUE in rtw_p2p_check_frames()
3944 … && _rtw_memcmp(nego_info->peer_mac, tx ? GetAddr1Ptr(buf) : GetAddr2Ptr(buf), ETH_ALEN) == _TRUE in rtw_p2p_check_frames()
3989 _rtw_memcpy(invit_info->peer_mac, tx ? GetAddr1Ptr(buf) : GetAddr2Ptr(buf), ETH_ALEN); in rtw_p2p_check_frames()
4041 … && _rtw_memcmp(invit_info->peer_mac, tx ? GetAddr1Ptr(buf) : GetAddr2Ptr(buf), ETH_ALEN) == _TRUE in rtw_p2p_check_frames()
H A Drtw_wapi.c375 pTaddr = GetAddr2Ptr(pkt_data); in rtw_wapi_is_wai_packet()
430 pTA = GetAddr2Ptr(ptr); in rtw_wapi_update_info()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/core/
H A Drtw_mlme_ext.c525 struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(pframe)); in mgt_dispatcher()
833 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); in OnBeacon()
850 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); in OnBeacon()
874 report_add_sta_event(padapter, GetAddr2Ptr(pframe), cam_idx); in OnBeacon()
906 sa = GetAddr2Ptr(pframe); in OnAuth()
1211 pstat = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); in OnAssocReq()
1629 issue_deauth(padapter, (void *)GetAddr2Ptr(pframe), status); in OnAssocReq()
1762 reason, GetAddr2Ptr(pframe)); in OnDeAuth()
1764 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); in OnDeAuth()
1837 reason, GetAddr2Ptr(pframe)); in OnDisassoc()
[all …]
H A Drtw_recv.c844 memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); in sta2sta_data_frame()
965 memcpy(pattrib->src, GetAddr2Ptr(ptr), ETH_ALEN); in ap2sta_data_frame()
1099 psta = rtw_get_stainfo(pstapriv, GetAddr2Ptr(pframe)); in validate_recv_ctrl_frame()
1234 …struct sta_info *psta = rtw_get_stainfo(&padapter->stapriv, GetAddr2Ptr(precv_frame->u.hdr.rx_data… in validate_recv_mgnt_frame()
1309 memcpy(pattrib->ta, GetAddr2Ptr(ptr), ETH_ALEN); in validate_recv_data_frame()
1420 memcpy(pattrib->ta, GetAddr2Ptr(ptr), ETH_ALEN); in validate_80211w_mgmt()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/rtl8723b/usb/
H A Dusb_ops.c329 paddr2 = GetAddr2Ptr(precvframe->u.hdr.rx_data);

12