qcacmn: Enable spectral registration to direct dma

Enable registration of spectral feature to direct dma

CRs-Fixed: 2219121
Change-Id: I483e87b9a6c7dcd297bc8b88d24c49e8d80ed547
This commit is contained in:
Edayilliam Jayadev
2018-03-29 17:24:02 +05:30
committed by nshrivas
parent 24a08f2ad9
commit 01b4921127
11 changed files with 196 additions and 25 deletions

View File

@@ -23,6 +23,9 @@
#include <wlan_objmgr_cmn.h>
#include <wlan_lmac_if_def.h>
/* Forward declaration */
struct direct_buf_rx_data;
/**
* wlan_spectral_init() - API to init spectral component
*
@@ -142,4 +145,17 @@ spectral_vdev_get_ch_width(struct wlan_objmgr_vdev *vdev);
*/
QDF_STATUS spectral_pdev_open(struct wlan_objmgr_pdev *pdev);
#ifdef DIRECT_BUF_RX_ENABLE
/**
* spectral_dbr_event_handler() - Spectral dbr event handler
* @pdev: pointer to pdev object
* @payload: dbr event buffer
*
* API to handle spectral dbr event
*
* Return: status
*/
int spectral_dbr_event_handler(struct wlan_objmgr_pdev *pdev,
struct direct_buf_rx_data *payload);
#endif
#endif /* _WLAN_SPECTRAL_UTILS_API_H_*/