Home
last modified time | relevance | path

Searched refs:psecuritypriv (Results 1 – 25 of 39) sorted by relevance

12

/Linux-v6.1/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c506 struct security_priv *psecuritypriv = &(padapter->securitypriv); in rtw_cfg80211_ap_set_encryption() local
549 if (psecuritypriv->bWepDefaultKeyIdxSet == 0) { in rtw_cfg80211_ap_set_encryption()
552 psecuritypriv->dot11AuthAlgrthm = dot11AuthAlgrthm_Auto; in rtw_cfg80211_ap_set_encryption()
553 psecuritypriv->ndisencryptstatus = Ndis802_11Encryption1Enabled; in rtw_cfg80211_ap_set_encryption()
554 psecuritypriv->dot11PrivacyAlgrthm = _WEP40_; in rtw_cfg80211_ap_set_encryption()
555 psecuritypriv->dot118021XGrpPrivacy = _WEP40_; in rtw_cfg80211_ap_set_encryption()
558 psecuritypriv->dot11PrivacyAlgrthm = _WEP104_; in rtw_cfg80211_ap_set_encryption()
559 psecuritypriv->dot118021XGrpPrivacy = _WEP104_; in rtw_cfg80211_ap_set_encryption()
562 psecuritypriv->dot11PrivacyKeyIndex = wep_key_idx; in rtw_cfg80211_ap_set_encryption()
565 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), param->u.crypt.key, wep_key_len); in rtw_cfg80211_ap_set_encryption()
[all …]
Dioctl_linux.c53 struct security_priv *psecuritypriv = &padapter->securitypriv; in wpa_set_encryption() local
129 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->key_material, pwep->key_length); in wpa_set_encryption()
130 psecuritypriv->dot11DefKeylen[wep_key_idx] = pwep->key_length; in wpa_set_encryption()
131 rtw_set_key(padapter, psecuritypriv, wep_key_idx, 0, true); in wpa_set_encryption()
531 struct security_priv *psecuritypriv = &(padapter->securitypriv); in rtw_set_encryption() local
535 char *grpkey = psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey; in rtw_set_encryption()
564 psecuritypriv->dot11AuthAlgrthm = dot11AuthAlgrthm_Open; in rtw_set_encryption()
565 psecuritypriv->ndisencryptstatus = Ndis802_11EncryptionDisabled; in rtw_set_encryption()
566 psecuritypriv->dot11PrivacyAlgrthm = _NO_PRIVACY_; in rtw_set_encryption()
567 psecuritypriv->dot118021XGrpPrivacy = _NO_PRIVACY_; in rtw_set_encryption()
[all …]
Drecv_linux.c147 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_handle_tkip_mic_err() local
150 if (psecuritypriv->last_mic_err_time == 0) { in rtw_handle_tkip_mic_err()
151 psecuritypriv->last_mic_err_time = jiffies; in rtw_handle_tkip_mic_err()
155 if (cur_time - psecuritypriv->last_mic_err_time < 60*HZ) { in rtw_handle_tkip_mic_err()
156 psecuritypriv->btkip_countermeasure = true; in rtw_handle_tkip_mic_err()
157 psecuritypriv->last_mic_err_time = 0; in rtw_handle_tkip_mic_err()
158 psecuritypriv->btkip_countermeasure_time = cur_time; in rtw_handle_tkip_mic_err()
160 psecuritypriv->last_mic_err_time = jiffies; in rtw_handle_tkip_mic_err()
Dos_intfs.c535 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_init_default_value() local
557 psecuritypriv->binstallGrpkey = _FAIL; in rtw_init_default_value()
558 psecuritypriv->sw_encrypt = pregistrypriv->software_encrypt; in rtw_init_default_value()
559 psecuritypriv->sw_decrypt = pregistrypriv->software_decrypt; in rtw_init_default_value()
561 psecuritypriv->dot11AuthAlgrthm = dot11AuthAlgrthm_Open; /* open system */ in rtw_init_default_value()
562 psecuritypriv->dot11PrivacyAlgrthm = _NO_PRIVACY_; in rtw_init_default_value()
564 psecuritypriv->dot11PrivacyKeyIndex = 0; in rtw_init_default_value()
566 psecuritypriv->dot118021XGrpPrivacy = _NO_PRIVACY_; in rtw_init_default_value()
567 psecuritypriv->dot118021XGrpKeyid = 1; in rtw_init_default_value()
569 psecuritypriv->ndisauthtype = Ndis802_11AuthModeOpen; in rtw_init_default_value()
[all …]
/Linux-v6.1/drivers/staging/rtl8712/
Drtl871x_ioctl_set.c316 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_set_802_11_authentication_mode() local
319 psecuritypriv->ndisauthtype = authmode; in r8712_set_802_11_authentication_mode()
320 if (psecuritypriv->ndisauthtype > 3) in r8712_set_802_11_authentication_mode()
321 psecuritypriv->AuthAlgrthm = 2; /* 802.1x */ in r8712_set_802_11_authentication_mode()
322 if (r8712_set_auth(padapter, psecuritypriv)) in r8712_set_802_11_authentication_mode()
333 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_set_802_11_add_wep() local
340 psecuritypriv->PrivacyAlgrthm = _WEP40_; in r8712_set_802_11_add_wep()
343 psecuritypriv->PrivacyAlgrthm = _WEP104_; in r8712_set_802_11_add_wep()
346 psecuritypriv->PrivacyAlgrthm = _NO_PRIVACY_; in r8712_set_802_11_add_wep()
349 memcpy(psecuritypriv->DefKey[keyid].skey, &wep->KeyMaterial, in r8712_set_802_11_add_wep()
[all …]
Drtl871x_mlme.c220 struct security_priv *psecuritypriv = &adapter->securitypriv; in r8712_is_same_ibss() local
222 if ((psecuritypriv->PrivacyAlgrthm != _NO_PRIVACY_) && in r8712_is_same_ibss()
225 else if ((psecuritypriv->PrivacyAlgrthm == _NO_PRIVACY_) && in r8712_is_same_ibss()
420 struct security_priv *psecuritypriv = &adapter->securitypriv; in is_desired_network() local
422 if (psecuritypriv->wps_phase) { in is_desired_network()
429 if ((psecuritypriv->PrivacyAlgrthm != _NO_PRIVACY_) && in is_desired_network()
1118 struct security_priv *psecuritypriv) in r8712_set_auth() argument
1133 psetauthparm->mode = (u8)psecuritypriv->AuthAlgrthm; in r8712_set_auth()
1145 struct security_priv *psecuritypriv, in r8712_set_key() argument
1162 if (psecuritypriv->AuthAlgrthm == 2) { /* 802.1X */ in r8712_set_key()
[all …]
Drtl871x_security.h140 #define GET_ENCRY_ALGO(psecuritypriv, psta, encry_algo, bmcst) \ argument
142 switch (psecuritypriv->AuthAlgrthm) { \
146 encry_algo = (u8)psecuritypriv->PrivacyAlgrthm; \
150 encry_algo = (u8)psecuritypriv->XGrpPrivacy; \
Drtl871x_cmd.c346 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_joinbss_cmd() local
372 psecnetwork = &psecuritypriv->sec_bss; in r8712_joinbss_cmd()
374 psecuritypriv->authenticator_ie[0] = (unsigned char) in r8712_joinbss_cmd()
377 memcpy(&psecuritypriv->authenticator_ie[1], in r8712_joinbss_cmd()
380 memcpy(&psecuritypriv->authenticator_ie[1], in r8712_joinbss_cmd()
427 psecuritypriv->supplicant_ie[0] = (u8)psecnetwork->IELength; in r8712_joinbss_cmd()
429 memcpy(&psecuritypriv->supplicant_ie[1], &psecnetwork->IEs[0], in r8712_joinbss_cmd()
432 memcpy(&psecuritypriv->supplicant_ie[1], &psecnetwork->IEs[0], in r8712_joinbss_cmd()
521 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_setstakey_cmd() local
544 psecuritypriv->PrivacyAlgrthm; in r8712_setstakey_cmd()
[all …]
Drtl871x_recv.c144 struct security_priv *psecuritypriv = &adapter->securitypriv; in r8712_recvframe_chkmic() local
154 mickey = &psecuritypriv->XGrprxmickey[(((idx >> in r8712_recvframe_chkmic()
156 if (!psecuritypriv->binstallGrpkey) in r8712_recvframe_chkmic()
183 if (!psecuritypriv->bcheck_grpkey && in r8712_recvframe_chkmic()
185 psecuritypriv->bcheck_grpkey = true; in r8712_recvframe_chkmic()
198 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_decryptor() local
202 psecuritypriv->sw_decrypt)) { in r8712_decryptor()
203 psecuritypriv->hw_decrypted = false; in r8712_decryptor()
219 psecuritypriv->hw_decrypted = true; in r8712_decryptor()
467 struct security_priv *psecuritypriv = &adapter->securitypriv; in validate_recv_data_frame() local
[all …]
Drtl871x_security.c160 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_wep_encrypt() local
168 pki = psecuritypriv->PrivacyKeyIndex; in r8712_wep_encrypt()
169 keylength = psecuritypriv->DefKeylen[pki]; in r8712_wep_encrypt()
174 memcpy(&wepkey[3], &psecuritypriv->DefKey[ in r8712_wep_encrypt()
175 psecuritypriv->PrivacyKeyIndex].skey[0], in r8712_wep_encrypt()
218 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_wep_decrypt() local
227 keylength = psecuritypriv->DefKeylen[keyindex]; in r8712_wep_decrypt()
229 memcpy(&wepkey[3], &psecuritypriv->DefKey[ in r8712_wep_decrypt()
230 psecuritypriv->PrivacyKeyIndex].skey[0], in r8712_wep_decrypt()
652 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_tkip_decrypt() local
[all …]
Dos_intfs.c266 struct security_priv *psecuritypriv = &padapter->securitypriv; in init_default_value() local
287 psecuritypriv->sw_encrypt = pregistrypriv->software_encrypt; in init_default_value()
288 psecuritypriv->sw_decrypt = pregistrypriv->software_decrypt; in init_default_value()
289 psecuritypriv->binstallGrpkey = _FAIL; in init_default_value()
/Linux-v6.1/drivers/staging/rtl8723bs/core/
Drtw_ioctl_set.c404 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_set_802_11_authentication_mode() local
408 psecuritypriv->ndisauthtype = authmode; in rtw_set_802_11_authentication_mode()
410 if (psecuritypriv->ndisauthtype > 3) in rtw_set_802_11_authentication_mode()
411 psecuritypriv->dot11AuthAlgrthm = dot11AuthAlgrthm_8021X; in rtw_set_802_11_authentication_mode()
413 res = rtw_set_auth(padapter, psecuritypriv); in rtw_set_802_11_authentication_mode()
427 struct security_priv *psecuritypriv = &(padapter->securitypriv); in rtw_set_802_11_add_wep() local
439 psecuritypriv->dot11PrivacyAlgrthm = _WEP40_; in rtw_set_802_11_add_wep()
442 psecuritypriv->dot11PrivacyAlgrthm = _WEP104_; in rtw_set_802_11_add_wep()
445 psecuritypriv->dot11PrivacyAlgrthm = _NO_PRIVACY_; in rtw_set_802_11_add_wep()
449 memcpy(&(psecuritypriv->dot11DefKey[keyid].skey[0]), &(wep->key_material), wep->key_length); in rtw_set_802_11_add_wep()
[all …]
Drtw_ap.c456 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_sta_info_apmode() local
471 if (psecuritypriv->dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) in update_sta_info_apmode()
650 struct security_priv *psecuritypriv = &(padapter->securitypriv); in start_bss_network() local
688 if ((psecuritypriv->dot11PrivacyAlgrthm != _WEP40_) && in start_bss_network()
689 (psecuritypriv->dot11PrivacyAlgrthm != _WEP104_)) in start_bss_network()
712 psecuritypriv->dot11AuthAlgrthm == dot11AuthAlgrthm_8021X in start_bss_network()
826 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_check_beacon_data() local
932 psecuritypriv->wpa_psk = 0; in rtw_check_beacon_data()
936 psecuritypriv->wpa2_group_cipher = _NO_PRIVACY_; in rtw_check_beacon_data()
937 psecuritypriv->wpa2_pairwise_cipher = _NO_PRIVACY_; in rtw_check_beacon_data()
[all …]
Drtw_security.c50 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_encrypt() local
52 struct arc4_ctx *ctx = &psecuritypriv->xmit_arc4_ctx; in rtw_wep_encrypt()
62 keylength = psecuritypriv->dot11DefKeylen[psecuritypriv->dot11PrivacyKeyIndex]; in rtw_wep_encrypt()
67 …memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[psecuritypriv->dot11PrivacyKeyIndex].skey[0], keyle… in rtw_wep_encrypt()
103 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_decrypt() local
104 struct arc4_ctx *ctx = &psecuritypriv->recv_arc4_ctx; in rtw_wep_decrypt()
113 keylength = psecuritypriv->dot11DefKeylen[keyindex]; in rtw_wep_decrypt()
116 memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[keyindex].skey[0], keylength); in rtw_wep_decrypt()
474 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_encrypt() local
476 struct arc4_ctx *ctx = &psecuritypriv->xmit_arc4_ctx; in rtw_tkip_encrypt()
[all …]
Drtw_mlme.c365 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_same_ibss() local
367 if ((psecuritypriv->dot11PrivacyAlgrthm != _NO_PRIVACY_) && in rtw_is_same_ibss()
370 else if ((psecuritypriv->dot11PrivacyAlgrthm == _NO_PRIVACY_) && in rtw_is_same_ibss()
647 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_desired_network() local
657 desired_encmode = psecuritypriv->ndisencryptstatus; in rtw_is_desired_network()
674 if (psecuritypriv->ndisauthtype == Ndis802_11AuthModeWPA2PSK) { in rtw_is_desired_network()
1890 signed int rtw_set_auth(struct adapter *adapter, struct security_priv *psecuritypriv) in rtw_set_auth() argument
1910 psetauthparm->mode = (unsigned char)psecuritypriv->dot11AuthAlgrthm; in rtw_set_auth()
1926 signed int rtw_set_key(struct adapter *adapter, struct security_priv *psecuritypriv, signed int key… in rtw_set_key() argument
1940 if (psecuritypriv->dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) in rtw_set_key()
[all …]
Drtw_recv.c310 struct security_priv *psecuritypriv = &adapter->securitypriv; in recvframe_chkmic() local
324 mickey = &psecuritypriv->dot118021XGrprxmickey[prxattrib->key_index].skey[0]; in recvframe_chkmic()
328 if (psecuritypriv->binstallGrpkey == false) { in recvframe_chkmic()
365 if (!psecuritypriv->bcheck_grpkey && in recvframe_chkmic()
367 psecuritypriv->bcheck_grpkey = true; in recvframe_chkmic()
385 struct security_priv *psecuritypriv = &padapter->securitypriv; in decryptor() local
398 prxattrib->key_index = psecuritypriv->dot11PrivacyKeyIndex; in decryptor()
403 prxattrib->key_index = psecuritypriv->dot118021XGrpKeyid; in decryptor()
409 …if ((prxattrib->encrypt > 0) && ((prxattrib->bdecrypted == 0) || (psecuritypriv->sw_decrypt == tru… in decryptor()
410 psecuritypriv->hw_decrypted = false; in decryptor()
[all …]
/Linux-v6.1/drivers/staging/r8188eu/core/
Drtw_ioctl_set.c367 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_set_802_11_authentication_mode() local
371 psecuritypriv->ndisauthtype = authmode; in rtw_set_802_11_authentication_mode()
373 if (psecuritypriv->ndisauthtype > 3) in rtw_set_802_11_authentication_mode()
374 psecuritypriv->dot11AuthAlgrthm = dot11AuthAlgrthm_8021X; in rtw_set_802_11_authentication_mode()
376 res = rtw_set_auth(padapter, psecuritypriv); in rtw_set_802_11_authentication_mode()
389 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_set_802_11_add_wep() local
401 psecuritypriv->dot11PrivacyAlgrthm = _WEP40_; in rtw_set_802_11_add_wep()
404 psecuritypriv->dot11PrivacyAlgrthm = _WEP104_; in rtw_set_802_11_add_wep()
407 psecuritypriv->dot11PrivacyAlgrthm = _NO_PRIVACY_; in rtw_set_802_11_add_wep()
411 memcpy(&psecuritypriv->dot11DefKey[keyid].skey[0], &wep->KeyMaterial, wep->KeyLength); in rtw_set_802_11_add_wep()
[all …]
Drtw_security.c30 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_encrypt() local
32 struct arc4_ctx *ctx = &psecuritypriv->xmit_arc4_ctx; in rtw_wep_encrypt()
42 keylength = psecuritypriv->dot11DefKeylen[psecuritypriv->dot11PrivacyKeyIndex]; in rtw_wep_encrypt()
47 …memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[psecuritypriv->dot11PrivacyKeyIndex].skey[0], keyle… in rtw_wep_encrypt()
81 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_decrypt() local
82 struct arc4_ctx *ctx = &psecuritypriv->recv_arc4_ctx; in rtw_wep_decrypt()
90 keylength = psecuritypriv->dot11DefKeylen[keyindex]; in rtw_wep_decrypt()
92 memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[keyindex].skey[0], keylength); in rtw_wep_decrypt()
456 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_encrypt() local
458 struct arc4_ctx *ctx = &psecuritypriv->xmit_arc4_ctx; in rtw_tkip_encrypt()
[all …]
Drtw_mlme.c341 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_same_ibss() local
343 if ((psecuritypriv->dot11PrivacyAlgrthm != _NO_PRIVACY_) && in rtw_is_same_ibss()
346 else if ((psecuritypriv->dot11PrivacyAlgrthm == _NO_PRIVACY_) && in rtw_is_same_ibss()
580 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_desired_network() local
590 desired_encmode = psecuritypriv->ndisencryptstatus; in rtw_is_desired_network()
605 if (psecuritypriv->ndisauthtype == Ndis802_11AuthModeWPA2PSK) { in rtw_is_desired_network()
1556 int rtw_set_auth(struct adapter *adapter, struct security_priv *psecuritypriv) in rtw_set_auth() argument
1575 psetauthparm->mode = (unsigned char)psecuritypriv->dot11AuthAlgrthm; in rtw_set_auth()
1588 int rtw_set_key(struct adapter *adapter, struct security_priv *psecuritypriv, int keyid, u8 set_tx) in rtw_set_key() argument
1609 if (psecuritypriv->dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) in rtw_set_key()
[all …]
Drtw_recv.c333 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_handle_tkip_mic_err() local
336 if (psecuritypriv->last_mic_err_time == 0) { in rtw_handle_tkip_mic_err()
337 psecuritypriv->last_mic_err_time = jiffies; in rtw_handle_tkip_mic_err()
341 if (cur_time - psecuritypriv->last_mic_err_time < 60 * HZ) { in rtw_handle_tkip_mic_err()
342 psecuritypriv->btkip_countermeasure = true; in rtw_handle_tkip_mic_err()
343 psecuritypriv->last_mic_err_time = 0; in rtw_handle_tkip_mic_err()
344 psecuritypriv->btkip_countermeasure_time = cur_time; in rtw_handle_tkip_mic_err()
346 psecuritypriv->last_mic_err_time = jiffies; in rtw_handle_tkip_mic_err()
374 struct security_priv *psecuritypriv = &adapter->securitypriv; in recvframe_chkmic() local
385 mickey = &psecuritypriv->dot118021XGrprxmickey[prxattrib->key_index].skey[0]; in recvframe_chkmic()
[all …]
Drtw_pwrctrl.c45 struct security_priv *psecuritypriv = &padapter->securitypriv; in ips_leave() local
62 …if ((psecuritypriv->dot11PrivacyAlgrthm == _WEP40_) || (psecuritypriv->dot11PrivacyAlgrthm == _WEP… in ips_leave()
66 if (keyid == psecuritypriv->dot11PrivacyKeyIndex) in ips_leave()
67 result = rtw_set_key(padapter, psecuritypriv, keyid, 1); in ips_leave()
69 result = rtw_set_key(padapter, psecuritypriv, keyid, 0); in ips_leave()
Drtw_cmd.c419 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_joinbss_cmd() local
452 psecnetwork = (struct wlan_bssid_ex *)&psecuritypriv->sec_bss; in rtw_joinbss_cmd()
463 psecuritypriv->authenticator_ie[0] = (unsigned char)psecnetwork->IELength; in rtw_joinbss_cmd()
466 memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->IEs[12], psecnetwork->IELength - 12); in rtw_joinbss_cmd()
468 memcpy(&psecuritypriv->authenticator_ie[1], &psecnetwork->IEs[12], 255); in rtw_joinbss_cmd()
608 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_setstakey_cmd() local
640 psetstakey_para->algorithm = (unsigned char)psecuritypriv->dot11PrivacyAlgrthm; in rtw_setstakey_cmd()
642 GET_ENCRY_ALGO(psecuritypriv, sta, psetstakey_para->algorithm, false); in rtw_setstakey_cmd()
647 …memcpy(&psetstakey_para->key, &psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].… in rtw_setstakey_cmd()
/Linux-v6.1/drivers/staging/r8188eu/include/
Drtw_security.h151 #define GET_ENCRY_ALGO(psecuritypriv, psta, encry_algo, bmcst) \ argument
153 switch (psecuritypriv->dot11AuthAlgrthm) { \
157 encry_algo = (u8)psecuritypriv->dot11PrivacyAlgrthm; \
161 encry_algo = (u8)psecuritypriv->dot118021XGrpPrivacy;\
166 encry_algo = (u8)psecuritypriv->dot11PrivacyAlgrthm; \
/Linux-v6.1/drivers/staging/rtl8723bs/include/
Drtw_security.h176 #define GET_ENCRY_ALGO(psecuritypriv, psta, encry_algo, bmcst)\ argument
178 switch (psecuritypriv->dot11AuthAlgrthm)\
183 encry_algo = (u8)psecuritypriv->dot11PrivacyAlgrthm;\
187 encry_algo = (u8)psecuritypriv->dot118021XGrpPrivacy;\
192 encry_algo = (u8)psecuritypriv->dot11PrivacyAlgrthm;\
/Linux-v6.1/drivers/staging/r8188eu/os_dep/
Dos_intfs.c394 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_init_default_value() local
410 psecuritypriv->binstallGrpkey = _FAIL; in rtw_init_default_value()
411 psecuritypriv->sw_encrypt = pregistrypriv->software_encrypt; in rtw_init_default_value()
412 psecuritypriv->sw_decrypt = pregistrypriv->software_decrypt; in rtw_init_default_value()
413 psecuritypriv->dot11AuthAlgrthm = dot11AuthAlgrthm_Open; /* open system */ in rtw_init_default_value()
414 psecuritypriv->dot11PrivacyAlgrthm = _NO_PRIVACY_; in rtw_init_default_value()
415 psecuritypriv->dot11PrivacyKeyIndex = 0; in rtw_init_default_value()
416 psecuritypriv->dot118021XGrpPrivacy = _NO_PRIVACY_; in rtw_init_default_value()
417 psecuritypriv->dot118021XGrpKeyid = 1; in rtw_init_default_value()
418 psecuritypriv->ndisauthtype = Ndis802_11AuthModeOpen; in rtw_init_default_value()
[all …]

12