Parcourir la source

qcacmn: Fix RSSI info in radiotap header

Currently, RSSI in radiotap header is being sourced from
RX_MSDU_START TLV. RSSI information is missing in the TLV.

Source RSSI from PHYRX_RSSI_LEGACY TLV (rssi_comb).

Change-Id: I8030d970ff300a957e5215157e5f6a3599e4b430
CRs-Fixed: 2190210
Mohit Khanna il y a 7 ans
Parent
commit
68c9a549cb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      qdf/linux/src/qdf_nbuf.c

+ 1 - 1
qdf/linux/src/qdf_nbuf.c

@@ -3665,7 +3665,7 @@ unsigned int qdf_nbuf_update_radiotap(struct mon_rx_status *rx_status,
 	 * rssi_comb is int dB, need to convert it to dBm.
 	 * normalize value to noise floor of -96 dBm
 	 */
-	rtap_buf[rtap_len] = rx_status->ant_signal_db +
+	rtap_buf[rtap_len] = rx_status->rssi_comb +
 		NORMALIZED_TO_NOISE_FLOOR;
 	rtap_len += 1;