Home
last modified time | relevance | path

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

12

/linux/drivers/staging/rtl8723bs/os_dep/
A Dioctl_linux.c81 padapter->securitypriv.dot11PrivacyAlgrthm = _WEP40_; in wpa_set_encryption()
82 padapter->securitypriv.dot118021XGrpPrivacy = _WEP40_; in wpa_set_encryption()
103 padapter->securitypriv.dot11PrivacyAlgrthm = _WEP104_; in wpa_set_encryption()
162 padapter->securitypriv.busetkipkey = false; in wpa_set_encryption()
175 padapter->securitypriv.binstallGrpkey = true; in wpa_set_encryption()
189 padapter->securitypriv.binstallBIPkey = true; in wpa_set_encryption()
278 padapter->securitypriv.dot118021XGrpPrivacy = _AES_; in rtw_set_wpa_ie()
297 padapter->securitypriv.dot11PrivacyAlgrthm = _TKIP_; in rtw_set_wpa_ie()
301 padapter->securitypriv.dot11PrivacyAlgrthm = _AES_; in rtw_set_wpa_ie()
321 memcpy(padapter->securitypriv.wps_ie, &buf[cnt], padapter->securitypriv.wps_ie_len); in rtw_set_wpa_ie()
[all …]
A Dmlme_linux.c73 if (adapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { 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()
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()
98 adapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; in rtw_reset_securitypriv()
99 adapter->securitypriv.ndisencryptstatus = Ndis802_11WEPDisabled; in rtw_reset_securitypriv()
[all …]
A Dioctl_cfg80211.c877 padapter->securitypriv.busetkipkey = false; in rtw_cfg80211_set_encryption()
904 padapter->securitypriv.binstallBIPkey = true; in rtw_cfg80211_set_encryption()
1629 padapter->securitypriv.dot118021XGrpPrivacy = _WEP40_; in rtw_cfg80211_set_wpa_ie()
1633 padapter->securitypriv.dot118021XGrpPrivacy = _TKIP_; in rtw_cfg80211_set_wpa_ie()
1637 padapter->securitypriv.dot118021XGrpPrivacy = _AES_; in rtw_cfg80211_set_wpa_ie()
1653 padapter->securitypriv.dot11PrivacyAlgrthm = _WEP40_; in rtw_cfg80211_set_wpa_ie()
1657 padapter->securitypriv.dot11PrivacyAlgrthm = _TKIP_; in rtw_cfg80211_set_wpa_ie()
1661 padapter->securitypriv.dot11PrivacyAlgrthm = _AES_; in rtw_cfg80211_set_wpa_ie()
1665 padapter->securitypriv.dot11PrivacyAlgrthm = _WEP104_; in rtw_cfg80211_set_wpa_ie()
1677 memcpy(padapter->securitypriv.wps_ie, wps_ie, padapter->securitypriv.wps_ie_len); in rtw_cfg80211_set_wpa_ie()
[all …]
/linux/drivers/staging/rtl8712/
A Drtl871x_ioctl_linux.c345 padapter->securitypriv.ndisauthtype = in wpa_set_auth_algs()
347 padapter->securitypriv.AuthAlgrthm = 3; in wpa_set_auth_algs()
352 padapter->securitypriv.AuthAlgrthm = 1; in wpa_set_auth_algs()
356 padapter->securitypriv.ndisauthtype = in wpa_set_auth_algs()
358 padapter->securitypriv.AuthAlgrthm = 0; in wpa_set_auth_algs()
495 padapter->securitypriv.ndisauthtype = in r871x_set_wpa_ie()
501 padapter->securitypriv.ndisauthtype = in r871x_set_wpa_ie()
506 padapter->securitypriv.XGrpPrivacy = in r871x_set_wpa_ie()
571 padapter->securitypriv.wps_ie_len = in r871x_set_wpa_ie()
579 padapter->securitypriv.wps_phase = in r871x_set_wpa_ie()
[all …]
A 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()
A Drtl871x_mlme.c220 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 …]
A 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()
A 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()
A Drtl871x_recv.c144 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()
A Drtl871x_cmd.c346 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()
A Drtl871x_xmit.c186 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()
A Ddrv_types.h138 struct security_priv securitypriv; member
A 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()
/linux/drivers/staging/r8188eu/os_dep/
A Dmlme_linux.c64 if (adapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { in rtw_reset_securitypriv()
71 backup_index = adapter->securitypriv.PMKIDIndex; in rtw_reset_securitypriv()
72 backup_counter = adapter->securitypriv.btkip_countermeasure; in rtw_reset_securitypriv()
73 backup_time = adapter->securitypriv.btkip_countermeasure_time; in rtw_reset_securitypriv()
77 memcpy(&adapter->securitypriv.PMKIDList[0], in rtw_reset_securitypriv()
80 adapter->securitypriv.PMKIDIndex = backup_index; in rtw_reset_securitypriv()
81 adapter->securitypriv.btkip_countermeasure = backup_counter; in rtw_reset_securitypriv()
82 adapter->securitypriv.btkip_countermeasure_time = backup_time; in rtw_reset_securitypriv()
83 adapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; in rtw_reset_securitypriv()
84 adapter->securitypriv.ndisencryptstatus = Ndis802_11WEPDisabled; in rtw_reset_securitypriv()
[all …]
A Dioctl_linux.c478 padapter->securitypriv.busetkipkey = false; in wpa_set_encryption()
488 padapter->securitypriv.binstallGrpkey = true; in wpa_set_encryption()
625 memcpy(padapter->securitypriv.wps_ie, &buf[cnt], padapter->securitypriv.wps_ie_len); in rtw_set_wpa_ie()
992 authmode = padapter->securitypriv.ndisauthtype; in rtw_wx_set_wap()
1326 authmode = padapter->securitypriv.ndisauthtype; in rtw_wx_set_essid()
1627 padapter->securitypriv.ndisauthtype = authmode; in rtw_wx_set_enc()
1639 key = padapter->securitypriv.dot11PrivacyKeyIndex; in rtw_wx_set_enc()
1651 padapter->securitypriv.ndisauthtype = authmode; in rtw_wx_set_enc()
1659 padapter->securitypriv.ndisauthtype = authmode; in rtw_wx_set_enc()
1668 padapter->securitypriv.ndisauthtype = authmode; in rtw_wx_set_enc()
[all …]
/linux/drivers/staging/r8188eu/core/
A Drtw_ioctl_set.c153 if (padapter->securitypriv.btkip_countermeasure) { in rtw_set_802_11_bssid()
156 if ((cur_time - padapter->securitypriv.btkip_countermeasure_time) > 60 * HZ) { in rtw_set_802_11_bssid()
157 padapter->securitypriv.btkip_countermeasure = false; in rtw_set_802_11_bssid()
158 padapter->securitypriv.btkip_countermeasure_time = 0; in rtw_set_802_11_bssid()
245 if (padapter->securitypriv.btkip_countermeasure) { in rtw_set_802_11_ssid()
248 if ((cur_time - padapter->securitypriv.btkip_countermeasure_time) > 60 * HZ) { in rtw_set_802_11_ssid()
249 padapter->securitypriv.btkip_countermeasure = false; in rtw_set_802_11_ssid()
250 padapter->securitypriv.btkip_countermeasure_time = 0; in rtw_set_802_11_ssid()
385 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_set_802_11_authentication_mode()
407 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_set_802_11_add_wep()
A Drtw_mlme.c351 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_same_ibss()
582 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_desired_network()
919 padapter->securitypriv.binstallGrpkey = false; in rtw_joinbss_update_stainfo()
920 padapter->securitypriv.busetkipkey = false; in rtw_joinbss_update_stainfo()
921 padapter->securitypriv.bgrpkey_handshake = false; in rtw_joinbss_update_stainfo()
933 if (padapter->securitypriv.wps_ie_len != 0) { in rtw_joinbss_update_stainfo()
935 padapter->securitypriv.wps_ie_len = 0; in rtw_joinbss_update_stainfo()
1700 struct security_priv *psecuritypriv = &Adapter->securitypriv; in SecIsInPMKIDList()
1732 struct security_priv *psecuritypriv = &Adapter->securitypriv; in rtw_append_pmkid()
1754 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_restruct_sec_ie()
[all …]
A Drtw_pwrctrl.c51 struct security_priv *psecuritypriv = &padapter->securitypriv; in ips_leave()
186 …if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X && !padapter->securitypriv.b… in PS_RDY_CHECK()
A Drtw_security.c30 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_encrypt()
81 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_decrypt()
456 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_encrypt()
535 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_decrypt()
1103 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_aes_encrypt()
1348 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_aes_decrypt()
A Drtw_cmd.c483 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_joinbss_cmd()
566 if ((padapter->securitypriv.dot11PrivacyAlgrthm != _WEP40_) && in rtw_joinbss_cmd()
567 (padapter->securitypriv.dot11PrivacyAlgrthm != _WEP104_) && in rtw_joinbss_cmd()
568 (padapter->securitypriv.dot11PrivacyAlgrthm != _TKIP_)) { in rtw_joinbss_cmd()
675 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_setstakey_cmd()
717 padapter->securitypriv.busetkipkey = true; in rtw_setstakey_cmd()
/linux/drivers/staging/rtl8723bs/core/
A Drtw_security.c50 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_encrypt()
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()
1559 if (securitypriv->key_mask & BIT(keyid)) { in rtw_sec_restore_wep_key()
1560 if (keyid == securitypriv->dot11PrivacyKeyIndex) in rtw_sec_restore_wep_key()
1571 struct security_priv *securitypriv = &(adapter->securitypriv); in rtw_handle_tkip_countermeasure() local
1574 if (securitypriv->btkip_countermeasure) { in rtw_handle_tkip_countermeasure()
1582 securitypriv->btkip_countermeasure = false; in rtw_handle_tkip_countermeasure()
[all …]
A Drtw_mlme.c365 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_same_ibss()
647 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_desired_network()
926 adapter->securitypriv.key_mask = 0; in rtw_free_assoc_resources()
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()
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()
1944 adapter->securitypriv.key_mask |= BIT(psetkeyparm->keyid); in rtw_set_key()
2039 struct security_priv *psecuritypriv = &Adapter->securitypriv; in SecIsInPMKIDList()
[all …]
A Drtw_ap.c456 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()
1328 padapter->securitypriv.key_mask |= BIT(psetkeyparm->keyid); in rtw_ap_set_key()
2009 struct security_priv *psecuritypriv = &(padapter->securitypriv); in rtw_ap_restore_network()
2026 if ((padapter->securitypriv.dot11PrivacyAlgrthm == _TKIP_) || in rtw_ap_restore_network()
2027 (padapter->securitypriv.dot11PrivacyAlgrthm == _AES_)) { in rtw_ap_restore_network()
2137 (unsigned char *)&padapter->securitypriv, in stop_ap_mode()
2141 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; in stop_ap_mode()
2142 padapter->securitypriv.ndisencryptstatus = Ndis802_11WEPDisabled; in stop_ap_mode()
A Drtw_ioctl_set.c404 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()
A Drtw_xmit.c385 (padapter->securitypriv.dot11PrivacyAlgrthm == _AES_)) { in update_attrib_vcs_info()
478 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_attrib_sec_info()
565 ((padapter->securitypriv.sw_encrypt) || (!psecuritypriv->hw_decrypted))) in update_attrib_sec_info()
767 struct security_priv *psecuritypriv = &padapter->securitypriv; in xmitframe_addmic()
1176 if (!padapter->securitypriv.binstallBIPkey) in rtw_mgmt_xmitframe_coalesce()
1194 MME[0] = padapter->securitypriv.dot11wBIPKeyid; in rtw_mgmt_xmitframe_coalesce()
1217 if (omac1_aes_128(padapter->securitypriv.dot11wBIPKey[padapter->securitypriv.dot11wBIPKeyid].skey in rtw_mgmt_xmitframe_coalesce()

Completed in 73 milliseconds

12