Home
last modified time | relevance | path

Searched refs:dot11txpn (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/staging/rtl8723bs/include/
H A Drtw_xmit.h41 #define WEP_IV(pattrib_iv, dot11txpn, keyidx)\ argument
43 pattrib_iv[0] = dot11txpn._byte_.TSC0;\
44 pattrib_iv[1] = dot11txpn._byte_.TSC1;\
45 pattrib_iv[2] = dot11txpn._byte_.TSC2;\
47 dot11txpn.val = (dot11txpn.val == 0xffffff) ? 0 : (dot11txpn.val + 1);\
51 #define TKIP_IV(pattrib_iv, dot11txpn, keyidx)\ argument
53 pattrib_iv[0] = dot11txpn._byte_.TSC1;\
54 pattrib_iv[1] = (dot11txpn._byte_.TSC1 | 0x20) & 0x7f;\
55 pattrib_iv[2] = dot11txpn._byte_.TSC0;\
57 pattrib_iv[4] = dot11txpn._byte_.TSC2;\
[all …]
H A Drtw_security.h219 #define GET_TKIP_PN(iv, dot11txpn)\ argument
221 dot11txpn._byte_.TSC0 = iv[2];\
222 dot11txpn._byte_.TSC1 = iv[0];\
223 dot11txpn._byte_.TSC2 = iv[4];\
224 dot11txpn._byte_.TSC3 = iv[5];\
225 dot11txpn._byte_.TSC4 = iv[6];\
226 dot11txpn._byte_.TSC5 = iv[7];\
H A Dsta_info.h94 union pn48 dot11txpn; /* PN48 used for Unicast xmit */ member
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_security.c471 union pn48 dot11txpn; in rtw_tkip_encrypt() local
497 GET_TKIP_PN(iv, dot11txpn); in rtw_tkip_encrypt()
499 pnl = (u16)(dot11txpn.val); in rtw_tkip_encrypt()
500 pnh = (u32)(dot11txpn.val>>16); in rtw_tkip_encrypt()
543 union pn48 dot11txpn; in rtw_tkip_decrypt() local
607 GET_TKIP_PN(iv, dot11txpn); in rtw_tkip_decrypt()
609 pnl = (u16)(dot11txpn.val); in rtw_tkip_decrypt()
610 pnh = (u32)(dot11txpn.val>>16); in rtw_tkip_decrypt()