Преглед на файлове

qcacmn: Add FIPS wmi tlv support

Add WMI TLV suport for FIPS test.

Change-Id: Ief6aca5ef52ef73701d130914942733062ae09bb
CRs-Fixed: 1107814
Nandha Kishore Easwaran преди 8 години
родител
ревизия
2ccd424c65
променени са 3 файла, в които са добавени 10 реда и са изтрити 2 реда
  1. 4 1
      wmi_unified_non_tlv.h
  2. 3 1
      wmi_unified_param.h
  3. 3 0
      wmi_unified_tlv.h

+ 4 - 1
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,

+ 3 - 1
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;
 };
 
 /**

+ 3 - 0
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);