qcacmn: update RSSI specific parameters in mon pdev

Before we are updating RSSI params directly into mon_rx_status
this structure will reset every PPDU this breaks iwconfig,
wlanconfig and monitor packet RSSI values.
Fix added to storing the values in the mon_pdev.

Change-Id: I9f8fa776c65cbad84fac5e8c2f65b3fce1386e20
CRs-Fixed: 3276503
This commit is contained in:
KARTHIK KUMAR T
2022-08-25 20:27:58 +05:30
committed by Madan Koyyalamudi
parent a29914f3dc
commit ea38e7997e
8 changed files with 63 additions and 34 deletions

View File

@@ -5412,8 +5412,7 @@ static unsigned int qdf_nbuf_update_radiotap_ampdu_flags(
#ifdef QCA_RSSI_DB2DBM
#define QDF_MON_STATUS_GET_RSSI_IN_DBM(rx_status) \
(((rx_status)->rssi_dbm_conv_support) ? \
((rx_status)->rssi_comb + (rx_status)->min_nf_dbm +\
(rx_status)->rssi_temp_offset) : \
((rx_status)->rssi_comb + (rx_status)->rssi_offset) :\
((rx_status)->rssi_comb + (rx_status)->chan_noise_floor))
#else
#define QDF_MON_STATUS_GET_RSSI_IN_DBM(rx_status) \