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:

committed by
snandini

vanhempi
cd793f38a3
commit
f01a81b79f
@@ -27,6 +27,7 @@ INCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/dfs/dispatcher/inc
|
||||
INCS += -I$(obj)/$(DEPTH)/cmn_dev/os_if/linux/spectral/inc
|
||||
INCS += -I$(obj)/$(DEPTH)/cmn_dev/os_if/linux/scan/inc
|
||||
INCS += -I$(obj)/$(DEPTH)/cmn_dev/spectral/core
|
||||
INCS += -I$(obj)/$(DEPTH)/cmn_dev/target_if/direct_buf_rx/inc
|
||||
|
||||
ifeq ($(WLAN_CONV_CRYPTO_SUPPORTED), 1)
|
||||
INCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/cmn_services/crypto/inc
|
||||
|
@@ -22,6 +22,7 @@
|
||||
#include <qdf_types.h>
|
||||
#include<wlan_global_lmac_if_api.h>
|
||||
#include "spectral_defs_i.h"
|
||||
#include <dispatcher_init_deinit.h>
|
||||
|
||||
MODULE_LICENSE("Dual BSD/GPL");
|
||||
|
||||
@@ -38,6 +39,10 @@ spectral_init_module(void)
|
||||
/* register spectral rxops */
|
||||
wlan_lmac_if_sptrl_set_rx_ops_register_cb
|
||||
(wlan_lmac_if_sptrl_register_rx_ops);
|
||||
/* register spectral pdev open handler */
|
||||
dispatcher_register_spectral_pdev_open_handler(
|
||||
spectral_pdev_open);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@@ -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_*/
|
||||
|
@@ -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;
|
||||
}
|
||||
|
Viittaa uudesa ongelmassa
Block a user