/Linux-v4.19/drivers/staging/rtl8188eu/hal/ |
D | rtl8188e_cmd.c | 212 struct ieee80211_hdr *pwlanhdr; in ConstructBeacon() local 220 pwlanhdr = (struct ieee80211_hdr *)pframe; in ConstructBeacon() 222 fctrl = &pwlanhdr->frame_control; in ConstructBeacon() 225 ether_addr_copy(pwlanhdr->addr1, bc_addr); in ConstructBeacon() 226 ether_addr_copy(pwlanhdr->addr2, myid(&(adapt->eeprompriv))); in ConstructBeacon() 227 ether_addr_copy(pwlanhdr->addr3, cur_network->MacAddress); in ConstructBeacon() 229 SetSeqNum(pwlanhdr, 0/*pmlmeext->mgnt_seq*/); in ConstructBeacon() 297 struct ieee80211_hdr *pwlanhdr; in ConstructPSPoll() local 303 pwlanhdr = (struct ieee80211_hdr *)pframe; in ConstructPSPoll() 306 fctrl = &pwlanhdr->frame_control; in ConstructPSPoll() [all …]
|
/Linux-v4.19/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-v4.19/drivers/staging/rtl8188eu/core/ |
D | rtw_mlme_ext.c | 316 struct ieee80211_hdr *pwlanhdr; in issue_beacon() local 343 pwlanhdr = (struct ieee80211_hdr *)pframe; in issue_beacon() 345 fctrl = &pwlanhdr->frame_control; in issue_beacon() 348 ether_addr_copy(pwlanhdr->addr1, bc_addr); in issue_beacon() 349 ether_addr_copy(pwlanhdr->addr2, myid(&(padapter->eeprompriv))); in issue_beacon() 350 ether_addr_copy(pwlanhdr->addr3, cur_network->MacAddress); in issue_beacon() 352 SetSeqNum(pwlanhdr, 0/*pmlmeext->mgnt_seq*/); in issue_beacon() 457 struct ieee80211_hdr *pwlanhdr; in issue_probersp() local 484 pwlanhdr = (struct ieee80211_hdr *)pframe; in issue_probersp() 489 fctrl = &pwlanhdr->frame_control; in issue_probersp() [all …]
|
D | rtw_xmit.c | 736 struct ieee80211_hdr *pwlanhdr = (struct ieee80211_hdr *)hdr; in rtw_make_wlanhdr() local 742 __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-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_mlme_ext.c | 2455 struct ieee80211_hdr *pwlanhdr; in issue_beacon() local 2483 pwlanhdr = (struct ieee80211_hdr *)pframe; in issue_beacon() 2486 fctrl = &(pwlanhdr->frame_control); in issue_beacon() 2489 memcpy(pwlanhdr->addr1, bc_addr, ETH_ALEN); in issue_beacon() 2490 memcpy(pwlanhdr->addr2, myid(&(padapter->eeprompriv)), ETH_ALEN); in issue_beacon() 2491 memcpy(pwlanhdr->addr3, get_my_bssid(cur_network), ETH_ALEN); in issue_beacon() 2493 SetSeqNum(pwlanhdr, 0/*pmlmeext->mgnt_seq*/); in issue_beacon() 2611 struct ieee80211_hdr *pwlanhdr; in issue_probersp() local 2643 pwlanhdr = (struct ieee80211_hdr *)pframe; in issue_probersp() 2648 fctrl = &(pwlanhdr->frame_control); in issue_probersp() [all …]
|
D | rtw_xmit.c | 1021 struct ieee80211_hdr *pwlanhdr = (struct ieee80211_hdr *)hdr; in rtw_make_wlanhdr() local 1026 __le16 *fctrl = &pwlanhdr->frame_control; in rtw_make_wlanhdr() 1040 memcpy(pwlanhdr->addr1, get_bssid(pmlmepriv), ETH_ALEN); in rtw_make_wlanhdr() 1041 memcpy(pwlanhdr->addr2, pattrib->src, ETH_ALEN); in rtw_make_wlanhdr() 1042 memcpy(pwlanhdr->addr3, pattrib->dst, ETH_ALEN); in rtw_make_wlanhdr() 1051 memcpy(pwlanhdr->addr1, pattrib->dst, ETH_ALEN); in rtw_make_wlanhdr() 1052 memcpy(pwlanhdr->addr2, get_bssid(pmlmepriv), ETH_ALEN); in rtw_make_wlanhdr() 1053 memcpy(pwlanhdr->addr3, pattrib->src, ETH_ALEN); in rtw_make_wlanhdr() 1059 memcpy(pwlanhdr->addr1, pattrib->dst, ETH_ALEN); in rtw_make_wlanhdr() 1060 memcpy(pwlanhdr->addr2, pattrib->src, ETH_ALEN); in rtw_make_wlanhdr() [all …]
|
D | rtw_security.c | 1946 struct ieee80211_hdr *pwlanhdr; in rtw_BIP_verify() local 1962 pwlanhdr = (struct ieee80211_hdr *)pframe; in rtw_BIP_verify() 1990 memcpy(BIP_AAD, &pwlanhdr->frame_control, 2); in rtw_BIP_verify() 1995 memcpy(BIP_AAD+2, pwlanhdr->addr1, 18); in rtw_BIP_verify()
|
/Linux-v4.19/drivers/staging/rtl8712/ |
D | rtl871x_xmit.c | 488 struct ieee80211_hdr *pwlanhdr = (struct ieee80211_hdr *)hdr; in make_wlanhdr() local 491 __le16 *fctrl = &pwlanhdr->frame_ctl; in make_wlanhdr() 499 memcpy(pwlanhdr->addr1, get_bssid(pmlmepriv), in make_wlanhdr() 501 memcpy(pwlanhdr->addr2, pattrib->src, ETH_ALEN); in make_wlanhdr() 502 memcpy(pwlanhdr->addr3, pattrib->dst, ETH_ALEN); in make_wlanhdr() 506 memcpy(pwlanhdr->addr1, pattrib->dst, ETH_ALEN); in make_wlanhdr() 507 memcpy(pwlanhdr->addr2, get_bssid(pmlmepriv), in make_wlanhdr() 509 memcpy(pwlanhdr->addr3, pattrib->src, ETH_ALEN); in make_wlanhdr() 513 memcpy(pwlanhdr->addr1, pattrib->dst, ETH_ALEN); in make_wlanhdr() 514 memcpy(pwlanhdr->addr2, pattrib->src, ETH_ALEN); in make_wlanhdr() [all …]
|
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_cfg80211.c | 252 struct ieee80211_hdr *pwlanhdr; in rtw_cfg80211_inform_bss() local 348 pwlanhdr = (struct ieee80211_hdr *)pbuf; in rtw_cfg80211_inform_bss() 349 fctrl = &(pwlanhdr->frame_control); in rtw_cfg80211_inform_bss() 352 SetSeqNum(pwlanhdr, 0/*pmlmeext->mgnt_seq*/); in rtw_cfg80211_inform_bss() 356 memcpy(pwlanhdr->addr1, bc_addr, ETH_ALEN); in rtw_cfg80211_inform_bss() 359 memcpy(pwlanhdr->addr1, myid(&(padapter->eeprompriv)), ETH_ALEN); in rtw_cfg80211_inform_bss() 363 memcpy(pwlanhdr->addr2, pnetwork->network.MacAddress, ETH_ALEN); in rtw_cfg80211_inform_bss() 364 memcpy(pwlanhdr->addr3, pnetwork->network.MacAddress, ETH_ALEN); in rtw_cfg80211_inform_bss() 2543 struct ieee80211_hdr *pwlanhdr; in rtw_cfg80211_monitor_if_xmit_entry() local 2581 pwlanhdr = (struct ieee80211_hdr *)pframe; in rtw_cfg80211_monitor_if_xmit_entry() [all …]
|