Searched refs:dot11txpn (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/staging/rtl8723bs/include/ |
H A D | rtw_xmit.h | 41 #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 D | rtw_security.h | 219 #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 D | sta_info.h | 94 union pn48 dot11txpn; /* PN48 used for Unicast xmit */ member
|
/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_security.c | 471 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()
|
H A D | rtw_xmit.c | 518 WEP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); in update_attrib_sec_info() 531 TKIP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); in update_attrib_sec_info() 533 TKIP_IV(pattrib->iv, psta->dot11txpn, 0); in update_attrib_sec_info() 545 AES_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx); in update_attrib_sec_info() 547 AES_IV(pattrib->iv, psta->dot11txpn, 0); in update_attrib_sec_info()
|
H A D | rtw_mlme.c | 989 memset((u8 *)&psta->dot11txpn, 0, sizeof(union pn48)); in rtw_joinbss_update_stainfo() 990 psta->dot11txpn.val = psta->dot11txpn.val + 1; in rtw_joinbss_update_stainfo()
|