Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/staging/rtl8723bs/os_dep/
A Dioctl_linux.c85 padapter->securitypriv.dot11PrivacyAlgrthm = _WEP40_; in wpa_set_encryption()
86 padapter->securitypriv.dot118021XGrpPrivacy = _WEP40_; in wpa_set_encryption()
105 padapter->securitypriv.dot11PrivacyAlgrthm = _WEP104_; in wpa_set_encryption()
164 padapter->securitypriv.busetkipkey = false; in wpa_set_encryption()
177 padapter->securitypriv.binstallGrpkey = true; in wpa_set_encryption()
191 padapter->securitypriv.binstallBIPkey = true; in wpa_set_encryption()
280 padapter->securitypriv.dot118021XGrpPrivacy = _AES_; in rtw_set_wpa_ie()
299 padapter->securitypriv.dot11PrivacyAlgrthm = _TKIP_; in rtw_set_wpa_ie()
303 padapter->securitypriv.dot11PrivacyAlgrthm = _AES_; in rtw_set_wpa_ie()
323 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.c807 padapter->securitypriv.busetkipkey = false; in rtw_cfg80211_set_encryption()
817 padapter->securitypriv.binstallGrpkey = true; in rtw_cfg80211_set_encryption()
829 padapter->securitypriv.binstallBIPkey = true; in rtw_cfg80211_set_encryption()
1512 padapter->securitypriv.dot118021XGrpPrivacy = _WEP40_; in rtw_cfg80211_set_wpa_ie()
1516 padapter->securitypriv.dot118021XGrpPrivacy = _TKIP_; in rtw_cfg80211_set_wpa_ie()
1520 padapter->securitypriv.dot118021XGrpPrivacy = _AES_; in rtw_cfg80211_set_wpa_ie()
1535 padapter->securitypriv.dot11PrivacyAlgrthm = _WEP40_; in rtw_cfg80211_set_wpa_ie()
1539 padapter->securitypriv.dot11PrivacyAlgrthm = _TKIP_; in rtw_cfg80211_set_wpa_ie()
1543 padapter->securitypriv.dot11PrivacyAlgrthm = _AES_; in rtw_cfg80211_set_wpa_ie()
1547 padapter->securitypriv.dot11PrivacyAlgrthm = _WEP104_; in rtw_cfg80211_set_wpa_ie()
[all …]
A Drecv_linux.c147 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_handle_tkip_mic_err()
/linux-6.3-rc2/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()
771 if (adapter->securitypriv.AuthAlgrthm == 2) { in r8712_joinbss_event_callback()
772 adapter->securitypriv.binstallGrpkey = false; in r8712_joinbss_event_callback()
773 adapter->securitypriv.busetkipkey = false; in r8712_joinbss_event_callback()
774 adapter->securitypriv.bgrpkey_handshake = false; in r8712_joinbss_event_callback()
777 securitypriv.PrivacyAlgrthm; in r8712_joinbss_event_callback()
871 if (adapter->securitypriv.AuthAlgrthm == 2) in r8712_stassoc_event_callback()
872 psta->XPrivacy = adapter->securitypriv.PrivacyAlgrthm; in r8712_stassoc_event_callback()
974 if (!adapter->securitypriv.wps_hw_pbc_pressed) in r8712_wpspbc_event_callback()
975 adapter->securitypriv.wps_hw_pbc_pressed = true; in r8712_wpspbc_event_callback()
[all …]
A Drtl871x_ioctl_set.c211 if (padapter->securitypriv.btkip_countermeasure) in r8712_set_802_11_ssid()
316 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_set_802_11_authentication_mode()
333 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_set_802_11_add_wep()
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()
317 memset((unsigned char *)&padapter->securitypriv, 0, in r8712_init_drv_sw()
319 timer_setup(&padapter->securitypriv.tkip_timer, in r8712_init_drv_sw()
A Drtl871x_recv.c146 struct security_priv *psecuritypriv = &adapter->securitypriv; in r8712_recvframe_chkmic()
200 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_decryptor()
243 auth_alg = adapter->securitypriv.AuthAlgrthm; in r8712_portctrl()
469 struct security_priv *psecuritypriv = &adapter->securitypriv; in validate_recv_data_frame()
A Ddrv_types.h138 struct security_priv securitypriv; member
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 Drtl871x_security.c160 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_wep_encrypt()
218 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_wep_decrypt()
652 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_tkip_decrypt()
1351 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_aes_decrypt()
1383 from_timer(padapter, t, securitypriv.tkip_timer); in r8712_use_tkipkey_handler()
1385 padapter->securitypriv.busetkipkey = true; in r8712_use_tkipkey_handler()
A Drtl8712_xmit.c402 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_txdesc()
693 struct security_priv *psecuritypriv = &padapter->securitypriv; in dump_xframe()
/linux-6.3-rc2/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()
928 adapter->securitypriv.key_mask = 0; in rtw_free_assoc_resources()
1049 padapter->securitypriv.binstallGrpkey = false; in rtw_joinbss_update_stainfo()
1050 padapter->securitypriv.busetkipkey = false; in rtw_joinbss_update_stainfo()
1051 padapter->securitypriv.bgrpkey_handshake = false; in rtw_joinbss_update_stainfo()
1070 if (padapter->securitypriv.wps_ie_len != 0) { in rtw_joinbss_update_stainfo()
1072 padapter->securitypriv.wps_ie_len = 0; in rtw_joinbss_update_stainfo()
1948 adapter->securitypriv.key_mask |= BIT(psetkeyparm->keyid); in rtw_set_key()
2043 struct security_priv *p = &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()
1330 padapter->securitypriv.key_mask |= BIT(psetkeyparm->keyid); in rtw_ap_set_key()
2011 struct security_priv *psecuritypriv = &(padapter->securitypriv); in rtw_ap_restore_network()
2028 if ((padapter->securitypriv.dot11PrivacyAlgrthm == _TKIP_) || in rtw_ap_restore_network()
2029 (padapter->securitypriv.dot11PrivacyAlgrthm == _AES_)) { in rtw_ap_restore_network()
2139 (unsigned char *)&padapter->securitypriv, in stop_ap_mode()
2143 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; in stop_ap_mode()
2144 padapter->securitypriv.ndisencryptstatus = Ndis802_11WEPDisabled; in stop_ap_mode()
A Drtw_ioctl_set.c405 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_set_802_11_authentication_mode()
428 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()
475 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_attrib_sec_info()
562 ((padapter->securitypriv.sw_encrypt) || (!psecuritypriv->hw_decrypted))) in update_attrib_sec_info()
764 struct security_priv *psecuritypriv = &padapter->securitypriv; in xmitframe_addmic()
1173 if (!padapter->securitypriv.binstallBIPkey) in rtw_mgmt_xmitframe_coalesce()
1191 MME[0] = padapter->securitypriv.dot11wBIPKeyid; in rtw_mgmt_xmitframe_coalesce()
1214 if (omac1_aes_128(padapter->securitypriv.dot11wBIPKey[padapter->securitypriv.dot11wBIPKeyid].skey in rtw_mgmt_xmitframe_coalesce()
A Drtw_cmd.c682 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_joinbss_cmd()
762 if ((padapter->securitypriv.dot11PrivacyAlgrthm != _WEP40_) && in rtw_joinbss_cmd()
763 (padapter->securitypriv.dot11PrivacyAlgrthm != _WEP104_) && in rtw_joinbss_cmd()
764 (padapter->securitypriv.dot11PrivacyAlgrthm != _TKIP_)) { in rtw_joinbss_cmd()
871 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_setstakey_cmd()
893 padapter->securitypriv.busetkipkey = true; in rtw_setstakey_cmd()
A Drtw_recv.c310 struct security_priv *psecuritypriv = &adapter->securitypriv; in recvframe_chkmic()
385 struct security_priv *psecuritypriv = &padapter->securitypriv; in decryptor()
458 auth_alg = adapter->securitypriv.dot11AuthAlgrthm; in portctrl()
1236 struct security_priv *psecuritypriv = &adapter->securitypriv; in validate_recv_data_frame()
1355 adapter->securitypriv.binstallBIPkey == true) { in validate_80211w_mgmt()
2024 struct security_priv *psecuritypriv = &padapter->securitypriv; in recv_func()
A Drtw_pwrctrl.c336 if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X && in PS_RDY_CHECK()
337 !padapter->securitypriv.binstallGrpkey) in PS_RDY_CHECK()
/linux-6.3-rc2/drivers/staging/rtl8723bs/hal/
A Drtl8723b_dm.c95 ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_SEC_MODE, &(Adapter->securitypriv.dot11PrivacyAlgrthm)); in Update_ODM_ComInfo_8723b()
/linux-6.3-rc2/drivers/staging/rtl8723bs/include/
A Ddrv_types.h348 struct security_priv securitypriv; member

Completed in 101 milliseconds

12