/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_cfg80211.c | 506 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 …]
|
D | ioctl_linux.c | 68 struct security_priv *psecuritypriv = &padapter->securitypriv; in wpa_set_encryption() local 143 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->key_material, pwep->key_length); in wpa_set_encryption() 144 psecuritypriv->dot11DefKeylen[wep_key_idx] = pwep->key_length; in wpa_set_encryption() 145 rtw_set_key(padapter, psecuritypriv, wep_key_idx, 0, true); in wpa_set_encryption() 545 struct security_priv *psecuritypriv = &(padapter->securitypriv); in rtw_set_encryption() local 549 char *grpkey = psecuritypriv->dot118021XGrpKey[param->u.crypt.idx].skey; in rtw_set_encryption() 578 psecuritypriv->dot11AuthAlgrthm = dot11AuthAlgrthm_Open; in rtw_set_encryption() 579 psecuritypriv->ndisencryptstatus = Ndis802_11EncryptionDisabled; in rtw_set_encryption() 580 psecuritypriv->dot11PrivacyAlgrthm = _NO_PRIVACY_; in rtw_set_encryption() 581 psecuritypriv->dot118021XGrpPrivacy = _NO_PRIVACY_; in rtw_set_encryption() [all …]
|
D | recv_linux.c | 147 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()
|
D | os_intfs.c | 535 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 …]
|
/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_set.c | 317 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_set_802_11_authentication_mode() local 320 psecuritypriv->ndisauthtype = authmode; in r8712_set_802_11_authentication_mode() 321 if (psecuritypriv->ndisauthtype > 3) in r8712_set_802_11_authentication_mode() 322 psecuritypriv->AuthAlgrthm = 2; /* 802.1x */ in r8712_set_802_11_authentication_mode() 323 if (r8712_set_auth(padapter, psecuritypriv)) in r8712_set_802_11_authentication_mode() 334 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_set_802_11_add_wep() local 341 psecuritypriv->PrivacyAlgrthm = _WEP40_; in r8712_set_802_11_add_wep() 344 psecuritypriv->PrivacyAlgrthm = _WEP104_; in r8712_set_802_11_add_wep() 347 psecuritypriv->PrivacyAlgrthm = _NO_PRIVACY_; in r8712_set_802_11_add_wep() 350 memcpy(psecuritypriv->DefKey[keyid].skey, &wep->KeyMaterial, in r8712_set_802_11_add_wep() [all …]
|
D | rtl871x_mlme.c | 220 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() 1145 struct security_priv *psecuritypriv) in r8712_set_auth() argument 1160 psetauthparm->mode = (u8)psecuritypriv->AuthAlgrthm; in r8712_set_auth() 1172 struct security_priv *psecuritypriv, in r8712_set_key() argument 1189 if (psecuritypriv->AuthAlgrthm == 2) { /* 802.1X */ in r8712_set_key() [all …]
|
D | rtl871x_cmd.c | 346 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 …]
|
D | rtl871x_security.h | 140 #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; \
|
D | rtl871x_recv.c | 144 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() 468 struct security_priv *psecuritypriv = &adapter->securitypriv; in validate_recv_data_frame() local [all …]
|
D | rtl871x_security.c | 160 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() 653 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_tkip_decrypt() local [all …]
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_ioctl_set.c | 404 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 …]
|
D | rtw_ap.c | 455 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_sta_info_apmode() local 470 if (psecuritypriv->dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) in update_sta_info_apmode() 649 struct security_priv *psecuritypriv = &(padapter->securitypriv); in start_bss_network() local 687 if ((psecuritypriv->dot11PrivacyAlgrthm != _WEP40_) && in start_bss_network() 688 (psecuritypriv->dot11PrivacyAlgrthm != _WEP104_)) in start_bss_network() 711 psecuritypriv->dot11AuthAlgrthm == dot11AuthAlgrthm_8021X in start_bss_network() 825 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_check_beacon_data() local 931 psecuritypriv->wpa_psk = 0; in rtw_check_beacon_data() 935 psecuritypriv->wpa2_group_cipher = _NO_PRIVACY_; in rtw_check_beacon_data() 936 psecuritypriv->wpa2_pairwise_cipher = _NO_PRIVACY_; in rtw_check_beacon_data() [all …]
|
D | rtw_security.c | 50 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 …]
|
D | rtw_mlme.c | 363 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_same_ibss() local 365 if ((psecuritypriv->dot11PrivacyAlgrthm != _NO_PRIVACY_) && in rtw_is_same_ibss() 368 else if ((psecuritypriv->dot11PrivacyAlgrthm == _NO_PRIVACY_) && in rtw_is_same_ibss() 645 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_desired_network() local 655 desired_encmode = psecuritypriv->ndisencryptstatus; in rtw_is_desired_network() 672 if (psecuritypriv->ndisauthtype == Ndis802_11AuthModeWPA2PSK) { in rtw_is_desired_network() 1888 signed int rtw_set_auth(struct adapter *adapter, struct security_priv *psecuritypriv) in rtw_set_auth() argument 1908 psetauthparm->mode = (unsigned char)psecuritypriv->dot11AuthAlgrthm; in rtw_set_auth() 1924 signed int rtw_set_key(struct adapter *adapter, struct security_priv *psecuritypriv, signed int key… in rtw_set_key() argument 1938 if (psecuritypriv->dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) in rtw_set_key() [all …]
|
D | rtw_recv.c | 315 struct security_priv *psecuritypriv = &adapter->securitypriv; in recvframe_chkmic() local 329 mickey = &psecuritypriv->dot118021XGrprxmickey[prxattrib->key_index].skey[0]; in recvframe_chkmic() 333 if (psecuritypriv->binstallGrpkey == false) { in recvframe_chkmic() 370 if (!psecuritypriv->bcheck_grpkey && in recvframe_chkmic() 372 psecuritypriv->bcheck_grpkey = true; in recvframe_chkmic() 390 struct security_priv *psecuritypriv = &padapter->securitypriv; in decryptor() local 402 prxattrib->key_index = psecuritypriv->dot11PrivacyKeyIndex; in decryptor() 407 prxattrib->key_index = psecuritypriv->dot118021XGrpKeyid; in decryptor() 413 …if ((prxattrib->encrypt > 0) && ((prxattrib->bdecrypted == 0) || (psecuritypriv->sw_decrypt == tru… in decryptor() 414 psecuritypriv->hw_decrypted = false; in decryptor() [all …]
|
/drivers/staging/r8188eu/os_dep/ |
D | recv_linux.c | 72 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_handle_tkip_mic_err() local 75 if (psecuritypriv->last_mic_err_time == 0) { in rtw_handle_tkip_mic_err() 76 psecuritypriv->last_mic_err_time = jiffies; in rtw_handle_tkip_mic_err() 80 if (cur_time - psecuritypriv->last_mic_err_time < 60 * HZ) { in rtw_handle_tkip_mic_err() 81 psecuritypriv->btkip_countermeasure = true; in rtw_handle_tkip_mic_err() 82 psecuritypriv->last_mic_err_time = 0; in rtw_handle_tkip_mic_err() 83 psecuritypriv->btkip_countermeasure_time = cur_time; in rtw_handle_tkip_mic_err() 85 psecuritypriv->last_mic_err_time = jiffies; in rtw_handle_tkip_mic_err()
|
D | os_intfs.c | 756 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_init_default_value() local 772 psecuritypriv->binstallGrpkey = _FAIL; in rtw_init_default_value() 773 psecuritypriv->sw_encrypt = pregistrypriv->software_encrypt; in rtw_init_default_value() 774 psecuritypriv->sw_decrypt = pregistrypriv->software_decrypt; in rtw_init_default_value() 775 psecuritypriv->dot11AuthAlgrthm = dot11AuthAlgrthm_Open; /* open system */ in rtw_init_default_value() 776 psecuritypriv->dot11PrivacyAlgrthm = _NO_PRIVACY_; in rtw_init_default_value() 777 psecuritypriv->dot11PrivacyKeyIndex = 0; in rtw_init_default_value() 778 psecuritypriv->dot118021XGrpPrivacy = _NO_PRIVACY_; in rtw_init_default_value() 779 psecuritypriv->dot118021XGrpKeyid = 1; in rtw_init_default_value() 780 psecuritypriv->ndisauthtype = Ndis802_11AuthModeOpen; in rtw_init_default_value() [all …]
|
/drivers/staging/r8188eu/core/ |
D | rtw_ioctl_set.c | 416 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_set_802_11_authentication_mode() local 420 psecuritypriv->ndisauthtype = authmode; in rtw_set_802_11_authentication_mode() 422 if (psecuritypriv->ndisauthtype > 3) in rtw_set_802_11_authentication_mode() 423 psecuritypriv->dot11AuthAlgrthm = dot11AuthAlgrthm_8021X; in rtw_set_802_11_authentication_mode() 425 res = rtw_set_auth(padapter, psecuritypriv); in rtw_set_802_11_authentication_mode() 438 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_set_802_11_add_wep() local 450 psecuritypriv->dot11PrivacyAlgrthm = _WEP40_; in rtw_set_802_11_add_wep() 453 psecuritypriv->dot11PrivacyAlgrthm = _WEP104_; in rtw_set_802_11_add_wep() 456 psecuritypriv->dot11PrivacyAlgrthm = _NO_PRIVACY_; in rtw_set_802_11_add_wep() 460 memcpy(&psecuritypriv->dot11DefKey[keyid].skey[0], &wep->KeyMaterial, wep->KeyLength); in rtw_set_802_11_add_wep() [all …]
|
D | rtw_mlme.c | 397 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_same_ibss() local 399 if ((psecuritypriv->dot11PrivacyAlgrthm != _NO_PRIVACY_) && in rtw_is_same_ibss() 402 else if ((psecuritypriv->dot11PrivacyAlgrthm == _NO_PRIVACY_) && in rtw_is_same_ibss() 630 struct security_priv *psecuritypriv = &adapter->securitypriv; in rtw_is_desired_network() local 640 desired_encmode = psecuritypriv->ndisencryptstatus; in rtw_is_desired_network() 655 if (psecuritypriv->ndisauthtype == Ndis802_11AuthModeWPA2PSK) { in rtw_is_desired_network() 1639 int rtw_set_auth(struct adapter *adapter, struct security_priv *psecuritypriv) in rtw_set_auth() argument 1659 psetauthparm->mode = (unsigned char)psecuritypriv->dot11AuthAlgrthm; in rtw_set_auth() 1672 int rtw_set_key(struct adapter *adapter, struct security_priv *psecuritypriv, int keyid, u8 set_tx) in rtw_set_key() argument 1695 if (psecuritypriv->dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) in rtw_set_key() [all …]
|
D | rtw_ap.c | 497 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_sta_info_apmode() local 510 if (psecuritypriv->dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) in update_sta_info_apmode() 600 struct security_priv *psecuritypriv = &padapter->securitypriv; in start_bss_network() local 633 if ((psecuritypriv->dot11PrivacyAlgrthm != _WEP40_) && in start_bss_network() 634 (psecuritypriv->dot11PrivacyAlgrthm != _WEP104_)) in start_bss_network() 655 val8 = (psecuritypriv->dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) ? 0xcc : 0xcf; in start_bss_network() 741 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_check_beacon_data() local 832 psecuritypriv->wpa_psk = 0; in rtw_check_beacon_data() 837 psecuritypriv->wpa2_group_cipher = _NO_PRIVACY_; in rtw_check_beacon_data() 838 psecuritypriv->wpa2_pairwise_cipher = _NO_PRIVACY_; in rtw_check_beacon_data() [all …]
|
D | rtw_security.c | 95 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_encrypt() local 108 keylength = psecuritypriv->dot11DefKeylen[psecuritypriv->dot11PrivacyKeyIndex]; in rtw_wep_encrypt() 113 …memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[psecuritypriv->dot11PrivacyKeyIndex].skey[0], keyle… in rtw_wep_encrypt() 148 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_wep_decrypt() local 156 keylength = psecuritypriv->dot11DefKeylen[keyindex]; in rtw_wep_decrypt() 158 memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[keyindex].skey[0], keylength); in rtw_wep_decrypt() 523 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_encrypt() local 542 prwskey = psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey; in rtw_tkip_encrypt() 602 struct security_priv *psecuritypriv = &padapter->securitypriv; in rtw_tkip_decrypt() local 612 if (!psecuritypriv->binstallGrpkey) { in rtw_tkip_decrypt() [all …]
|
D | rtw_recv.c | 320 struct security_priv *psecuritypriv = &adapter->securitypriv; in recvframe_chkmic() local 331 mickey = &psecuritypriv->dot118021XGrprxmickey[prxattrib->key_index].skey[0]; in recvframe_chkmic() 333 if (!psecuritypriv) { in recvframe_chkmic() 373 if (!psecuritypriv->bcheck_grpkey && is_multicast_ether_addr(prxattrib->ra)) in recvframe_chkmic() 374 psecuritypriv->bcheck_grpkey = true; in recvframe_chkmic() 390 struct security_priv *psecuritypriv = &padapter->securitypriv; in decryptor() local 404 prxattrib->key_index = psecuritypriv->dot11PrivacyKeyIndex; in decryptor() 409 prxattrib->key_index = psecuritypriv->dot118021XGrpKeyid; in decryptor() 415 if ((prxattrib->encrypt > 0) && ((prxattrib->bdecrypted == 0) || (psecuritypriv->sw_decrypt))) { in decryptor() 416 psecuritypriv->hw_decrypted = false; in decryptor() [all …]
|
D | rtw_pwrctrl.c | 54 struct security_priv *psecuritypriv = &padapter->securitypriv; in ips_leave() local 73 …if ((_WEP40_ == psecuritypriv->dot11PrivacyAlgrthm) || (_WEP104_ == psecuritypriv->dot11PrivacyAlg… in ips_leave() 78 if (keyid == psecuritypriv->dot11PrivacyKeyIndex) in ips_leave() 79 result = rtw_set_key(padapter, psecuritypriv, keyid, 1); in ips_leave() 81 result = rtw_set_key(padapter, psecuritypriv, keyid, 0); in ips_leave()
|
/drivers/staging/rtl8723bs/include/ |
D | rtw_security.h | 176 #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;\
|
/drivers/staging/r8188eu/include/ |
D | rtw_security.h | 155 #define GET_ENCRY_ALGO(psecuritypriv, psta, encry_algo, bmcst) \ argument 157 switch (psecuritypriv->dot11AuthAlgrthm) { \ 161 encry_algo = (u8)psecuritypriv->dot11PrivacyAlgrthm; \ 165 encry_algo = (u8)psecuritypriv->dot118021XGrpPrivacy;\ 170 encry_algo = (u8)psecuritypriv->dot11PrivacyAlgrthm; \
|