Browse Source

qcacld-3.0: enable TX completion ring desc sanity check

set CONFIG_DP_TX_COMP_RING_DESC_SANITY_CHECK for Def build to
enable TX completion ring desc sanity check.

Change-Id: Ia9cd28f6bcce234d0e7bf7f621cc33208479e899
CRs-Fixed: 3349744
Jinwei Chen 2 years ago
parent
commit
ad9fd42f9f
2 changed files with 2 additions and 0 deletions
  1. 1 0
      Kbuild
  2. 1 0
      configs/default_defconfig

+ 1 - 0
Kbuild

@@ -4035,6 +4035,7 @@ cppflags-$(CONFIG_DP_HW_COOKIE_CONVERT_EXCEPTION) += -DDP_HW_COOKIE_CONVERT_EXCE
 cppflags-$(CONFIG_TX_ADDR_INDEX_SEARCH) += -DTX_ADDR_INDEX_SEARCH
 cppflags-$(CONFIG_QCA_SUPPORT_TX_MIN_RATES_FOR_SPECIAL_FRAMES) += -DQCA_SUPPORT_TX_MIN_RATES_FOR_SPECIAL_FRAMES
 cppflags-$(CONFIG_QCA_GET_TSF_VIA_REG) += -DQCA_GET_TSF_VIA_REG
+cppflags-$(CONFIG_DP_TX_COMP_RING_DESC_SANITY_CHECK) += -DDP_TX_COMP_RING_DESC_SANITY_CHECK
 
 cppflags-$(CONFIG_RX_HASH_DEBUG) += -DRX_HASH_DEBUG
 cppflags-$(CONFIG_DP_PKT_STATS_PER_LMAC) += -DDP_PKT_STATS_PER_LMAC

+ 1 - 0
configs/default_defconfig

@@ -1332,6 +1332,7 @@ ifeq ($(CONFIG_BERYLLIUM), y)
 		CONFIG_RX_DESC_DEBUG_CHECK:= y
 		CONFIG_ALLOW_PKT_DROPPING := y
 		CONFIG_WLAN_FEATURE_DP_MON_STATUS_RING_HISTORY := y
+		CONFIG_DP_TX_COMP_RING_DESC_SANITY_CHECK := y
 	endif
 endif