Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_security.c134 int curfragnum, length; in rtw_wep_encrypt() local
169 for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) { in rtw_wep_encrypt()
170 if (curfragnum + 1 == pattrib->nr_frags) in rtw_wep_encrypt()
582 int curfragnum, length; in rtw_tkip_encrypt() local
613 for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) { in rtw_tkip_encrypt()
624 if ((curfragnum + 1) == pattrib->nr_frags) { /* 4 the last fragment */ in rtw_tkip_encrypt()
727 int curfragnum, length; in rtw_aes_encrypt() local
789 for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) { in rtw_aes_encrypt()
790 if (curfragnum + 1 == pattrib->nr_frags) in rtw_aes_encrypt()
Drtw_xmit.c590 int curfragnum, length; in xmitframe_addmic() local
647 for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) { in xmitframe_addmic()
651 curfragnum, *payload, *(payload + 1), in xmitframe_addmic()
659 curfragnum, pattrib->hdrlen, pattrib->iv_len)); in xmitframe_addmic()
660 if (curfragnum + 1 == pattrib->nr_frags) { in xmitframe_addmic()
676 …1x_xmit_c_, _drv_err_, ("curfragnum=%d length=%d pattrib->icv_len=%d", curfragnum, length, pattrib… in xmitframe_addmic()
692 for (curfragnum = 0; curfragnum < pattrib->last_txcmdsz; curfragnum += 8) in xmitframe_addmic()
695 *(payload + curfragnum), *(payload + curfragnum + 1), in xmitframe_addmic()
696 *(payload + curfragnum + 2), *(payload + curfragnum + 3), in xmitframe_addmic()
697 *(payload + curfragnum + 4), *(payload + curfragnum + 5), in xmitframe_addmic()
[all …]
Drtw_recv.c1313 u8 curfragnum; in recvframe_defrag() local
1318 curfragnum = 0; in recvframe_defrag()
1326 if (curfragnum != prframe->attrib.frag_num) { in recvframe_defrag()
1335 curfragnum++; in recvframe_defrag()
1347 if (curfragnum != pnfhdr->attrib.frag_num) { in recvframe_defrag()
1355 curfragnum++; in recvframe_defrag()
/Linux-v5.10/drivers/staging/rtl8712/
Drtl871x_security.c155 u32 curfragnum, length, keylength, pki; in r8712_wep_encrypt() local
170 for (curfragnum = 0; curfragnum < pattrib->nr_frags; in r8712_wep_encrypt()
171 curfragnum++) { in r8712_wep_encrypt()
178 if ((curfragnum + 1) == pattrib->nr_frags) { in r8712_wep_encrypt()
567 u32 curfragnum, length; in r8712_tkip_encrypt() local
589 for (curfragnum = 0; curfragnum < pattrib->nr_frags; in r8712_tkip_encrypt()
590 curfragnum++) { in r8712_tkip_encrypt()
601 if ((curfragnum + 1) == pattrib->nr_frags) { in r8712_tkip_encrypt()
1140 sint curfragnum, length; in r8712_aes_encrypt() local
1160 for (curfragnum = 0; curfragnum < pattrib->nr_frags; in r8712_aes_encrypt()
[all …]
Drtl8712_recv.c176 u8 curfragnum; in recvframe_defrag() local
187 curfragnum = 0; in recvframe_defrag()
188 if (curfragnum != pfhdr->attrib.frag_num) { in recvframe_defrag()
196 curfragnum++; in recvframe_defrag()
203 if (curfragnum != pnfhdr->attrib.frag_num) { in recvframe_defrag()
211 curfragnum++; in recvframe_defrag()
Drtl871x_xmit.c347 u32 curfragnum, length; in xmitframe_addmic() local
409 for (curfragnum = 0; curfragnum < pattrib->nr_frags; in xmitframe_addmic()
410 curfragnum++) { in xmitframe_addmic()
413 if ((curfragnum + 1) == pattrib->nr_frags) { in xmitframe_addmic()
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_xmit.c815 sint curfragnum, length; in xmitframe_addmic() local
867 for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) { in xmitframe_addmic()
870curfragnum, *payload, *(payload+1), *(payload+2), *(payload+3), *(payload+4), *(payload+5), *(payl… in xmitframe_addmic()
873 … _drv_err_, ("curfragnum =%d pattrib->hdrlen =%d pattrib->iv_len =%d", curfragnum, pattrib->hdrlen… in xmitframe_addmic()
874 if ((curfragnum+1) == pattrib->nr_frags) { in xmitframe_addmic()
882 …xmit_c_, _drv_err_, ("curfragnum =%d length =%d pattrib->icv_len =%d", curfragnum, length, pattrib… in xmitframe_addmic()
898 for (curfragnum = 0; curfragnum < pattrib->last_txcmdsz; curfragnum = curfragnum+8) in xmitframe_addmic()
900 … *(payload+curfragnum), *(payload+curfragnum+1), *(payload+curfragnum+2), *(payload+curfragnum+3), in xmitframe_addmic()
901 …*(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()
663 sint curfragnum, length; in rtw_tkip_encrypt() local
689 for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) { in rtw_tkip_encrypt()
702 if ((curfragnum+1) == pattrib->nr_frags) { /* 4 the last fragment */ in rtw_tkip_encrypt()
1492 sint curfragnum, length; in rtw_aes_encrypt() local
1516 for (curfragnum = 0; curfragnum < pattrib->nr_frags; curfragnum++) { in rtw_aes_encrypt()
1517 if ((curfragnum+1) == pattrib->nr_frags) { /* 4 the last fragment */ in rtw_aes_encrypt()
Drtw_recv.c1708 u8 curfragnum; in recvframe_defrag() local
1713 curfragnum = 0; in recvframe_defrag()
1722 if (curfragnum != pfhdr->attrib.frag_num) { in recvframe_defrag()
1731 curfragnum++; in recvframe_defrag()
1744 if (curfragnum != pnfhdr->attrib.frag_num) { in recvframe_defrag()
1752 curfragnum++; in recvframe_defrag()