Home
last modified time | relevance | path

Searched refs:txpn (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/staging/rtl8712/
Drtl871x_xmit.h39 #define WEP_IV(pattrib_iv, txpn, keyidx)\ argument
41 pattrib_iv[0] = txpn._byte_.TSC0;\
42 pattrib_iv[1] = txpn._byte_.TSC1;\
43 pattrib_iv[2] = txpn._byte_.TSC2;\
45 txpn.val = (txpn.val == 0xffffff) ? 0 : (txpn.val + 1);\
51 #define TKIP_IV(pattrib_iv, txpn, keyidx)\ argument
53 pattrib_iv[0] = txpn._byte_.TSC1;\
54 pattrib_iv[1] = (txpn._byte_.TSC1 | 0x20) & 0x7f;\
55 pattrib_iv[2] = txpn._byte_.TSC0;\
57 pattrib_iv[4] = txpn._byte_.TSC2;\
[all …]
Drtl871x_security.h178 #define GET_TKIP_PN(iv, txpn) \ argument
180 txpn._byte_.TSC0 = iv[2];\
181 txpn._byte_.TSC1 = iv[0];\
182 txpn._byte_.TSC2 = iv[4];\
183 txpn._byte_.TSC3 = iv[5];\
184 txpn._byte_.TSC4 = iv[6];\
185 txpn._byte_.TSC5 = iv[7];\
Drtl871x_security.c569 union pn48 txpn; in r8712_tkip_encrypt() local
593 GET_TKIP_PN(iv, txpn); in r8712_tkip_encrypt()
594 pnl = (u16)(txpn.val); in r8712_tkip_encrypt()
595 pnh = (u32)(txpn.val >> 16); in r8712_tkip_encrypt()
648 union pn48 txpn; in r8712_tkip_decrypt() local
676 GET_TKIP_PN(iv, txpn); in r8712_tkip_decrypt()
677 pnl = (u16)(txpn.val); in r8712_tkip_decrypt()
678 pnh = (u32)(txpn.val >> 16); in r8712_tkip_decrypt()
Dsta_info.h60 union pn48 txpn; /* PN48 used for Unicast xmit.*/ member
Drtl871x_xmit.c651 WEP_IV(pattrib->iv, psta->txpn, in r8712_xmitframe_coalesce()
657 psta->txpn, in r8712_xmitframe_coalesce()
660 TKIP_IV(pattrib->iv, psta->txpn, in r8712_xmitframe_coalesce()
665 AES_IV(pattrib->iv, psta->txpn, in r8712_xmitframe_coalesce()
668 AES_IV(pattrib->iv, psta->txpn, in r8712_xmitframe_coalesce()
Drtl871x_mlme.c787 memset((u8 *)&ptarget_sta->txpn, in r8712_joinbss_event_callback()