/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/ |
D | sta_ioctl.c | 907 struct mwifiex_wep_key *wep_key; in mwifiex_sec_ioctl_set_wep_key() local 912 wep_key = &priv->wep_key[priv->wep_key_curr_index]; in mwifiex_sec_ioctl_set_wep_key() 918 wep_key = &priv->wep_key[index]; in mwifiex_sec_ioctl_set_wep_key() 919 if (!wep_key->key_length) { in mwifiex_sec_ioctl_set_wep_key() 927 wep_key->key_material, wep_key->key_length); in mwifiex_sec_ioctl_set_wep_key() 928 encrypt_key->key_len = wep_key->key_length; in mwifiex_sec_ioctl_set_wep_key() 934 wep_key = &priv->wep_key[index]; in mwifiex_sec_ioctl_set_wep_key() 935 memset(wep_key, 0, sizeof(struct mwifiex_wep_key)); in mwifiex_sec_ioctl_set_wep_key() 937 memcpy(wep_key->key_material, in mwifiex_sec_ioctl_set_wep_key() 940 wep_key->key_index = index; in mwifiex_sec_ioctl_set_wep_key() [all …]
|
D | uap_cmd.c | 19 struct mwifiex_wep_key wep_key; in mwifiex_set_secure_params() local 114 wep_key = priv->wep_key[i]; in mwifiex_set_secure_params() 123 wep_key.key_length; in mwifiex_set_secure_params() 125 &wep_key.key_material, in mwifiex_set_secure_params() 126 wep_key.key_length); in mwifiex_set_secure_params() 411 struct host_cmd_tlv_wep_key *wep_key; in mwifiex_uap_bss_wep() local 421 wep_key = (struct host_cmd_tlv_wep_key *)tlv; in mwifiex_uap_bss_wep() 422 wep_key->header.type = in mwifiex_uap_bss_wep() 424 wep_key->header.len = in mwifiex_uap_bss_wep() 426 wep_key->key_index = bss_cfg->wep_cfg[i].key_index; in mwifiex_uap_bss_wep() [all …]
|
D | ioctl.h | 63 struct wep_key { struct 101 struct wep_key wep_cfg[NUM_WEP_KEYS];
|
D | sta_cmd.c | 530 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()
|
D | init.c | 87 for (i = 0; i < ARRAY_SIZE(priv->wep_key); i++) in mwifiex_init_priv() 88 memset(&priv->wep_key[i], 0, sizeof(struct mwifiex_wep_key)); in mwifiex_init_priv()
|
D | cfg80211.c | 464 struct mwifiex_wep_key *wep_key; in mwifiex_cfg80211_add_key() local 472 wep_key = &priv->wep_key[key_index]; in mwifiex_cfg80211_add_key() 473 memset(wep_key, 0, sizeof(struct mwifiex_wep_key)); in mwifiex_cfg80211_add_key() 474 memcpy(wep_key->key_material, params->key, in mwifiex_cfg80211_add_key() 476 wep_key->key_index = key_index; in mwifiex_cfg80211_add_key() 477 wep_key->key_length = params->key_len; in mwifiex_cfg80211_add_key()
|
D | main.h | 586 struct mwifiex_wep_key wep_key[NUM_WEP_KEYS]; member
|
/linux-6.1.9/drivers/staging/ks7010/ |
D | ks_wlan_net.c | 39 struct wep_key { struct 774 struct wep_key key; in ks_wlan_set_encode() 810 priv->reg.wep_key[index].size = key.len; in ks_wlan_set_encode() 811 memcpy(&priv->reg.wep_key[index].val[0], &key.key[0], in ks_wlan_set_encode() 812 priv->reg.wep_key[index].size); in ks_wlan_set_encode() 818 priv->reg.wep_key[0].size = 0; in ks_wlan_set_encode() 819 priv->reg.wep_key[1].size = 0; in ks_wlan_set_encode() 820 priv->reg.wep_key[2].size = 0; in ks_wlan_set_encode() 821 priv->reg.wep_key[3].size = 0; in ks_wlan_set_encode() 831 if (priv->reg.wep_key[index].size == 0) in ks_wlan_set_encode() [all …]
|
D | ks_hostif.c | 1618 &priv->reg.wep_key[0].val[0], in hostif_sme_set_wep() 1619 priv->reg.wep_key[0].size); in hostif_sme_set_wep() 1626 &priv->reg.wep_key[1].val[0], in hostif_sme_set_wep() 1627 priv->reg.wep_key[1].size); in hostif_sme_set_wep() 1634 &priv->reg.wep_key[2].val[0], in hostif_sme_set_wep() 1635 priv->reg.wep_key[2].size); in hostif_sme_set_wep() 1642 &priv->reg.wep_key[3].val[0], in hostif_sme_set_wep() 1643 priv->reg.wep_key[3].size); in hostif_sme_set_wep()
|
D | ks_wlan.h | 45 } wep_key[4]; member
|
/linux-6.1.9/drivers/net/wireless/marvell/libertas/ |
D | cfg.c | 917 memcpy(cmd.keymaterial[i], priv->wep_key[i], in lbs_set_wep_keys() 1330 memset(priv->wep_key, 0, sizeof(priv->wep_key)); in lbs_cfg_connect() 1340 memcpy(priv->wep_key[sme->key_idx], sme->key, sme->key_len); in lbs_cfg_connect() 1487 memcmp(priv->wep_key[idx], in lbs_cfg_add_key() 1490 memcpy(priv->wep_key[idx], in lbs_cfg_add_key()
|
D | dev.h | 150 u8 wep_key[4][WLAN_KEY_LEN_WEP104]; member
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | sta.h | 480 struct iwl_mvm_wep_key wep_key[]; member
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | d3.c | 125 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()
|
/linux-6.1.9/drivers/net/wireless/intel/ipw2x00/ |
D | ipw2100.c | 5382 struct ipw2100_wep_key *wep_key = (void *)cmd.host_command_parameters; in ipw2100_set_key() local 5392 wep_key->idx = idx; in ipw2100_set_key() 5393 wep_key->len = keylen; in ipw2100_set_key() 5396 memcpy(wep_key->key, key, len); in ipw2100_set_key() 5397 memset(wep_key->key + len, 0, keylen - len); in ipw2100_set_key() 5403 priv->net_dev->name, wep_key->idx); in ipw2100_set_key() 5406 priv->net_dev->name, wep_key->idx, wep_key->len, in ipw2100_set_key() 5407 WEP_STR_64(wep_key->key)); in ipw2100_set_key() 5411 priv->net_dev->name, wep_key->idx, wep_key->len, in ipw2100_set_key() 5412 WEP_STR_128(wep_key->key)); in ipw2100_set_key()
|