From 2ccd424c65e0c3a993136242273363fa95631e62 Mon Sep 17 00:00:00 2001 From: Nandha Kishore Easwaran Date: Mon, 9 Jan 2017 21:33:00 +0530 Subject: [PATCH] qcacmn: Add FIPS wmi tlv support Add WMI TLV suport for FIPS test. Change-Id: Ief6aca5ef52ef73701d130914942733062ae09bb CRs-Fixed: 1107814 --- wmi_unified_non_tlv.h | 5 ++++- wmi_unified_param.h | 4 +++- wmi_unified_tlv.h | 3 +++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/wmi_unified_non_tlv.h b/wmi_unified_non_tlv.h index 6550ab3a12..71135934aa 100644 --- a/wmi_unified_non_tlv.h +++ b/wmi_unified_non_tlv.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 The Linux Foundation. All rights reserved. + * Copyright (c) 2016-2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -72,6 +72,9 @@ send_pdev_utf_cmd_non_tlv(wmi_unified_t wmi_handle, struct pdev_utf_params *param, uint8_t mac_id); +QDF_STATUS send_pdev_fips_cmd_non_tlv(wmi_unified_t wmi_handle, + struct fips_params *param); + QDF_STATUS send_pdev_param_cmd_non_tlv(wmi_unified_t wmi_handle, struct pdev_params *param, diff --git a/wmi_unified_param.h b/wmi_unified_param.h index 2c748f9871..3a5aee9d8f 100644 --- a/wmi_unified_param.h +++ b/wmi_unified_param.h @@ -4114,9 +4114,10 @@ struct proxy_ast_reserve_params { * @key: pointer to key * @key_len: length of key * @data: pointer data buf - * @data_len: lenght of sata buf + * @data_len: lenght of data buf * @mode: mode * @op: operation + * @pdev_id: pdev_id for identifying the MAC */ struct fips_params { uint8_t *key; @@ -4125,6 +4126,7 @@ struct fips_params { uint32_t data_len; uint32_t mode; uint32_t op; + uint32_t pdev_id; }; /** diff --git a/wmi_unified_tlv.h b/wmi_unified_tlv.h index 4a0e28214b..f06065f010 100644 --- a/wmi_unified_tlv.h +++ b/wmi_unified_tlv.h @@ -511,6 +511,9 @@ QDF_STATUS send_pdev_set_pcl_cmd_tlv(wmi_unified_t wmi_handle, QDF_STATUS send_pdev_set_hw_mode_cmd_tlv(wmi_unified_t wmi_handle, uint32_t hw_mode_index); +QDF_STATUS send_pdev_fips_cmd_tlv(wmi_unified_t wmi_handle, + struct fips_params *param); + QDF_STATUS send_soc_set_dual_mac_config_cmd_tlv(wmi_unified_t wmi_handle, struct wmi_dual_mac_config *msg);