/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
D | sta_ioctl.c | 919 struct mwifiex_wep_key *wep_key; in mwifiex_sec_ioctl_set_wep_key() local 924 wep_key = &priv->wep_key[priv->wep_key_curr_index]; in mwifiex_sec_ioctl_set_wep_key() 930 wep_key = &priv->wep_key[index]; in mwifiex_sec_ioctl_set_wep_key() 931 if (!wep_key->key_length) { in mwifiex_sec_ioctl_set_wep_key() 939 wep_key->key_material, wep_key->key_length); in mwifiex_sec_ioctl_set_wep_key() 940 encrypt_key->key_len = wep_key->key_length; in mwifiex_sec_ioctl_set_wep_key() 946 wep_key = &priv->wep_key[index]; in mwifiex_sec_ioctl_set_wep_key() 947 memset(wep_key, 0, sizeof(struct mwifiex_wep_key)); in mwifiex_sec_ioctl_set_wep_key() 949 memcpy(wep_key->key_material, in mwifiex_sec_ioctl_set_wep_key() 952 wep_key->key_index = index; in mwifiex_sec_ioctl_set_wep_key() [all …]
|
D | uap_cmd.c | 31 struct mwifiex_wep_key wep_key; in mwifiex_set_secure_params() local 125 wep_key = priv->wep_key[i]; in mwifiex_set_secure_params() 134 wep_key.key_length; in mwifiex_set_secure_params() 136 &wep_key.key_material, in mwifiex_set_secure_params() 137 wep_key.key_length); in mwifiex_set_secure_params() 422 struct host_cmd_tlv_wep_key *wep_key; in mwifiex_uap_bss_wep() local 432 wep_key = (struct host_cmd_tlv_wep_key *)tlv; in mwifiex_uap_bss_wep() 433 wep_key->header.type = in mwifiex_uap_bss_wep() 435 wep_key->header.len = in mwifiex_uap_bss_wep() 437 wep_key->key_index = bss_cfg->wep_cfg[i].key_index; in mwifiex_uap_bss_wep() [all …]
|
D | ioctl.h | 75 struct wep_key { struct 113 struct wep_key wep_cfg[NUM_WEP_KEYS];
|
D | sta_cmd.c | 538 if ((priv->wep_key[i].key_length == WLAN_KEY_LEN_WEP40) || in mwifiex_set_keyparamset_wep() 539 (priv->wep_key[i].key_length == WLAN_KEY_LEN_WEP104)) { in mwifiex_set_keyparamset_wep() 545 (priv->wep_key[i]. in mwifiex_set_keyparamset_wep() 554 cpu_to_le16(priv->wep_key[i].key_length); in mwifiex_set_keyparamset_wep() 565 priv->wep_key[i].key_material, in mwifiex_set_keyparamset_wep() 566 priv->wep_key[i].key_length); in mwifiex_set_keyparamset_wep() 568 cur_key_param_len = priv->wep_key[i].key_length + in mwifiex_set_keyparamset_wep() 576 } else if (!priv->wep_key[i].key_length) { in mwifiex_set_keyparamset_wep() 581 (i + 1), priv->wep_key[i].key_length); in mwifiex_set_keyparamset_wep()
|
D | init.c | 98 for (i = 0; i < ARRAY_SIZE(priv->wep_key); i++) in mwifiex_init_priv() 99 memset(&priv->wep_key[i], 0, sizeof(struct mwifiex_wep_key)); in mwifiex_init_priv()
|
D | cfg80211.c | 475 struct mwifiex_wep_key *wep_key; in mwifiex_cfg80211_add_key() local 483 wep_key = &priv->wep_key[key_index]; in mwifiex_cfg80211_add_key() 484 memset(wep_key, 0, sizeof(struct mwifiex_wep_key)); in mwifiex_cfg80211_add_key() 485 memcpy(wep_key->key_material, params->key, in mwifiex_cfg80211_add_key() 487 wep_key->key_index = key_index; in mwifiex_cfg80211_add_key() 488 wep_key->key_length = params->key_len; in mwifiex_cfg80211_add_key()
|
D | main.h | 596 struct mwifiex_wep_key wep_key[NUM_WEP_KEYS]; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/ |
D | hif.c | 1067 struct wilc_wep_key *wep_key; in wilc_add_wep_key_bss_sta() local 1071 wid.size = sizeof(*wep_key) + len; in wilc_add_wep_key_bss_sta() 1072 wep_key = kzalloc(wid.size, GFP_KERNEL); in wilc_add_wep_key_bss_sta() 1073 if (!wep_key) in wilc_add_wep_key_bss_sta() 1076 wid.val = (u8 *)wep_key; in wilc_add_wep_key_bss_sta() 1078 wep_key->index = index; in wilc_add_wep_key_bss_sta() 1079 wep_key->key_len = len; in wilc_add_wep_key_bss_sta() 1080 memcpy(wep_key->key, key, len); in wilc_add_wep_key_bss_sta() 1087 kfree(wep_key); in wilc_add_wep_key_bss_sta() 1096 struct wilc_wep_key *wep_key; in wilc_add_wep_key_bss_ap() local [all …]
|
D | cfg80211.c | 316 memset(priv->wep_key, 0, sizeof(priv->wep_key)); in connect() 325 memcpy(priv->wep_key[sme->key_idx], sme->key, in connect() 335 memcpy(priv->wep_key[sme->key_idx], sme->key, in connect() 495 memcpy(priv->wep_key[key_index], params->key, params->key_len); in wilc_wfi_cfg_copy_wep_info() 571 if (memcmp(params->key, priv->wep_key[key_index], in add_key() 680 memset(priv->wep_key[key_index], 0, in del_key()
|
D | netdev.h | 135 u8 wep_key[4][WLAN_KEY_LEN_WEP104]; member
|
/kernel/linux/linux-5.10/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 | 1626 &priv->reg.wep_key[0].val[0], in hostif_sme_set_wep() 1627 priv->reg.wep_key[0].size); in hostif_sme_set_wep() 1634 &priv->reg.wep_key[1].val[0], in hostif_sme_set_wep() 1635 priv->reg.wep_key[1].size); in hostif_sme_set_wep() 1642 &priv->reg.wep_key[2].val[0], in hostif_sme_set_wep() 1643 priv->reg.wep_key[2].size); in hostif_sme_set_wep() 1650 &priv->reg.wep_key[3].val[0], in hostif_sme_set_wep() 1651 priv->reg.wep_key[3].size); in hostif_sme_set_wep()
|
D | ks_wlan.h | 45 } wep_key[4]; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/ |
D | cfg.c | 917 memcpy(cmd.keymaterial[i], priv->wep_key[i], in lbs_set_wep_keys() 1332 memset(priv->wep_key, 0, sizeof(priv->wep_key)); in lbs_cfg_connect() 1342 memcpy(priv->wep_key[sme->key_idx], sme->key, sme->key_len); in lbs_cfg_connect() 1489 memcmp(priv->wep_key[idx], in lbs_cfg_add_key() 1492 memcpy(priv->wep_key[idx], in lbs_cfg_add_key()
|
D | dev.h | 150 u8 wep_key[4][WLAN_KEY_LEN_WEP104]; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | sta.h | 529 struct iwl_mvm_wep_key wep_key[0]; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | d3.c | 191 struct iwl_mvm_wep_key wep_key; in iwl_mvm_wowlan_program_keys() member 199 .wep_key.key_index = key->keyidx, in iwl_mvm_wowlan_program_keys() 200 .wep_key.key_size = key->keylen, in iwl_mvm_wowlan_program_keys() 211 memcpy(&wkc.wep_key.key[3], key->key, key->keylen); in iwl_mvm_wowlan_program_keys() 214 wkc.wep_key.key_offset = 0; in iwl_mvm_wowlan_program_keys() 218 wkc.wep_key.key_offset = data->wep_key_idx; in iwl_mvm_wowlan_program_keys()
|
/kernel/linux/linux-5.10/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()
|