Home
last modified time | relevance | path

Searched refs:curfragnum (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_security.c135 int curfragnum, length; in rtw_wep_encrypt() local
170 for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) { in rtw_wep_encrypt()
171 if (curfragnum + 1 == pattrib->nr_frags) in rtw_wep_encrypt()
585 int curfragnum, length; in rtw_tkip_encrypt() local
616 for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) { in rtw_tkip_encrypt()
627 if ((curfragnum+1) == pattrib->nr_frags) { /* 4 the last fragment */ in rtw_tkip_encrypt()
1224 int curfragnum, length; in rtw_aes_encrypt() local
1257 for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) { in rtw_aes_encrypt()
1258 if ((curfragnum+1) == pattrib->nr_frags) { /* 4 the last fragment */ in rtw_aes_encrypt()
Drtw_xmit.c590 int curfragnum, length; in xmitframe_addmic() local
653 for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) { in xmitframe_addmic()
657 curfragnum, *payload, *(payload+1), in xmitframe_addmic()
665 curfragnum, pattrib->hdrlen, pattrib->iv_len)); in xmitframe_addmic()
666 if ((curfragnum+1) == pattrib->nr_frags) { in xmitframe_addmic()
674 …1x_xmit_c_, _drv_err_, ("curfragnum=%d length=%d pattrib->icv_len=%d", curfragnum, length, pattrib… in xmitframe_addmic()
690 for (curfragnum = 0; curfragnum < pattrib->last_txcmdsz; curfragnum = curfragnum+8) in xmitframe_addmic()
693 *(payload + curfragnum), *(payload + curfragnum + 1), in xmitframe_addmic()
694 *(payload + curfragnum + 2), *(payload + curfragnum + 3), in xmitframe_addmic()
695 *(payload + curfragnum + 4), *(payload + curfragnum + 5), in xmitframe_addmic()
[all …]
Drtw_recv.c1327 u8 curfragnum; in recvframe_defrag() local
1332 curfragnum = 0; in recvframe_defrag()
1341 if (curfragnum != pfhdr->attrib.frag_num) { in recvframe_defrag()
1350 curfragnum++; in recvframe_defrag()
1362 if (curfragnum != pnfhdr->attrib.frag_num) { in recvframe_defrag()
1370 curfragnum++; in recvframe_defrag()
/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_security.c167 u32 curfragnum, length, keylength, pki; in r8712_wep_encrypt() local
182 for (curfragnum = 0; curfragnum < pattrib->nr_frags; in r8712_wep_encrypt()
183 curfragnum++) { in r8712_wep_encrypt()
190 if ((curfragnum + 1) == pattrib->nr_frags) { in r8712_wep_encrypt()
579 u32 curfragnum, length; in r8712_tkip_encrypt() local
601 for (curfragnum = 0; curfragnum < pattrib->nr_frags; in r8712_tkip_encrypt()
602 curfragnum++) { in r8712_tkip_encrypt()
613 if ((curfragnum + 1) == pattrib->nr_frags) { in r8712_tkip_encrypt()
1161 sint curfragnum, length; in r8712_aes_encrypt() local
1181 for (curfragnum = 0; curfragnum < pattrib->nr_frags; in r8712_aes_encrypt()
[all …]
Drtl8712_recv.c200 u8 curfragnum; in recvframe_defrag() local
211 curfragnum = 0; in recvframe_defrag()
212 if (curfragnum != pfhdr->attrib.frag_num) { in recvframe_defrag()
220 curfragnum++; in recvframe_defrag()
227 if (curfragnum != pnfhdr->attrib.frag_num) { in recvframe_defrag()
235 curfragnum++; in recvframe_defrag()
Drtl871x_xmit.c359 u32 curfragnum, length; in xmitframe_addmic() local
423 for (curfragnum = 0; curfragnum < pattrib->nr_frags; in xmitframe_addmic()
424 curfragnum++) { in xmitframe_addmic()
427 if ((curfragnum + 1) == pattrib->nr_frags) { in xmitframe_addmic()
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_xmit.c854 sint curfragnum, length; in xmitframe_addmic() local
941 for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) { in xmitframe_addmic()
944curfragnum, *payload, *(payload+1), *(payload+2), *(payload+3), *(payload+4), *(payload+5), *(payl… in xmitframe_addmic()
947 … _drv_err_, ("curfragnum =%d pattrib->hdrlen =%d pattrib->iv_len =%d", curfragnum, pattrib->hdrlen… in xmitframe_addmic()
948 if ((curfragnum+1) == pattrib->nr_frags) { in xmitframe_addmic()
956 …xmit_c_, _drv_err_, ("curfragnum =%d length =%d pattrib->icv_len =%d", curfragnum, length, pattrib… in xmitframe_addmic()
972 for (curfragnum = 0; curfragnum < pattrib->last_txcmdsz; curfragnum = curfragnum+8) in xmitframe_addmic()
974 … *(payload+curfragnum), *(payload+curfragnum+1), *(payload+curfragnum+2), *(payload+curfragnum+3), in xmitframe_addmic()
975 …*(payload+curfragnum+4), *(payload+curfragnum+5), *(payload+curfragnum+6), *(payload+curfragnum+7)… in xmitframe_addmic()
Drtw_security.c219 sint curfragnum, length; in rtw_wep_encrypt() local
239 for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) { in rtw_wep_encrypt()
245 if ((curfragnum+1) == pattrib->nr_frags) { /* the last fragment */ in rtw_wep_encrypt()
659 sint curfragnum, length; in rtw_tkip_encrypt() local
709 for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) { in rtw_tkip_encrypt()
722 if ((curfragnum+1) == pattrib->nr_frags) { /* 4 the last fragment */ in rtw_tkip_encrypt()
1527 sint curfragnum, length; in rtw_aes_encrypt() local
1557 for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) { in rtw_aes_encrypt()
1558 if ((curfragnum+1) == pattrib->nr_frags) { /* 4 the last fragment */ in rtw_aes_encrypt()
Drtw_recv.c1714 u8 curfragnum; in recvframe_defrag() local
1719 curfragnum = 0; in recvframe_defrag()
1728 if (curfragnum != pfhdr->attrib.frag_num) { in recvframe_defrag()
1737 curfragnum++; in recvframe_defrag()
1752 if (curfragnum != pnfhdr->attrib.frag_num) { in recvframe_defrag()
1760 curfragnum++; in recvframe_defrag()