mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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
This commit is contained in:
parent
ef2cbc6c93
commit
ac863c4b4d
6 changed files with 45 additions and 55 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1118,6 +1118,7 @@ struct cdp_config_params {
|
|||
* @param1: opaque argument 1 to be passed to htt
|
||||
* @param2: opaque argument 2 to be passed to htt
|
||||
* @param3: opaque argument 3 to be passed to htt
|
||||
* @channel_param: Channel Information
|
||||
*/
|
||||
struct cdp_txrx_stats_req {
|
||||
enum cdp_stats stats;
|
||||
|
|
@ -1126,6 +1127,7 @@ struct cdp_txrx_stats_req {
|
|||
uint32_t param2;
|
||||
uint32_t param3;
|
||||
uint32_t cookie_val;
|
||||
uint8_t channel;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -275,8 +275,6 @@ struct cdp_cmn_ops {
|
|||
void (*set_pdev_dscp_tid_map)(struct cdp_pdev *pdev, uint8_t map_id,
|
||||
uint8_t tos, uint8_t tid);
|
||||
|
||||
int (*txrx_stats)(struct cdp_vdev *vdev, enum cdp_stats stats);
|
||||
|
||||
int (*txrx_stats_request)(struct cdp_vdev *vdev,
|
||||
struct cdp_txrx_stats_req *req);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue