mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacmn: Send signal strength in user expected unit
User expects signal strength in dBm. But for GET_RSSI IOCTL driver is sending a relative value, not in dBm unit. While processing GET_RSSI IOCTL, send signal strength in dBm unit, as the user expects. Change-Id: Id8b248f0be558e9b91f3e4675cb7b58cd6b3e940 CRs-Fixed: 2258559
This commit is contained in:
parent
762ad5db89
commit
e7b40d657a
1 changed files with 2 additions and 1 deletions
|
|
@ -121,7 +121,8 @@ static QDF_STATUS target_if_cp_stats_extract_peer_stats(
|
|||
ev->peer_stats[i].peer_macaddr);
|
||||
ev->peer_stats[i].tx_rate = peer_stats.peer_tx_rate;
|
||||
ev->peer_stats[i].rx_rate = peer_stats.peer_rx_rate;
|
||||
ev->peer_stats[i].peer_rssi = peer_stats.peer_rssi;
|
||||
ev->peer_stats[i].peer_rssi = peer_stats.peer_rssi +
|
||||
TGT_NOISE_FLOOR_DBM;
|
||||
}
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
|
|
|
|||
Loading…
Reference in a new issue