qcacmn: Use txrx_intr_attach function to attach to poll and interrupt

Use appropriate reo dst ring size based on target type

Change-Id: I6e26537d25b4b8d4507acc689b9d17c83aa4d27e
This commit is contained in:
Balamurugan Mahalingam
2018-06-25 17:08:08 +05:30
committed by nshrivas
parent 1b4476e7b6
commit 54d16a9371
4 changed files with 73 additions and 16 deletions

View File

@@ -600,6 +600,17 @@ void wlan_cfg_set_num_tx_ext_desc_pool(struct wlan_cfg_dp_soc_ctxt *cfg, int num
cfg->num_tx_ext_desc_pool = num_pool;
}
int wlan_cfg_get_reo_dst_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg)
{
return cfg->reo_dst_ring_size;
}
void wlan_cfg_set_reo_dst_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg,
int reo_dst_ring_size)
{
cfg->reo_dst_ring_size = reo_dst_ring_size;
}
int wlan_cfg_get_num_tx_desc(struct wlan_cfg_dp_soc_ctxt *cfg)
{
return cfg->num_tx_desc;