mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
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
This commit is contained in:
parent
de3c3a0c11
commit
68c9a549cb
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue