/Linux-v4.19/drivers/staging/rtl8188eu/core/ |
D | rtw_security.c | 135 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()
|
D | rtw_xmit.c | 590 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 …]
|
D | rtw_recv.c | 1327 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/ |
D | rtl871x_security.c | 167 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 …]
|
D | rtl8712_recv.c | 200 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()
|
D | rtl871x_xmit.c | 359 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/ |
D | rtw_xmit.c | 854 sint curfragnum, length; in xmitframe_addmic() local 941 for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) { in xmitframe_addmic() 944 …curfragnum, *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()
|
D | rtw_security.c | 219 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()
|
D | rtw_recv.c | 1714 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()
|