Searched refs:stainfo (Results 1 – 9 of 9) sorted by relevance
/drivers/staging/r8188eu/core/ |
D | rtw_ioctl_set.c | 504 struct sta_info *stainfo; in rtw_set_802_11_add_key() local 520 stainfo = rtw_get_stainfo(&padapter->stapriv, pbssid); in rtw_set_802_11_add_key() 522 if (stainfo && padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) in rtw_set_802_11_add_key() 523 encryptionalgo = stainfo->dot118021XPrivacy; in rtw_set_802_11_add_key() 693 stainfo = rtw_get_stainfo(&padapter->stapriv, pbssid); in rtw_set_802_11_add_key() 695 if (stainfo) { in rtw_set_802_11_add_key() 696 memset(&stainfo->dot118021x_UncstKey, 0, 16);/* clear keybuffer */ in rtw_set_802_11_add_key() 698 memcpy(&stainfo->dot118021x_UncstKey, key->KeyMaterial, 16); in rtw_set_802_11_add_key() 707 memcpy(&stainfo->dot11tkiptxmickey, key->KeyMaterial + 16, 8); in rtw_set_802_11_add_key() 708 memcpy(&stainfo->dot11tkiprxmickey, key->KeyMaterial + 24, 8); in rtw_set_802_11_add_key() [all …]
|
D | rtw_security.c | 521 struct sta_info *stainfo; in rtw_tkip_encrypt() local 536 stainfo = pattrib->psta; in rtw_tkip_encrypt() 538 stainfo = rtw_get_stainfo(&padapter->stapriv, &pattrib->ra[0]); in rtw_tkip_encrypt() 540 if (stainfo) { in rtw_tkip_encrypt() 544 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_encrypt() 600 struct sta_info *stainfo; in rtw_tkip_decrypt() local 609 stainfo = rtw_get_stainfo(&padapter->stapriv, &prxattrib->ta[0]); in rtw_tkip_decrypt() 610 if (stainfo) { in rtw_tkip_decrypt() 619 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_decrypt() 1167 struct sta_info *stainfo; in rtw_aes_encrypt() local [all …]
|
D | rtw_xmit.c | 597 struct sta_info *stainfo; in xmitframe_addmic() local 605 stainfo = pattrib->psta; in xmitframe_addmic() 607 stainfo = rtw_get_stainfo(&padapter->stapriv, &pattrib->ra[0]); in xmitframe_addmic() 613 if (stainfo) { in xmitframe_addmic() 626 if (!memcmp(&stainfo->dot11tkiptxmickey.skey[0], null_key, 16)) { in xmitframe_addmic() 631 rtw_secmicsetkey(&micdata, &stainfo->dot11tkiptxmickey.skey[0]); in xmitframe_addmic()
|
D | rtw_recv.c | 318 struct sta_info *stainfo; in recvframe_chkmic() local 325 stainfo = rtw_get_stainfo(&adapter->stapriv, &prxattrib->ta[0]); in recvframe_chkmic() 329 if (stainfo) { in recvframe_chkmic() 339 mickey = &stainfo->dot11tkiprxmickey.skey[0]; in recvframe_chkmic()
|
/drivers/staging/rtl8712/ |
D | rtl871x_security.c | 571 struct sta_info *stainfo; in r8712_tkip_encrypt() local 583 stainfo = pattrib->psta; in r8712_tkip_encrypt() 585 stainfo = r8712_get_stainfo(&padapter->stapriv, in r8712_tkip_encrypt() 587 if (stainfo) { in r8712_tkip_encrypt() 588 prwskey = &stainfo->x_UncstKey.skey[0]; in r8712_tkip_encrypt() 650 struct sta_info *stainfo; in r8712_tkip_decrypt() local 659 stainfo = r8712_get_stainfo(&padapter->stapriv, in r8712_tkip_decrypt() 661 if (stainfo) { in r8712_tkip_decrypt() 675 prwskey = &stainfo->x_UncstKey.skey[0]; in r8712_tkip_decrypt() 1142 struct sta_info *stainfo; in r8712_aes_encrypt() local [all …]
|
D | rtl871x_xmit.c | 375 struct sta_info *stainfo; in xmitframe_addmic() local 384 stainfo = pattrib->psta; in xmitframe_addmic() 386 stainfo = r8712_get_stainfo(&padapter->stapriv, in xmitframe_addmic() 390 if (stainfo) { in xmitframe_addmic() 404 if (!memcmp(&stainfo->tkiptxmickey.skey[0], in xmitframe_addmic() 409 &stainfo->tkiptxmickey.skey[0]); in xmitframe_addmic()
|
D | rtl871x_recv.c | 142 struct sta_info *stainfo; in r8712_recvframe_chkmic() local 146 stainfo = r8712_get_stainfo(&adapter->stapriv, &prxattrib->ta[0]); in r8712_recvframe_chkmic() 149 if (stainfo) { in r8712_recvframe_chkmic() 159 mickey = &stainfo->tkiprxmickey.skey[0]; in r8712_recvframe_chkmic()
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_security.c | 545 struct sta_info *stainfo; in rtw_tkip_decrypt() local 555 stainfo = rtw_get_stainfo(&padapter->stapriv, &prxattrib->ta[0]); in rtw_tkip_decrypt() 556 if (stainfo) { in rtw_tkip_decrypt() 601 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_tkip_decrypt() 1298 struct sta_info *stainfo; in rtw_aes_decrypt() local 1306 stainfo = rtw_get_stainfo(&padapter->stapriv, &prxattrib->ta[0]); in rtw_aes_decrypt() 1307 if (stainfo) { in rtw_aes_decrypt() 1357 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; in rtw_aes_decrypt()
|
D | rtw_recv.c | 313 struct sta_info *stainfo; in recvframe_chkmic() local 320 stainfo = rtw_get_stainfo(&adapter->stapriv, &prxattrib->ta[0]); in recvframe_chkmic() 324 if (stainfo) { in recvframe_chkmic() 338 mickey = &stainfo->dot11tkiprxmickey.skey[0]; in recvframe_chkmic()
|