qcacmn: Convey vdev_stats_id to FW in wmi_vdev_create_cmd
In BE architecture, HW provides basic vdev stats support for upto 48 vdevs. For each vdev, there is vdev_stats_id which represents the id of this vdev on HW. This vdev_stats_id is assigned by host and is conveyed to FW at the time of vdev creation in wmi_vdev_create_cmd. FW uses this vdev_stats_id to fetch the stats from HW. Add logic to convey vdev_stats_id to FW at the time of vdev create. Change-Id: I91782c73a7f3f94175a0c28ab4adda2d894856db CRs-Fixed: 3069992
This commit is contained in:

committed by
Madan Koyyalamudi

父節點
6c7fcf1d61
當前提交
d7aada5bea
@@ -814,6 +814,10 @@ static QDF_STATUS send_vdev_create_cmd_tlv(wmi_unified_t wmi_handle,
|
||||
cmd->flags |= (param->special_vdev_mode ? VDEV_FLAGS_SCAN_MODE_VAP : 0);
|
||||
cmd->vdevid_trans = param->vdevid_trans;
|
||||
cmd->num_cfg_txrx_streams = num_bands;
|
||||
#ifdef QCA_VDEV_STATS_HW_OFFLOAD_SUPPORT
|
||||
cmd->vdev_stats_id_valid = param->vdev_stats_id_valid;
|
||||
cmd->vdev_stats_id = param->vdev_stats_id;
|
||||
#endif
|
||||
copy_vdev_create_pdev_id(wmi_handle, cmd, param);
|
||||
WMI_CHAR_ARRAY_TO_MAC_ADDR(macaddr, &cmd->vdev_macaddr);
|
||||
wmi_debug("ID = %d[pdev:%d] VAP Addr = "QDF_MAC_ADDR_FMT,
|
||||
|
Reference in New Issue
Block a user