Kaynağa Gözat

qcacld-3.0: Add INI item for applying DP memory profile

Add new INI item for enabling/disabling DP
memory profile configuration.

Change-Id: I3aad5e3aef7081a5dc9ef68c009a0ffdd5856867
CRs-Fixed: 3502597
Karthik Kantamneni 2 yıl önce
ebeveyn
işleme
98017681fe
1 değiştirilmiş dosya ile 20 ekleme ve 0 silme
  1. 20 0
      components/dp/dispatcher/inc/wlan_dp_cfg.h

+ 20 - 0
components/dp/dispatcher/inc/wlan_dp_cfg.h

@@ -1217,6 +1217,25 @@
 	CFG_INI_BOOL("enable_direct_link_ut_cmd", false, \
 		     "enable/disable direct link unit test")
 
+/*
+ * <ini>
+ * dp_apply_mem_profile - Apply mem profile config
+ * @Min: 0
+ * @Max: 1
+ * @Default: 0
+ *
+ * This ini is used to apply DP mem profile config
+ *
+ * Supported feature: All modes
+ *
+ * Usage: Internal
+ *
+ * </ini>
+ */
+#define CFG_DP_APPLY_MEM_PROFILE \
+	CFG_INI_BOOL("dp_apply_mem_profile", false, \
+		     "enable/disable dp mem profile")
+
 /*TODO Flow control part to be moved to DP later*/
 
 #ifdef WLAN_FEATURE_DP_BUS_BANDWIDTH
@@ -1283,6 +1302,7 @@
 	CFG(CFG_DP_NUM_DP_RX_THREADS) \
 	CFG(CFG_DP_ICMP_REQ_TO_FW_MARK_INTERVAL) \
 	CFG(CFG_ENABLE_DIRECT_LINK_UT_CMD) \
+	CFG(CFG_DP_APPLY_MEM_PROFILE) \
 	CFG_DP_ENABLE_FASTPATH_ALL \
 	CFG_DP_BUS_BANDWIDTH \
 	CFG_DP_DRIVER_TCP_DELACK \