Home
last modified time | relevance | path

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

12

/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c107 padapter->securitypriv. busetkipkey = false; in handle_pairwise_key()
108 mod_timer(&padapter->securitypriv.tkip_timer, in handle_pairwise_key()
120 memcpy(padapter->securitypriv.XGrpKey[param->u.crypt. in handle_group_key()
124 memcpy(padapter->securitypriv.XGrptxmickey[param-> in handle_group_key()
126 memcpy(padapter->securitypriv. XGrprxmickey[param-> in handle_group_key()
128 padapter->securitypriv.binstallGrpkey = true; in handle_group_key()
129 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 …]
Dmlme_linux.c106 if (adapter->securitypriv.AuthAlgrthm == 2) { /*/802.1x*/ in r8712_os_indicate_disconnect()
113 memcpy(&backupPMKIDList[0], &adapter->securitypriv. in r8712_os_indicate_disconnect()
116 backupPMKIDIndex = adapter->securitypriv.PMKIDIndex; in r8712_os_indicate_disconnect()
117 backupTKIPCountermeasure = adapter->securitypriv. in r8712_os_indicate_disconnect()
119 memset((unsigned char *)&adapter->securitypriv, 0, in r8712_os_indicate_disconnect()
121 setup_timer(&adapter->securitypriv.tkip_timer, in r8712_os_indicate_disconnect()
127 memcpy(&adapter->securitypriv.PMKIDList[0], in r8712_os_indicate_disconnect()
130 adapter->securitypriv.PMKIDIndex = backupPMKIDIndex; in r8712_os_indicate_disconnect()
131 adapter->securitypriv.btkip_countermeasure = in r8712_os_indicate_disconnect()
134 struct security_priv *psec_priv = &adapter->securitypriv; in r8712_os_indicate_disconnect()
Drtl871x_mlme.c259 struct security_priv *psecuritypriv = &adapter->securitypriv; in r8712_is_same_ibss()
465 struct security_priv *psecuritypriv = &adapter->securitypriv; in is_desired_network()
829 if (adapter->securitypriv. in r8712_joinbss_event_callback()
831 adapter->securitypriv. in r8712_joinbss_event_callback()
834 adapter->securitypriv. in r8712_joinbss_event_callback()
837 adapter->securitypriv. in r8712_joinbss_event_callback()
843 adapter->securitypriv. in r8712_joinbss_event_callback()
943 if (adapter->securitypriv.AuthAlgrthm == 2) in r8712_stassoc_event_callback()
944 psta->XPrivacy = adapter->securitypriv.PrivacyAlgrthm; in r8712_stassoc_event_callback()
1047 if (!adapter->securitypriv.wps_hw_pbc_pressed) in r8712_wpspbc_event_callback()
[all …]
Dos_intfs.c263 del_timer_sync(&padapter->securitypriv.tkip_timer); in r8712_stop_drv_timers()
275 struct security_priv *psecuritypriv = &padapter->securitypriv; in init_default_value()
318 memset((unsigned char *)&padapter->securitypriv, 0, in r8712_init_drv_sw()
320 setup_timer(&padapter->securitypriv.tkip_timer, in r8712_init_drv_sw()
Drtl871x_ioctl_set.c224 if (padapter->securitypriv.btkip_countermeasure) in r8712_set_802_11_ssid()
329 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_set_802_11_authentication_mode()
346 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_set_802_11_add_wep()
Drtl871x_recv.c163 struct security_priv *psecuritypriv = &adapter->securitypriv; in r8712_recvframe_chkmic()
217 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_decryptor()
259 auth_alg = adapter->securitypriv.AuthAlgrthm; in r8712_portctrl()
487 struct security_priv *psecuritypriv = &adapter->securitypriv; in validate_recv_data_frame()
Drtl871x_xmit.c195 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_update_attrib()
324 if (padapter->securitypriv.busetkipkey == _FAIL) in r8712_update_attrib()
338 (padapter->securitypriv.sw_encrypt || in r8712_update_attrib()
361 struct security_priv *psecuritypriv = &padapter->securitypriv; in xmitframe_addmic()
602 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_xmitframe_coalesce()
Ddrv_types.h148 struct security_priv securitypriv; member
Drtl871x_cmd.c453 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_joinbss_cmd()
528 if ((padapter->securitypriv.PrivacyAlgrthm != _WEP40_) && in r8712_joinbss_cmd()
529 (padapter->securitypriv.PrivacyAlgrthm != _WEP104_)) { in r8712_joinbss_cmd()
634 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_setstakey_cmd()
Drtl871x_security.c173 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_wep_encrypt()
230 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_wep_decrypt()
665 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_tkip_decrypt()
1373 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_aes_decrypt()
1409 padapter->securitypriv.busetkipkey = true; in r8712_use_tkipkey_handler()
Drtl8712_xmit.c426 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_txdesc()
717 struct security_priv *psecuritypriv = &padapter->securitypriv; in dump_xframe()
/drivers/staging/rtl8188eu/os_dep/
Dmlme_linux.c54 if (adapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { in rtw_reset_securitypriv()
59 …memcpy(&backup_pmkid[0], &adapter->securitypriv.PMKIDList[0], sizeof(struct rt_pmkid_list) * NUM_P… in rtw_reset_securitypriv()
60 backup_index = adapter->securitypriv.PMKIDIndex; in rtw_reset_securitypriv()
61 backup_counter = adapter->securitypriv.btkip_countermeasure; in rtw_reset_securitypriv()
62 backup_time = adapter->securitypriv.btkip_countermeasure_time; in rtw_reset_securitypriv()
63 memset((unsigned char *)&adapter->securitypriv, 0, sizeof(struct security_priv)); in rtw_reset_securitypriv()
66 memcpy(&adapter->securitypriv.PMKIDList[0], in rtw_reset_securitypriv()
69 adapter->securitypriv.PMKIDIndex = backup_index; in rtw_reset_securitypriv()
70 adapter->securitypriv.btkip_countermeasure = backup_counter; in rtw_reset_securitypriv()
71 adapter->securitypriv.btkip_countermeasure_time = backup_time; in rtw_reset_securitypriv()
[all …]
Dioctl_linux.c330 padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; in wpa_set_auth_algs()
331 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeAutoSwitch; in wpa_set_auth_algs()
332 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Auto; in wpa_set_auth_algs()
335 padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; in wpa_set_auth_algs()
337 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeShared; in wpa_set_auth_algs()
338 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Shared; in wpa_set_auth_algs()
341 if (padapter->securitypriv.ndisauthtype < Ndis802_11AuthModeWPAPSK) { in wpa_set_auth_algs()
342 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; in wpa_set_auth_algs()
343 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Open; in wpa_set_auth_algs()
361 struct security_priv *psecuritypriv = &padapter->securitypriv; in wpa_set_encryption()
[all …]
Drecv_linux.c47 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_handle_tkip_mic_err()
/drivers/staging/rtl8188eu/core/
Drtw_ioctl_set.c185 if (padapter->securitypriv.btkip_countermeasure) { in rtw_set_802_11_bssid()
188 if ((cur_time - padapter->securitypriv.btkip_countermeasure_time) > 60 * HZ) { in rtw_set_802_11_bssid()
189 padapter->securitypriv.btkip_countermeasure = false; in rtw_set_802_11_bssid()
190 padapter->securitypriv.btkip_countermeasure_time = 0; in rtw_set_802_11_bssid()
294 if (padapter->securitypriv.btkip_countermeasure) { in rtw_set_802_11_ssid()
297 if ((cur_time - padapter->securitypriv.btkip_countermeasure_time) > 60 * HZ) { in rtw_set_802_11_ssid()
298 padapter->securitypriv.btkip_countermeasure = false; in rtw_set_802_11_ssid()
299 padapter->securitypriv.btkip_countermeasure_time = 0; in rtw_set_802_11_ssid()
466 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_set_802_11_authentication_mode()
496 struct security_priv *psecuritypriv = &(padapter->securitypriv); in rtw_set_802_11_add_wep()
Drtw_mlme.c298 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_same_ibss()
516 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_desired_network()
889 if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { in rtw_joinbss_update_stainfo()
890 padapter->securitypriv.binstallGrpkey = false; in rtw_joinbss_update_stainfo()
891 padapter->securitypriv.busetkipkey = false; in rtw_joinbss_update_stainfo()
892 padapter->securitypriv.bgrpkey_handshake = false; in rtw_joinbss_update_stainfo()
894 psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; in rtw_joinbss_update_stainfo()
907 if (padapter->securitypriv.wps_ie_len != 0) { in rtw_joinbss_update_stainfo()
909 padapter->securitypriv.wps_ie_len = 0; in rtw_joinbss_update_stainfo()
1217 if (adapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) in rtw_stassoc_event_callback()
[all …]
Drtw_cmd.c374 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_joinbss_cmd()
471 if ((padapter->securitypriv.dot11PrivacyAlgrthm != _WEP40_) && in rtw_joinbss_cmd()
472 (padapter->securitypriv.dot11PrivacyAlgrthm != _WEP104_) && in rtw_joinbss_cmd()
473 (padapter->securitypriv.dot11PrivacyAlgrthm != _TKIP_)) { in rtw_joinbss_cmd()
575 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_setstakey_cmd()
606 padapter->securitypriv.busetkipkey = true; in rtw_setstakey_cmd()
Drtw_pwrctrl.c168 struct security_priv *psecuritypriv = &(padapter->securitypriv); in ips_leave()
365 …if ((padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) && (padapter->securitypriv in PS_RDY_CHECK()
Drtw_xmit.c290 (padapter->securitypriv.dot11PrivacyAlgrthm == _AES_)) { in update_attrib_vcs_info()
424 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_attrib()
570 if (padapter->securitypriv.busetkipkey == _FAIL) { in update_attrib()
573 padapter->securitypriv.busetkipkey)); in update_attrib()
591 pattrib->encrypt, padapter->securitypriv.sw_encrypt)); in update_attrib()
594 (padapter->securitypriv.sw_encrypt || !psecuritypriv->hw_decrypted)) { in update_attrib()
598 pattrib->encrypt, padapter->securitypriv.sw_encrypt)); in update_attrib()
619 struct security_priv *psecuritypriv = &padapter->securitypriv; in xmitframe_addmic()
1035 …padapter->securitypriv.dot11PrivacyKeyIndex, pattrib->iv[3], *pframe, *(pframe+1), *(pframe+2), *(… in rtw_xmitframe_coalesce()
Drtw_security.c149 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_encrypt()
204 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_decrypt()
571 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_encrypt()
651 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_decrypt()
1201 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_aes_encrypt()
1453 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_aes_decrypt()
Drtw_ap.c634 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_sta_info_apmode()
737 struct security_priv *psecuritypriv = &(padapter->securitypriv); in start_bss_network()
871 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_check_beacon_data()
1855 memset((unsigned char *)&padapter->securitypriv, 0, sizeof(struct security_priv)); in stop_ap_mode()
1856 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; in stop_ap_mode()
1857 padapter->securitypriv.ndisencryptstatus = Ndis802_11WEPDisabled; in stop_ap_mode()
Drtw_recv.c268 struct security_priv *psecuritypriv = &adapter->securitypriv; in recvframe_chkmic()
402 struct security_priv *psecuritypriv = &padapter->securitypriv; in decryptor()
475 auth_alg = adapter->securitypriv.dot11AuthAlgrthm; in portctrl()
485 …######portctrl:adapter->securitypriv.dot11AuthAlgrthm=%d\n", adapter->securitypriv.dot11AuthAlgrth… in portctrl()
1107 struct security_priv *psecuritypriv = &adapter->securitypriv; in validate_recv_data_frame()
2036 struct security_priv *psecuritypriv = &padapter->securitypriv; in recv_func()
/drivers/staging/rtl8188eu/include/
Ddrv_types.h145 struct security_priv securitypriv; member
/drivers/staging/rtl8188eu/hal/
Drtl8188e_dm.c108 dm_odm->pSecurity = (u8 *)&Adapter->securitypriv.dot11PrivacyAlgrthm; in Update_ODM_ComInfo_88E()
Drtl8188eu_xmit.c349 struct security_priv *psecuritypriv = &adapt->securitypriv; in rtw_dump_xframe()

12