qcacmn: Use arrays for param conversion from host to target type

Convert host param id to target param id using arrays
instead of switch case. This enables removal of CONFIG_MCL
compile time macro and use specific macro
ENABLE_HOST_TO_TARGET_CONVERSION for conversions

Change-Id: I223141d47e92521e6600fc0e160ab2deef43d7d2
CRs-Fixed: 2418030
这个提交包含在:
Surya Prakash
2019-04-29 10:13:44 +05:30
提交者 nshrivas
父节点 261451a46c
当前提交 4e517d7795
修改 5 个文件,包含 509 行新增695 行删除

查看文件

@@ -2053,8 +2053,6 @@ struct wmi_soc {
/* WMI service bitmap received from target */
uint32_t *wmi_service_bitmap;
uint32_t *wmi_ext_service_bitmap;
uint32_t *pdev_param;
uint32_t *vdev_param;
uint32_t services[wmi_services_max];
uint16_t wmi_max_cmds;
uint32_t soc_idx;