/linux/drivers/staging/rtl8723bs/os_dep/ |
H A D | ioctl_linux.c | 23 padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; in wpa_set_auth_algs() 24 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeAutoSwitch; in wpa_set_auth_algs() 25 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Auto; in wpa_set_auth_algs() 27 padapter->securitypriv.ndisencryptstatus = Ndis802_11Encryption1Enabled; in wpa_set_auth_algs() 29 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeShared; in wpa_set_auth_algs() 30 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Shared; in wpa_set_auth_algs() 33 if (padapter->securitypriv.ndisauthtype < Ndis802_11AuthModeWPAPSK) { in wpa_set_auth_algs() 34 padapter->securitypriv.ndisauthtype = Ndis802_11AuthModeOpen; in wpa_set_auth_algs() 35 padapter->securitypriv.dot11AuthAlgrthm = dot11AuthAlgrthm_Open; in wpa_set_auth_algs() 52 struct security_priv *psecuritypriv = &padapter->securitypriv; in wpa_set_encryption() [all …]
|
H A D | mlme_linux.c | 72 if (adapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { in rtw_reset_securitypriv() 80 …memcpy(&backupPMKIDList[0], &adapter->securitypriv.PMKIDList[0], sizeof(struct rt_pmkid_list) * NU… in rtw_reset_securitypriv() 81 backupPMKIDIndex = adapter->securitypriv.PMKIDIndex; in rtw_reset_securitypriv() 82 backupTKIPCountermeasure = adapter->securitypriv.btkip_countermeasure; in rtw_reset_securitypriv() 83 backupTKIPcountermeasure_time = adapter->securitypriv.btkip_countermeasure_time; in rtw_reset_securitypriv() 88 memset((unsigned char *)&adapter->securitypriv, 0, sizeof(struct security_priv)); in rtw_reset_securitypriv() 92 …memcpy(&adapter->securitypriv.PMKIDList[0], &backupPMKIDList[0], sizeof(struct rt_pmkid_list) * NU… in rtw_reset_securitypriv() 93 adapter->securitypriv.PMKIDIndex = backupPMKIDIndex; in rtw_reset_securitypriv() 94 adapter->securitypriv.btkip_countermeasure = backupTKIPCountermeasure; in rtw_reset_securitypriv() 95 adapter->securitypriv.btkip_countermeasure_time = backupTKIPcountermeasure_time; in rtw_reset_securitypriv() [all …]
|
H A D | ioctl_cfg80211.c | 500 struct security_priv *psecuritypriv = &(padapter->securitypriv); in rtw_cfg80211_ap_set_encryption() 502 char *grpkey = padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey; in rtw_cfg80211_ap_set_encryption() 503 char *txkey = padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey; in rtw_cfg80211_ap_set_encryption() 504 char *rxkey = padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey; in rtw_cfg80211_ap_set_encryption() 704 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_cfg80211_set_encryption() 767 if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { /* 802_1x */ in rtw_cfg80211_set_encryption() 778 if ((padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption2Enabled) || in rtw_cfg80211_set_encryption() 779 (padapter->securitypriv.ndisencryptstatus == Ndis802_11Encryption3Enabled)) { in rtw_cfg80211_set_encryption() 780 psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; in rtw_cfg80211_set_encryption() 792 padapter->securitypriv.busetkipkey = false; in rtw_cfg80211_set_encryption() [all …]
|
H A D | recv_linux.c | 146 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_handle_tkip_mic_err()
|
/linux/drivers/staging/rtl8712/ |
H A D | rtl871x_ioctl_linux.c | 87 padapter->securitypriv. busetkipkey = false; in handle_pairwise_key() 88 mod_timer(&padapter->securitypriv.tkip_timer, in handle_pairwise_key() 97 union Keytype *gk = padapter->securitypriv.XGrpKey; in handle_group_key() 98 union Keytype *gtk = padapter->securitypriv.XGrptxmickey; in handle_group_key() 99 union Keytype *grk = padapter->securitypriv.XGrprxmickey; in handle_group_key() 112 padapter->securitypriv.binstallGrpkey = true; in handle_group_key() 113 r8712_set_key(padapter, &padapter->securitypriv, param->u.crypt.idx); in handle_group_key() 324 padapter->securitypriv.ndisencryptstatus = in wpa_set_auth_algs() 326 padapter->securitypriv.ndisauthtype = in wpa_set_auth_algs() 328 padapter->securitypriv.AuthAlgrthm = 3; in wpa_set_auth_algs() [all …]
|
H A 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() 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 adapter->securitypriv.PrivacyAlgrthm; in r8712_joinbss_event_callback() 872 if (adapter->securitypriv.AuthAlgrthm == 2) in r8712_stassoc_event_callback() 873 psta->XPrivacy = adapter->securitypriv.PrivacyAlgrthm; in r8712_stassoc_event_callback() 975 if (!adapter->securitypriv.wps_hw_pbc_pressed) in r8712_wpspbc_event_callback() [all …]
|
H A D | rtl871x_ioctl_set.c | 211 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()
|
H A D | rtl871x_recv.c | 146 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()
|
H A D | rtl871x_cmd.c | 344 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_joinbss_cmd() 410 if ((padapter->securitypriv.PrivacyAlgrthm != _WEP40_) && in r8712_joinbss_cmd() 411 (padapter->securitypriv.PrivacyAlgrthm != _WEP104_)) { in r8712_joinbss_cmd() 502 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_setstakey_cmd()
|
H A D | drv_types.h | 138 struct security_priv securitypriv; member
|
H A D | rtl871x_xmit.c | 208 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_update_attrib() 338 if (padapter->securitypriv.busetkipkey == _FAIL) in r8712_update_attrib() 352 (padapter->securitypriv.sw_encrypt || in r8712_update_attrib() 375 struct security_priv *psecpriv = &padapter->securitypriv; in xmitframe_addmic() 609 struct security_priv *psecpriv = &padapter->securitypriv; in r8712_xmitframe_coalesce()
|
H A 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() 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()
|
H A D | rtl8712_xmit.c | 396 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_txdesc() 681 struct security_priv *psecuritypriv = &padapter->securitypriv; in dump_xframe()
|
/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_security.c | 49 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_encrypt() 102 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_decrypt() 473 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_encrypt() 546 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_decrypt() 1040 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_aes_encrypt() 1299 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_aes_decrypt() 1412 if (keyid != padapter->securitypriv.dot11wBIPKeyid) in rtw_BIP_verify() 1426 if (omac1_aes_128(padapter->securitypriv.dot11wBIPKey[padapter->securitypriv.dot11wBIPKeyid].skey in rtw_BIP_verify() 1553 struct security_priv *securitypriv = &(adapter->securitypriv); in rtw_sec_restore_wep_key() local 1556 …if ((_WEP40_ == securitypriv->dot11PrivacyAlgrthm) || (_WEP104_ == securitypriv->dot11PrivacyAlgrt… in rtw_sec_restore_wep_key() [all …]
|
H A D | rtw_mlme.c | 309 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_same_ibss() 579 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_desired_network() 856 adapter->securitypriv.key_mask = 0; in rtw_free_assoc_resources() 976 if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) { in rtw_joinbss_update_stainfo() 977 padapter->securitypriv.binstallGrpkey = false; in rtw_joinbss_update_stainfo() 978 padapter->securitypriv.busetkipkey = false; in rtw_joinbss_update_stainfo() 979 padapter->securitypriv.bgrpkey_handshake = false; in rtw_joinbss_update_stainfo() 982 psta->dot118021XPrivacy = padapter->securitypriv.dot11PrivacyAlgrthm; in rtw_joinbss_update_stainfo() 997 if (padapter->securitypriv.wps_ie_len != 0) { in rtw_joinbss_update_stainfo() 999 padapter->securitypriv.wps_ie_len = 0; in rtw_joinbss_update_stainfo() [all …]
|
H A 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() 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()
|
H A 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()
|
H A D | rtw_xmit.c | 384 (padapter->securitypriv.dot11PrivacyAlgrthm == _AES_)) { in update_attrib_vcs_info() 474 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_attrib_sec_info() 561 ((padapter->securitypriv.sw_encrypt) || (!psecuritypriv->hw_decrypted))) in update_attrib_sec_info() 763 struct security_priv *psecuritypriv = &padapter->securitypriv; in xmitframe_addmic() 1172 if (!padapter->securitypriv.binstallBIPkey) in rtw_mgmt_xmitframe_coalesce() 1190 MME[0] = padapter->securitypriv.dot11wBIPKeyid; in rtw_mgmt_xmitframe_coalesce() 1213 if (omac1_aes_128(padapter->securitypriv.dot11wBIPKey[padapter->securitypriv.dot11wBIPKeyid].skey in rtw_mgmt_xmitframe_coalesce()
|
H A D | rtw_cmd.c | 681 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_joinbss_cmd() 761 if ((padapter->securitypriv.dot11PrivacyAlgrthm != _WEP40_) && in rtw_joinbss_cmd() 762 (padapter->securitypriv.dot11PrivacyAlgrthm != _WEP104_) && in rtw_joinbss_cmd() 763 (padapter->securitypriv.dot11PrivacyAlgrthm != _TKIP_)) { in rtw_joinbss_cmd() 870 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_setstakey_cmd() 892 padapter->securitypriv.busetkipkey = true; in rtw_setstakey_cmd()
|
H A D | rtw_recv.c | 309 struct security_priv *psecuritypriv = &adapter->securitypriv; in recvframe_chkmic() 384 struct security_priv *psecuritypriv = &padapter->securitypriv; in decryptor() 457 auth_alg = adapter->securitypriv.dot11AuthAlgrthm; in portctrl() 1235 struct security_priv *psecuritypriv = &adapter->securitypriv; in validate_recv_data_frame() 1354 adapter->securitypriv.binstallBIPkey == true) { in validate_80211w_mgmt() 2023 struct security_priv *psecuritypriv = &padapter->securitypriv; in recv_func()
|
H A D | rtw_pwrctrl.c | 333 if (padapter->securitypriv.dot11AuthAlgrthm == dot11AuthAlgrthm_8021X && in PS_RDY_CHECK() 334 !padapter->securitypriv.binstallGrpkey) in PS_RDY_CHECK()
|
/linux/drivers/staging/rtl8723bs/hal/ |
H A D | rtl8723b_dm.c | 94 ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_SEC_MODE, &(Adapter->securitypriv.dot11PrivacyAlgrthm)); in Update_ODM_ComInfo_8723b()
|
H A D | hal_intf.c | 212 if (padapter->securitypriv.binstallBIPkey == true) { in rtw_hal_mgnt_xmit()
|
H A D | hal_com.c | 601 struct security_priv *sec = &adapter->securitypriv; in SetHwReg()
|
/linux/drivers/staging/rtl8723bs/include/ |
H A D | drv_types.h | 352 struct security_priv securitypriv; member
|