/linux-6.6.21/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_linux.c | 24 padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; in wpa_set_auth_algs() 25 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeAutoSwitch; in wpa_set_auth_algs() 26 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Auto; in wpa_set_auth_algs() 28 padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; in wpa_set_auth_algs() 30 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeShared; in wpa_set_auth_algs() 31 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Shared; in wpa_set_auth_algs() 34 if (padapter->securitypriv.ndisauthtype < Ndis802_11AuthModeWPAPSK) { in wpa_set_auth_algs() 35 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; in wpa_set_auth_algs() 36 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Open; in wpa_set_auth_algs() 53 struct security_priv *psecuritypriv = &padapter->securitypriv; in wpa_set_encryption() [all …]
|
D | mlme_linux.c | 73 if (adapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { in rtw_reset_securitypriv() 81 …memcpy(&backupPMKIDList[0], &adapter->securitypriv.PMKIDList[0], sizeof(struct rt_pmkid_list) * NU… in rtw_reset_securitypriv() 82 backupPMKIDIndex = adapter->securitypriv.PMKIDIndex; in rtw_reset_securitypriv() 83 backupTKIPCountermeasure = adapter->securitypriv.btkip_countermeasure; in rtw_reset_securitypriv() 84 backupTKIPcountermeasure_time = adapter->securitypriv.btkip_countermeasure_time; in rtw_reset_securitypriv() 89 memset((unsigned char *)&adapter->securitypriv, 0, sizeof(struct security_priv)); in rtw_reset_securitypriv() 93 …memcpy(&adapter->securitypriv.PMKIDList[0], &backupPMKIDList[0], sizeof(struct rt_pmkid_list) * NU… in rtw_reset_securitypriv() 94 adapter->securitypriv.PMKIDIndex = backupPMKIDIndex; in rtw_reset_securitypriv() 95 adapter->securitypriv.btkip_countermeasure = backupTKIPCountermeasure; in rtw_reset_securitypriv() 96 adapter->securitypriv.btkip_countermeasure_time = backupTKIPcountermeasure_time; in rtw_reset_securitypriv() [all …]
|
D | ioctl_cfg80211.c | 501 struct security_priv *psecuritypriv = &(padapter->securitypriv); in rtw_cfg80211_ap_set_encryption() 503 char *grpkey = padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey; in rtw_cfg80211_ap_set_encryption() 504 char *txkey = padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey; in rtw_cfg80211_ap_set_encryption() 505 char *rxkey = padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey; in rtw_cfg80211_ap_set_encryption() 705 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_cfg80211_set_encryption() 768 if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { /* 802_1x */ in rtw_cfg80211_set_encryption() 779 if ((padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption2Enabled) || in rtw_cfg80211_set_encryption() 780 (padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption3Enabled)) { in rtw_cfg80211_set_encryption() 781 psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; in rtw_cfg80211_set_encryption() 793 padapter->securitypriv.busetkipkey = false; in rtw_cfg80211_set_encryption() [all …]
|
D | recv_linux.c | 147 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_handle_tkip_mic_err()
|
/linux-6.6.21/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 88 padapter->securitypriv. busetkipkey = false; in handle_pairwise_key() 89 mod_timer(&padapter->securitypriv.tkip_timer, in handle_pairwise_key() 98 union Keytype *gk = padapter->securitypriv.XGrpKey; in handle_group_key() 99 union Keytype *gtk = padapter->securitypriv.XGrptxmickey; in handle_group_key() 100 union Keytype *grk = padapter->securitypriv.XGrprxmickey; in handle_group_key() 113 padapter->securitypriv.binstallGrpkey = true; in handle_group_key() 114 r8712_set_key(padapter, &padapter->securitypriv, in handle_group_key() 343 padapter->securitypriv.ndisencryptstatus = in wpa_set_auth_algs() 345 padapter->securitypriv.ndisauthtype = in wpa_set_auth_algs() 347 padapter->securitypriv.AuthAlgrthm = 3; in wpa_set_auth_algs() [all …]
|
D | mlme_linux.c | 95 if (adapter->securitypriv.AuthAlgrthm == 2) { /*/802.1x*/ in r8712_os_indicate_disconnect() 103 &adapter->securitypriv.PMKIDList[0], in r8712_os_indicate_disconnect() 105 backupPMKIDIndex = adapter->securitypriv.PMKIDIndex; in r8712_os_indicate_disconnect() 107 adapter->securitypriv.btkip_countermeasure; in r8712_os_indicate_disconnect() 108 memset((unsigned char *)&adapter->securitypriv, 0, in r8712_os_indicate_disconnect() 110 timer_setup(&adapter->securitypriv.tkip_timer, in r8712_os_indicate_disconnect() 115 memcpy(&adapter->securitypriv.PMKIDList[0], in r8712_os_indicate_disconnect() 118 adapter->securitypriv.PMKIDIndex = backupPMKIDIndex; in r8712_os_indicate_disconnect() 119 adapter->securitypriv.btkip_countermeasure = in r8712_os_indicate_disconnect() 122 struct security_priv *sec_priv = &adapter->securitypriv; in r8712_os_indicate_disconnect()
|
D | rtl871x_mlme.c | 220 struct security_priv *psecuritypriv = &adapter->securitypriv; in r8712_is_same_ibss() 420 struct security_priv *psecuritypriv = &adapter->securitypriv; in is_desired_network() 771 if (adapter->securitypriv.AuthAlgrthm == 2) { in r8712_joinbss_event_callback() 772 adapter->securitypriv.binstallGrpkey = false; in r8712_joinbss_event_callback() 773 adapter->securitypriv.busetkipkey = false; in r8712_joinbss_event_callback() 774 adapter->securitypriv.bgrpkey_handshake = false; in r8712_joinbss_event_callback() 777 adapter->securitypriv.PrivacyAlgrthm; in r8712_joinbss_event_callback() 872 if (adapter->securitypriv.AuthAlgrthm == 2) in r8712_stassoc_event_callback() 873 psta->XPrivacy = adapter->securitypriv.PrivacyAlgrthm; in r8712_stassoc_event_callback() 975 if (!adapter->securitypriv.wps_hw_pbc_pressed) in r8712_wpspbc_event_callback() [all …]
|
D | rtl871x_ioctl_set.c | 211 if (padapter->securitypriv.btkip_countermeasure) in r8712_set_802_11_ssid() 316 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_set_802_11_authentication_mode() 333 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_set_802_11_add_wep()
|
D | os_intfs.c | 254 del_timer_sync(&padapter->securitypriv.tkip_timer); in r8712_stop_drv_timers() 266 struct security_priv *psecuritypriv = &padapter->securitypriv; in init_default_value() 317 memset((unsigned char *)&padapter->securitypriv, 0, in r8712_init_drv_sw() 319 timer_setup(&padapter->securitypriv.tkip_timer, in r8712_init_drv_sw()
|
D | rtl871x_recv.c | 146 struct security_priv *psecuritypriv = &adapter->securitypriv; in r8712_recvframe_chkmic() 200 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_decryptor() 243 auth_alg = adapter->securitypriv.AuthAlgrthm; in r8712_portctrl() 469 struct security_priv *psecuritypriv = &adapter->securitypriv; in validate_recv_data_frame()
|
D | drv_types.h | 138 struct security_priv securitypriv; member
|
D | rtl871x_cmd.c | 346 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_joinbss_cmd() 417 if ((padapter->securitypriv.PrivacyAlgrthm != _WEP40_) && in r8712_joinbss_cmd() 418 (padapter->securitypriv.PrivacyAlgrthm != _WEP104_)) { in r8712_joinbss_cmd() 521 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_setstakey_cmd()
|
D | rtl871x_xmit.c | 211 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_update_attrib() 341 if (padapter->securitypriv.busetkipkey == _FAIL) in r8712_update_attrib() 355 (padapter->securitypriv.sw_encrypt || in r8712_update_attrib() 378 struct security_priv *psecpriv = &padapter->securitypriv; in xmitframe_addmic() 612 struct security_priv *psecpriv = &padapter->securitypriv; in r8712_xmitframe_coalesce()
|
D | rtl871x_security.c | 160 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_wep_encrypt() 218 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_wep_decrypt() 652 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_tkip_decrypt() 1351 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_aes_decrypt() 1383 from_timer(padapter, t, securitypriv.tkip_timer); in r8712_use_tkipkey_handler() 1385 padapter->securitypriv.busetkipkey = true; in r8712_use_tkipkey_handler()
|
D | rtl8712_xmit.c | 402 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_txdesc() 693 struct security_priv *psecuritypriv = &padapter->securitypriv; in dump_xframe()
|
/linux-6.6.21/drivers/staging/rtl8723bs/core/ |
D | rtw_security.c | 50 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_encrypt() 103 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_decrypt() 474 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_encrypt() 547 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_decrypt() 1041 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_aes_encrypt() 1300 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_aes_decrypt() 1413 if (keyid != padapter->securitypriv.dot11wBIPKeyid) in rtw_BIP_verify() 1427 if (omac1_aes_128(padapter->securitypriv.dot11wBIPKey[padapter->securitypriv.dot11wBIPKeyid].skey in rtw_BIP_verify() 1554 struct security_priv *securitypriv = &(adapter->securitypriv); in rtw_sec_restore_wep_key() local 1557 …if ((_WEP40_ == securitypriv->dot11PrivacyAlgrthm) || (_WEP104_ == securitypriv->dot11PrivacyAlgrt… in rtw_sec_restore_wep_key() [all …]
|
D | rtw_mlme.c | 356 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_same_ibss() 638 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_desired_network() 918 adapter->securitypriv.key_mask = 0; in rtw_free_assoc_resources() 1038 if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { in rtw_joinbss_update_stainfo() 1039 padapter->securitypriv.binstallGrpkey = false; in rtw_joinbss_update_stainfo() 1040 padapter->securitypriv.busetkipkey = false; in rtw_joinbss_update_stainfo() 1041 padapter->securitypriv.bgrpkey_handshake = false; in rtw_joinbss_update_stainfo() 1044 psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; in rtw_joinbss_update_stainfo() 1060 if (padapter->securitypriv.wps_ie_len != 0) { in rtw_joinbss_update_stainfo() 1062 padapter->securitypriv.wps_ie_len = 0; in rtw_joinbss_update_stainfo() [all …]
|
D | rtw_ap.c | 456 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_sta_info_apmode() 650 struct security_priv *psecuritypriv = &(padapter->securitypriv); in start_bss_network() 826 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_check_beacon_data() 1329 padapter->securitypriv.key_mask |= BIT(psetkeyparm->keyid); in rtw_ap_set_key() 2010 struct security_priv *psecuritypriv = &(padapter->securitypriv); in rtw_ap_restore_network() 2027 if ((padapter->securitypriv.dot11PrivacyAlgrthm == _TKIP_) || in rtw_ap_restore_network() 2028 (padapter->securitypriv.dot11PrivacyAlgrthm == _AES_)) { in rtw_ap_restore_network() 2138 (unsigned char *)&padapter->securitypriv, in stop_ap_mode() 2142 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; in stop_ap_mode() 2143 padapter->securitypriv.ndisencryptstatus = Ndis802_11WEPDisabled; in stop_ap_mode()
|
D | rtw_ioctl_set.c | 405 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_set_802_11_authentication_mode() 428 struct security_priv *psecuritypriv = &(padapter->securitypriv); in rtw_set_802_11_add_wep()
|
D | rtw_xmit.c | 385 (padapter->securitypriv.dot11PrivacyAlgrthm == _AES_)) { in update_attrib_vcs_info() 475 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_attrib_sec_info() 562 ((padapter->securitypriv.sw_encrypt) || (!psecuritypriv->hw_decrypted))) in update_attrib_sec_info() 764 struct security_priv *psecuritypriv = &padapter->securitypriv; in xmitframe_addmic() 1173 if (!padapter->securitypriv.binstallBIPkey) in rtw_mgmt_xmitframe_coalesce() 1191 MME[0] = padapter->securitypriv.dot11wBIPKeyid; in rtw_mgmt_xmitframe_coalesce() 1214 if (omac1_aes_128(padapter->securitypriv.dot11wBIPKey[padapter->securitypriv.dot11wBIPKeyid].skey in rtw_mgmt_xmitframe_coalesce()
|
D | rtw_cmd.c | 682 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_joinbss_cmd() 762 if ((padapter->securitypriv.dot11PrivacyAlgrthm != _WEP40_) && in rtw_joinbss_cmd() 763 (padapter->securitypriv.dot11PrivacyAlgrthm != _WEP104_) && in rtw_joinbss_cmd() 764 (padapter->securitypriv.dot11PrivacyAlgrthm != _TKIP_)) { in rtw_joinbss_cmd() 871 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_setstakey_cmd() 893 padapter->securitypriv.busetkipkey = true; in rtw_setstakey_cmd()
|
D | rtw_recv.c | 310 struct security_priv *psecuritypriv = &adapter->securitypriv; in recvframe_chkmic() 385 struct security_priv *psecuritypriv = &padapter->securitypriv; in decryptor() 458 auth_alg = adapter->securitypriv.dot11AuthAlgrthm; in portctrl() 1236 struct security_priv *psecuritypriv = &adapter->securitypriv; in validate_recv_data_frame() 1355 adapter->securitypriv.binstallBIPkey == true) { in validate_80211w_mgmt() 2024 struct security_priv *psecuritypriv = &padapter->securitypriv; in recv_func()
|
D | rtw_pwrctrl.c | 336 if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X && in PS_RDY_CHECK() 337 !padapter->securitypriv.binstallGrpkey) in PS_RDY_CHECK()
|
/linux-6.6.21/drivers/staging/rtl8723bs/hal/ |
D | rtl8723b_dm.c | 95 ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_SEC_MODE, &(Adapter->securitypriv.dot11PrivacyAlgrthm)); in Update_ODM_ComInfo_8723b()
|
/linux-6.6.21/drivers/staging/rtl8723bs/include/ |
D | drv_types.h | 352 struct security_priv securitypriv; member
|