qcacmn: Redefine pdev and vdev param to remove CONFIG_MCL
Convert pdev and vdev param conversion array to pointers and allocate them only if conversion is required.Use run-time NULL check of pdev and vdev param pointers for conversion and remove CONFIG_MCL compiler flag. CRs-Fixed: 2393422 Change-Id: Ica1c81f5f3c3a4b7e31dcb70c63471898c36933d
This commit is contained in:

committed by
nshrivas

parent
5d32743e83
commit
80638517c2
@@ -164,6 +164,9 @@ enum wmi_rx_exec_ctx {
|
||||
* @param osdev : NIC device
|
||||
* @param target_type : type of supported wmi command
|
||||
* @param use_cookie : flag to indicate cookie based allocation
|
||||
* @param enable_vdev_pdev_param_conversion : To enable pdev vdev parametric
|
||||
* id conversion from host type to
|
||||
* target type
|
||||
* @param ops : handle to wmi ops
|
||||
* @psoc : objmgr psoc
|
||||
* @max_commands : max commands
|
||||
@@ -173,6 +176,7 @@ struct wmi_unified_attach_params {
|
||||
enum wmi_target_type target_type;
|
||||
bool use_cookie;
|
||||
bool is_async_ep;
|
||||
bool enable_vdev_pdev_param_conversion;
|
||||
struct wmi_rx_ops *rx_ops;
|
||||
struct wlan_objmgr_psoc *psoc;
|
||||
uint16_t max_commands;
|
||||
|
Reference in New Issue
Block a user