Browse Source

qcacmn: Add CCE disable param in WMI resource cfg

CCE param disable is required for RAW Mode AMSDU cases,
RAW AMSDU frames causes CCE to crash, to avoid crash
disable cce component using CCE param.

Change-Id: I1b221e12ac69a873e995485c56a6ea5b310e727c
CRs-Fixed: 2132295
Ruchi, Agrawal 7 năm trước cách đây
mục cha
commit
0a40ba193f
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      wmi_unified_tlv.c

+ 2 - 0
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