소스 검색

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 년 전
부모
커밋
0a40ba193f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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