Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_cmdresp.c605 struct host_cmd_ds_802_11_key_material_v2 *key_v2; in mwifiex_ret_802_11_key_material_v2() local
608 key_v2 = &resp->params.key_material_v2; in mwifiex_ret_802_11_key_material_v2()
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()
614 if (le16_to_cpu(key_v2->action) == HostCmd_ACT_GEN_SET) { 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()
623 if (key_v2->key_param_set.key_type != KEY_TYPE_ID_AES) in mwifiex_ret_802_11_key_material_v2()
627 sizeof(key_v2->key_param_set.key_params.aes.key)); in mwifiex_ret_802_11_key_material_v2()
631 key_v2->key_param_set.key_params.aes.key, len); in mwifiex_ret_802_11_key_material_v2()