Home
last modified time | relevance | path

Searched refs:pwep (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/drivers/staging/rtl8712/ !
Drtl871x_ioctl_linux.c395 struct NDIS_802_11_WEP *pwep = NULL; in wpa_set_encryption() local
427 pwep = (struct NDIS_802_11_WEP *)_malloc((u32) in wpa_set_encryption()
431 if (pwep == NULL) in wpa_set_encryption()
433 memset(pwep, 0, sizeof(struct NDIS_802_11_WEP)); in wpa_set_encryption()
434 pwep->KeyLength = wep_key_len; in wpa_set_encryption()
435 pwep->Length = wep_key_len + in wpa_set_encryption()
446 pwep->KeyIndex = wep_key_idx; in wpa_set_encryption()
447 pwep->KeyIndex |= 0x80000000; in wpa_set_encryption()
448 memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); in wpa_set_encryption()
450 if (r8712_set_802_11_add_wep(padapter, pwep) == in wpa_set_encryption()
[all …]