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
这个提交包含在:
@@ -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;
|
||||
}
|
||||
|
在新工单中引用
屏蔽一个用户