qcacld-3.0: CL 1528698 - update fw common interface files

Propagation from qcacld-2.0 to qcacld-3.0

Add support for setting hardware mode within WMI_INIT_CMD

Change-Id: If5855fb1f1bc2a85fd27a34575a009b9f6b1e008
CRs-fixed: 865207
This commit is contained in:
Pradeep Reddy POTTETI
2016-06-20 14:16:23 +05:30
committed by Nandini Suresh
parent 67c778a99b
commit a280b5cb0b
3 changed files with 11 additions and 3 deletions

View File

@@ -1170,7 +1170,8 @@ typedef enum {
#define WMITLV_TABLE_WMI_INIT_CMDID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_init_cmd_fixed_param, wmi_init_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_resource_config, wmi_resource_config, resource_config, WMITLV_SIZE_FIX) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wlan_host_memory_chunk, host_mem_chunks, WMITLV_SIZE_VAR)
WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_ARRAY_STRUC, wlan_host_memory_chunk, host_mem_chunks, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_pdev_set_hw_mode_cmd_fixed_param, wmi_pdev_set_hw_mode_cmd_fixed_param, hw_mode, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_INIT_CMDID);

View File

@@ -2428,9 +2428,16 @@ typedef struct {
A_UINT32 num_host_mem_chunks;
/** size of array host_mem_chunks[] */
/* The TLVs for resource_config and host_mem_chunks[] will follow.
/* The TLVs for resource_config, host_mem_chunks[], and
* hw_mode_config will follow.
* wmi_resource_config resource_config;
* wlan_host_memory_chunk host_mem_chunks[];
* wmi_pdev_set_hw_mode_cmd_fixed_param hw_mode_config;
* Note that the hw_mode_config, in spite of its "pdev" name,
* applies to the entire target rather than for a single pdev
* within the target.
* To avoid specifying a HW mode for the target, the host should
* fill hw_mode_config's fields with 0x0.
*/
} wmi_init_cmd_fixed_param;

View File

@@ -36,7 +36,7 @@
#define __WMI_VER_MINOR_ 0
/** WMI revision number has to be incremented when there is a
* change that may or may not break compatibility */
#define __WMI_REVISION_ 263
#define __WMI_REVISION_ 264
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work