Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_ioctl.c904 struct mwifiex_wep_key *wep_key; in mwifiex_sec_ioctl_set_wep_key() local
909 wep_key = &priv->wep_key[priv->wep_key_curr_index]; in mwifiex_sec_ioctl_set_wep_key()
915 wep_key = &priv->wep_key[index]; in mwifiex_sec_ioctl_set_wep_key()
916 if (!wep_key->key_length) { in mwifiex_sec_ioctl_set_wep_key()
924 wep_key->key_material, wep_key->key_length); in mwifiex_sec_ioctl_set_wep_key()
925 encrypt_key->key_len = wep_key->key_length; in mwifiex_sec_ioctl_set_wep_key()
931 wep_key = &priv->wep_key[index]; in mwifiex_sec_ioctl_set_wep_key()
932 memset(wep_key, 0, sizeof(struct mwifiex_wep_key)); in mwifiex_sec_ioctl_set_wep_key()
934 memcpy(wep_key->key_material, in mwifiex_sec_ioctl_set_wep_key()
937 wep_key->key_index = index; in mwifiex_sec_ioctl_set_wep_key()
[all …]
H A Duap_cmd.c19 struct mwifiex_wep_key wep_key; in mwifiex_set_secure_params() local
109 wep_key = priv->wep_key[i]; in mwifiex_set_secure_params()
118 wep_key.key_length; in mwifiex_set_secure_params()
120 &wep_key.key_material, in mwifiex_set_secure_params()
121 wep_key.key_length); in mwifiex_set_secure_params()
406 struct host_cmd_tlv_wep_key *wep_key; in mwifiex_uap_bss_wep() local
416 wep_key = (struct host_cmd_tlv_wep_key *)tlv; in mwifiex_uap_bss_wep()
417 wep_key->header.type = in mwifiex_uap_bss_wep()
419 wep_key->header.len = in mwifiex_uap_bss_wep()
421 wep_key->key_index = bss_cfg->wep_cfg[i].key_index; in mwifiex_uap_bss_wep()
[all …]
H A Dioctl.h63 struct wep_key { struct
101 struct wep_key wep_cfg[NUM_WEP_KEYS];
H A Dsta_cmd.c530 if ((priv->wep_key[i].key_length == WLAN_KEY_LEN_WEP40) || in mwifiex_set_keyparamset_wep()
531 (priv->wep_key[i].key_length == WLAN_KEY_LEN_WEP104)) { in mwifiex_set_keyparamset_wep()
537 (priv->wep_key[i]. in mwifiex_set_keyparamset_wep()
546 cpu_to_le16(priv->wep_key[i].key_length); in mwifiex_set_keyparamset_wep()
557 priv->wep_key[i].key_material, in mwifiex_set_keyparamset_wep()
558 priv->wep_key[i].key_length); in mwifiex_set_keyparamset_wep()
560 cur_key_param_len = priv->wep_key[i].key_length + in mwifiex_set_keyparamset_wep()
568 } else if (!priv->wep_key[i].key_length) { in mwifiex_set_keyparamset_wep()
573 (i + 1), priv->wep_key[i].key_length); in mwifiex_set_keyparamset_wep()
H A Dinit.c90 for (i = 0; i < ARRAY_SIZE(priv->wep_key); i++) in mwifiex_init_priv()
91 memset(&priv->wep_key[i], 0, sizeof(struct mwifiex_wep_key)); in mwifiex_init_priv()
H A Dcfg80211.c486 struct mwifiex_wep_key *wep_key; in mwifiex_cfg80211_add_key() local
494 wep_key = &priv->wep_key[key_index]; in mwifiex_cfg80211_add_key()
495 memset(wep_key, 0, sizeof(struct mwifiex_wep_key)); in mwifiex_cfg80211_add_key()
496 memcpy(wep_key->key_material, params->key, in mwifiex_cfg80211_add_key()
498 wep_key->key_index = key_index; in mwifiex_cfg80211_add_key()
499 wep_key->key_length = params->key_len; in mwifiex_cfg80211_add_key()
H A Dmain.h578 struct mwifiex_wep_key wep_key[NUM_WEP_KEYS]; member
/linux/drivers/net/wireless/marvell/libertas/
H A Ddev.h150 u8 wep_key[4][WLAN_KEY_LEN_WEP104]; member
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dsta.h482 struct iwl_mvm_wep_key wep_key[]; member
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dd3.c125 struct iwl_mvm_wep_key wep_key; in iwl_mvm_wowlan_program_keys() member
133 .wep_key.key_index = key->keyidx, in iwl_mvm_wowlan_program_keys()
134 .wep_key.key_size = key->keylen, in iwl_mvm_wowlan_program_keys()
145 memcpy(&wkc.wep_key.key[3], key->key, key->keylen); in iwl_mvm_wowlan_program_keys()
148 wkc.wep_key.key_offset = 0; in iwl_mvm_wowlan_program_keys()
152 wkc.wep_key.key_offset = data->wep_key_idx; in iwl_mvm_wowlan_program_keys()