/linux-5.19.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 126 wep_key = priv->wep_key[i]; in mwifiex_set_secure_params() 135 wep_key.key_length; in mwifiex_set_secure_params() 137 &wep_key.key_material, in mwifiex_set_secure_params() 138 wep_key.key_length); in mwifiex_set_secure_params() 423 struct host_cmd_tlv_wep_key *wep_key; in mwifiex_uap_bss_wep() local 433 wep_key = (struct host_cmd_tlv_wep_key *)tlv; in mwifiex_uap_bss_wep() 434 wep_key->header.type = in mwifiex_uap_bss_wep() 436 wep_key->header.len = in mwifiex_uap_bss_wep() 438 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 | 542 if ((priv->wep_key[i].key_length == WLAN_KEY_LEN_WEP40) || in mwifiex_set_keyparamset_wep() 543 (priv->wep_key[i].key_length == WLAN_KEY_LEN_WEP104)) { in mwifiex_set_keyparamset_wep() 549 (priv->wep_key[i]. in mwifiex_set_keyparamset_wep() 558 cpu_to_le16(priv->wep_key[i].key_length); in mwifiex_set_keyparamset_wep() 569 priv->wep_key[i].key_material, in mwifiex_set_keyparamset_wep() 570 priv->wep_key[i].key_length); in mwifiex_set_keyparamset_wep() 572 cur_key_param_len = priv->wep_key[i].key_length + in mwifiex_set_keyparamset_wep() 580 } else if (!priv->wep_key[i].key_length) { in mwifiex_set_keyparamset_wep() 585 (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 | 597 struct mwifiex_wep_key wep_key[NUM_WEP_KEYS]; member
|
/linux-5.19.10/drivers/net/wireless/microchip/wilc1000/ |
D | hif.c | 1080 struct wilc_wep_key *wep_key; in wilc_add_wep_key_bss_sta() local 1084 wid.size = sizeof(*wep_key) + len; in wilc_add_wep_key_bss_sta() 1085 wep_key = kzalloc(wid.size, GFP_KERNEL); in wilc_add_wep_key_bss_sta() 1086 if (!wep_key) in wilc_add_wep_key_bss_sta() 1089 wid.val = (u8 *)wep_key; in wilc_add_wep_key_bss_sta() 1091 wep_key->index = index; in wilc_add_wep_key_bss_sta() 1092 wep_key->key_len = len; in wilc_add_wep_key_bss_sta() 1093 memcpy(wep_key->key, key, len); in wilc_add_wep_key_bss_sta() 1100 kfree(wep_key); in wilc_add_wep_key_bss_sta() 1109 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
|
/linux-5.19.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 | 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-5.19.10/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-5.19.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | sta.h | 480 struct iwl_mvm_wep_key wep_key[]; member
|
/linux-5.19.10/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-5.19.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()
|