qcacmn: Clean up channel number usage for CDP API

For cdp_hl_fc_set_td_limit() API, use channel frequency instead of
channel number.

Change-Id: I852f1fc192374a4b603e615664d7fb27ea984f5f
CRs-fixed: 2565737
这个提交包含在:
Yue Ma
2019-11-12 12:51:02 -08:00
提交者 nshrivas
父节点 106027ba1b
当前提交 9c43a47af0
修改 2 个文件,包含 4 行新增4 行删除

查看文件

@@ -58,13 +58,13 @@ cdp_hl_fc_register(ol_txrx_soc_handle soc, uint8_t pdev_id,
}
static inline int cdp_hl_fc_set_td_limit(ol_txrx_soc_handle soc,
uint8_t vdev_id, uint8_t chan)
uint8_t vdev_id, uint32_t chan_freq)
{
if (!soc->ops->l_flowctl_ops->set_vdev_tx_desc_limit)
return 0;
return soc->ops->l_flowctl_ops->set_vdev_tx_desc_limit(soc, vdev_id,
chan);
chan_freq);
}
static inline int cdp_hl_fc_set_os_queue_status(ol_txrx_soc_handle soc,
@@ -87,7 +87,7 @@ cdp_hl_fc_register(ol_txrx_soc_handle soc, uint8_t pdev_id,
}
static inline int cdp_hl_fc_set_td_limit(ol_txrx_soc_handle soc,
uint8_t vdev_id, uint8_t chan)
uint8_t vdev_id, uint32_t chan_freq)
{
return 0;
}