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
committato da nshrivas
parent 85d32ab984
commit 8db4b4ac32
12 ha cambiato i file con 502 aggiunte e 22 eliminazioni

Vedi File

@@ -471,6 +471,14 @@ spectral_control_cmn(struct wlan_objmgr_pdev *pdev,
}
break;
case SPECTRAL_SET_DMA_DEBUG:
if (sc->sptrlc_set_dma_debug)
sc->sptrlc_set_dma_debug(
pdev,
sscan_req->dma_debug_req.dma_debug_type,
sscan_req->dma_debug_req.dma_debug_enable);
break;
default:
goto bad;
break;