qcacld-3.0: Enhance logging in RX path to check refill failures

Enable logging feature which helps to check rx ring refill failure.

Currently rx ring refill count is updated same time from multiple
places without protection, so use atomic variable for refill count.

CRS-Fixed: 2740225
Change-Id: Icd88d351cb15d0f18edf0b986e4de95dbe4e6989
This commit is contained in:
Karthik Kantamneni 2020-07-20 21:37:25 +05:30 • committed by snandini
commit 4a7bc29161
6 changed files with 23 additions and 10 deletions

View file

@ -1058,7 +1058,6 @@ endif
ifneq ($(TARGET_BUILD_VARIANT),user)
CONFIG_DESC_DUP_DETECT_DEBUG := y
CONFIG_DEBUG_RX_RING_BUFFER := y
endif
ifeq (y,$(findstring y,$(CONFIG_CNSS) $(CONFIG_CNSS_MODULE)))
@ -1128,6 +1127,12 @@ ifeq ($(CONFIG_ARCH_SDM660), y)
CONFIG_WLAN_FEATURE_PKT_CAPTURE := y
endif
#Enable RX RING buffers debug
CONFIG_DEBUG_RX_RING_BUFFER := y
#Enable Hash debug
CONFIG_RX_HASH_DEBUG := y
#Enable connection manager
CONFIG_CM_ENABLE := n