qcacld-3.0: Get chain rssi stats per request vdev_id
Currently, the driver gets the last vdev's chain rssi stats if fw reports more than one vdev's chain rssi stats, it causes the last one stats overwrites the former one and the last stats may not be expected for the request vdev. To resolve this issue, compare the vdev id before getting the stats. Change-Id: Ib789d148a010460108ed73b92ef603cf78c1493a CRs-Fixed: 3212917
Этот коммит содержится в:

коммит произвёл
Madan Koyyalamudi

родитель
7ff8ef2746
Коммит
c51cf56c15
@@ -966,6 +966,9 @@ static void tgt_mc_cp_stats_extract_vdev_chain_rssi_stats(
|
||||
|
||||
for (i = 0; i < ev->num_chain_rssi_stats; i++) {
|
||||
vdev_id = last_req.vdev_id;
|
||||
if (vdev_id != ev->vdev_chain_rssi[i].vdev_id)
|
||||
continue;
|
||||
|
||||
update_ml_vdev_id_from_stats_event(psoc, ev,
|
||||
&last_req, &vdev_id);
|
||||
vdev = wlan_objmgr_get_vdev_by_id_from_psoc(psoc, vdev_id,
|
||||
|
Ссылка в новой задаче
Block a user