Home
last modified time | relevance | path

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

/drivers/staging/rtl8712/
Drtl871x_xmit.h51 #define WEP_IV(pattrib_iv, txpn, keyidx)\ argument
53 pattrib_iv[0] = txpn._byte_.TSC0;\
54 pattrib_iv[1] = txpn._byte_.TSC1;\
55 pattrib_iv[2] = txpn._byte_.TSC2;\
57 txpn.val = (txpn.val == 0xffffff) ? 0 : (txpn.val+1);\
63 #define TKIP_IV(pattrib_iv, txpn, keyidx)\ argument
65 pattrib_iv[0] = txpn._byte_.TSC1;\
66 pattrib_iv[1] = (txpn._byte_.TSC1 | 0x20) & 0x7f;\
67 pattrib_iv[2] = txpn._byte_.TSC0;\
69 pattrib_iv[4] = txpn._byte_.TSC2;\
[all …]
Drtl871x_security.h190 #define GET_TKIP_PN(iv, txpn) \ argument
192 txpn._byte_.TSC0 = iv[2];\
193 txpn._byte_.TSC1 = iv[0];\
194 txpn._byte_.TSC2 = iv[4];\
195 txpn._byte_.TSC3 = iv[5];\
196 txpn._byte_.TSC4 = iv[6];\
197 txpn._byte_.TSC5 = iv[7];\
Drtl871x_security.c582 union pn48 txpn; in r8712_tkip_encrypt() local
606 GET_TKIP_PN(iv, txpn); in r8712_tkip_encrypt()
607 pnl = (u16)(txpn.val); in r8712_tkip_encrypt()
608 pnh = (u32)(txpn.val >> 16); in r8712_tkip_encrypt()
661 union pn48 txpn; in r8712_tkip_decrypt() local
689 GET_TKIP_PN(iv, txpn); in r8712_tkip_decrypt()
690 pnl = (u16)(txpn.val); in r8712_tkip_decrypt()
691 pnh = (u32)(txpn.val >> 16); in r8712_tkip_decrypt()
Drtl871x_xmit.c644 WEP_IV(pattrib->iv, psta->txpn, in r8712_xmitframe_coalesce()
651 psta->txpn, in r8712_xmitframe_coalesce()
655 TKIP_IV(pattrib->iv, psta->txpn, in r8712_xmitframe_coalesce()
660 AES_IV(pattrib->iv, psta->txpn, in r8712_xmitframe_coalesce()
664 AES_IV(pattrib->iv, psta->txpn, in r8712_xmitframe_coalesce()
Dsta_info.h74 union pn48 txpn; /* PN48 used for Unicast xmit.*/ member
Drtl871x_mlme.c858 txpn, 0, in r8712_joinbss_event_callback()