summaryrefslogtreecommitdiff
path: root/qdf
diff options
context:
space:
mode:
authorMohit Khanna <mkhannaqca@codeaurora.org>2018-02-20 17:26:34 -0800
committersnandini <snandini@codeaurora.org>2018-02-28 04:17:16 -0800
commit68c9a549cb4ecf79081dfe9a227b6481827e263d (patch)
treea70d5f7e3affdefc24534c781985dfbba03e8f7e /qdf
parentde3c3a0c1173809d3cef82bf7c82c799fca90bfc (diff)
downloadqca-wfi-host-cmn-68c9a549cb4ecf79081dfe9a227b6481827e263d.tar.gz
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
Diffstat (limited to 'qdf')
-rw-r--r--qdf/linux/src/qdf_nbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qdf/linux/src/qdf_nbuf.c b/qdf/linux/src/qdf_nbuf.c
index 844863aa8..dd9841625 100644
--- a/qdf/linux/src/qdf_nbuf.c
+++ b/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;