/Linux-v5.10/drivers/staging/rtl8723bs/os_dep/ |
D | mlme_linux.c | 78 if (adapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { in rtw_reset_securitypriv() 86 …memcpy(&backupPMKIDList[0], &adapter->securitypriv.PMKIDList[0], sizeof(RT_PMKID_LIST) * NUM_PMKID… in rtw_reset_securitypriv() 87 backupPMKIDIndex = adapter->securitypriv.PMKIDIndex; in rtw_reset_securitypriv() 88 backupTKIPCountermeasure = adapter->securitypriv.btkip_countermeasure; in rtw_reset_securitypriv() 89 backupTKIPcountermeasure_time = adapter->securitypriv.btkip_countermeasure_time; in rtw_reset_securitypriv() 94 memset((unsigned char *)&adapter->securitypriv, 0, sizeof(struct security_priv)); in rtw_reset_securitypriv() 98 …memcpy(&adapter->securitypriv.PMKIDList[0], &backupPMKIDList[0], sizeof(RT_PMKID_LIST) * NUM_PMKID… in rtw_reset_securitypriv() 99 adapter->securitypriv.PMKIDIndex = backupPMKIDIndex; in rtw_reset_securitypriv() 100 adapter->securitypriv.btkip_countermeasure = backupTKIPCountermeasure; in rtw_reset_securitypriv() 101 adapter->securitypriv.btkip_countermeasure_time = backupTKIPcountermeasure_time; in rtw_reset_securitypriv() [all …]
|
D | ioctl_linux.c | 395 padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; in wpa_set_auth_algs() 396 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeAutoSwitch; in wpa_set_auth_algs() 397 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Auto; in wpa_set_auth_algs() 400 padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; in wpa_set_auth_algs() 402 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeShared; in wpa_set_auth_algs() 403 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Shared; in wpa_set_auth_algs() 407 if (padapter->securitypriv.ndisauthtype < Ndis802_11AuthModeWPAPSK) { in wpa_set_auth_algs() 408 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; in wpa_set_auth_algs() 409 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Open; in wpa_set_auth_algs() 429 struct security_priv *psecuritypriv = &padapter->securitypriv; in wpa_set_encryption() [all …]
|
D | ioctl_cfg80211.c | 566 struct security_priv* psecuritypriv = &(padapter->securitypriv); in rtw_cfg80211_ap_set_encryption() 852 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_cfg80211_set_encryption() 925 if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) /* 802_1x */ in rtw_cfg80211_set_encryption() 946 if ((padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption2Enabled) || in rtw_cfg80211_set_encryption() 947 (padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption3Enabled)) in rtw_cfg80211_set_encryption() 949 psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; in rtw_cfg80211_set_encryption() 965 padapter->securitypriv.busetkipkey = false; in rtw_cfg80211_set_encryption() 978 …memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (para… in rtw_cfg80211_set_encryption() 979 …memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key… in rtw_cfg80211_set_encryption() 980 …memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey, &(param->u.crypt.key… in rtw_cfg80211_set_encryption() [all …]
|
/Linux-v5.10/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 90 padapter->securitypriv. busetkipkey = false; in handle_pairwise_key() 91 mod_timer(&padapter->securitypriv.tkip_timer, in handle_pairwise_key() 100 union Keytype *gk = padapter->securitypriv.XGrpKey; in handle_group_key() 101 union Keytype *gtk = padapter->securitypriv.XGrptxmickey; in handle_group_key() 102 union Keytype *grk = padapter->securitypriv.XGrprxmickey; in handle_group_key() 115 padapter->securitypriv.binstallGrpkey = true; in handle_group_key() 116 r8712_set_key(padapter, &padapter->securitypriv, in handle_group_key() 345 padapter->securitypriv.ndisencryptstatus = in wpa_set_auth_algs() 347 padapter->securitypriv.ndisauthtype = in wpa_set_auth_algs() 349 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 | 221 struct security_priv *psecuritypriv = &adapter->securitypriv; in r8712_is_same_ibss() 422 struct security_priv *psecuritypriv = &adapter->securitypriv; in is_desired_network() 784 if (adapter->securitypriv. in r8712_joinbss_event_callback() 786 adapter->securitypriv. in r8712_joinbss_event_callback() 789 adapter->securitypriv. in r8712_joinbss_event_callback() 792 adapter->securitypriv. in r8712_joinbss_event_callback() 798 adapter->securitypriv. in r8712_joinbss_event_callback() 898 if (adapter->securitypriv.AuthAlgrthm == 2) in r8712_stassoc_event_callback() 899 psta->XPrivacy = adapter->securitypriv.PrivacyAlgrthm; in r8712_stassoc_event_callback() 1002 if (!adapter->securitypriv.wps_hw_pbc_pressed) in r8712_wpspbc_event_callback() [all …]
|
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() 313 memset((unsigned char *)&padapter->securitypriv, 0, in r8712_init_drv_sw() 315 timer_setup(&padapter->securitypriv.tkip_timer, in r8712_init_drv_sw()
|
D | rtl871x_ioctl_set.c | 212 if (padapter->securitypriv.btkip_countermeasure) in r8712_set_802_11_ssid() 317 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_set_802_11_authentication_mode() 334 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_set_802_11_add_wep()
|
D | rtl871x_recv.c | 143 struct security_priv *psecuritypriv = &adapter->securitypriv; in r8712_recvframe_chkmic() 197 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_decryptor() 239 auth_alg = adapter->securitypriv.AuthAlgrthm; in r8712_portctrl() 466 struct security_priv *psecuritypriv = &adapter->securitypriv; in validate_recv_data_frame()
|
D | drv_types.h | 140 struct security_priv securitypriv; member
|
D | rtl871x_cmd.c | 344 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_joinbss_cmd() 415 if ((padapter->securitypriv.PrivacyAlgrthm != _WEP40_) && in r8712_joinbss_cmd() 416 (padapter->securitypriv.PrivacyAlgrthm != _WEP104_)) { in r8712_joinbss_cmd() 519 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_setstakey_cmd()
|
D | rtl871x_xmit.c | 186 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_update_attrib() 316 if (padapter->securitypriv.busetkipkey == _FAIL) in r8712_update_attrib() 330 (padapter->securitypriv.sw_encrypt || in r8712_update_attrib() 353 struct security_priv *psecpriv = &padapter->securitypriv; in xmitframe_addmic() 587 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() 653 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_tkip_decrypt() 1352 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_aes_decrypt() 1384 from_timer(padapter, t, securitypriv.tkip_timer); in r8712_use_tkipkey_handler() 1386 padapter->securitypriv.busetkipkey = true; in r8712_use_tkipkey_handler()
|
/Linux-v5.10/drivers/staging/rtl8188eu/os_dep/ |
D | ioctl_linux.c | 319 padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; in wpa_set_auth_algs() 320 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeAutoSwitch; in wpa_set_auth_algs() 321 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Auto; in wpa_set_auth_algs() 324 padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; in wpa_set_auth_algs() 326 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeShared; in wpa_set_auth_algs() 327 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Shared; in wpa_set_auth_algs() 330 if (padapter->securitypriv.ndisauthtype < Ndis802_11AuthModeWPAPSK) { in wpa_set_auth_algs() 331 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; in wpa_set_auth_algs() 332 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Open; in wpa_set_auth_algs() 350 struct security_priv *psecuritypriv = &padapter->securitypriv; in wpa_set_encryption() [all …]
|
D | recv_linux.c | 33 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_handle_tkip_mic_err()
|
/Linux-v5.10/drivers/staging/rtl8188eu/core/ |
D | rtw_ioctl_set.c | 172 if (padapter->securitypriv.btkip_countermeasure) { in rtw_set_802_11_bssid() 175 if (cur_time - padapter->securitypriv.btkip_countermeasure_time > 60 * HZ) { in rtw_set_802_11_bssid() 176 padapter->securitypriv.btkip_countermeasure = false; in rtw_set_802_11_bssid() 177 padapter->securitypriv.btkip_countermeasure_time = 0; in rtw_set_802_11_bssid() 279 if (padapter->securitypriv.btkip_countermeasure) { in rtw_set_802_11_ssid() 282 if (cur_time - padapter->securitypriv.btkip_countermeasure_time > 60 * HZ) { in rtw_set_802_11_ssid() 283 padapter->securitypriv.btkip_countermeasure = false; in rtw_set_802_11_ssid() 284 padapter->securitypriv.btkip_countermeasure_time = 0; in rtw_set_802_11_ssid() 444 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_set_802_11_authentication_mode() 473 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_set_802_11_add_wep()
|
D | rtw_mlme.c | 278 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_same_ibss() 499 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_desired_network() 846 if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { in rtw_joinbss_update_stainfo() 847 padapter->securitypriv.binstallGrpkey = false; in rtw_joinbss_update_stainfo() 848 padapter->securitypriv.busetkipkey = false; in rtw_joinbss_update_stainfo() 849 padapter->securitypriv.bgrpkey_handshake = false; in rtw_joinbss_update_stainfo() 851 psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; in rtw_joinbss_update_stainfo() 864 if (padapter->securitypriv.wps_ie_len != 0) { in rtw_joinbss_update_stainfo() 866 padapter->securitypriv.wps_ie_len = 0; in rtw_joinbss_update_stainfo() 1173 if (adapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) in rtw_stassoc_event_callback() [all …]
|
D | rtw_security.c | 138 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_encrypt() 206 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_decrypt() 588 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_encrypt() 667 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_decrypt() 732 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_aes_encrypt() 844 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_aes_decrypt()
|
D | rtw_pwrctrl.c | 157 struct security_priv *psecuritypriv = &padapter->securitypriv; in ips_leave() 351 if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X && in PS_RDY_CHECK() 352 !padapter->securitypriv.binstallGrpkey) { in PS_RDY_CHECK()
|
D | rtw_cmd.c | 362 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_joinbss_cmd() 464 if ((padapter->securitypriv.dot11PrivacyAlgrthm != _WEP40_) && in rtw_joinbss_cmd() 465 (padapter->securitypriv.dot11PrivacyAlgrthm != _WEP104_) && in rtw_joinbss_cmd() 466 (padapter->securitypriv.dot11PrivacyAlgrthm != _TKIP_)) { in rtw_joinbss_cmd() 566 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_setstakey_cmd() 598 padapter->securitypriv.busetkipkey = true; in rtw_setstakey_cmd()
|
/Linux-v5.10/drivers/staging/rtl8723bs/core/ |
D | rtw_security.c | 226 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_encrypt() 281 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_decrypt() 668 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_encrypt() 745 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_decrypt() 1496 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_aes_encrypt() 1823 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_aes_decrypt() 1942 if (keyid != padapter->securitypriv.dot11wBIPKeyid) { in rtw_BIP_verify() 1957 if (omac1_aes_128(padapter->securitypriv.dot11wBIPKey[padapter->securitypriv.dot11wBIPKeyid].skey in rtw_BIP_verify() 2352 struct security_priv *securitypriv = &(adapter->securitypriv); in rtw_sec_restore_wep_key() local 2355 …if ((_WEP40_ == securitypriv->dot11PrivacyAlgrthm) || (_WEP104_ == securitypriv->dot11PrivacyAlgrt… in rtw_sec_restore_wep_key() [all …]
|
D | rtw_mlme.c | 385 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_same_ibss() 712 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_desired_network() 1018 adapter->securitypriv.key_mask = 0; in rtw_free_assoc_resources() 1152 if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { in rtw_joinbss_update_stainfo() 1153 padapter->securitypriv.binstallGrpkey = false; in rtw_joinbss_update_stainfo() 1154 padapter->securitypriv.busetkipkey = false; in rtw_joinbss_update_stainfo() 1155 padapter->securitypriv.bgrpkey_handshake = false; in rtw_joinbss_update_stainfo() 1158 psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; in rtw_joinbss_update_stainfo() 1174 if (padapter->securitypriv.wps_ie_len != 0) { in rtw_joinbss_update_stainfo() 1176 padapter->securitypriv.wps_ie_len = 0; in rtw_joinbss_update_stainfo() [all …]
|
D | rtw_ap.c | 557 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_sta_info_apmode() 767 struct security_priv *psecuritypriv = &(padapter->securitypriv); in start_bss_network() 958 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_check_beacon_data() 1508 padapter->securitypriv.key_mask |= BIT(psetkeyparm->keyid); in rtw_ap_set_key() 2276 struct security_priv *psecuritypriv = &(padapter->securitypriv); in rtw_ap_restore_network() 2293 if ((padapter->securitypriv.dot11PrivacyAlgrthm == _TKIP_) || in rtw_ap_restore_network() 2294 (padapter->securitypriv.dot11PrivacyAlgrthm == _AES_)) { in rtw_ap_restore_network() 2406 (unsigned char *)&padapter->securitypriv, in stop_ap_mode() 2410 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; in stop_ap_mode() 2411 padapter->securitypriv.ndisencryptstatus = Ndis802_11WEPDisabled; in stop_ap_mode()
|
D | rtw_xmit.c | 387 (padapter->securitypriv.dot11PrivacyAlgrthm == _AES_)) { in update_attrib_vcs_info() 484 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_attrib_sec_info() 581 pattrib->encrypt, padapter->securitypriv.sw_encrypt)); in update_attrib_sec_info() 584 ((padapter->securitypriv.sw_encrypt == true) || (psecuritypriv->hw_decrypted == false))) { in update_attrib_sec_info() 588 pattrib->encrypt, padapter->securitypriv.sw_encrypt)); in update_attrib_sec_info() 819 struct security_priv *psecuritypriv = &padapter->securitypriv; in xmitframe_addmic() 1166 …padapter->securitypriv.dot11PrivacyKeyIndex, pattrib->iv[3], *pframe, *(pframe+1), *(pframe+2), *(… in rtw_xmitframe_coalesce() 1267 if (padapter->securitypriv.binstallBIPkey != true) { in rtw_mgmt_xmitframe_coalesce() 1286 MME[0] = padapter->securitypriv.dot11wBIPKeyid; in rtw_mgmt_xmitframe_coalesce() 1309 if (omac1_aes_128(padapter->securitypriv.dot11wBIPKey[padapter->securitypriv.dot11wBIPKeyid].skey in rtw_mgmt_xmitframe_coalesce()
|
/Linux-v5.10/drivers/staging/rtl8188eu/include/ |
D | drv_types.h | 140 struct security_priv securitypriv; member
|