qcacmn: spectral changes for gen3 HW

Process spectral summary and search fft report for
gen3 spectral HW. Add the frame work to register to
Direct dma module.

CRs-Fixed: 2184019
Change-Id: I4e2869d9c2887767d58685533265cc93c908b697
This commit is contained in:
Edayilliam Jayadev
2018-02-09 01:30:52 +05:30
committed by snandini
parent cd793f38a3
commit f01a81b79f
10 changed files with 316 additions and 182 deletions

View File

@@ -131,4 +131,15 @@ QDF_STATUS spectral_register_legacy_cb(
enum phy_ch_width
spectral_vdev_get_ch_width(struct wlan_objmgr_vdev *vdev);
/**
* spectral_pdev_open() - Spectral pdev open handler
* @pdev: pointer to pdev object
*
* API to execute operations on pdev open
*
* Return: QDF_STATUS_SUCCESS upon successful registration,
* QDF_STATUS_E_FAILURE upon failure
*/
QDF_STATUS spectral_pdev_open(struct wlan_objmgr_pdev *pdev);
#endif /* _WLAN_SPECTRAL_UTILS_API_H_*/

View File

@@ -172,3 +172,16 @@ wlan_register_wmi_spectral_cmd_ops(struct wlan_objmgr_pdev *pdev,
return sc->sptrlc_register_wmi_spectral_cmd_ops(pdev, cmd_ops);
}
EXPORT_SYMBOL(wlan_register_wmi_spectral_cmd_ops);
QDF_STATUS spectral_pdev_open(struct wlan_objmgr_pdev *pdev)
{
struct wlan_objmgr_psoc *psoc;
QDF_STATUS status = QDF_STATUS_SUCCESS;
psoc = wlan_pdev_get_psoc(pdev);
/* Enable the registartion once FW supports this */
spectral_debug("Enable registration to direct dma once FW supports it");
return status;
}