qcacmn: Masked out the Host Tx Desc allocation for NSS offload

Masking out the tx_desc and tx_ext_desc allocations for NSS offloaded
radios.
CRs-Fixed: 2188417

Change-Id: Ibe949a899da1dd2c815ce6a10c355f7ee5976e7a
这个提交包含在:
Aniruddha Paul
2018-02-11 19:40:41 +05:30
提交者 snandini
父节点 8281964dfe
当前提交 9d7dc27fe2
修改 4 个文件,包含 81 行新增2 行删除

查看文件

@@ -584,21 +584,41 @@ int wlan_cfg_get_num_tx_desc_pool(struct wlan_cfg_dp_soc_ctxt *cfg)
return cfg->num_tx_desc_pool;
}
void wlan_cfg_set_num_tx_desc_pool(struct wlan_cfg_dp_soc_ctxt *cfg, int num_pool)
{
cfg->num_tx_desc_pool = num_pool;
}
int wlan_cfg_get_num_tx_ext_desc_pool(struct wlan_cfg_dp_soc_ctxt *cfg)
{
return cfg->num_tx_ext_desc_pool;
}
void wlan_cfg_set_num_tx_ext_desc_pool(struct wlan_cfg_dp_soc_ctxt *cfg, int num_pool)
{
cfg->num_tx_ext_desc_pool = num_pool;
}
int wlan_cfg_get_num_tx_desc(struct wlan_cfg_dp_soc_ctxt *cfg)
{
return cfg->num_tx_desc;
}
void wlan_cfg_set_num_tx_desc(struct wlan_cfg_dp_soc_ctxt *cfg, int num_desc)
{
cfg->num_tx_desc = num_desc;
}
int wlan_cfg_get_num_tx_ext_desc(struct wlan_cfg_dp_soc_ctxt *cfg)
{
return cfg->num_tx_ext_desc;
}
void wlan_cfg_set_num_tx_ext_desc(struct wlan_cfg_dp_soc_ctxt *cfg, int num_ext_desc)
{
cfg->num_tx_ext_desc = num_ext_desc;
}
uint32_t wlan_cfg_max_peer_id(struct wlan_cfg_dp_soc_ctxt *cfg)
{
/* TODO: This should be calculated based on target capabilities */