Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ace8f28f authored by Nathan Harold's avatar Nathan Harold Committed by android-build-merger
Browse files

Merge "Fix Order of Operations for Converting RSSI to ASU" am: 383624ff am: 8ef6d5e3

am: d211d9c8

Change-Id: Ibcc681680b9cbd55691d619e89641b97dabda6d3
parents 1e8cbf57 d211d9c8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ public abstract class CellSignalStrength {
    /** @hide */
    protected static final int getAsuFromRssiDbm(int dbm) {
        if (dbm == CellInfo.UNAVAILABLE) return 99;
        return (dbm / 2) + 113;
        return (dbm + 113) / 2;
    }

    // Range for RSCP in ASU (0-96, 255) as defined in TS 27.007 8.69