/linux-4.1.27/drivers/staging/rtl8723au/core/ |
H A D | rtw_security.c | 612 struct sta_info *stainfo; rtw_tkip_encrypt23a() local 629 stainfo = pattrib->psta; rtw_tkip_encrypt23a() 632 stainfo = rtw_get_stainfo23a(&padapter->stapriv, rtw_tkip_encrypt23a() 636 if (stainfo == NULL) { rtw_tkip_encrypt23a() 638 "%s: stainfo == NULL!!!\n", __func__); rtw_tkip_encrypt23a() 644 "%s: stainfo!= NULL!!!\n", __func__); rtw_tkip_encrypt23a() 646 if (!(stainfo->state & _FW_LINKED)) { rtw_tkip_encrypt23a() 647 DBG_8723A("%s, psta->state(0x%x) != _FW_LINKED\n", __func__, stainfo->state); rtw_tkip_encrypt23a() 654 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; rtw_tkip_encrypt23a() 721 struct sta_info *stainfo; rtw_tkip_decrypt23a() local 732 stainfo = rtw_get_stainfo23a(&padapter->stapriv, rtw_tkip_decrypt23a() 734 if (stainfo == NULL) { rtw_tkip_decrypt23a() 736 "%s: stainfo == NULL!!!\n", __func__); rtw_tkip_decrypt23a() 751 "%s: stainfo!= NULL!!!\n", __func__); rtw_tkip_decrypt23a() 752 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; rtw_tkip_decrypt23a() 1290 struct sta_info *stainfo; rtw_aes_encrypt23a() local 1308 stainfo = pattrib->psta; rtw_aes_encrypt23a() 1311 stainfo = rtw_get_stainfo23a(&padapter->stapriv, &pattrib->ra[0]); rtw_aes_encrypt23a() 1314 if (!stainfo) { rtw_aes_encrypt23a() 1316 "%s: stainfo == NULL!!!\n", __func__); rtw_aes_encrypt23a() 1321 if (!(stainfo->state & _FW_LINKED)) { rtw_aes_encrypt23a() 1323 __func__, stainfo->state); rtw_aes_encrypt23a() 1327 "%s: stainfo!= NULL!!!\n", __func__); rtw_aes_encrypt23a() 1332 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; rtw_aes_encrypt23a() 1572 struct sta_info *stainfo; rtw_aes_decrypt23a() local 1585 stainfo = rtw_get_stainfo23a(&padapter->stapriv, &prxattrib->ta[0]); rtw_aes_decrypt23a() 1586 if (!stainfo) { rtw_aes_decrypt23a() 1588 "%s: stainfo == NULL!!!\n", __func__); rtw_aes_decrypt23a() 1594 "%s: stainfo!= NULL!!!\n", __func__); rtw_aes_decrypt23a() 1615 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; rtw_aes_decrypt23a()
|
H A D | rtw_sta_mgt.c | 163 "alloc number_%d stainfo with hwaddr = %pM\n", rtw_alloc_stainfo23a() 252 "free number_%d stainfo with hwaddr = %pM\n", rtw_free_stainfo23a() 325 /* free all stainfo which in sta_hash[all] */ rtw_free_all_stainfo23a()
|
H A D | rtw_xmit.c | 638 struct sta_info *stainfo; xmitframe_addmic() local 649 stainfo = pattrib->psta; xmitframe_addmic() 652 stainfo = rtw_get_stainfo23a(&padapter->stapriv, &pattrib->ra[0]); xmitframe_addmic() 655 if (!stainfo) { xmitframe_addmic() 660 if (!(stainfo->state &_FW_LINKED)) { xmitframe_addmic() 662 __func__, stainfo->state); xmitframe_addmic() 670 if (stainfo) { xmitframe_addmic() 685 if (!memcmp(&stainfo->dot11tkiptxmickey.skey[0], xmitframe_addmic() 690 rtw_secmicsetkey23a(&micdata, &stainfo->dot11tkiptxmickey.skey[0]); xmitframe_addmic()
|
H A D | rtw_recv.c | 290 struct sta_info *stainfo; recvframe_chkmic() local 298 stainfo = rtw_get_stainfo23a(&adapter->stapriv, &prxattrib->ta[0]); recvframe_chkmic() 307 if (stainfo != NULL) { recvframe_chkmic() 324 mickey = &stainfo->dot11tkiprxmickey.skey[0]; recvframe_chkmic()
|
H A D | rtw_wlan_util.c | 673 /* update ap's stainfo */ bwmode_update_check()
|
H A D | rtw_mlme.c | 1160 "Can't update stainfo when joinbss_event callback\n"); rtw_joinbss_event_prehandle23a()
|
H A D | rtw_mlme_ext.c | 971 DBG_8723A("going to alloc stainfo for sa =%pM\n", sa); OnAuth23a()
|
/linux-4.1.27/drivers/staging/rtl8188eu/core/ |
H A D | rtw_security.c | 575 struct sta_info *stainfo; rtw_tkip_encrypt() local 590 stainfo = pattrib->psta; rtw_tkip_encrypt() 592 stainfo = rtw_get_stainfo(&padapter->stapriv, &pattrib->ra[0]); rtw_tkip_encrypt() 594 if (stainfo != NULL) { rtw_tkip_encrypt() 595 RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("rtw_tkip_encrypt: stainfo!= NULL!!!\n")); rtw_tkip_encrypt() 600 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; rtw_tkip_encrypt() 635 RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("rtw_tkip_encrypt: stainfo==NULL!!!\n")); rtw_tkip_encrypt() 655 struct sta_info *stainfo; rtw_tkip_decrypt() local 665 stainfo = rtw_get_stainfo(&padapter->stapriv, &prxattrib->ta[0]); rtw_tkip_decrypt() 666 if (stainfo != NULL) { rtw_tkip_decrypt() 675 RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("rtw_tkip_decrypt: stainfo!= NULL!!!\n")); rtw_tkip_decrypt() 676 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; rtw_tkip_decrypt() 708 RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("rtw_tkip_decrypt: stainfo==NULL!!!\n")); rtw_tkip_decrypt() 1205 struct sta_info *stainfo; rtw_aes_encrypt() local 1224 stainfo = pattrib->psta; rtw_aes_encrypt() 1226 stainfo = rtw_get_stainfo(&padapter->stapriv, &pattrib->ra[0]); rtw_aes_encrypt() 1228 if (stainfo != NULL) { rtw_aes_encrypt() 1229 RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("rtw_aes_encrypt: stainfo!= NULL!!!\n")); rtw_aes_encrypt() 1234 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; rtw_aes_encrypt() 1249 RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("rtw_aes_encrypt: stainfo==NULL!!!\n")); rtw_aes_encrypt() 1457 struct sta_info *stainfo; rtw_aes_decrypt() local 1464 stainfo = rtw_get_stainfo(&padapter->stapriv, &prxattrib->ta[0]); rtw_aes_decrypt() 1465 if (stainfo != NULL) { rtw_aes_decrypt() 1466 RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("rtw_aes_decrypt: stainfo!= NULL!!!\n")); rtw_aes_decrypt() 1483 prwskey = &stainfo->dot118021x_UncstKey.skey[0]; rtw_aes_decrypt() 1488 RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("rtw_aes_encrypt: stainfo==NULL!!!\n")); rtw_aes_decrypt()
|
H A D | rtw_sta_mgt.c | 261 ("alloc number_%d stainfo with hwaddr = %pM\n", rtw_alloc_stainfo() 337 RT_TRACE(_module_rtl871x_sta_mgt_c_, _drv_err_, ("\n free number_%d stainfo with hwaddr=0x%.2x 0x%.2x 0x%.2x 0x%.2x 0x%.2x 0x%.2x\n", pstapriv->asoc_sta_count , psta->hwaddr[0], psta->hwaddr[1], psta->hwaddr[2], psta->hwaddr[3], psta->hwaddr[4], psta->hwaddr[5])); rtw_free_stainfo() 425 /* free all stainfo which in sta_hash[all] */ rtw_free_all_stainfo()
|
H A D | rtw_xmit.c | 632 struct sta_info *stainfo; xmitframe_addmic() local 641 stainfo = pattrib->psta; xmitframe_addmic() 643 stainfo = rtw_get_stainfo(&padapter->stapriv , &pattrib->ra[0]); xmitframe_addmic() 650 if (stainfo != NULL) { xmitframe_addmic() 663 if (!memcmp(&stainfo->dot11tkiptxmickey.skey[0], null_key, 16)) { xmitframe_addmic() 664 /* DbgPrint("\nxmitframe_addmic:stainfo->dot11tkiptxmickey == 0\n"); */ xmitframe_addmic() 669 rtw_secmicsetkey(&micdata, &stainfo->dot11tkiptxmickey.skey[0]); xmitframe_addmic()
|
H A D | rtw_recv.c | 294 struct sta_info *stainfo; recvframe_chkmic() local 301 stainfo = rtw_get_stainfo(&adapter->stapriv, &prxattrib->ta[0]); recvframe_chkmic() 309 if (stainfo != NULL) { recvframe_chkmic() 321 mickey = &stainfo->dot11tkiprxmickey.skey[0]; recvframe_chkmic()
|
H A D | rtw_wlan_util.c | 702 /* update ap's stainfo */ bwmode_update_check()
|
H A D | rtw_mlme.c | 1103 RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("Can't update stainfo when joinbss_event callback\n")); rtw_joinbss_event_prehandle()
|
H A D | rtw_mlme_ext.c | 701 DBG_88E("going to alloc stainfo for sa=%pM\n", sa); OnAuth()
|
/linux-4.1.27/drivers/staging/rtl8712/ |
H A D | rtl871x_security.c | 585 struct sta_info *stainfo; r8712_tkip_encrypt() local 597 stainfo = pattrib->psta; r8712_tkip_encrypt() 599 stainfo = r8712_get_stainfo(&padapter->stapriv, r8712_tkip_encrypt() 601 if (stainfo != NULL) { r8712_tkip_encrypt() 602 prwskey = &stainfo->x_UncstKey.skey[0]; r8712_tkip_encrypt() 660 struct sta_info *stainfo; r8712_tkip_decrypt() local 669 stainfo = r8712_get_stainfo(&padapter->stapriv, r8712_tkip_decrypt() 671 if (stainfo != NULL) { r8712_tkip_decrypt() 684 prwskey = &stainfo->x_UncstKey.skey[0]; r8712_tkip_decrypt() 1156 struct sta_info *stainfo; r8712_aes_encrypt() local 1168 stainfo = pattrib->psta; r8712_aes_encrypt() 1170 stainfo = r8712_get_stainfo(&padapter->stapriv, r8712_aes_encrypt() 1172 if (stainfo != NULL) { r8712_aes_encrypt() 1173 prwskey = &stainfo->x_UncstKey.skey[0]; r8712_aes_encrypt() 1363 struct sta_info *stainfo; r8712_aes_decrypt() local 1372 stainfo = r8712_get_stainfo(&padapter->stapriv, r8712_aes_decrypt() 1374 if (stainfo != NULL) { r8712_aes_decrypt() 1384 prwskey = &stainfo->x_UncstKey.skey[0]; r8712_aes_decrypt()
|
H A D | rtl871x_recv.c | 167 struct sta_info *stainfo; r8712_recvframe_chkmic() local 171 stainfo = r8712_get_stainfo(&adapter->stapriv, &prxattrib->ta[0]); r8712_recvframe_chkmic() 174 if (stainfo != NULL) { r8712_recvframe_chkmic() 184 mickey = &stainfo->tkiprxmickey.skey[0]; r8712_recvframe_chkmic()
|
H A D | rtl871x_xmit.c | 351 struct sta_info *stainfo; xmitframe_addmic() local 360 stainfo = pattrib->psta; xmitframe_addmic() 362 stainfo = r8712_get_stainfo(&padapter->stapriv, xmitframe_addmic() 366 if (stainfo != NULL) { xmitframe_addmic() 382 if (!memcmp(&stainfo->tkiptxmickey.skey[0], xmitframe_addmic() 387 &stainfo->tkiptxmickey.skey[0]); xmitframe_addmic()
|
H A D | rtl871x_sta_mgt.c | 209 /* free all stainfo which in sta_hash[all] */ r8712_free_all_stainfo()
|