Home
last modified time | relevance | path

Searched refs:key_param_set (Results 1 – 4 of 4) sorted by relevance

/drivers/net/wireless/mwifiex/
Dsta_cmd.c490 struct mwifiex_ie_type_key_param_set *key_param_set, in mwifiex_set_keyparamset_wep() argument
500 key_param_set->type = in mwifiex_set_keyparamset_wep()
504 key_param_set->length = cpu_to_le16((u16) in mwifiex_set_keyparamset_wep()
508 key_param_set->key_type_id = in mwifiex_set_keyparamset_wep()
510 key_param_set->key_info = in mwifiex_set_keyparamset_wep()
513 key_param_set->key_len = in mwifiex_set_keyparamset_wep()
516 key_param_set->key[0] = i; in mwifiex_set_keyparamset_wep()
521 key_param_set->key[1] = 1; in mwifiex_set_keyparamset_wep()
523 key_param_set->key[1] = 0; in mwifiex_set_keyparamset_wep()
524 memmove(&key_param_set->key[2], in mwifiex_set_keyparamset_wep()
[all …]
Dsta_cmdresp.c583 if ((le16_to_cpu(key->key_param_set.key_info) & KEY_MCAST)) { in mwifiex_ret_802_11_key_material_v1()
590 memset(priv->aes_key.key_param_set.key, 0, in mwifiex_ret_802_11_key_material_v1()
591 sizeof(key->key_param_set.key)); in mwifiex_ret_802_11_key_material_v1()
592 priv->aes_key.key_param_set.key_len = key->key_param_set.key_len; in mwifiex_ret_802_11_key_material_v1()
593 memcpy(priv->aes_key.key_param_set.key, key->key_param_set.key, in mwifiex_ret_802_11_key_material_v1()
594 le16_to_cpu(priv->aes_key.key_param_set.key_len)); in mwifiex_ret_802_11_key_material_v1()
613 if ((le16_to_cpu(key_v2->key_param_set.key_info) & KEY_MCAST)) { in mwifiex_ret_802_11_key_material_v2()
620 if (key_v2->key_param_set.key_type != KEY_TYPE_ID_AES) in mwifiex_ret_802_11_key_material_v2()
623 memset(priv->aes_key_v2.key_param_set.key_params.aes.key, 0, in mwifiex_ret_802_11_key_material_v2()
625 priv->aes_key_v2.key_param_set.key_params.aes.key_len = in mwifiex_ret_802_11_key_material_v2()
[all …]
Dsta_ioctl.c973 memcpy(ibss_key->key_param_set.key, encrypt_key->key_material, in mwifiex_sec_ioctl_set_wpa_key()
975 memcpy(&ibss_key->key_param_set.key_len, &encrypt_key->key_len, in mwifiex_sec_ioctl_set_wpa_key()
976 sizeof(ibss_key->key_param_set.key_len)); in mwifiex_sec_ioctl_set_wpa_key()
977 ibss_key->key_param_set.key_type_id in mwifiex_sec_ioctl_set_wpa_key()
979 ibss_key->key_param_set.key_info = cpu_to_le16(KEY_ENABLED); in mwifiex_sec_ioctl_set_wpa_key()
Dfw.h800 struct mwifiex_ie_type_key_param_set_v2 key_param_set; member
805 struct mwifiex_ie_type_key_param_set key_param_set; member