/linux-2.6.39/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_set.c | 335 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_set_802_11_authentication_mode() local 338 psecuritypriv->ndisauthtype = authmode; in r8712_set_802_11_authentication_mode() 339 if (psecuritypriv->ndisauthtype > 3) in r8712_set_802_11_authentication_mode() 340 psecuritypriv->AuthAlgrthm = 2; /* 802.1x */ in r8712_set_802_11_authentication_mode() 341 if (r8712_set_auth(padapter, psecuritypriv) == _SUCCESS) in r8712_set_802_11_authentication_mode() 354 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_set_802_11_add_wep() local 363 psecuritypriv->PrivacyAlgrthm = _WEP40_; in r8712_set_802_11_add_wep() 366 psecuritypriv->PrivacyAlgrthm = _WEP104_; in r8712_set_802_11_add_wep() 369 psecuritypriv->PrivacyAlgrthm = _NO_PRIVACY_; in r8712_set_802_11_add_wep() 372 memcpy(psecuritypriv->DefKey[keyid].skey, &wep->KeyMaterial, in r8712_set_802_11_add_wep() [all …]
|
D | rtl871x_mlme.c | 271 struct security_priv *psecuritypriv = &adapter->securitypriv; in r8712_is_same_ibss() local 273 if ((psecuritypriv->PrivacyAlgrthm != _NO_PRIVACY_) && in r8712_is_same_ibss() 276 else if ((psecuritypriv->PrivacyAlgrthm == _NO_PRIVACY_) && in r8712_is_same_ibss() 475 struct security_priv *psecuritypriv = &adapter->securitypriv; in is_desired_network() local 477 if (psecuritypriv->wps_phase == true) { in is_desired_network() 485 if ((psecuritypriv->PrivacyAlgrthm != _NO_PRIVACY_) && in is_desired_network() 1206 struct security_priv *psecuritypriv) in r8712_set_auth() argument 1224 psetauthparm->mode = (u8)psecuritypriv->AuthAlgrthm; in r8712_set_auth() 1236 struct security_priv *psecuritypriv, in r8712_set_key() argument 1253 if (psecuritypriv->AuthAlgrthm == 2) { /* 802.1X */ in r8712_set_key() [all …]
|
D | rtl871x_security.h | 118 #define GET_ENCRY_ALGO(psecuritypriv, psta, encry_algo, bmcst) \ argument 120 switch (psecuritypriv->AuthAlgrthm) { \ 124 encry_algo = (u8)psecuritypriv->PrivacyAlgrthm; \ 128 encry_algo = (u8)psecuritypriv->XGrpPrivacy; \
|
D | rtl871x_recv.c | 165 struct security_priv *psecuritypriv = &adapter->securitypriv; in r8712_recvframe_chkmic() local 175 mickey = &psecuritypriv->XGrprxmickey[(((idx >> in r8712_recvframe_chkmic() 177 if (psecuritypriv->binstallGrpkey == false) in r8712_recvframe_chkmic() 203 if ((psecuritypriv->bcheck_grpkey == in r8712_recvframe_chkmic() 206 psecuritypriv->bcheck_grpkey = true; in r8712_recvframe_chkmic() 219 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_decryptor() local 223 (psecuritypriv->sw_decrypt == true))) { in r8712_decryptor() 224 psecuritypriv->hw_decrypted = false; in r8712_decryptor() 240 psecuritypriv->hw_decrypted = true; in r8712_decryptor() 477 struct security_priv *psecuritypriv = &adapter->securitypriv; in validate_recv_data_frame() local [all …]
|
D | rtl871x_cmd.c | 398 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_joinbss_cmd() local 432 psecnetwork = (struct ndis_wlan_bssid_ex *)&psecuritypriv->sec_bss; in r8712_joinbss_cmd() 440 auth = &psecuritypriv->authenticator_ie[0]; in r8712_joinbss_cmd() 441 psecuritypriv->authenticator_ie[0] = (unsigned char) in r8712_joinbss_cmd() 444 memcpy(&psecuritypriv->authenticator_ie[1], in r8712_joinbss_cmd() 447 memcpy(&psecuritypriv->authenticator_ie[1], in r8712_joinbss_cmd() 497 psecuritypriv->supplicant_ie[0] = (u8)psecnetwork->IELength; in r8712_joinbss_cmd() 499 memcpy(&psecuritypriv->supplicant_ie[1], &psecnetwork->IEs[0], in r8712_joinbss_cmd() 502 memcpy(&psecuritypriv->supplicant_ie[1], &psecnetwork->IEs[0], in r8712_joinbss_cmd() 595 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_setstakey_cmd() local [all …]
|
D | rtl871x_xmit.c | 199 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_update_attrib() local 313 GET_ENCRY_ALGO(psecuritypriv, psta, pattrib->encrypt, bmcast); in r8712_update_attrib() 338 (psecuritypriv->hw_decrypted == false))) in r8712_update_attrib() 358 struct security_priv *psecuritypriv = &padapter->securitypriv; in xmitframe_addmic() local 377 if (!memcmp(psecuritypriv->XGrptxmickey in xmitframe_addmic() 378 [psecuritypriv->XGrpKeyid].skey, in xmitframe_addmic() 383 psecuritypriv-> in xmitframe_addmic() 384 XGrptxmickey[psecuritypriv-> in xmitframe_addmic() 427 ((psecuritypriv->sw_encrypt) in xmitframe_addmic() 435 ((psecuritypriv->sw_encrypt) ? in xmitframe_addmic() [all …]
|
D | rtl871x_mp_ioctl.c | 1014 struct security_priv *psecuritypriv = &Adapter->securitypriv; in oid_rt_pro_encryption_ctrl_hdl() local 1025 psecuritypriv->sw_decrypt = false; in oid_rt_pro_encryption_ctrl_hdl() 1026 psecuritypriv->sw_encrypt = false; in oid_rt_pro_encryption_ctrl_hdl() 1029 psecuritypriv->sw_decrypt = true; in oid_rt_pro_encryption_ctrl_hdl() 1030 psecuritypriv->sw_encrypt = true; in oid_rt_pro_encryption_ctrl_hdl() 1033 psecuritypriv->sw_decrypt = true; in oid_rt_pro_encryption_ctrl_hdl() 1034 psecuritypriv->sw_encrypt = false; in oid_rt_pro_encryption_ctrl_hdl() 1037 psecuritypriv->sw_decrypt = false; in oid_rt_pro_encryption_ctrl_hdl() 1038 psecuritypriv->sw_encrypt = true; in oid_rt_pro_encryption_ctrl_hdl() 1042 if ((psecuritypriv->sw_encrypt == false) && in oid_rt_pro_encryption_ctrl_hdl() [all …]
|
D | rtl871x_ioctl_linux.c | 398 struct security_priv *psecuritypriv = &padapter->securitypriv; in wpa_set_encryption() local 462 memcpy(&(psecuritypriv->DefKey[wep_key_idx]. in wpa_set_encryption() 465 psecuritypriv->DefKeylen[wep_key_idx] = in wpa_set_encryption() 467 r8712_set_key(padapter, psecuritypriv, wep_key_idx); in wpa_set_encryption() 797 struct security_priv *psecuritypriv = &padapter->securitypriv; in r871x_wx_set_pmkid() local 824 if (!memcmp(psecuritypriv->PMKIDList[j].Bssid, in r871x_wx_set_pmkid() 830 memcpy(psecuritypriv->PMKIDList[j].PMKID, in r871x_wx_set_pmkid() 832 psecuritypriv->PMKIDList[j].bUsed = true; in r871x_wx_set_pmkid() 833 psecuritypriv->PMKIDIndex = j + 1; in r871x_wx_set_pmkid() 842 psecuritypriv->PMKIDIndex); in r871x_wx_set_pmkid() [all …]
|
D | rtl871x_security.c | 162 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_wep_encrypt() local 170 keylength = psecuritypriv->DefKeylen[psecuritypriv-> in r8712_wep_encrypt() 176 memcpy(&wepkey[3], &psecuritypriv->DefKey[ in r8712_wep_encrypt() 177 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() 650 struct security_priv *psecuritypriv = &padapter->securitypriv; in r8712_tkip_decrypt() local 666 prwskey = &psecuritypriv->XGrpKey[ in r8712_tkip_decrypt() [all …]
|
D | rtl8712_xmit.c | 257 struct security_priv *psecuritypriv = &padapter->securitypriv; in update_txdesc() local 305 ptxdesc->txdw1 |= cpu_to_le32((psecuritypriv-> in update_txdesc() 462 struct security_priv *psecuritypriv = &padapter->securitypriv; in dump_xframe() local 472 sz = sz - 4 - (psecuritypriv->sw_encrypt ? 0 : in dump_xframe()
|
D | os_intfs.c | 281 struct security_priv *psecuritypriv = &padapter->securitypriv; in init_default_value() local 299 psecuritypriv->sw_encrypt = pregistrypriv->software_encrypt; in init_default_value() 300 psecuritypriv->sw_decrypt = pregistrypriv->software_decrypt; in init_default_value() 301 psecuritypriv->binstallGrpkey = _FAIL; in init_default_value()
|
D | rtl871x_mlme.h | 176 struct security_priv *psecuritypriv, sint keyid); 178 struct security_priv *psecuritypriv);
|