qcacmn: Control path support for Spectral DMA debug

All gen III chipsets use Direct-DMA mechanism to copy Spectral reports to
the Host for further processing. This mechanism involves ring and buffer
management in the Host, FW, and uCode, where improper/incomplete DMA and
improper tail update issues are seen. DBR framework provides support to
debug such issues. Add Spectral control path support to facilitate the
configuration of these debug options.

CRs-Fixed: 2478596 2478595
Change-Id: I094616c4137145389b6984ccab933e5ebd0aa1ab
This commit is contained in:
Shwetha G K
2019-10-24 11:58:01 +05:30
committed by nshrivas
parent 85d32ab984
commit 8db4b4ac32
12 changed files with 502 additions and 22 deletions

View File

@@ -51,6 +51,7 @@
#define SPECTRAL_SET_ICM_ACTIVE (DFS_LAST_IOCTL + 21)
#define SPECTRAL_GET_NOMINAL_NOISEFLOOR (DFS_LAST_IOCTL + 22)
#define SPECTRAL_GET_DEBUG_LEVEL (DFS_LAST_IOCTL + 23)
#define SPECTRAL_SET_DMA_DEBUG (DFS_LAST_IOCTL + 24)
/*
* ioctl parameter types