Searched refs:key_param_set (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
D | sta_cmd.c | 530 struct mwifiex_ie_type_key_param_set *key_param_set, in mwifiex_set_keyparamset_wep() argument 540 key_param_set->type = in mwifiex_set_keyparamset_wep() 544 key_param_set->length = cpu_to_le16((u16) in mwifiex_set_keyparamset_wep() 548 key_param_set->key_type_id = in mwifiex_set_keyparamset_wep() 550 key_param_set->key_info = in mwifiex_set_keyparamset_wep() 553 key_param_set->key_len = in mwifiex_set_keyparamset_wep() 556 key_param_set->key[0] = i; in mwifiex_set_keyparamset_wep() 561 key_param_set->key[1] = 1; in mwifiex_set_keyparamset_wep() 563 key_param_set->key[1] = 0; in mwifiex_set_keyparamset_wep() 564 memmove(&key_param_set->key[2], in mwifiex_set_keyparamset_wep() [all …]
|
D | sta_cmdresp.c | 585 len = le16_to_cpu(key->key_param_set.key_len); in mwifiex_ret_802_11_key_material_v1() 586 if (len > sizeof(key->key_param_set.key)) in mwifiex_ret_802_11_key_material_v1() 590 if ((le16_to_cpu(key->key_param_set.key_info) & KEY_MCAST)) { in mwifiex_ret_802_11_key_material_v1() 599 memset(priv->aes_key.key_param_set.key, 0, in mwifiex_ret_802_11_key_material_v1() 600 sizeof(key->key_param_set.key)); in mwifiex_ret_802_11_key_material_v1() 601 priv->aes_key.key_param_set.key_len = cpu_to_le16(len); in mwifiex_ret_802_11_key_material_v1() 602 memcpy(priv->aes_key.key_param_set.key, key->key_param_set.key, len); in mwifiex_ret_802_11_key_material_v1() 621 len = le16_to_cpu(key_v2->key_param_set.key_params.aes.key_len); in mwifiex_ret_802_11_key_material_v2() 622 if (len > sizeof(key_v2->key_param_set.key_params.aes.key)) in mwifiex_ret_802_11_key_material_v2() 626 if ((le16_to_cpu(key_v2->key_param_set.key_info) & KEY_MCAST)) { in mwifiex_ret_802_11_key_material_v2() [all …]
|
D | sta_ioctl.c | 1031 memcpy(ibss_key->key_param_set.key, encrypt_key->key_material, in mwifiex_sec_ioctl_set_wpa_key() 1033 memcpy(&ibss_key->key_param_set.key_len, &encrypt_key->key_len, in mwifiex_sec_ioctl_set_wpa_key() 1034 sizeof(ibss_key->key_param_set.key_len)); in mwifiex_sec_ioctl_set_wpa_key() 1035 ibss_key->key_param_set.key_type_id in mwifiex_sec_ioctl_set_wpa_key() 1037 ibss_key->key_param_set.key_info = cpu_to_le16(KEY_ENABLED); in mwifiex_sec_ioctl_set_wpa_key()
|
D | fw.h | 990 struct mwifiex_ie_type_key_param_set_v2 key_param_set; member 995 struct mwifiex_ie_type_key_param_set key_param_set; member
|