qcacmn: Add FIPS wmi tlv support

Add WMI TLV suport for FIPS test.

Change-Id: Ief6aca5ef52ef73701d130914942733062ae09bb
CRs-Fixed: 1107814
This commit is contained in:
Nandha Kishore Easwaran
2017-01-09 21:33:00 +05:30
committed by qcabuildsw
parent c5c132164e
commit 2ccd424c65
3 changed files with 10 additions and 2 deletions

View File

@@ -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. * 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, struct pdev_utf_params *param,
uint8_t mac_id); uint8_t mac_id);
QDF_STATUS send_pdev_fips_cmd_non_tlv(wmi_unified_t wmi_handle,
struct fips_params *param);
QDF_STATUS QDF_STATUS
send_pdev_param_cmd_non_tlv(wmi_unified_t wmi_handle, send_pdev_param_cmd_non_tlv(wmi_unified_t wmi_handle,
struct pdev_params *param, struct pdev_params *param,

View File

@@ -4114,9 +4114,10 @@ struct proxy_ast_reserve_params {
* @key: pointer to key * @key: pointer to key
* @key_len: length of key * @key_len: length of key
* @data: pointer data buf * @data: pointer data buf
* @data_len: lenght of sata buf * @data_len: lenght of data buf
* @mode: mode * @mode: mode
* @op: operation * @op: operation
* @pdev_id: pdev_id for identifying the MAC
*/ */
struct fips_params { struct fips_params {
uint8_t *key; uint8_t *key;
@@ -4125,6 +4126,7 @@ struct fips_params {
uint32_t data_len; uint32_t data_len;
uint32_t mode; uint32_t mode;
uint32_t op; uint32_t op;
uint32_t pdev_id;
}; };
/** /**

View File

@@ -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, QDF_STATUS send_pdev_set_hw_mode_cmd_tlv(wmi_unified_t wmi_handle,
uint32_t hw_mode_index); 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, QDF_STATUS send_soc_set_dual_mac_config_cmd_tlv(wmi_unified_t wmi_handle,
struct wmi_dual_mac_config *msg); struct wmi_dual_mac_config *msg);