qcacmn: Generate pdev mask based on mac number

Set pdev mask in the HTT Stats request based on
mac id number provided from the user.

Change-Id: Ie8f1208fd3598efd2ea3736719c8b444ef86881a
CRs-Fixed: 2237467
这个提交包含在:
Venkata Sharath Chandra Manchala
2018-04-23 11:48:28 -07:00
提交者 nshrivas
父节点 54c0385480
当前提交 4face24247
修改 4 个文件,包含 9 行新增32 行删除

查看文件

@@ -6282,7 +6282,7 @@ static int dp_fw_stats_process(struct cdp_vdev *vdev_handle,
struct dp_vdev *vdev = (struct dp_vdev *)vdev_handle;
struct dp_pdev *pdev = NULL;
uint32_t stats = req->stats;
uint8_t channel = req->channel;
uint8_t mac_id = req->mac_id;
if (!vdev) {
DP_TRACE(NONE, "VDEV not found");
@@ -6309,7 +6309,7 @@ static int dp_fw_stats_process(struct cdp_vdev *vdev_handle,
return dp_h2t_ext_stats_msg_send(pdev, stats, req->param0,
req->param1, req->param2, req->param3,
0, 0, channel);
0, 0, mac_id);
}
/**