Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/wlan-ng/
H A Dp80211wep.c60 memcpy(wlandev->wep_keys[keynum], key, keylen); in wep_change_key()
98 memcpy(key + 3, wlandev->wep_keys[keyidx], keylen); in wep_decrypt()
169 memcpy(key + 3, wlandev->wep_keys[keynum], keylen); in wep_encrypt()
H A Dp80211netdev.h174 u8 wep_keys[NUM_WEPKEYS][MAX_KEYLEN]; member
H A Dcfg80211.c196 params.key = wlandev->wep_keys[key_index]; in prism2_get_key()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dsta.c956 if (ctx->wep_keys[i].key_size) { in iwl_send_static_wepkey_cmd()
963 wep_cmd->key[i].key_size = ctx->wep_keys[i].key_size; in iwl_send_static_wepkey_cmd()
964 memcpy(&wep_cmd->key[i].key[3], ctx->wep_keys[i].key, in iwl_send_static_wepkey_cmd()
965 ctx->wep_keys[i].key_size); in iwl_send_static_wepkey_cmd()
1000 memset(&ctx->wep_keys[keyconf->keyidx], 0, sizeof(ctx->wep_keys[0])); in iwl_remove_default_wep_key()
1031 ctx->wep_keys[keyconf->keyidx].key_size = keyconf->keylen; in iwl_set_default_wep_key()
1032 memcpy(&ctx->wep_keys[keyconf->keyidx].key, &keyconf->key, in iwl_set_default_wep_key()
H A Ddev.h500 struct iwl_wep_key wep_keys[WEP_KEYS_MAX]; member
H A Dmain.c888 memset(ctx->wep_keys, 0, sizeof(ctx->wep_keys)); in iwl_clear_driver_stations()
/openbmc/linux/drivers/net/wireless/atmel/
H A Datmel.c469 u8 wep_keys[MAX_ENCRYPTION_KEYS][MAX_ENCRYPTION_KEY_SIZE]; member
1563 memset(priv->wep_keys, 0, sizeof(priv->wep_keys)); in init_atmel_card()
1746 memset(priv->wep_keys[index], 0, 13); in atmel_set_encode()
1748 memcpy(priv->wep_keys[index], extra, dwrq->length); in atmel_set_encode()
1825 memcpy(extra, priv->wep_keys[index], dwrq->length); in atmel_get_encode()
1879 memset(priv->wep_keys[idx], 0, 13); in atmel_set_encodeext()
1881 memcpy(priv->wep_keys[idx], ext->key, key_len); in atmel_set_encodeext()
1927 memcpy(ext->key, priv->wep_keys[idx], ext->key_len); in atmel_get_encodeext()
3755 u8 wep_keys[MAX_ENCRYPTION_KEYS][13]; in build_wep_mib() member
3775 memcpy(mib.wep_keys[i], priv->wep_keys[i], 13); in build_wep_mib()
[all …]
H A Dat76c50x-usb.h395 u8 wep_keys[WEP_KEYS][WEP_LARGE_KEY_LEN]; /* WEP keys */ member
H A Dat76c50x-usb.c1407 memcpy(ccfg->wep_default_key_value, priv->wep_keys, in at76_startup_device()
1408 sizeof(priv->wep_keys)); in at76_startup_device()
2119 memcpy(mib_data->wep_default_keyvalue, priv->wep_keys, in at76_set_wep()
2120 sizeof(priv->wep_keys)); in at76_set_wep()
2153 memcpy(priv->wep_keys[key->keyidx], key->key, key->keylen); in at76_set_key()
/openbmc/linux/net/wireless/
H A Dibss.c135 params->wep_keys = connkeys->params; in __cfg80211_join_ibss()
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/
H A D4965-mac.c3140 u8 key_size = il->_4965.wep_keys[i].key_size; in il4965_static_wepkey_cmd()
3150 memcpy(&wep_cmd->key[i].key[3], il->_4965.wep_keys[i].key, key_size); in il4965_static_wepkey_cmd()
3184 memset(&il->_4965.wep_keys[idx], 0, sizeof(struct il_wep_key)); in il4965_remove_default_wep_key()
3215 il->_4965.wep_keys[idx].key_size = len; in il4965_set_default_wep_key()
3216 memcpy(&il->_4965.wep_keys[idx].key, &keyconf->key, len); in il4965_set_default_wep_key()
5372 memset(il->_4965.wep_keys, 0, sizeof(il->_4965.wep_keys)); in __il4965_down()
H A Dcommon.h1366 struct il_wep_key wep_keys[WEP_KEYS_MAX]; member
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dcore.h597 struct ieee80211_key_conf *wep_keys[WMI_MAX_KEY_INDEX + 1]; member
H A Dmac.c347 for (i = 0; i < ARRAY_SIZE(arvif->wep_keys); i++) { in ath10k_install_peer_wep_keys()
348 if (arvif->wep_keys[i] == NULL) in ath10k_install_peer_wep_keys()
358 ret = ath10k_install_key(arvif, arvif->wep_keys[i], in ath10k_install_peer_wep_keys()
364 ret = ath10k_install_key(arvif, arvif->wep_keys[i], in ath10k_install_peer_wep_keys()
370 ret = ath10k_install_key(arvif, arvif->wep_keys[i], in ath10k_install_peer_wep_keys()
381 peer->keys[i] = arvif->wep_keys[i]; in ath10k_install_peer_wep_keys()
6570 arvif->wep_keys[key->keyidx] = key; in ath10k_set_key()
6572 arvif->wep_keys[key->keyidx] = NULL; in ath10k_set_key()
/openbmc/linux/include/net/
H A Dcfg80211.h3082 struct key_params *wep_keys; member