/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_linux.c | 38 padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; in wpa_set_auth_algs() 39 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeAutoSwitch; in wpa_set_auth_algs() 40 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Auto; in wpa_set_auth_algs() 42 padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; in wpa_set_auth_algs() 44 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeShared; in wpa_set_auth_algs() 45 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Shared; in wpa_set_auth_algs() 48 if (padapter->securitypriv.ndisauthtype < Ndis802_11AuthModeWPAPSK) { in wpa_set_auth_algs() 49 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; in wpa_set_auth_algs() 50 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Open; in wpa_set_auth_algs() 68 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 | 506 struct security_priv *psecuritypriv = &(padapter->securitypriv); in rtw_cfg80211_ap_set_encryption() 508 char *grpkey = padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey; in rtw_cfg80211_ap_set_encryption() 509 char *txkey = padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey; in rtw_cfg80211_ap_set_encryption() 510 char *rxkey = padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey; in rtw_cfg80211_ap_set_encryption() 718 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_cfg80211_set_encryption() 781 if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { /* 802_1x */ in rtw_cfg80211_set_encryption() 793 if ((padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption2Enabled) || in rtw_cfg80211_set_encryption() 794 (padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption3Enabled)) { in rtw_cfg80211_set_encryption() 795 psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; in rtw_cfg80211_set_encryption() 807 padapter->securitypriv.busetkipkey = false; in rtw_cfg80211_set_encryption() [all …]
|
/drivers/staging/r8188eu/core/ |
D | rtw_ioctl_set.c | 179 if (padapter->securitypriv.btkip_countermeasure) { in rtw_set_802_11_bssid() 182 if ((cur_time - padapter->securitypriv.btkip_countermeasure_time) > 60 * HZ) { in rtw_set_802_11_bssid() 183 padapter->securitypriv.btkip_countermeasure = false; in rtw_set_802_11_bssid() 184 padapter->securitypriv.btkip_countermeasure_time = 0; in rtw_set_802_11_bssid() 271 if (padapter->securitypriv.btkip_countermeasure) { in rtw_set_802_11_ssid() 274 if ((cur_time - padapter->securitypriv.btkip_countermeasure_time) > 60 * HZ) { in rtw_set_802_11_ssid() 275 padapter->securitypriv.btkip_countermeasure = false; in rtw_set_802_11_ssid() 276 padapter->securitypriv.btkip_countermeasure_time = 0; in rtw_set_802_11_ssid() 416 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_set_802_11_authentication_mode() 438 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_set_802_11_add_wep() [all …]
|
D | rtw_mlme.c | 397 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_same_ibss() 630 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_desired_network() 989 if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { in rtw_joinbss_update_stainfo() 990 padapter->securitypriv.binstallGrpkey = false; in rtw_joinbss_update_stainfo() 991 padapter->securitypriv.busetkipkey = false; in rtw_joinbss_update_stainfo() 992 padapter->securitypriv.bgrpkey_handshake = false; in rtw_joinbss_update_stainfo() 994 psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; in rtw_joinbss_update_stainfo() 1004 if (padapter->securitypriv.wps_ie_len != 0) { in rtw_joinbss_update_stainfo() 1006 padapter->securitypriv.wps_ie_len = 0; in rtw_joinbss_update_stainfo() 1281 if (adapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) in rtw_stassoc_event_callback() [all …]
|
D | rtw_pwrctrl.c | 54 struct security_priv *psecuritypriv = &padapter->securitypriv; in ips_leave() 267 …if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X && !padapter->securitypriv.b… in PS_RDY_CHECK()
|
D | rtw_security.c | 95 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_encrypt() 148 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_decrypt() 523 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_encrypt() 602 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_decrypt() 1169 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_aes_encrypt() 1416 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_aes_decrypt() 1655 padapter->securitypriv.busetkipkey = true; in rtw_use_tkipkey_handler()
|
D | rtw_ap.c | 497 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_sta_info_apmode() 600 struct security_priv *psecuritypriv = &padapter->securitypriv; in start_bss_network() 741 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_check_beacon_data() 1811 memset((unsigned char *)&padapter->securitypriv, 0, sizeof(struct security_priv)); in stop_ap_mode() 1812 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; in stop_ap_mode() 1813 padapter->securitypriv.ndisencryptstatus = Ndis802_11WEPDisabled; in stop_ap_mode()
|
/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() 782 if (adapter->securitypriv. in r8712_joinbss_event_callback() 784 adapter->securitypriv. in r8712_joinbss_event_callback() 787 adapter->securitypriv. in r8712_joinbss_event_callback() 790 adapter->securitypriv. in r8712_joinbss_event_callback() 796 adapter->securitypriv. in r8712_joinbss_event_callback() 896 if (adapter->securitypriv.AuthAlgrthm == 2) in r8712_stassoc_event_callback() 897 psta->XPrivacy = adapter->securitypriv.PrivacyAlgrthm; in r8712_stassoc_event_callback() 1000 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 | 144 struct security_priv *psecuritypriv = &adapter->securitypriv; in r8712_recvframe_chkmic() 198 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_decryptor() 241 auth_alg = adapter->securitypriv.AuthAlgrthm; in r8712_portctrl() 468 struct security_priv *psecuritypriv = &adapter->securitypriv; in validate_recv_data_frame()
|
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 | drv_types.h | 138 struct security_priv securitypriv; member
|
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()
|
/drivers/staging/r8188eu/os_dep/ |
D | mlme_linux.c | 66 if (adapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { in rtw_reset_securitypriv() 72 …memcpy(&backup_pmkid[0], &adapter->securitypriv.PMKIDList[0], sizeof(struct rt_pmkid_list) * NUM_P… in rtw_reset_securitypriv() 73 backup_index = adapter->securitypriv.PMKIDIndex; in rtw_reset_securitypriv() 74 backup_counter = adapter->securitypriv.btkip_countermeasure; in rtw_reset_securitypriv() 75 backup_time = adapter->securitypriv.btkip_countermeasure_time; in rtw_reset_securitypriv() 76 memset((unsigned char *)&adapter->securitypriv, 0, sizeof(struct security_priv)); in rtw_reset_securitypriv() 79 memcpy(&adapter->securitypriv.PMKIDList[0], in rtw_reset_securitypriv() 82 adapter->securitypriv.PMKIDIndex = backup_index; in rtw_reset_securitypriv() 83 adapter->securitypriv.btkip_countermeasure = backup_counter; in rtw_reset_securitypriv() 84 adapter->securitypriv.btkip_countermeasure_time = backup_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() 406 if (padapter->securitypriv.ndisauthtype < Ndis802_11AuthModeWPAPSK) { in wpa_set_auth_algs() 407 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; in wpa_set_auth_algs() 408 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Open; in wpa_set_auth_algs() 426 struct security_priv *psecuritypriv = &padapter->securitypriv; in wpa_set_encryption() [all …]
|
/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 | 363 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_same_ibss() 645 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_desired_network() 926 adapter->securitypriv.key_mask = 0; in rtw_free_assoc_resources() 1046 if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { in rtw_joinbss_update_stainfo() 1047 padapter->securitypriv.binstallGrpkey = false; in rtw_joinbss_update_stainfo() 1048 padapter->securitypriv.busetkipkey = false; in rtw_joinbss_update_stainfo() 1049 padapter->securitypriv.bgrpkey_handshake = false; in rtw_joinbss_update_stainfo() 1052 psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; in rtw_joinbss_update_stainfo() 1068 if (padapter->securitypriv.wps_ie_len != 0) { in rtw_joinbss_update_stainfo() 1070 padapter->securitypriv.wps_ie_len = 0; in rtw_joinbss_update_stainfo() [all …]
|
D | rtw_ap.c | 455 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_sta_info_apmode() 649 struct security_priv *psecuritypriv = &(padapter->securitypriv); in start_bss_network() 825 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_check_beacon_data() 1327 padapter->securitypriv.key_mask |= BIT(psetkeyparm->keyid); in rtw_ap_set_key() 2008 struct security_priv *psecuritypriv = &(padapter->securitypriv); in rtw_ap_restore_network() 2025 if ((padapter->securitypriv.dot11PrivacyAlgrthm == _TKIP_) || in rtw_ap_restore_network() 2026 (padapter->securitypriv.dot11PrivacyAlgrthm == _AES_)) { in rtw_ap_restore_network() 2136 (unsigned char *)&padapter->securitypriv, in stop_ap_mode() 2140 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; in stop_ap_mode() 2141 padapter->securitypriv.ndisencryptstatus = Ndis802_11WEPDisabled; in stop_ap_mode()
|
D | rtw_ioctl_set.c | 404 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_set_802_11_authentication_mode() 427 struct security_priv *psecuritypriv = &(padapter->securitypriv); in rtw_set_802_11_add_wep()
|
D | rtw_xmit.c | 374 (padapter->securitypriv.dot11PrivacyAlgrthm == _AES_)) { in update_attrib_vcs_info() 467 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_attrib_sec_info() 554 ((padapter->securitypriv.sw_encrypt) || (!psecuritypriv->hw_decrypted))) in update_attrib_sec_info() 756 struct security_priv *psecuritypriv = &padapter->securitypriv; in xmitframe_addmic() 1165 if (!padapter->securitypriv.binstallBIPkey) in rtw_mgmt_xmitframe_coalesce() 1183 MME[0] = padapter->securitypriv.dot11wBIPKeyid; in rtw_mgmt_xmitframe_coalesce() 1206 if (omac1_aes_128(padapter->securitypriv.dot11wBIPKey[padapter->securitypriv.dot11wBIPKeyid].skey in rtw_mgmt_xmitframe_coalesce()
|