Searched refs:key_param_set (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/ |
D | sta_cmd.c | 522 struct mwifiex_ie_type_key_param_set *key_param_set, in mwifiex_set_keyparamset_wep() argument 532 key_param_set->type = in mwifiex_set_keyparamset_wep() 536 key_param_set->length = cpu_to_le16((u16) in mwifiex_set_keyparamset_wep() 540 key_param_set->key_type_id = in mwifiex_set_keyparamset_wep() 542 key_param_set->key_info = in mwifiex_set_keyparamset_wep() 545 key_param_set->key_len = in mwifiex_set_keyparamset_wep() 548 key_param_set->key[0] = i; in mwifiex_set_keyparamset_wep() 553 key_param_set->key[1] = 1; in mwifiex_set_keyparamset_wep() 555 key_param_set->key[1] = 0; in mwifiex_set_keyparamset_wep() 556 memmove(&key_param_set->key[2], in mwifiex_set_keyparamset_wep() [all …]
|
D | sta_cmdresp.c | 574 len = le16_to_cpu(key->key_param_set.key_len); in mwifiex_ret_802_11_key_material_v1() 575 if (len > sizeof(key->key_param_set.key)) in mwifiex_ret_802_11_key_material_v1() 579 if ((le16_to_cpu(key->key_param_set.key_info) & KEY_MCAST)) { in mwifiex_ret_802_11_key_material_v1() 588 memset(priv->aes_key.key_param_set.key, 0, in mwifiex_ret_802_11_key_material_v1() 589 sizeof(key->key_param_set.key)); in mwifiex_ret_802_11_key_material_v1() 590 priv->aes_key.key_param_set.key_len = cpu_to_le16(len); in mwifiex_ret_802_11_key_material_v1() 591 memcpy(priv->aes_key.key_param_set.key, key->key_param_set.key, len); in mwifiex_ret_802_11_key_material_v1() 610 len = le16_to_cpu(key_v2->key_param_set.key_params.aes.key_len); in mwifiex_ret_802_11_key_material_v2() 611 if (len > sizeof(key_v2->key_param_set.key_params.aes.key)) in mwifiex_ret_802_11_key_material_v2() 615 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 | 1019 memcpy(ibss_key->key_param_set.key, encrypt_key->key_material, in mwifiex_sec_ioctl_set_wpa_key() 1021 memcpy(&ibss_key->key_param_set.key_len, &encrypt_key->key_len, in mwifiex_sec_ioctl_set_wpa_key() 1022 sizeof(ibss_key->key_param_set.key_len)); in mwifiex_sec_ioctl_set_wpa_key() 1023 ibss_key->key_param_set.key_type_id in mwifiex_sec_ioctl_set_wpa_key() 1025 ibss_key->key_param_set.key_info = cpu_to_le16(KEY_ENABLED); in mwifiex_sec_ioctl_set_wpa_key()
|
D | fw.h | 978 struct mwifiex_ie_type_key_param_set_v2 key_param_set; member 983 struct mwifiex_ie_type_key_param_set key_param_set; member 988 struct mwifiex_ie_type_key_param_set key_param_set[NUM_WEP_KEYS]; member
|