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
此提交包含在:
Balamurugan Mahalingam
2018-06-25 17:08:08 +05:30
提交者 nshrivas
父節點 1b4476e7b6
當前提交 54d16a9371
共有 4 個檔案被更改,包括 73 行新增16 行删除

查看文件

@@ -163,6 +163,7 @@ struct wlan_cfg_dp_soc_ctxt {
uint32_t tx_flow_start_queue_offset;
#endif
uint32_t rx_defrag_min_timeout;
int reo_dst_ring_size;
};
/**
@@ -484,6 +485,24 @@ void wlan_cfg_set_num_tx_desc_pool(struct wlan_cfg_dp_soc_ctxt *cfg, int num_poo
int wlan_cfg_get_num_tx_ext_desc_pool(
struct wlan_cfg_dp_soc_ctxt *wlan_cfg_ctx);
/*
* wlan_cfg_get_reo_dst_ring_size() - Get REO destination ring size
*
* @wlan_cfg_ctx - Configuration Handle
*
* Return: reo_dst_ring_size
*/
int wlan_cfg_get_reo_dst_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg);
/*
* wlan_cfg_set_num_tx_desc_pool() - Set the REO Destination ring size
*
* @wlan_cfg_ctx - Configuration Handle
* @reo_dst_ring_size - REO Destination ring size
*/
void wlan_cfg_set_reo_dst_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg,
int reo_dst_ring_size);
/*
* wlan_cfg_set_num_tx_ext_desc_pool() - Set the number of Tx MSDU ext Descriptor
* pools