/Linux-v5.10/drivers/staging/rtl8188eu/hal/ |
D | rtl8188e_cmd.c | 203 struct ieee80211_hdr *pwlanhdr; in ConstructBeacon() local 211 pwlanhdr = (struct ieee80211_hdr *)pframe; in ConstructBeacon() 213 fctrl = &pwlanhdr->frame_control; in ConstructBeacon() 216 ether_addr_copy(pwlanhdr->addr1, bc_addr); in ConstructBeacon() 217 ether_addr_copy(pwlanhdr->addr2, myid(&adapt->eeprompriv)); in ConstructBeacon() 218 ether_addr_copy(pwlanhdr->addr3, cur_network->MacAddress); in ConstructBeacon() 220 SetSeqNum(pwlanhdr, 0/*pmlmeext->mgnt_seq*/); in ConstructBeacon() 288 struct ieee80211_hdr *pwlanhdr; in ConstructPSPoll() local 294 pwlanhdr = (struct ieee80211_hdr *)pframe; in ConstructPSPoll() 297 fctrl = &pwlanhdr->frame_control; in ConstructPSPoll() [all …]
|
/Linux-v5.10/drivers/staging/rtl8723bs/hal/ |
D | rtl8723b_cmd.c | 124 struct ieee80211_hdr *pwlanhdr; in ConstructBeacon() local 135 pwlanhdr = (struct ieee80211_hdr *)pframe; in ConstructBeacon() 137 fctrl = &(pwlanhdr->frame_control); in ConstructBeacon() 140 memcpy(pwlanhdr->addr1, bc_addr, ETH_ALEN); in ConstructBeacon() 141 memcpy(pwlanhdr->addr2, myid(&(padapter->eeprompriv)), ETH_ALEN); in ConstructBeacon() 142 memcpy(pwlanhdr->addr3, get_my_bssid(cur_network), ETH_ALEN); in ConstructBeacon() 144 SetSeqNum(pwlanhdr, 0/*pmlmeext->mgnt_seq*/); in ConstructBeacon() 221 struct ieee80211_hdr *pwlanhdr; in ConstructPSPoll() local 228 pwlanhdr = (struct ieee80211_hdr *)pframe; in ConstructPSPoll() 231 fctrl = &(pwlanhdr->frame_control); in ConstructPSPoll() [all …]
|
/Linux-v5.10/drivers/staging/rtl8188eu/core/ |
D | rtw_mlme_ext.c | 309 struct ieee80211_hdr *pwlanhdr; in issue_beacon() local 336 pwlanhdr = (struct ieee80211_hdr *)pframe; in issue_beacon() 338 fctrl = &pwlanhdr->frame_control; in issue_beacon() 341 ether_addr_copy(pwlanhdr->addr1, bc_addr); in issue_beacon() 342 ether_addr_copy(pwlanhdr->addr2, myid(&padapter->eeprompriv)); in issue_beacon() 343 ether_addr_copy(pwlanhdr->addr3, cur_network->MacAddress); in issue_beacon() 345 SetSeqNum(pwlanhdr, 0/*pmlmeext->mgnt_seq*/); in issue_beacon() 450 struct ieee80211_hdr *pwlanhdr; in issue_probersp() local 477 pwlanhdr = (struct ieee80211_hdr *)pframe; in issue_probersp() 482 fctrl = &pwlanhdr->frame_control; in issue_probersp() [all …]
|
D | rtw_xmit.c | 738 struct ieee80211_hdr *pwlanhdr = (struct ieee80211_hdr *)hdr; in rtw_make_wlanhdr() local 744 __le16 *fctrl = &pwlanhdr->frame_control; in rtw_make_wlanhdr() 766 memcpy(pwlanhdr->addr1, get_bssid(pmlmepriv), ETH_ALEN); in rtw_make_wlanhdr() 767 memcpy(pwlanhdr->addr2, pattrib->src, ETH_ALEN); in rtw_make_wlanhdr() 768 memcpy(pwlanhdr->addr3, pattrib->dst, ETH_ALEN); in rtw_make_wlanhdr() 775 memcpy(pwlanhdr->addr1, pattrib->dst, ETH_ALEN); in rtw_make_wlanhdr() 776 memcpy(pwlanhdr->addr2, get_bssid(pmlmepriv), ETH_ALEN); in rtw_make_wlanhdr() 777 memcpy(pwlanhdr->addr3, pattrib->src, ETH_ALEN); in rtw_make_wlanhdr() 783 memcpy(pwlanhdr->addr1, pattrib->dst, ETH_ALEN); in rtw_make_wlanhdr() 784 memcpy(pwlanhdr->addr2, pattrib->src, ETH_ALEN); in rtw_make_wlanhdr() [all …]
|
/Linux-v5.10/drivers/staging/rtl8723bs/core/ |
D | rtw_mlme_ext.c | 2440 struct ieee80211_hdr *pwlanhdr; in issue_beacon() local 2468 pwlanhdr = (struct ieee80211_hdr *)pframe; in issue_beacon() 2471 fctrl = &(pwlanhdr->frame_control); in issue_beacon() 2474 memcpy(pwlanhdr->addr1, bc_addr, ETH_ALEN); in issue_beacon() 2475 memcpy(pwlanhdr->addr2, myid(&(padapter->eeprompriv)), ETH_ALEN); in issue_beacon() 2476 memcpy(pwlanhdr->addr3, get_my_bssid(cur_network), ETH_ALEN); in issue_beacon() 2478 SetSeqNum(pwlanhdr, 0/*pmlmeext->mgnt_seq*/); in issue_beacon() 2598 struct ieee80211_hdr *pwlanhdr; in issue_probersp() local 2630 pwlanhdr = (struct ieee80211_hdr *)pframe; in issue_probersp() 2635 fctrl = &(pwlanhdr->frame_control); in issue_probersp() [all …]
|
D | rtw_xmit.c | 939 struct ieee80211_hdr *pwlanhdr = (struct ieee80211_hdr *)hdr; in rtw_make_wlanhdr() local 944 __le16 *fctrl = &pwlanhdr->frame_control; in rtw_make_wlanhdr() 958 memcpy(pwlanhdr->addr1, get_bssid(pmlmepriv), ETH_ALEN); in rtw_make_wlanhdr() 959 memcpy(pwlanhdr->addr2, pattrib->src, ETH_ALEN); in rtw_make_wlanhdr() 960 memcpy(pwlanhdr->addr3, pattrib->dst, ETH_ALEN); in rtw_make_wlanhdr() 968 memcpy(pwlanhdr->addr1, pattrib->dst, ETH_ALEN); in rtw_make_wlanhdr() 969 memcpy(pwlanhdr->addr2, get_bssid(pmlmepriv), ETH_ALEN); in rtw_make_wlanhdr() 970 memcpy(pwlanhdr->addr3, pattrib->src, ETH_ALEN); in rtw_make_wlanhdr() 976 memcpy(pwlanhdr->addr1, pattrib->dst, ETH_ALEN); in rtw_make_wlanhdr() 977 memcpy(pwlanhdr->addr2, pattrib->src, ETH_ALEN); in rtw_make_wlanhdr() [all …]
|
D | rtw_security.c | 1906 struct ieee80211_hdr *pwlanhdr; in rtw_BIP_verify() local 1922 pwlanhdr = (struct ieee80211_hdr *)pframe; in rtw_BIP_verify() 1950 memcpy(BIP_AAD, &pwlanhdr->frame_control, 2); in rtw_BIP_verify() 1955 memcpy(BIP_AAD+2, pwlanhdr->addr1, 18); in rtw_BIP_verify()
|
/Linux-v5.10/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-v5.10/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_cfg80211.c | 230 struct ieee80211_hdr *pwlanhdr; in rtw_cfg80211_inform_bss() local 320 pwlanhdr = (struct ieee80211_hdr *)pbuf; in rtw_cfg80211_inform_bss() 321 fctrl = &(pwlanhdr->frame_control); in rtw_cfg80211_inform_bss() 324 SetSeqNum(pwlanhdr, 0/*pmlmeext->mgnt_seq*/); in rtw_cfg80211_inform_bss() 328 memcpy(pwlanhdr->addr1, bc_addr, ETH_ALEN); in rtw_cfg80211_inform_bss() 331 memcpy(pwlanhdr->addr1, myid(&(padapter->eeprompriv)), ETH_ALEN); in rtw_cfg80211_inform_bss() 335 memcpy(pwlanhdr->addr2, pnetwork->network.MacAddress, ETH_ALEN); in rtw_cfg80211_inform_bss() 336 memcpy(pwlanhdr->addr3, pnetwork->network.MacAddress, ETH_ALEN); in rtw_cfg80211_inform_bss() 2492 struct ieee80211_hdr *pwlanhdr; in rtw_cfg80211_monitor_if_xmit_entry() local 2530 pwlanhdr = (struct ieee80211_hdr *)pframe; in rtw_cfg80211_monitor_if_xmit_entry() [all …]
|