Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8712/
Dwlan_bssdef.h159 u32 KeyLength; /* length of key in bytes */ member
176 u32 KeyLength; /* length of key in bytes */ member
Drtl871x_ioctl_set.c351 switch (wep->KeyLength) { in r8712_set_802_11_add_wep()
363 wep->KeyLength); in r8712_set_802_11_add_wep()
364 psecuritypriv->DefKeylen[keyid] = wep->KeyLength; in r8712_set_802_11_add_wep()
Drtl871x_ioctl_linux.c409 pwep->KeyLength = wep_key_len; in wpa_set_encryption()
418 memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); in wpa_set_encryption()
434 pwep->KeyLength); in wpa_set_encryption()
436 pwep->KeyLength; in wpa_set_encryption()
1560 wep.KeyLength = erq->length <= 5 ? 5 : 13; in r8711_wx_set_enc()
1561 wep.Length = wep.KeyLength + in r8711_wx_set_enc()
1564 wep.KeyLength = 0; in r8711_wx_set_enc()
1587 memcpy(wep.KeyMaterial, keybuf, wep.KeyLength); in r8711_wx_set_enc()
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Dwlan_bssdef.h153 u32 KeyLength; /* length of key in bytes */ member
169 u32 KeyLength; /* length of key in bytes */ member
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_ioctl_set.c482 switch (wep->KeyLength) { in rtw_set_802_11_add_wep()
498 wep->KeyLength, wep->KeyIndex, keyid)); in rtw_set_802_11_add_wep()
500 memcpy(&(psecuritypriv->dot11DefKey[keyid].skey[0]), &(wep->KeyMaterial), wep->KeyLength); in rtw_set_802_11_add_wep()
502 psecuritypriv->dot11DefKeylen[keyid] = wep->KeyLength; in rtw_set_802_11_add_wep()
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_ioctl_set.c597 switch (wep->KeyLength) { in rtw_set_802_11_add_wep()
614 wep->KeyLength, wep->KeyIndex, keyid)); in rtw_set_802_11_add_wep()
616 memcpy(&(psecuritypriv->dot11DefKey[keyid].skey[0]), &(wep->KeyMaterial), wep->KeyLength); in rtw_set_802_11_add_wep()
618 psecuritypriv->dot11DefKeylen[keyid] = wep->KeyLength; in rtw_set_802_11_add_wep()
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c401 pwep->KeyLength = wep_key_len; in wpa_set_encryption()
413 memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); in wpa_set_encryption()
424 … memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength); in wpa_set_encryption()
425 psecuritypriv->dot11DefKeylen[wep_key_idx] = pwep->KeyLength; in wpa_set_encryption()
1644 wep.KeyLength = erq->length <= 5 ? 5 : 13; in rtw_wx_set_enc()
1646 wep.Length = wep.KeyLength + offsetof(struct ndis_802_11_wep, KeyMaterial); in rtw_wx_set_enc()
1648 wep.KeyLength = 0; in rtw_wx_set_enc()
1674 memcpy(wep.KeyMaterial, keybuf, wep.KeyLength); in rtw_wx_set_enc()
2248 pwep->KeyLength = wep_key_len; in rtw_set_encryption()
2254 memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); in rtw_set_encryption()
[all …]
/Linux-v4.19/drivers/staging/rtl8188eu/include/
Dwlan_bssdef.h128 u32 KeyLength; /* length of key in bytes */ member
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c489 pwep->KeyLength = wep_key_len; in wpa_set_encryption()
504 memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); in wpa_set_encryption()
522 memcpy(&(psecuritypriv->dot11DefKey[wep_key_idx].skey[0]), pwep->KeyMaterial, pwep->KeyLength); in wpa_set_encryption()
523 psecuritypriv->dot11DefKeylen[wep_key_idx]=pwep->KeyLength; in wpa_set_encryption()
1916 wep.KeyLength = erq->length <= 5 ? 5 : 13; in rtw_wx_set_enc()
1918 wep.Length = wep.KeyLength + FIELD_OFFSET(struct ndis_802_11_wep, KeyMaterial); in rtw_wx_set_enc()
1920 wep.KeyLength = 0 ; in rtw_wx_set_enc()
1947 memcpy(wep.KeyMaterial, keybuf, wep.KeyLength); in rtw_wx_set_enc()
3537 pwep->KeyLength = wep_key_len; in rtw_set_encryption()
3544 memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); in rtw_set_encryption()
[all …]
Dioctl_cfg80211.c2179 pwep->KeyLength = wep_key_len; in cfg80211_rtw_connect()
2196 memcpy(pwep->KeyMaterial, (void *)sme->key, pwep->KeyLength); in cfg80211_rtw_connect()