Home
last modified time | relevance | path

Searched refs:hw_hdr_offset (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_security.c137 u8 hw_hdr_offset = 0; in rtw_wep_encrypt() local
152 hw_hdr_offset = TXDESC_SIZE + in rtw_wep_encrypt()
155 pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset; in rtw_wep_encrypt()
583 u8 hw_hdr_offset = 0; in rtw_tkip_encrypt() local
598 hw_hdr_offset = TXDESC_SIZE + in rtw_tkip_encrypt()
600 pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset; in rtw_tkip_encrypt()
1226 u8 hw_hdr_offset = 0; in rtw_aes_encrypt() local
1238 hw_hdr_offset = TXDESC_SIZE + in rtw_aes_encrypt()
1241 pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset; in rtw_aes_encrypt()
Drtw_xmit.c598 u8 hw_hdr_offset = 0; in xmitframe_addmic() local
606 hw_hdr_offset = TXDESC_SIZE + (pxmitframe->pkt_offset * PACKET_OFFSET_SZ); in xmitframe_addmic()
615 pframe = pxmitframe->buf_addr + hw_hdr_offset; in xmitframe_addmic()
912 u8 hw_hdr_offset; in rtw_xmitframe_coalesce() local
933 hw_hdr_offset = TXDESC_SIZE + (pxmitframe->pkt_offset * PACKET_OFFSET_SZ); in rtw_xmitframe_coalesce()
935 mem_start = pbuf_start + hw_hdr_offset; in rtw_xmitframe_coalesce()
1028 mem_start = (unsigned char *)round_up(addr, 4) + hw_hdr_offset; in rtw_xmitframe_coalesce()
1029 memcpy(mem_start, pbuf_start + hw_hdr_offset, pattrib->hdrlen); in rtw_xmitframe_coalesce()
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_security.c224 u8 hw_hdr_offset = 0; in rtw_wep_encrypt() local
232 hw_hdr_offset = TXDESC_OFFSET; in rtw_wep_encrypt()
233 pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset; in rtw_wep_encrypt()
657 u8 hw_hdr_offset = 0; in rtw_tkip_encrypt() local
673 hw_hdr_offset = TXDESC_OFFSET; in rtw_tkip_encrypt()
674 pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset; in rtw_tkip_encrypt()
1530 u8 hw_hdr_offset = 0; in rtw_aes_encrypt() local
1542 hw_hdr_offset = TXDESC_OFFSET; in rtw_aes_encrypt()
1543 pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset; in rtw_aes_encrypt()
Drtw_xmit.c862 u8 hw_hdr_offset = 0; in xmitframe_addmic() local
889 hw_hdr_offset = TXDESC_OFFSET; in xmitframe_addmic()
897 pframe = pxmitframe->buf_addr + hw_hdr_offset; in xmitframe_addmic()
1204 u8 hw_hdr_offset; in rtw_xmitframe_coalesce() local
1249 hw_hdr_offset = TXDESC_OFFSET; in rtw_xmitframe_coalesce()
1250 mem_start = pbuf_start + hw_hdr_offset; in rtw_xmitframe_coalesce()
1331 mem_start = (unsigned char *)RND4(addr) + hw_hdr_offset; in rtw_xmitframe_coalesce()
1332 memcpy(mem_start, pbuf_start + hw_hdr_offset, pattrib->hdrlen); in rtw_xmitframe_coalesce()