qcacld-3.0: Update disconnect rssi on every disconnect rssi event

Currently there is a check to validate if the station is in
associated state or not in the hdd lost link cp stats info cb,

There is a race condition where if the disconnection happens
from ap in that case the callback gets invoked before the
connection state in the station context gets updated and thus
the rssi on disconnect is not updated.

To address above issue remove the check to validate the station
state and update the rssi on disconnect irrespective of the
state of the connection.

Change-Id: I9cc6a08cdf0a1081adfde7a9423a665bc977cffc
CRs-Fixed: 2678667
此提交包含在:
Ashish Kumar Dhanotiya
2020-05-04 12:52:00 +05:30
提交者 nshrivas
父節點 c25f24b8d8
當前提交 d064902a66
共有 2 個檔案被更改,包括 8 行新增10 行删除

查看文件

@@ -317,6 +317,10 @@ static QDF_STATUS target_if_cp_stats_extract_vdev_summary_stats(
dat_snr = vdev_stats.vdev_snr.dat_snr;
ev->vdev_summary_stats[i].vdev_id = vdev_stats.vdev_id;
cp_stats_debug("vdev %d SNR bcn: %d data: %d",
ev->vdev_summary_stats[i].vdev_id, bcn_snr,
dat_snr);
for (j = 0; j < 4; j++) {
ev->vdev_summary_stats[i].stats.tx_frm_cnt[j]
= vdev_stats.tx_frm_cnt[j];