qcacld-3.0: Enable compile time flag WLAN_OBJMGR_REF_ID_DEBUG

Ref id debug support adds an array of atomic_t to peer object
which significantly increases peer object size. Move this debug
support under the compile time flag WLAN_OBJMGR_REF_ID_DEBUG to
save memory.

Enable the compile time flag WLAN_OBJMGR_REF_ID_DEBUG for mcl.

Change-Id: Ie618bd049270d23def6ca37542f1e2948b6d32b5
CRs-Fixed: 2297976
This commit is contained in:
Pragaspathi Thilagaraj 2018-08-15 21:53:49 +05:30 • committed by nshrivas
commit ab5cc6ec92

1
Kbuild
View file

@ -1866,6 +1866,7 @@ cppflags-$(CONFIG_WLAN_POWER_DEBUGFS) += -DWLAN_POWER_DEBUGFS
# Enable object manager reference count debug infrastructure
cppflags-$(CONFIG_WLAN_OBJMGR_DEBUG) += -DWLAN_OBJMGR_DEBUG
cppflags-$(CONFIG_WLAN_OBJMGR_DEBUG) += -DWLAN_OBJMGR_REF_ID_DEBUG
cppflags-$(CONFIG_WLAN_FEATURE_SAE) += -DWLAN_FEATURE_SAE