Home
last modified time | relevance | path

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

/drivers/net/wireless/libertas/
Dcfg.c927 if (priv->wep_key_len[0] || priv->wep_key_len[1] || in lbs_set_wep_keys()
928 priv->wep_key_len[2] || priv->wep_key_len[3]) { in lbs_set_wep_keys()
936 switch (priv->wep_key_len[i]) { in lbs_set_wep_keys()
948 priv->wep_key_len[i]); in lbs_set_wep_keys()
1383 memset(priv->wep_key_len, 0, sizeof(priv->wep_key_len)); in lbs_cfg_connect()
1391 priv->wep_key_len[sme->key_idx] = sme->key_len; in lbs_cfg_connect()
1545 if ((priv->wep_key_len[idx] != params->key_len) || in lbs_cfg_add_key()
1548 priv->wep_key_len[idx] = params->key_len; in lbs_cfg_add_key()
1603 if (key_index < 3 && priv->wep_key_len[key_index]) { in lbs_cfg_del_key()
1604 priv->wep_key_len[key_index] = 0; in lbs_cfg_del_key()
Ddev.h150 u8 wep_key_len[4]; member
/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c398 u32 wep_key_idx, wep_key_len = 0; in wpa_set_encryption() local
423 wep_key_len = param->u.crypt.key_len; in wpa_set_encryption()
426 if (wep_key_len > 0) { in wpa_set_encryption()
427 wep_key_len = wep_key_len <= 5 ? 5 : 13; in wpa_set_encryption()
429 (wep_key_len + in wpa_set_encryption()
435 pwep->KeyLength = wep_key_len; in wpa_set_encryption()
436 pwep->Length = wep_key_len + in wpa_set_encryption()
439 if (wep_key_len == 13) { in wpa_set_encryption()
/drivers/net/wireless/
Datmel.c473 int wep_key_len[MAX_ENCRYPTION_KEYS]; member
1589 memset(priv->wep_key_len, 0, sizeof(priv->wep_key_len)); in init_atmel_card()
1754 priv->wep_key_len[index] = 13; in atmel_set_encode()
1757 priv->wep_key_len[index] = 5; in atmel_set_encode()
1760 priv->wep_key_len[index] = 0; in atmel_set_encode()
1772 priv->wep_key_len[index] > 0) { in atmel_set_encode()
1775 if (priv->wep_key_len[index] > 5) { in atmel_set_encode()
1800 if (priv->wep_key_len[priv->default_key] > 5) { in atmel_set_encode()
1837 dwrq->length = priv->wep_key_len[index]; in atmel_get_encode()
1885 priv->wep_key_len[idx] = 13; in atmel_set_encodeext()
[all …]
Dairo.c6413 int wep_key_len; in airo_get_encode() local
6447 wep_key_len = get_wep_key(local, index, &buf[0], sizeof(buf)); in airo_get_encode()
6448 if (wep_key_len < 0) { in airo_get_encode()
6451 dwrq->length = wep_key_len; in airo_get_encode()
6576 int idx, max_key_len, wep_key_len; in airo_get_encodeext() local
6620 wep_key_len = get_wep_key(local, idx, &buf[0], sizeof(buf)); in airo_get_encodeext()
6621 if (wep_key_len < 0) { in airo_get_encodeext()
6624 ext->key_len = wep_key_len; in airo_get_encodeext()