qcacmn: Add APIs to init Spectral feature caps in the upper layer

Add APIs to init Spectral feature caps in the upper layer of the
Spectral module.

CRs-Fixed: 2840249
Change-Id: Idfb34a9eec3a66c6d193be7bb828eeec30548ae7
This commit is contained in:
Edayilliam Jayadev
2020-12-17 11:36:02 +05:30
committed by snandini
父節點 19aaca7ff9
當前提交 3e679f9176
共有 6 個文件被更改,包括 119 次插入0 次删除

查看文件

@@ -344,4 +344,13 @@ tgt_spectral_register_events(struct wlan_objmgr_psoc *psoc);
*/
QDF_STATUS
tgt_spectral_unregister_events(struct wlan_objmgr_psoc *psoc);
/**
* tgt_spectral_init_pdev_feature_caps() - Init pdev spectral feature caps
* @pdev: pdev handle
*
* Return: QDF_STATUS
*/
QDF_STATUS
tgt_spectral_init_pdev_feature_caps(struct wlan_objmgr_pdev *pdev);
#endif /* _WLAN_SPECTRAL_TGT_API_H_ */

查看文件

@@ -245,6 +245,43 @@ QDF_STATUS spectral_register_dbr(struct wlan_objmgr_pdev *pdev);
*/
QDF_STATUS spectral_unregister_dbr(struct wlan_objmgr_pdev *pdev);
/**
* wlan_spectral_init_pdev_feature_caps() - API to initialize
* spectral pdev feature caps
* @pdev: pointer to pdev object
*
* API to initialize Spectral feature caps for a given pdev.
*
* Return: QDF_STATUS_SUCCESS upon successful initialization,
* QDF_STATUS_E_FAILURE upon failure
*/
QDF_STATUS wlan_spectral_init_pdev_feature_caps(struct wlan_objmgr_pdev *pdev);
/**
* wlan_spectral_init_psoc_feature_cap() - API to initialize
* spectral psoc feature caps
* @psoc: pointer to psoc object
*
* API to initialize Spectral feature caps for a given psoc.
*
* Return: QDF_STATUS_SUCCESS upon successful initialization,
* QDF_STATUS_E_FAILURE upon failure
*/
QDF_STATUS wlan_spectral_init_psoc_feature_cap(struct wlan_objmgr_psoc *psoc);
/**
* wlan_spectral_pdev_get_lmac_if_txops() - API to get pointer
* to Spectral txops structure
* @pdev: pointer to pdev object
*
* API to get pointer to Spectral txops structure
*
* Return: Pointer to Spectral txops structure, NULL in case of
* error.
*/
struct wlan_lmac_if_sptrl_tx_ops *
wlan_spectral_pdev_get_lmac_if_txops(struct wlan_objmgr_pdev *pdev);
#ifdef DIRECT_BUF_RX_ENABLE
/**
* spectral_dbr_event_handler() - Spectral dbr event handler