Searched refs:pwep (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/ |
H A D | ioctl_linux.c | 93 pwep = kzalloc(sizeof(*pwep), GFP_KERNEL); in wpa_set_encryption() 94 if (!pwep) { in wpa_set_encryption() 100 pwep->length = wep_total_len; in wpa_set_encryption() 114 memcpy(pwep->key_material, param->u.crypt.key, pwep->key_length); in wpa_set_encryption() 214 kfree(pwep); in wpa_set_encryption() 575 pwep = kzalloc(sizeof(*pwep), GFP_KERNEL); in rtw_set_encryption() 576 if (!pwep) in rtw_set_encryption() 585 memcpy(pwep->key_material, param->u.crypt.key, pwep->key_length); in rtw_set_encryption() 604 rtw_ap_set_wep_key(padapter, pwep->key_material, pwep->key_length, wep_key_idx, 1); in rtw_set_encryption() 613 rtw_ap_set_wep_key(padapter, pwep->key_material, pwep->key_length, wep_key_idx, 0); in rtw_set_encryption() [all …]
|
H A D | ioctl_cfg80211.c | 1714 struct ndis_802_11_wep *pwep = NULL; in cfg80211_rtw_connect() local 1727 pwep = rtw_malloc(wep_total_len); in cfg80211_rtw_connect() 1728 if (!pwep) { in cfg80211_rtw_connect() 1733 memset(pwep, 0, wep_total_len); in cfg80211_rtw_connect() 1735 pwep->key_length = wep_key_len; in cfg80211_rtw_connect() 1736 pwep->length = wep_total_len; in cfg80211_rtw_connect() 1747 pwep->key_index = wep_key_idx; in cfg80211_rtw_connect() 1748 pwep->key_index |= 0x80000000; in cfg80211_rtw_connect() 1750 memcpy(pwep->key_material, (void *)sme->key, pwep->key_length); in cfg80211_rtw_connect() 1752 if (rtw_set_802_11_add_wep(padapter, pwep) == (u8)_FAIL) in cfg80211_rtw_connect() [all …]
|
/openbmc/linux/drivers/staging/rtl8712/ |
H A D | rtl871x_ioctl_linux.c | 402 pwep = kzalloc(sizeof(*pwep), GFP_ATOMIC); in wpa_set_encryption() 403 if (!pwep) in wpa_set_encryption() 405 pwep->KeyLength = wep_key_len; in wpa_set_encryption() 406 pwep->Length = wep_key_len + in wpa_set_encryption() 412 pwep->KeyIndex = wep_key_idx; in wpa_set_encryption() 413 pwep->KeyIndex |= 0x80000000; in wpa_set_encryption() 414 memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); in wpa_set_encryption() 428 pwep->KeyMaterial, in wpa_set_encryption() 429 pwep->KeyLength); in wpa_set_encryption() 431 pwep->KeyLength; in wpa_set_encryption() [all …]
|