diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index 4744115e18d1..b1b40b60b26b 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -6033,6 +6033,7 @@ struct wmi_host_fw_abi_ver { * @max_bssid_rx_filters: * @use_pdev_id: * @max_num_dbs_scan_duty_cycle: max dbs can duty cycle value + * @cce_disable: disable cce component */ typedef struct { uint32_t num_vdevs; @@ -6101,6 +6102,7 @@ typedef struct { uint32_t max_bssid_rx_filters; uint32_t use_pdev_id; uint32_t max_num_dbs_scan_duty_cycle; + bool cce_disable; } target_resource_config; /** diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index a4c728b2df9c..07a94e1b9d1f 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -12728,6 +12728,8 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg, if (tgt_res_cfg->tx_msdu_new_partition_id_support) WMI_RSRC_CFG_FLAG_TX_MSDU_ID_NEW_PARTITION_SUPPORT_SET( resource_cfg->flag1, 1); + if (tgt_res_cfg->cce_disable) + WMI_RSRC_CFG_FLAG_TCL_CCE_DISABLE_SET(resource_cfg->flag1, 1); } /* copy_hw_mode_id_in_init_cmd() - Helper routine to copy hw_mode in init cmd