Searched refs:pwep (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/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 …]
|
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_linux.c | 431 struct ndis_802_11_wep *pwep = NULL; in wpa_set_encryption() local 481 pwep = rtw_malloc(wep_total_len); in wpa_set_encryption() 482 if (pwep == NULL) { in wpa_set_encryption() 487 memset(pwep, 0, wep_total_len); in wpa_set_encryption() 489 pwep->KeyLength = wep_key_len; in wpa_set_encryption() 490 pwep->Length = wep_total_len; in wpa_set_encryption() 501 pwep->KeyIndex = wep_key_idx; in wpa_set_encryption() 502 pwep->KeyIndex |= 0x80000000; in wpa_set_encryption() 504 memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); in wpa_set_encryption() 509 if (rtw_set_802_11_add_wep(padapter, pwep) == (u8)_FAIL) in wpa_set_encryption() [all …]
|
D | ioctl_cfg80211.c | 2155 struct ndis_802_11_wep *pwep = NULL; in cfg80211_rtw_connect() local 2170 pwep = rtw_malloc(wep_total_len); in cfg80211_rtw_connect() 2171 if (pwep == NULL) { in cfg80211_rtw_connect() 2177 memset(pwep, 0, wep_total_len); in cfg80211_rtw_connect() 2179 pwep->KeyLength = wep_key_len; in cfg80211_rtw_connect() 2180 pwep->Length = wep_total_len; in cfg80211_rtw_connect() 2193 pwep->KeyIndex = wep_key_idx; in cfg80211_rtw_connect() 2194 pwep->KeyIndex |= 0x80000000; in cfg80211_rtw_connect() 2196 memcpy(pwep->KeyMaterial, (void *)sme->key, pwep->KeyLength); in cfg80211_rtw_connect() 2198 if (rtw_set_802_11_add_wep(padapter, pwep) == (u8)_FAIL) in cfg80211_rtw_connect() [all …]
|
/Linux-v4.19/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 375 struct NDIS_802_11_WEP *pwep = NULL; in wpa_set_encryption() local 406 pwep = kzalloc(sizeof(*pwep), GFP_ATOMIC); in wpa_set_encryption() 407 if (!pwep) in wpa_set_encryption() 409 pwep->KeyLength = wep_key_len; in wpa_set_encryption() 410 pwep->Length = wep_key_len + in wpa_set_encryption() 416 pwep->KeyIndex = wep_key_idx; in wpa_set_encryption() 417 pwep->KeyIndex |= 0x80000000; in wpa_set_encryption() 418 memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); in wpa_set_encryption() 420 if (r8712_set_802_11_add_wep(padapter, pwep) == in wpa_set_encryption() 433 pwep->KeyMaterial, in wpa_set_encryption() [all …]
|