| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43legacy/ |
| H A D | xmit.c | 181 const struct ieee80211_hdr *wlhdr; in generate_txhdr_fw3() local 193 wlhdr = (const struct ieee80211_hdr *)fragment_data; in generate_txhdr_fw3() 204 txhdr->mac_frame_ctl = wlhdr->frame_control; in generate_txhdr_fw3() 205 memcpy(txhdr->tx_receiver, wlhdr->addr1, ETH_ALEN); in generate_txhdr_fw3() 209 (wlhdr->duration_id & cpu_to_le16(0x8000)) || in generate_txhdr_fw3() 210 (wlhdr->duration_id == cpu_to_le16(0))) { in generate_txhdr_fw3() 214 txhdr->dur_fb = wlhdr->duration_id; in generate_txhdr_fw3() 243 wlhdr_len = ieee80211_hdrlen(wlhdr->frame_control); in generate_txhdr_fw3() 246 memcpy(txhdr->iv, ((u8 *)wlhdr) + wlhdr_len, iv_len); in generate_txhdr_fw3() 424 struct ieee80211_hdr *wlhdr; in b43legacy_rx() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43/ |
| H A D | xmit.c | 245 const struct ieee80211_hdr *wlhdr = in b43_generate_txhdr() local 248 __le16 fctl = wlhdr->frame_control; in b43_generate_txhdr() 275 txhdr->mac_frame_ctl = wlhdr->frame_control; in b43_generate_txhdr() 276 memcpy(txhdr->tx_receiver, wlhdr->addr1, ETH_ALEN); in b43_generate_txhdr() 280 (wlhdr->duration_id & cpu_to_le16(0x8000)) || in b43_generate_txhdr() 281 (wlhdr->duration_id == cpu_to_le16(0))) { in b43_generate_txhdr() 285 txhdr->dur_fb = wlhdr->duration_id; in b43_generate_txhdr() 333 memcpy(txhdr->iv + 10, ((u8 *) wlhdr) + wlhdr_len, 3); in b43_generate_txhdr() 337 memcpy(txhdr->iv, ((u8 *) wlhdr) + wlhdr_len, iv_len); in b43_generate_txhdr() 636 struct ieee80211_hdr *wlhdr; in b43_rx() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/halmac/halmac_88xx/ |
| H A D | halmac_common_88xx.c | 225 struct wlhdr_frame_ctrl *wlhdr); 229 struct wlhdr_frame_ctrl *wlhdr); 233 struct wlhdr_frame_ctrl *wlhdr); 2602 struct wlhdr_frame_ctrl *wlhdr; in wlhdr_valid_88xx() local 2604 wlhdr = (struct wlhdr_frame_ctrl *)(buf + txdesc_size); in wlhdr_valid_88xx() 2606 if (wlhdr->protocol != WLHDR_PROT_VER) { in wlhdr_valid_88xx() 2611 switch (wlhdr->type) { in wlhdr_valid_88xx() 2613 if (wlhdr_mgmt_valid_88xx(adapter, wlhdr) != 1) in wlhdr_valid_88xx() 2617 if (wlhdr_ctrl_valid_88xx(adapter, wlhdr) != 1) in wlhdr_valid_88xx() 2621 if (wlhdr_data_valid_88xx(adapter, wlhdr) != 1) in wlhdr_valid_88xx() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/halmac/halmac_88xx/ |
| H A D | halmac_common_88xx.c | 225 struct wlhdr_frame_ctrl *wlhdr); 229 struct wlhdr_frame_ctrl *wlhdr); 233 struct wlhdr_frame_ctrl *wlhdr); 2610 struct wlhdr_frame_ctrl *wlhdr; in wlhdr_valid_88xx() local 2612 wlhdr = (struct wlhdr_frame_ctrl *)(buf + txdesc_size); in wlhdr_valid_88xx() 2614 if (wlhdr->protocol != WLHDR_PROT_VER) { in wlhdr_valid_88xx() 2619 switch (wlhdr->type) { in wlhdr_valid_88xx() 2621 if (wlhdr_mgmt_valid_88xx(adapter, wlhdr) != 1) in wlhdr_valid_88xx() 2625 if (wlhdr_ctrl_valid_88xx(adapter, wlhdr) != 1) in wlhdr_valid_88xx() 2629 if (wlhdr_data_valid_88xx(adapter, wlhdr) != 1) in wlhdr_valid_88xx() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/halmac/halmac_88xx/ |
| H A D | halmac_common_88xx.c | 226 struct wlhdr_frame_ctrl *wlhdr); 230 struct wlhdr_frame_ctrl *wlhdr); 234 struct wlhdr_frame_ctrl *wlhdr); 2611 struct wlhdr_frame_ctrl *wlhdr; in wlhdr_valid_88xx() local 2613 wlhdr = (struct wlhdr_frame_ctrl *)(buf + txdesc_size); in wlhdr_valid_88xx() 2615 if (wlhdr->protocol != WLHDR_PROT_VER) { in wlhdr_valid_88xx() 2620 switch (wlhdr->type) { in wlhdr_valid_88xx() 2622 if (wlhdr_mgmt_valid_88xx(adapter, wlhdr) != 1) in wlhdr_valid_88xx() 2626 if (wlhdr_ctrl_valid_88xx(adapter, wlhdr) != 1) in wlhdr_valid_88xx() 2630 if (wlhdr_data_valid_88xx(adapter, wlhdr) != 1) in wlhdr_valid_88xx() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/halmac/halmac_88xx/ |
| H A D | halmac_common_88xx.c | 225 struct wlhdr_frame_ctrl *wlhdr); 229 struct wlhdr_frame_ctrl *wlhdr); 233 struct wlhdr_frame_ctrl *wlhdr); 2610 struct wlhdr_frame_ctrl *wlhdr; in wlhdr_valid_88xx() local 2612 wlhdr = (struct wlhdr_frame_ctrl *)(buf + txdesc_size); in wlhdr_valid_88xx() 2614 if (wlhdr->protocol != WLHDR_PROT_VER) { in wlhdr_valid_88xx() 2619 switch (wlhdr->type) { in wlhdr_valid_88xx() 2621 if (wlhdr_mgmt_valid_88xx(adapter, wlhdr) != 1) in wlhdr_valid_88xx() 2625 if (wlhdr_ctrl_valid_88xx(adapter, wlhdr) != 1) in wlhdr_valid_88xx() 2629 if (wlhdr_data_valid_88xx(adapter, wlhdr) != 1) in wlhdr_valid_88xx() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_security.c | 1524 pwlanhdr = pxframe->wlhdr[0]; 1557 pxframe->attrib.hdrlen, pxframe->wlhdr[curfragnum], ls_datelen, pdata); 1560 pxframe->attrib.hdrlen, pxframe->wlhdr[curfragnum], pxframe->attrib.frag_datalen, pdata);
|
| H A D | rtw_xmit.c | 2851 pwlhdr = pxframe->wlhdr[0]; 6810 u8 *wlhdr[RTW_MAX_FRAG_NUM] = {NULL}; in fill_txreq_pkt_perfrag_txos() local 6881 wlhdr[idx] = head; in fill_txreq_pkt_perfrag_txos() 6933 _rtw_memcpy(pxframe->wlhdr, wlhdr, sizeof(wlhdr)); in fill_txreq_pkt_perfrag_txos() 7645 u8 *pwlanhdr = pxframe->wlhdr[idx]; in core_wlan_fill_head() 7741 llc = pxframe->wlhdr[0] + pxframe->attrib.hdrlen + pxframe->attrib.iv_len; in core_wlan_fill_tkip_mic()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/ |
| H A D | rtw_security.c | 1524 pwlanhdr = pxframe->wlhdr[0]; 1557 pxframe->attrib.hdrlen, pxframe->wlhdr[curfragnum], ls_datelen, pdata); 1560 pxframe->attrib.hdrlen, pxframe->wlhdr[curfragnum], pxframe->attrib.frag_datalen, pdata);
|
| H A D | rtw_xmit.c | 2844 pwlhdr = pxframe->wlhdr[0]; 6792 u8 *wlhdr[RTW_MAX_FRAG_NUM] = {NULL}; in fill_txreq_pkt_perfrag_txos() local 6863 wlhdr[idx] = head; in fill_txreq_pkt_perfrag_txos() 6915 _rtw_memcpy(pxframe->wlhdr, wlhdr, sizeof(wlhdr)); in fill_txreq_pkt_perfrag_txos() 7558 u8 *pwlanhdr = pxframe->wlhdr[idx]; in core_wlan_fill_head() 7654 llc = pxframe->wlhdr[0] + pxframe->attrib.hdrlen + pxframe->attrib.iv_len; in core_wlan_fill_tkip_mic()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/include/ |
| H A D | rtw_xmit.h | 765 u8 *wlhdr[RTW_MAX_FRAG_NUM]; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/include/ |
| H A D | rtw_xmit.h | 769 u8 *wlhdr[RTW_MAX_FRAG_NUM]; member
|