|
@@ -1923,6 +1923,32 @@ cppflags-$(CONFIG_ENABLE_SMMU_S1_TRANSLATION) += -DENABLE_SMMU_S1_TRANSLATION
|
|
|
#Flag to enable NUD tracking
|
|
|
cppflags-$(CONFIG_WLAN_NUD_TRACKING) += -DWLAN_NUD_TRACKING
|
|
|
|
|
|
+# configure log buffer size
|
|
|
+ifdef CONFIG_CFG_NUM_DP_TRACE_RECORD
|
|
|
+ccflags-y += -DMAX_QDF_DP_TRACE_RECORDS=$(CONFIG_CFG_NUM_DP_TRACE_RECORD)
|
|
|
+endif
|
|
|
+
|
|
|
+ifdef CONFIG_CFG_NUM_HTC_CREDIT_HISTORY
|
|
|
+ccflags-y += -DHTC_CREDIT_HISTORY_MAX=$(CONFIG_CFG_NUM_HTC_CREDIT_HISTORY)
|
|
|
+endif
|
|
|
+
|
|
|
+ifdef CONFIG_CFG_NUM_WMI_EVENT_HISTORY
|
|
|
+ccflags-y += -DWMI_EVENT_DEBUG_MAX_ENTRY=$(CONFIG_CFG_NUM_WMI_EVENT_HISTORY)
|
|
|
+endif
|
|
|
+
|
|
|
+ifdef CONFIG_CFG_NUM_WMI_MGMT_EVENT_HISTORY
|
|
|
+ccflags-y += -DWMI_MGMT_EVENT_DEBUG_MAX_ENTRY=$(CONFIG_CFG_NUM_WMI_MGMT_EVENT_HISTORY)
|
|
|
+endif
|
|
|
+
|
|
|
+ifdef CONFIG_CFG_NUM_TX_RX_HISTOGRAM
|
|
|
+ccflags-y += -DNUM_TX_RX_HISTOGRAM=$(CONFIG_CFG_NUM_TX_RX_HISTOGRAM)
|
|
|
+endif
|
|
|
+
|
|
|
+ifdef CONFIG_CFG_NUM_RX_IND_RECORD
|
|
|
+ccflags-y += -DOL_RX_INDICATION_MAX_RECORDS=$(CONFIG_CFG_NUM_RX_IND_RECORD)
|
|
|
+endif
|
|
|
+
|
|
|
+
|
|
|
KBUILD_CPPFLAGS += $(cppflags-y)
|
|
|
|
|
|
# Currently, for versions of gcc which support it, the kernel Makefile
|