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
Tento commit je obsažen v:
Mohit Khanna
2018-02-20 17:26:34 -08:00
odevzdal snandini
rodič de3c3a0c11
revize 68c9a549cb

Zobrazit soubor

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