qcacmn: Set the pdev mask based on channel id

Set pdev mask in HTT extension stats msg based
on channel id information.

Change-Id: I7c971494049e16ae8e0eb694984857346c3a38b7
CRs-Fixed: 2185219
Этот коммит содержится в:
Venkata Sharath Chandra Manchala
2018-02-19 22:47:07 -08:00
коммит произвёл nshrivas
родитель ef2cbc6c93
Коммит ac863c4b4d
6 изменённых файлов: 45 добавлений и 55 удалений

Просмотреть файл

@@ -1022,33 +1022,6 @@ static inline void cdp_flush_cache_rx_queue(ol_txrx_soc_handle soc)
soc->ops->cmn_drv_ops->flush_cache_rx_queue();
}
/**
* cdp_txrx_stats(): function to map to host and firmware statistics
* Deprecated, use cdp_txrx_stats_request() instead.
* @soc: soc handle
* @vdev: virtual device
* @stats: statistics option
*
* return: status
*/
static inline
int cdp_txrx_stats(ol_txrx_soc_handle soc, struct cdp_vdev *vdev,
enum cdp_stats stats)
{
if (!soc || !soc->ops) {
QDF_TRACE(QDF_MODULE_ID_CDP, QDF_TRACE_LEVEL_DEBUG,
"%s: Invalid Instance:", __func__);
QDF_BUG(0);
return 0;
}
if (!soc->ops->cmn_drv_ops ||
!soc->ops->cmn_drv_ops->txrx_stats)
return 0;
return soc->ops->cmn_drv_ops->txrx_stats(vdev, stats);
}
/**
* cdp_txrx_stats_request(): function to map to host and firmware statistics
* @soc: soc handle