Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/wlan-ng/
Dp80211wep.c135 memcpy(wlandev->wep_keys[keynum], key, keylen); in wep_change_key()
173 memcpy(key + 3, wlandev->wep_keys[keyidx], keylen); in wep_decrypt()
246 memcpy(key + 3, wlandev->wep_keys[keynum], keylen); in wep_encrypt()
Dp80211netdev.h197 u8 wep_keys[NUM_WEPKEYS][MAX_KEYLEN]; member
Dcfg80211.c196 params.key = wlandev->wep_keys[key_index]; in prism2_get_key()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/dvm/
Dsta.c961 if (ctx->wep_keys[i].key_size) { in iwl_send_static_wepkey_cmd()
968 wep_cmd->key[i].key_size = ctx->wep_keys[i].key_size; in iwl_send_static_wepkey_cmd()
969 memcpy(&wep_cmd->key[i].key[3], ctx->wep_keys[i].key, in iwl_send_static_wepkey_cmd()
970 ctx->wep_keys[i].key_size); in iwl_send_static_wepkey_cmd()
1005 memset(&ctx->wep_keys[keyconf->keyidx], 0, sizeof(ctx->wep_keys[0])); in iwl_remove_default_wep_key()
1036 ctx->wep_keys[keyconf->keyidx].key_size = keyconf->keylen; in iwl_set_default_wep_key()
1037 memcpy(&ctx->wep_keys[keyconf->keyidx].key, &keyconf->key, in iwl_set_default_wep_key()
Ddev.h510 struct iwl_wep_key wep_keys[WEP_KEYS_MAX]; member
Dmain.c895 memset(ctx->wep_keys, 0, sizeof(ctx->wep_keys)); in iwl_clear_driver_stations()
/Linux-v5.4/drivers/net/wireless/atmel/
Datmel.c470 u8 wep_keys[MAX_ENCRYPTION_KEYS][MAX_ENCRYPTION_KEY_SIZE]; member
1565 memset(priv->wep_keys, 0, sizeof(priv->wep_keys)); in init_atmel_card()
1744 memset(priv->wep_keys[index], 0, 13); in atmel_set_encode()
1746 memcpy(priv->wep_keys[index], extra, dwrq->length); in atmel_set_encode()
1822 memcpy(extra, priv->wep_keys[index], dwrq->length); in atmel_get_encode()
1876 memset(priv->wep_keys[idx], 0, 13); in atmel_set_encodeext()
1878 memcpy(priv->wep_keys[idx], ext->key, key_len); in atmel_set_encodeext()
1924 memcpy(ext->key, priv->wep_keys[idx], ext->key_len); in atmel_get_encodeext()
3756 u8 wep_keys[MAX_ENCRYPTION_KEYS][13]; in build_wep_mib() member
3776 memcpy(mib.wep_keys[i], priv->wep_keys[i], 13); in build_wep_mib()
[all …]
Dat76c50x-usb.h395 u8 wep_keys[WEP_KEYS][WEP_LARGE_KEY_LEN]; /* WEP keys */ member
Dat76c50x-usb.c1408 memcpy(ccfg->wep_default_key_value, priv->wep_keys, in at76_startup_device()
1409 sizeof(priv->wep_keys)); in at76_startup_device()
2120 memcpy(mib_data->wep_default_keyvalue, priv->wep_keys, in at76_set_wep()
2121 sizeof(priv->wep_keys)); in at76_set_wep()
2154 memcpy(priv->wep_keys[key->keyidx], key->key, key->keylen); in at76_set_key()
/Linux-v5.4/net/wireless/
Dibss.c137 params->wep_keys = connkeys->params; in __cfg80211_join_ibss()
Dsme.c1231 connect->crypto.wep_keys = connkeys->params; in cfg80211_connect()
/Linux-v5.4/drivers/net/wireless/intel/iwlegacy/
D4965-mac.c3143 u8 key_size = il->_4965.wep_keys[i].key_size; in il4965_static_wepkey_cmd()
3153 memcpy(&wep_cmd->key[i].key[3], il->_4965.wep_keys[i].key, key_size); in il4965_static_wepkey_cmd()
3187 memset(&il->_4965.wep_keys[idx], 0, sizeof(struct il_wep_key)); in il4965_remove_default_wep_key()
3218 il->_4965.wep_keys[idx].key_size = len; in il4965_set_default_wep_key()
3219 memcpy(&il->_4965.wep_keys[idx].key, &keyconf->key, len); in il4965_set_default_wep_key()
5377 memset(il->_4965.wep_keys, 0, sizeof(il->_4965.wep_keys)); in __il4965_down()
Dcommon.h1357 struct il_wep_key wep_keys[WEP_KEYS_MAX]; member
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dcore.h552 struct ieee80211_key_conf *wep_keys[WMI_MAX_KEY_INDEX + 1]; member
Dmac.c333 for (i = 0; i < ARRAY_SIZE(arvif->wep_keys); i++) { in ath10k_install_peer_wep_keys()
334 if (arvif->wep_keys[i] == NULL) in ath10k_install_peer_wep_keys()
344 ret = ath10k_install_key(arvif, arvif->wep_keys[i], in ath10k_install_peer_wep_keys()
350 ret = ath10k_install_key(arvif, arvif->wep_keys[i], in ath10k_install_peer_wep_keys()
356 ret = ath10k_install_key(arvif, arvif->wep_keys[i], in ath10k_install_peer_wep_keys()
367 peer->keys[i] = arvif->wep_keys[i]; in ath10k_install_peer_wep_keys()
6144 arvif->wep_keys[key->keyidx] = key; in ath10k_set_key()
6146 arvif->wep_keys[key->keyidx] = NULL; in ath10k_set_key()
/Linux-v5.4/include/net/
Dcfg80211.h862 struct key_params *wep_keys; member
2444 struct key_params *wep_keys; member