Просмотр исходного кода

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 лет назад
Родитель
Сommit
d1e8e496eb
2 измененных файлов с 4 добавлено и 0 удалено
  1. 2 0
      wmi/inc/wmi_unified_param.h
  2. 2 0
      wmi/src/wmi_unified_tlv.c

+ 2 - 0
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;
 
 /**

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