Searched refs:pwep (Results 1 – 4 of 4) sorted by relevance
/drivers/staging/rtl8188eu/os_dep/ |
D | ioctl_linux.c | 350 struct ndis_802_11_wep *pwep = NULL; in wpa_set_encryption() local 395 pwep = (struct ndis_802_11_wep *)rtw_malloc(wep_total_len); in wpa_set_encryption() 396 if (!pwep) { in wpa_set_encryption() 400 memset(pwep, 0, wep_total_len); in wpa_set_encryption() 401 pwep->KeyLength = wep_key_len; in wpa_set_encryption() 402 pwep->Length = wep_total_len; in wpa_set_encryption() 411 pwep->KeyIndex = wep_key_idx; in wpa_set_encryption() 412 pwep->KeyIndex |= 0x80000000; in wpa_set_encryption() 413 memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); in wpa_set_encryption() 416 if (rtw_set_802_11_add_wep(padapter, pwep) == (u8)_FAIL) in wpa_set_encryption() [all …]
|
/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_linux.c | 426 struct ndis_802_11_wep *pwep = NULL; in wpa_set_encryption() local 476 pwep = kzalloc(wep_total_len, GFP_KERNEL); in wpa_set_encryption() 477 if (pwep == NULL) { in wpa_set_encryption() 482 pwep->KeyLength = wep_key_len; in wpa_set_encryption() 483 pwep->Length = wep_total_len; in wpa_set_encryption() 494 pwep->KeyIndex = wep_key_idx; in wpa_set_encryption() 495 pwep->KeyIndex |= 0x80000000; in wpa_set_encryption() 497 memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); in wpa_set_encryption() 502 if (rtw_set_802_11_add_wep(padapter, pwep) == (u8)_FAIL) in wpa_set_encryption() 515 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength); in wpa_set_encryption() [all …]
|
D | ioctl_cfg80211.c | 2149 struct ndis_802_11_wep *pwep = NULL; in cfg80211_rtw_connect() local 2164 pwep = rtw_malloc(wep_total_len); in cfg80211_rtw_connect() 2165 if (pwep == NULL) { in cfg80211_rtw_connect() 2171 memset(pwep, 0, wep_total_len); in cfg80211_rtw_connect() 2173 pwep->KeyLength = wep_key_len; in cfg80211_rtw_connect() 2174 pwep->Length = wep_total_len; in cfg80211_rtw_connect() 2187 pwep->KeyIndex = wep_key_idx; in cfg80211_rtw_connect() 2188 pwep->KeyIndex |= 0x80000000; in cfg80211_rtw_connect() 2190 memcpy(pwep->KeyMaterial, (void *)sme->key, pwep->KeyLength); in cfg80211_rtw_connect() 2192 if (rtw_set_802_11_add_wep(padapter, pwep) == (u8)_FAIL) in cfg80211_rtw_connect() [all …]
|
/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 377 struct NDIS_802_11_WEP *pwep = NULL; in wpa_set_encryption() local 408 pwep = kzalloc(sizeof(*pwep), GFP_ATOMIC); in wpa_set_encryption() 409 if (!pwep) in wpa_set_encryption() 411 pwep->KeyLength = wep_key_len; in wpa_set_encryption() 412 pwep->Length = wep_key_len + in wpa_set_encryption() 418 pwep->KeyIndex = wep_key_idx; in wpa_set_encryption() 419 pwep->KeyIndex |= 0x80000000; in wpa_set_encryption() 420 memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); in wpa_set_encryption() 422 if (r8712_set_802_11_add_wep(padapter, pwep)) in wpa_set_encryption() 434 pwep->KeyMaterial, in wpa_set_encryption() [all …]
|