qcacmn: Add target_if support for CFR
Add target_if support for CFR. CRs-Fixed: 2372061 Change-Id: I8ad14d714306acc20c9a7e09c8d6f17f7caeae16
This commit is contained in:

committed by
nshrivas

parent
7b2ba92b37
commit
880ba01add
@@ -34,6 +34,7 @@ struct module_name {
|
||||
|
||||
static const struct module_name g_dbr_module_name[DBR_MODULE_MAX] = {
|
||||
[DBR_MODULE_SPECTRAL] = {"SPECTRAL"},
|
||||
[DBR_MODULE_CFR] = {"CFR"},
|
||||
};
|
||||
|
||||
static uint8_t get_num_dbr_modules_per_pdev(struct wlan_objmgr_pdev *pdev)
|
||||
@@ -493,7 +494,8 @@ static QDF_STATUS target_if_dbr_init_ring(struct wlan_objmgr_pdev *pdev,
|
||||
ring_params.ring_base_paddr =
|
||||
(qdf_dma_addr_t)dbr_ring_cfg->base_paddr_aligned;
|
||||
ring_params.num_entries = num_entries;
|
||||
srng = hal_srng_setup(dbr_psoc_obj->hal_soc, DIR_BUF_RX_DMA_SRC, 0,
|
||||
srng = hal_srng_setup(dbr_psoc_obj->hal_soc, DIR_BUF_RX_DMA_SRC,
|
||||
mod_param->mod_id,
|
||||
wlan_objmgr_pdev_get_pdev_id(pdev), &ring_params);
|
||||
|
||||
if (!srng) {
|
||||
|
@@ -33,10 +33,12 @@ struct direct_buf_rx_data;
|
||||
/**
|
||||
* enum DBR_MODULE - Enum containing the modules supporting direct buf rx
|
||||
* @DBR_MODULE_SPECTRAL: Module ID for Spectral
|
||||
* @DBR_MODULE_CFR: Module ID for CFR
|
||||
* @DBR_MODULE_MAX: Max module ID
|
||||
*/
|
||||
enum DBR_MODULE {
|
||||
DBR_MODULE_SPECTRAL = 0,
|
||||
DBR_MODULE_CFR = 1,
|
||||
DBR_MODULE_MAX,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user