qcacld-3.0: Enable Monitor status buffer tracking history

Enable monitor status buffer tracking history.
Also enable the allocation of memory for the monitor
status buffer tracking history via prealloc.

Change-Id: Iafec8e68c85b3f2d9b0bf0523a19b7a32869e20a
CRs-Fixed: 3229689
此提交包含在:
Rakesh Pillai
2022-06-24 08:45:10 -07:00
提交者 Madan Koyyalamudi
父節點 8b1c2c39f5
當前提交 b87648dd65
共有 3 個檔案被更改,包括 6 行新增0 行删除

1
Kbuild
查看文件

@@ -4069,6 +4069,7 @@ cppflags-$(CONFIG_CONNECTION_ROAMING_CFG) += -DCONNECTION_ROAMING_CFG
cppflags-$(CONFIG_WLAN_FEATURE_NEAR_FULL_IRQ) += -DWLAN_FEATURE_NEAR_FULL_IRQ
cppflags-$(CONFIG_WLAN_FEATURE_DP_EVENT_HISTORY) += -DWLAN_FEATURE_DP_EVENT_HISTORY
cppflags-$(CONFIG_WLAN_FEATURE_DP_RX_RING_HISTORY) += -DWLAN_FEATURE_DP_RX_RING_HISTORY
cppflags-$(CONFIG_WLAN_FEATURE_DP_MON_STATUS_RING_HISTORY) += -DWLAN_FEATURE_DP_MON_STATUS_RING_HISTORY
cppflags-$(CONFIG_WLAN_FEATURE_DP_TX_DESC_HISTORY) += -DWLAN_FEATURE_DP_TX_DESC_HISTORY
cppflags-$(CONFIG_REO_QDESC_HISTORY) += -DREO_QDESC_HISTORY
cppflags-$(CONFIG_DP_TX_HW_DESC_HISTORY) += -DDP_TX_HW_DESC_HISTORY

查看文件

@@ -1298,6 +1298,7 @@ ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
CONFIG_DP_TX_HW_DESC_HISTORY := y
CONFIG_QDF_NBUF_HISTORY_SIZE := 8192
CONFIG_DP_RX_REFILL_CPU_PERF_AFFINE_MASK := y
CONFIG_WLAN_FEATURE_DP_MON_STATUS_RING_HISTORY := y
endif
CONFIG_DP_HW_TX_DELAY_STATS_ENABLE := y
CONFIG_WLAN_FEATURE_DP_EVENT_HISTORY := y

查看文件

@@ -338,6 +338,10 @@ static struct dp_prealloc_context g_dp_context_allocs[] = {
{DP_FISA_RX_FT_TYPE, sizeof(struct dp_fisa_rx_sw_ft) * FISA_RX_FT_SIZE,
false, true, NULL},
#endif
#ifdef WLAN_FEATURE_DP_MON_STATUS_RING_HISTORY
{DP_MON_STATUS_BUF_HIST_TYPE, sizeof(struct dp_mon_status_ring_history),
false, false, NULL},
#endif
};
static struct dp_consistent_prealloc g_dp_consistent_allocs[] = {