Home
last modified time | relevance | path

Searched refs:securitypriv (Results 1 – 25 of 50) sorted by relevance

12

/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c90 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()
349 padapter->securitypriv.ndisencryptstatus = in wpa_set_auth_algs()
351 padapter->securitypriv.ndisauthtype = in wpa_set_auth_algs()
353 padapter->securitypriv.AuthAlgrthm = 3; in wpa_set_auth_algs()
[all …]
Dmlme_linux.c95 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()
Drtl871x_mlme.c221 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 …]
Dos_intfs.c254 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()
Drtl871x_ioctl_set.c212 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()
Drtl871x_recv.c148 struct security_priv *psecuritypriv = &adapter->securitypriv; in r8712_recvframe_chkmic()
202 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_decryptor()
244 auth_alg = adapter->securitypriv.AuthAlgrthm; in r8712_portctrl()
471 struct security_priv *psecuritypriv = &adapter->securitypriv; in validate_recv_data_frame()
Drtl871x_cmd.c349 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_joinbss_cmd()
420 if ((padapter->securitypriv.PrivacyAlgrthm != _WEP40_) && in r8712_joinbss_cmd()
421 (padapter->securitypriv.PrivacyAlgrthm != _WEP104_)) { in r8712_joinbss_cmd()
524 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_setstakey_cmd()
Drtl871x_xmit.c187 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_update_attrib()
317 if (padapter->securitypriv.busetkipkey == _FAIL) in r8712_update_attrib()
331 (padapter->securitypriv.sw_encrypt || in r8712_update_attrib()
354 struct security_priv *psecuritypriv = &padapter->securitypriv; in xmitframe_addmic()
593 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_xmitframe_coalesce()
Ddrv_types.h140 struct security_priv securitypriv; member
Drtl871x_security.c160 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/rtl8723bs/os_dep/
Dmlme_linux.c78 if (adapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { in rtw_reset_securitypriv()
86 …memcpy(&backupPMKIDList[ 0 ], &adapter->securitypriv.PMKIDList[ 0 ], sizeof(RT_PMKID_LIST) * NUM_P… 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_P… 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 …]
Dioctl_linux.c395 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 …]
Dioctl_cfg80211.c592 struct security_priv* psecuritypriv =&(padapter->securitypriv); in rtw_cfg80211_ap_set_encryption()
878 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_cfg80211_set_encryption()
951 if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) /* 802_1x */ in rtw_cfg80211_set_encryption()
972 if ((padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption2Enabled)|| in rtw_cfg80211_set_encryption()
973 (padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption3Enabled)) in rtw_cfg80211_set_encryption()
975 psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; in rtw_cfg80211_set_encryption()
991 padapter->securitypriv.busetkipkey =false; in rtw_cfg80211_set_encryption()
1004 …memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (par… in rtw_cfg80211_set_encryption()
1005 …memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey,&(param->u.crypt.key[… in rtw_cfg80211_set_encryption()
1006 …memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey,&(param->u.crypt.key[… in rtw_cfg80211_set_encryption()
[all …]
/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c322 padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; in wpa_set_auth_algs()
323 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeAutoSwitch; in wpa_set_auth_algs()
324 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Auto; in wpa_set_auth_algs()
327 padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; in wpa_set_auth_algs()
329 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeShared; in wpa_set_auth_algs()
330 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Shared; in wpa_set_auth_algs()
333 if (padapter->securitypriv.ndisauthtype < Ndis802_11AuthModeWPAPSK) { in wpa_set_auth_algs()
334 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; in wpa_set_auth_algs()
335 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Open; in wpa_set_auth_algs()
353 struct security_priv *psecuritypriv = &padapter->securitypriv; in wpa_set_encryption()
[all …]
Drecv_linux.c33 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_handle_tkip_mic_err()
/drivers/staging/rtl8188eu/core/
Drtw_ioctl_set.c172 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()
Drtw_mlme.c278 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 …]
Drtw_cmd.c352 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_joinbss_cmd()
447 if ((padapter->securitypriv.dot11PrivacyAlgrthm != _WEP40_) && in rtw_joinbss_cmd()
448 (padapter->securitypriv.dot11PrivacyAlgrthm != _WEP104_) && in rtw_joinbss_cmd()
449 (padapter->securitypriv.dot11PrivacyAlgrthm != _TKIP_)) { in rtw_joinbss_cmd()
548 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_setstakey_cmd()
579 padapter->securitypriv.busetkipkey = true; in rtw_setstakey_cmd()
Drtw_pwrctrl.c157 struct security_priv *psecuritypriv = &(padapter->securitypriv); in ips_leave()
355 if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X && in PS_RDY_CHECK()
356 !padapter->securitypriv.binstallGrpkey) { in PS_RDY_CHECK()
Drtw_security.c138 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_encrypt()
206 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_decrypt()
590 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_encrypt()
670 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_decrypt()
1228 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_aes_encrypt()
1294 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_aes_decrypt()
/drivers/staging/rtl8723bs/core/
Drtw_security.c226 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_encrypt()
281 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_decrypt()
666 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_encrypt()
774 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_decrypt()
1533 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_aes_encrypt()
1863 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_aes_decrypt()
1981 if (keyid != padapter->securitypriv.dot11wBIPKeyid) { in rtw_BIP_verify()
1996 if (omac1_aes_128(padapter->securitypriv.dot11wBIPKey[padapter->securitypriv.dot11wBIPKeyid].skey in rtw_BIP_verify()
2391 struct security_priv *securitypriv = &(adapter->securitypriv); in rtw_sec_restore_wep_key() local
2394 …if ((_WEP40_ == securitypriv->dot11PrivacyAlgrthm) || (_WEP104_ == securitypriv->dot11PrivacyAlgrt… in rtw_sec_restore_wep_key()
[all …]
Drtw_mlme.c394 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_same_ibss()
728 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_desired_network()
1058 adapter->securitypriv.key_mask = 0; in rtw_free_assoc_resources()
1197 if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { in rtw_joinbss_update_stainfo()
1198 padapter->securitypriv.binstallGrpkey = false; in rtw_joinbss_update_stainfo()
1199 padapter->securitypriv.busetkipkey = false; in rtw_joinbss_update_stainfo()
1200 padapter->securitypriv.bgrpkey_handshake = false; in rtw_joinbss_update_stainfo()
1203 psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; in rtw_joinbss_update_stainfo()
1219 if (padapter->securitypriv.wps_ie_len != 0) { in rtw_joinbss_update_stainfo()
1221 padapter->securitypriv.wps_ie_len = 0; in rtw_joinbss_update_stainfo()
[all …]
Drtw_ap.c555 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_sta_info_apmode()
765 struct security_priv *psecuritypriv = &(padapter->securitypriv); in start_bss_network()
956 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_check_beacon_data()
1506 padapter->securitypriv.key_mask |= BIT(psetkeyparm->keyid); in rtw_ap_set_key()
2274 struct security_priv *psecuritypriv = &(padapter->securitypriv); in rtw_ap_restore_network()
2291 if ((padapter->securitypriv.dot11PrivacyAlgrthm == _TKIP_) || in rtw_ap_restore_network()
2292 (padapter->securitypriv.dot11PrivacyAlgrthm == _AES_)) { in rtw_ap_restore_network()
2404 (unsigned char *)&padapter->securitypriv, in stop_ap_mode()
2408 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; in stop_ap_mode()
2409 padapter->securitypriv.ndisencryptstatus = Ndis802_11WEPDisabled; in stop_ap_mode()
Drtw_xmit.c402 (padapter->securitypriv.dot11PrivacyAlgrthm == _AES_)) { in update_attrib_vcs_info()
508 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_attrib_sec_info()
607 pattrib->encrypt, padapter->securitypriv.sw_encrypt)); in update_attrib_sec_info()
610 ((padapter->securitypriv.sw_encrypt == true) || (psecuritypriv->hw_decrypted == false))) { in update_attrib_sec_info()
614 pattrib->encrypt, padapter->securitypriv.sw_encrypt)); in update_attrib_sec_info()
859 struct security_priv *psecuritypriv = &padapter->securitypriv; in xmitframe_addmic()
1283 …padapter->securitypriv.dot11PrivacyKeyIndex, pattrib->iv[3], *pframe, *(pframe+1), *(pframe+2), *(… in rtw_xmitframe_coalesce()
1387 if (padapter->securitypriv.binstallBIPkey != true) { in rtw_mgmt_xmitframe_coalesce()
1406 MME[0] = padapter->securitypriv.dot11wBIPKeyid; in rtw_mgmt_xmitframe_coalesce()
1428 if (omac1_aes_128(padapter->securitypriv.dot11wBIPKey[padapter->securitypriv.dot11wBIPKeyid].skey in rtw_mgmt_xmitframe_coalesce()
/drivers/staging/rtl8188eu/include/
Ddrv_types.h141 struct security_priv securitypriv; member

12