qcacld-3.0: Enable feature to dump reo queue info in DDR

Enable DUMP_REO_QUEUE_INFO_IN_DDR to send cache flush cmd
to REO using cmd: iwpriv wlan0 txrx_stats 34 0

Cache flush cmd will invalidate the h/w cache and ensure
that h/w writes to DDR.
In the cmd callback, the reo status tlvs are processed
and the vaddr of the reo queue desc is used to read the
queue information from DDR and dump it in the host driver logs.

Change-Id: I4521b777d13c490ac687f9ff673182262bc52f62
CRs-Fixed: 2899824
This commit is contained in:
Nisha Menon 2021-03-15 15:37:41 -07:00 committed by snandini
parent e730a41380
commit 4df6282e58
2 changed files with 2 additions and 0 deletions

1
Kbuild
View File

@ -3838,6 +3838,7 @@ cppflags-$(CONFIG_HIF_CPU_PERF_AFFINE_MASK) += -DHIF_CPU_PERF_AFFINE_MASK
cppflags-$(CONFIG_GENERIC_SHADOW_REGISTER_ACCESS_ENABLE) += -DGENERIC_SHADOW_REGISTER_ACCESS_ENABLE
cppflags-$(CONFIG_IPA_SET_RESET_TX_DB_PA) += -DIPA_SET_RESET_TX_DB_PA
cppflags-$(CONFIG_DEVICE_FORCE_WAKE_ENABLE) += -DDEVICE_FORCE_WAKE_ENABLE
cppflags-$(CONFIG_DUMP_REO_QUEUE_INFO_IN_DDR) += -DDUMP_REO_QUEUE_INFO_IN_DDR
ifdef CONFIG_MAX_CLIENTS_ALLOWED
ccflags-y += -DWLAN_MAX_CLIENTS_ALLOWED=$(CONFIG_MAX_CLIENTS_ALLOWED)

View File

@ -49,6 +49,7 @@ ifeq ($(CONFIG_CNSS_QCA6490), y)
CONFIG_WLAN_TWT_SAP_PDEV_COUNT := y
CONFIG_DEVICE_FORCE_WAKE_ENABLE :=y
CONFIG_HIF_REG_WINDOW_SUPPORT :=y
CONFIG_DUMP_REO_QUEUE_INFO_IN_DDR :=y
endif
ifeq ($(CONFIG_CNSS_QCA6750), y)