Searched refs:dot11txpn (Results 1 – 4 of 4) sorted by relevance
41 #define WEP_IV(pattrib_iv, dot11txpn, keyidx)\ argument43 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)\ argument53 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 …]
219 #define GET_TKIP_PN(iv, dot11txpn)\ argument221 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];\
94 union pn48 dot11txpn; /* PN48 used for Unicast xmit */ member
471 union pn48 dot11txpn; in rtw_tkip_encrypt() local497 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() local607 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()