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

Commit 3ca6f03a authored by Shuo Qian's avatar Shuo Qian Committed by Automerger Merge Worker
Browse files

Merge "Change the range of SS-RSRQ per 3GPP TS 38.133 section 10" into...

Merge "Change the range of SS-RSRQ per 3GPP TS 38.133 section 10" into rvc-d1-dev am: 84c1b0d1 am: 86d92528

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12040149

Change-Id: Idd047735b84a1c2c18bdda439366dfd3953f67cb
parents ec1d4f5c 86d92528
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -2540,15 +2540,15 @@ public class CarrierConfigManager {
    /**
     * List of 4 customized 5G SS reference signal received quality (SSRSRQ) thresholds.
     * <p>
     * Reference: 3GPP TS 38.215
     * Reference: 3GPP TS 38.215; 3GPP TS 38.133 section 10
     * <p>
     * 4 threshold integers must be within the boundaries [-20 dB, -3 dB], and the levels are:
     * 4 threshold integers must be within the boundaries [-43 dB, 20 dB], and the levels are:
     * <UL>
     *     <LI>"NONE: [-20, threshold1]"</LI>
     *     <LI>"NONE: [-43, threshold1]"</LI>
     *     <LI>"POOR: (threshold1, threshold2]"</LI>
     *     <LI>"MODERATE: (threshold2, threshold3]"</LI>
     *     <LI>"GOOD:  (threshold3, threshold4]"</LI>
     *     <LI>"EXCELLENT:  (threshold4, -3]"</LI>
     *     <LI>"EXCELLENT:  (threshold4, 20]"</LI>
     * </UL>
     * <p>
     * This key is considered invalid if the format is violated. If the key is invalid or
@@ -4285,12 +4285,12 @@ public class CarrierConfigManager {
                    -65,  /* SIGNAL_STRENGTH_GREAT */
                });
        sDefaults.putIntArray(KEY_5G_NR_SSRSRQ_THRESHOLDS_INT_ARRAY,
                // Boundaries: [-20 dB, -3 dB]
                // Boundaries: [-43 dB, 20 dB]
                new int[] {
                    -16, /* SIGNAL_STRENGTH_POOR */
                    -12, /* SIGNAL_STRENGTH_MODERATE */
                    -9, /* SIGNAL_STRENGTH_GOOD */
                    -6  /* SIGNAL_STRENGTH_GREAT */
                    -31, /* SIGNAL_STRENGTH_POOR */
                    -19, /* SIGNAL_STRENGTH_MODERATE */
                    -7, /* SIGNAL_STRENGTH_GOOD */
                    6  /* SIGNAL_STRENGTH_GREAT */
                });
        sDefaults.putIntArray(KEY_5G_NR_SSSINR_THRESHOLDS_INT_ARRAY,
                // Boundaries: [-23 dB, 40 dB]
+7 −7
Original line number Diff line number Diff line
@@ -54,12 +54,12 @@ public final class CellSignalStrengthNr extends CellSignalStrength implements Pa
    };

    // Lifted from Default carrier configs and max range of SSRSRQ
    // Boundaries: [-20 dB, -3 dB]
    // Boundaries: [-43 dB, 20 dB]
    private int[] mSsRsrqThresholds = new int[] {
            -16, /* SIGNAL_STRENGTH_POOR */
            -12, /* SIGNAL_STRENGTH_MODERATE */
            -9, /* SIGNAL_STRENGTH_GOOD */
            -6  /* SIGNAL_STRENGTH_GREAT */
            -31, /* SIGNAL_STRENGTH_POOR */
            -19, /* SIGNAL_STRENGTH_MODERATE */
            -7, /* SIGNAL_STRENGTH_GOOD */
            6  /* SIGNAL_STRENGTH_GREAT */
    };

    // Lifted from Default carrier configs and max range of SSSINR
@@ -183,8 +183,8 @@ public final class CellSignalStrengthNr extends CellSignalStrength implements Pa
    }

    /**
     * Reference: 3GPP TS 38.215.
     * Range: -20 dB to -3 dB.
     * Reference: 3GPP TS 38.215; 3GPP TS 38.133 section 10
     * Range: -43 dB to 20 dB.
     * @return SS reference signal received quality, {@link CellInfo#UNAVAILABLE} means unreported
     * value.
     */