/Linux-v6.1/drivers/staging/r8188eu/hal/ |
D | rtl8188e_cmd.c | 205 struct ieee80211_hdr *pwlanhdr; in ConstructBeacon() local 212 pwlanhdr = (struct ieee80211_hdr *)pframe; in ConstructBeacon() 214 fctrl = &pwlanhdr->frame_control; in ConstructBeacon() 217 eth_broadcast_addr(pwlanhdr->addr1); in ConstructBeacon() 218 memcpy(pwlanhdr->addr2, myid(&adapt->eeprompriv), ETH_ALEN); in ConstructBeacon() 219 memcpy(pwlanhdr->addr3, get_my_bssid(cur_network), ETH_ALEN); in ConstructBeacon() 221 SetSeqNum(pwlanhdr, 0/*pmlmeext->mgnt_seq*/); in ConstructBeacon() 287 struct ieee80211_hdr *pwlanhdr; in ConstructPSPoll() local 292 pwlanhdr = (struct ieee80211_hdr *)pframe; in ConstructPSPoll() 295 fctrl = &pwlanhdr->frame_control; in ConstructPSPoll() [all …]
|
/Linux-v6.1/drivers/staging/rtl8723bs/hal/ |
D | rtl8723b_cmd.c | 110 struct ieee80211_hdr *pwlanhdr; in ConstructBeacon() local 117 pwlanhdr = (struct ieee80211_hdr *)pframe; in ConstructBeacon() 119 fctrl = &(pwlanhdr->frame_control); in ConstructBeacon() 122 eth_broadcast_addr(pwlanhdr->addr1); in ConstructBeacon() 123 memcpy(pwlanhdr->addr2, myid(&(padapter->eeprompriv)), ETH_ALEN); in ConstructBeacon() 124 memcpy(pwlanhdr->addr3, get_my_bssid(cur_network), ETH_ALEN); in ConstructBeacon() 126 SetSeqNum(pwlanhdr, 0/*pmlmeext->mgnt_seq*/); in ConstructBeacon() 198 struct ieee80211_hdr *pwlanhdr; in ConstructPSPoll() local 203 pwlanhdr = (struct ieee80211_hdr *)pframe; in ConstructPSPoll() 206 fctrl = &(pwlanhdr->frame_control); in ConstructPSPoll() [all …]
|
/Linux-v6.1/drivers/staging/r8188eu/core/ |
D | rtw_mlme_ext.c | 1667 struct ieee80211_hdr *pwlanhdr; in issue_p2p_GO_request() local 1684 pwlanhdr = (struct ieee80211_hdr *)pframe; in issue_p2p_GO_request() 1686 fctrl = &pwlanhdr->frame_control; in issue_p2p_GO_request() 1689 memcpy(pwlanhdr->addr1, raddr, ETH_ALEN); in issue_p2p_GO_request() 1690 memcpy(pwlanhdr->addr2, myid(&padapter->eeprompriv), ETH_ALEN); in issue_p2p_GO_request() 1691 memcpy(pwlanhdr->addr3, myid(&padapter->eeprompriv), ETH_ALEN); in issue_p2p_GO_request() 1693 SetSeqNum(pwlanhdr, pmlmeext->mgnt_seq); in issue_p2p_GO_request() 2002 struct ieee80211_hdr *pwlanhdr; in issue_p2p_GO_response() local 2019 pwlanhdr = (struct ieee80211_hdr *)pframe; in issue_p2p_GO_response() 2021 fctrl = &pwlanhdr->frame_control; in issue_p2p_GO_response() [all …]
|
D | rtw_p2p.c | 114 struct ieee80211_hdr *pwlanhdr; in issue_group_disc_req() local 135 pwlanhdr = (struct ieee80211_hdr *)pframe; in issue_group_disc_req() 137 fctrl = &pwlanhdr->frame_control; in issue_group_disc_req() 140 memcpy(pwlanhdr->addr1, da, ETH_ALEN); in issue_group_disc_req() 141 memcpy(pwlanhdr->addr2, pwdinfo->interface_addr, ETH_ALEN); in issue_group_disc_req() 142 memcpy(pwlanhdr->addr3, pwdinfo->interface_addr, ETH_ALEN); in issue_group_disc_req() 144 SetSeqNum(pwlanhdr, pmlmeext->mgnt_seq); in issue_group_disc_req() 169 struct ieee80211_hdr *pwlanhdr; in issue_p2p_devdisc_resp() local 192 pwlanhdr = (struct ieee80211_hdr *)pframe; in issue_p2p_devdisc_resp() 194 fctrl = &pwlanhdr->frame_control; in issue_p2p_devdisc_resp() [all …]
|
D | rtw_xmit.c | 806 struct ieee80211_hdr *pwlanhdr = (struct ieee80211_hdr *)hdr; in rtw_make_wlanhdr() local 812 __le16 *fctrl = &pwlanhdr->frame_control; in rtw_make_wlanhdr() 832 memcpy(pwlanhdr->addr1, get_bssid(pmlmepriv), ETH_ALEN); in rtw_make_wlanhdr() 833 memcpy(pwlanhdr->addr2, pattrib->src, ETH_ALEN); in rtw_make_wlanhdr() 834 memcpy(pwlanhdr->addr3, pattrib->dst, ETH_ALEN); in rtw_make_wlanhdr() 841 memcpy(pwlanhdr->addr1, pattrib->dst, ETH_ALEN); in rtw_make_wlanhdr() 842 memcpy(pwlanhdr->addr2, get_bssid(pmlmepriv), ETH_ALEN); in rtw_make_wlanhdr() 843 memcpy(pwlanhdr->addr3, pattrib->src, ETH_ALEN); in rtw_make_wlanhdr() 849 memcpy(pwlanhdr->addr1, pattrib->dst, ETH_ALEN); in rtw_make_wlanhdr() 850 memcpy(pwlanhdr->addr2, pattrib->src, ETH_ALEN); in rtw_make_wlanhdr() [all …]
|
/Linux-v6.1/drivers/staging/rtl8723bs/core/ |
D | rtw_mlme_ext.c | 2121 struct ieee80211_hdr *pwlanhdr; in issue_beacon() local 2144 pwlanhdr = (struct ieee80211_hdr *)pframe; in issue_beacon() 2147 fctrl = &(pwlanhdr->frame_control); in issue_beacon() 2150 eth_broadcast_addr(pwlanhdr->addr1); in issue_beacon() 2151 memcpy(pwlanhdr->addr2, myid(&(padapter->eeprompriv)), ETH_ALEN); in issue_beacon() 2152 memcpy(pwlanhdr->addr3, get_my_bssid(cur_network), ETH_ALEN); in issue_beacon() 2154 SetSeqNum(pwlanhdr, 0/*pmlmeext->mgnt_seq*/); in issue_beacon() 2266 struct ieee80211_hdr *pwlanhdr; in issue_probersp() local 2293 pwlanhdr = (struct ieee80211_hdr *)pframe; in issue_probersp() 2298 fctrl = &(pwlanhdr->frame_control); in issue_probersp() [all …]
|
D | rtw_xmit.c | 864 struct ieee80211_hdr *pwlanhdr = (struct ieee80211_hdr *)hdr; in rtw_make_wlanhdr() local 869 __le16 *fctrl = &pwlanhdr->frame_control; in rtw_make_wlanhdr() 883 memcpy(pwlanhdr->addr1, get_bssid(pmlmepriv), ETH_ALEN); in rtw_make_wlanhdr() 884 memcpy(pwlanhdr->addr2, pattrib->src, ETH_ALEN); in rtw_make_wlanhdr() 885 memcpy(pwlanhdr->addr3, pattrib->dst, ETH_ALEN); in rtw_make_wlanhdr() 893 memcpy(pwlanhdr->addr1, pattrib->dst, ETH_ALEN); in rtw_make_wlanhdr() 894 memcpy(pwlanhdr->addr2, get_bssid(pmlmepriv), ETH_ALEN); in rtw_make_wlanhdr() 895 memcpy(pwlanhdr->addr3, pattrib->src, ETH_ALEN); in rtw_make_wlanhdr() 901 memcpy(pwlanhdr->addr1, pattrib->dst, ETH_ALEN); in rtw_make_wlanhdr() 902 memcpy(pwlanhdr->addr2, pattrib->src, ETH_ALEN); in rtw_make_wlanhdr() [all …]
|
D | rtw_security.c | 1379 struct ieee80211_hdr *pwlanhdr; in rtw_BIP_verify() local 1394 pwlanhdr = (struct ieee80211_hdr *)pframe; in rtw_BIP_verify() 1420 memcpy(BIP_AAD, &pwlanhdr->frame_control, 2); in rtw_BIP_verify() 1425 memcpy(BIP_AAD+2, pwlanhdr->addr1, 18); in rtw_BIP_verify()
|
/Linux-v6.1/drivers/staging/rtl8712/ |
D | rtl871x_xmit.c | 474 struct ieee80211_hdr *pwlanhdr = (struct ieee80211_hdr *)hdr; in make_wlanhdr() local 477 __le16 *fctrl = &pwlanhdr->frame_control; in make_wlanhdr() 490 ether_addr_copy(pwlanhdr->addr1, bssid); in make_wlanhdr() 491 ether_addr_copy(pwlanhdr->addr2, pattrib->src); in make_wlanhdr() 492 ether_addr_copy(pwlanhdr->addr3, pattrib->dst); in make_wlanhdr() 496 ether_addr_copy(pwlanhdr->addr1, pattrib->dst); in make_wlanhdr() 497 ether_addr_copy(pwlanhdr->addr2, bssid); in make_wlanhdr() 498 ether_addr_copy(pwlanhdr->addr3, pattrib->src); in make_wlanhdr() 501 ether_addr_copy(pwlanhdr->addr1, pattrib->dst); in make_wlanhdr() 502 ether_addr_copy(pwlanhdr->addr2, pattrib->src); in make_wlanhdr() [all …]
|
/Linux-v6.1/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_cfg80211.c | 220 struct ieee80211_hdr *pwlanhdr; in rtw_cfg80211_inform_bss() local 290 pwlanhdr = (struct ieee80211_hdr *)pbuf; in rtw_cfg80211_inform_bss() 291 fctrl = &(pwlanhdr->frame_control); in rtw_cfg80211_inform_bss() 294 SetSeqNum(pwlanhdr, 0/*pmlmeext->mgnt_seq*/); in rtw_cfg80211_inform_bss() 298 eth_broadcast_addr(pwlanhdr->addr1); in rtw_cfg80211_inform_bss() 301 memcpy(pwlanhdr->addr1, myid(&(padapter->eeprompriv)), ETH_ALEN); in rtw_cfg80211_inform_bss() 305 memcpy(pwlanhdr->addr2, pnetwork->network.mac_address, ETH_ALEN); in rtw_cfg80211_inform_bss() 306 memcpy(pwlanhdr->addr3, pnetwork->network.mac_address, ETH_ALEN); in rtw_cfg80211_inform_bss() 2101 struct ieee80211_hdr *pwlanhdr; in rtw_cfg80211_monitor_if_xmit_entry() local 2128 pwlanhdr = (struct ieee80211_hdr *)pframe; in rtw_cfg80211_monitor_if_xmit_entry() [all …]
|