Skip to content

Commit

Permalink
Merge branch 'jb50995' into 'master'
Browse files Browse the repository at this point in the history
[ril] Calculate signal strength based on rsrp value correctly. JB#50995.

See merge request mer-core/ofono!275
  • Loading branch information
monich committed Sep 15, 2020
2 parents ed62d38 + ed2f625 commit f56c8a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ofono/drivers/ril/ril_netreg.c
Expand Up @@ -503,7 +503,7 @@ static int ril_netreg_get_signal_strength(struct ril_netreg *nd,
signal.qdbm = -4 * tdscdma_dbm;
} else if (signal.lte == 99 && rsrp >= 44 && rsrp <= 140) {
/* RSRP range: 44 to 140 dBm per 3GPP TS 36.133 */
signal.qdbm = -rsrp;
signal.qdbm = -4 * rsrp;
}
}

Expand Down

0 comments on commit f56c8a3

Please sign in to comment.