qcacmn: Update the vdev_id in the vdev_chain_rssi stats
In tgt layer, rssi_stats are copied by comparing the vdev id filled in the target layer and last reqested stats vdev id. But in target layer api, target_if_cp_stats_extract_vdev_chain_rssi_stats vdev id is not filled and that can lead to wrong stats in the upper layers. Update vdev id in the rssi stats. Change-Id: I6a8bd032152b43b90ffd4acfc760e218bf4bba5b CRs-Fixed: 2530148
このコミットが含まれているのは:
@@ -9107,6 +9107,8 @@ static QDF_STATUS extract_per_chain_rssi_stats_tlv(wmi_unified_t wmi_handle,
|
||||
|
||||
data = ((uint8_t *)(&rssi_event[1])) + WMI_TLV_HDR_SIZE;
|
||||
fw_rssi_stats = &((wmi_rssi_stats *)data)[index];
|
||||
if (fw_rssi_stats->vdev_id >= WLAN_UMAC_PDEV_MAX_VDEVS)
|
||||
return QDF_STATUS_E_INVAL;
|
||||
|
||||
rssi_stats->vdev_id = fw_rssi_stats->vdev_id;
|
||||
qdf_mem_copy(rssi_stats->rssi_avg_beacon,
|
||||
|
新しいイシューから参照
ユーザーをブロックする