Home
last modified time | relevance | path

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

/drivers/net/wireless/libertas/
Dcfg.c928 if (priv->wep_key_len[0] || priv->wep_key_len[1] || in lbs_set_wep_keys()
929 priv->wep_key_len[2] || priv->wep_key_len[3]) { in lbs_set_wep_keys()
937 switch (priv->wep_key_len[i]) { in lbs_set_wep_keys()
949 priv->wep_key_len[i]); in lbs_set_wep_keys()
1378 memset(priv->wep_key_len, 0, sizeof(priv->wep_key_len)); in lbs_cfg_connect()
1386 priv->wep_key_len[sme->key_idx] = sme->key_len; in lbs_cfg_connect()
1540 if ((priv->wep_key_len[idx] != params->key_len) || in lbs_cfg_add_key()
1543 priv->wep_key_len[idx] = params->key_len; in lbs_cfg_add_key()
1598 if (key_index < 3 && priv->wep_key_len[key_index]) { in lbs_cfg_del_key()
1599 priv->wep_key_len[key_index] = 0; in lbs_cfg_del_key()
Ddev.h150 u8 wep_key_len[4]; member
/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c359 u32 wep_key_idx, wep_key_len, wep_total_len; in wpa_set_encryption() local
394 wep_key_len = param->u.crypt.key_len; in wpa_set_encryption()
404 if (wep_key_len > 0) { in wpa_set_encryption()
405 wep_key_len = wep_key_len <= 5 ? 5 : 13; in wpa_set_encryption()
406 wep_total_len = wep_key_len + FIELD_OFFSET(struct ndis_802_11_wep, KeyMaterial); in wpa_set_encryption()
413 pwep->KeyLength = wep_key_len; in wpa_set_encryption()
415 if (wep_key_len == 13) { in wpa_set_encryption()
2228 u32 wep_key_idx, wep_key_len, wep_total_len; in rtw_set_encryption() local
2267 wep_key_len = param->u.crypt.key_len; in rtw_set_encryption()
2268 DBG_88E("r871x_set_encryption, wep_key_idx=%d, len=%d\n", wep_key_idx, wep_key_len); in rtw_set_encryption()
[all …]
/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c370 u32 wep_key_idx, wep_key_len = 0; in wpa_set_encryption() local
396 wep_key_len = param->u.crypt.key_len; in wpa_set_encryption()
399 if (wep_key_len > 0) { in wpa_set_encryption()
400 wep_key_len = wep_key_len <= 5 ? 5 : 13; in wpa_set_encryption()
401 pwep = kmalloc((u32)(wep_key_len + in wpa_set_encryption()
407 pwep->KeyLength = wep_key_len; in wpa_set_encryption()
408 pwep->Length = wep_key_len + in wpa_set_encryption()
411 if (wep_key_len == 13) { in wpa_set_encryption()
/drivers/net/wireless/
Datmel.c471 int wep_key_len[MAX_ENCRYPTION_KEYS]; member
1587 memset(priv->wep_key_len, 0, sizeof(priv->wep_key_len)); in init_atmel_card()
1752 priv->wep_key_len[index] = 13; in atmel_set_encode()
1755 priv->wep_key_len[index] = 5; in atmel_set_encode()
1758 priv->wep_key_len[index] = 0; in atmel_set_encode()
1770 priv->wep_key_len[index] > 0) { in atmel_set_encode()
1773 if (priv->wep_key_len[index] > 5) { in atmel_set_encode()
1798 if (priv->wep_key_len[priv->default_key] > 5) { in atmel_set_encode()
1835 dwrq->length = priv->wep_key_len[index]; in atmel_get_encode()
1883 priv->wep_key_len[idx] = 13; in atmel_set_encodeext()
[all …]
Dairo.c6419 int wep_key_len; in airo_get_encode() local
6453 wep_key_len = get_wep_key(local, index, &buf[0], sizeof(buf)); in airo_get_encode()
6454 if (wep_key_len < 0) { in airo_get_encode()
6457 dwrq->length = wep_key_len; in airo_get_encode()
6582 int idx, max_key_len, wep_key_len; in airo_get_encodeext() local
6626 wep_key_len = get_wep_key(local, idx, &buf[0], sizeof(buf)); in airo_get_encodeext()
6627 if (wep_key_len < 0) { in airo_get_encodeext()
6630 ext->key_len = wep_key_len; in airo_get_encodeext()
/drivers/staging/rtl8723au/os_dep/
Dioctl_cfg80211.c2087 u8 wep_key_idx, wep_key_len; in cfg80211_rtw_connect() local
2091 wep_key_len = sme->key_len; in cfg80211_rtw_connect()
2093 if (wep_key_idx > WEP_KEYS || !wep_key_len || in cfg80211_rtw_connect()
2094 wep_key_len > WLAN_KEY_LEN_WEP104) { in cfg80211_rtw_connect()
2099 wep_key_len = wep_key_len <= 5 ? 5 : 13; in cfg80211_rtw_connect()
2103 wep_key.keylen = wep_key_len; in cfg80211_rtw_connect()
2105 if (wep_key_len == 13) { in cfg80211_rtw_connect()