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
Tento commit je obsažen v:
Ashish Kumar Dhanotiya
2020-05-04 12:52:00 +05:30
odevzdal nshrivas
rodič c25f24b8d8
revize d064902a66
2 změnil soubory, kde provedl 8 přidání a 10 odebrání

Zobrazit soubor

@@ -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];