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:
@@ -273,4 +273,16 @@ tgt_spectral_unregister_to_dbr(struct wlan_objmgr_pdev *pdev);
|
||||
*/
|
||||
uint32_t
|
||||
tgt_spectral_get_target_type(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* tgt_set_spectral_dma_debug() - Set DMA debug for Spectral
|
||||
* @pdev: Pointer to pdev object
|
||||
* @dma_debug_type: Type of Spectral DMA debug i.e., ring or buffer debug
|
||||
* @dma_debug_enable: Value to be set for @dma_debug_type
|
||||
*
|
||||
* Return: QDF_STATUS of operation
|
||||
*/
|
||||
QDF_STATUS tgt_set_spectral_dma_debug(struct wlan_objmgr_pdev *pdev,
|
||||
enum spectral_dma_debug dma_debug_type,
|
||||
bool dma_debug_enable);
|
||||
#endif /* _WLAN_SPECTRAL_TGT_API_H_ */
|
||||
|
Reference in New Issue
Block a user