Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/rtl8712/
H A Drtl871x_xmit.h41 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);\
53 pattrib_iv[0] = txpn._byte_.TSC1;\
55 pattrib_iv[2] = txpn._byte_.TSC0;\
57 pattrib_iv[4] = txpn._byte_.TSC2;\
61 txpn.val = txpn.val == 0xffffffffffffULL ? 0 : \
62 (txpn.val + 1);\
75 txpn.val = txpn.val == 0xffffffffffffULL ? 0 : \
[all …]
H A 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];\
H A 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()
H A Dsta_info.h60 union pn48 txpn; /* PN48 used for Unicast xmit.*/ member
H A Drtl871x_xmit.c654 WEP_IV(pattrib->iv, psta->txpn, in r8712_xmitframe_coalesce()
660 psta->txpn, in r8712_xmitframe_coalesce()
663 TKIP_IV(pattrib->iv, psta->txpn, in r8712_xmitframe_coalesce()
668 AES_IV(pattrib->iv, psta->txpn, in r8712_xmitframe_coalesce()
671 AES_IV(pattrib->iv, psta->txpn, in r8712_xmitframe_coalesce()
H A Drtl871x_mlme.c787 memset((u8 *)&ptarget_sta->txpn, in r8712_joinbss_event_callback()