Home
last modified time | relevance | path

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

/Linux-v5.10/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.c570 union pn48 txpn; in r8712_tkip_encrypt() local
594 GET_TKIP_PN(iv, txpn); in r8712_tkip_encrypt()
595 pnl = (u16)(txpn.val); in r8712_tkip_encrypt()
596 pnh = (u32)(txpn.val >> 16); in r8712_tkip_encrypt()
649 union pn48 txpn; in r8712_tkip_decrypt() local
677 GET_TKIP_PN(iv, txpn); in r8712_tkip_decrypt()
678 pnl = (u16)(txpn.val); in r8712_tkip_decrypt()
679 pnh = (u32)(txpn.val >> 16); in r8712_tkip_decrypt()
Dsta_info.h62 union pn48 txpn; /* PN48 used for Unicast xmit.*/ member
Drtl871x_xmit.c629 WEP_IV(pattrib->iv, psta->txpn, in r8712_xmitframe_coalesce()
635 psta->txpn, in r8712_xmitframe_coalesce()
638 TKIP_IV(pattrib->iv, psta->txpn, in r8712_xmitframe_coalesce()
643 AES_IV(pattrib->iv, psta->txpn, in r8712_xmitframe_coalesce()
646 AES_IV(pattrib->iv, psta->txpn, in r8712_xmitframe_coalesce()
Drtl871x_mlme.c813 txpn, 0, in r8712_joinbss_event_callback()