[Bugfix][T106][task-view-18] somttimes, there is 1 gap between
signalStrength_t's gsm rssi and AT+CSQ
Only Configure: No
Affected branch: unknown
Affected module: network
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: yes
Doc Update: no
Change-Id: Ie94ea7f21eeb3885a35912f82b194a340a51c00a
diff --git a/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/sdk/ril/reference-ril/ril_mm.c b/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/sdk/ril/reference-ril/ril_mm.c
index 3835d91..d734936 100755
--- a/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/sdk/ril/reference-ril/ril_mm.c
+++ b/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/sdk/ril/reference-ril/ril_mm.c
@@ -643,7 +643,7 @@
gsm->signalStrengthGsm.signalStrength = 99;
} else if (tGsmEmInfo->bRssi > 99 && tGsmEmInfo->bRssi < 200) {
gsm->signalStrengthGsm.signalStrength = changeCSQdbmToLevel(tGsmEmInfo->bRssi - 216, 3);
- } else if (tGsmEmInfo->bRssi > 1 && tGsmEmInfo->bRssi <= 60) {
+ } else if (tGsmEmInfo->bRssi >= 1 && tGsmEmInfo->bRssi <= 60) { //LYNQ_HUANG_QING_AT_20241126_ZXW_BUG_18_CR_20240807C6B104DE_CHANGE_>_TO_>=
gsm->signalStrengthGsm.signalStrength = (tGsmEmInfo->bRssi+ 1) / 2 + 1; /*2-31,99*/
} else if (60 < tGsmEmInfo->bRssi && tGsmEmInfo->bRssi <= 63) {
gsm->signalStrengthGsm.signalStrength = 31;
@@ -810,7 +810,7 @@
if (tMeasInfo->bRssi > 99 && tMeasInfo->bRssi < 200) {
gsm->signalStrengthGsm.signalStrength = changeCSQdbmToLevel(tMeasInfo->bRssi - 216, 3);
- } else if (tMeasInfo->bRssi > 1 && tMeasInfo->bRssi <= 60) {
+ } else if (tMeasInfo->bRssi >= 1 && tMeasInfo->bRssi <= 60) { //LYNQ_HUANG_QING_AT_20241126_ZXW_BUG_18_CR_20240807C6B104DE_CHANGE_>_TO_>=
gsm->signalStrengthGsm.signalStrength = (tMeasInfo->bRssi+ 1) / 2 + 1; /*2-31,99*/
} else if (60 < tMeasInfo->bRssi && tMeasInfo->bRssi <= 63) {
gsm->signalStrengthGsm.signalStrength = 31;
@@ -1726,7 +1726,7 @@
level = 99;
}else if (rxlev > 99 && rxlev < 200) {
level = changeCSQdbmToLevel(rxlev - 216, 3);
- } else if (rxlev > 1 && rxlev <= 60) {
+ } else if (rxlev >= 1 && rxlev <= 60) { //LYNQ_HUANG_QING_AT_20241126_ZXW_BUG_18_CR_20240807C6B104DE_CHANGE_>_TO_>=
level = (rxlev + 1) / 2 + 1; /*2-31,99*/
} else if (60 < rxlev && rxlev <= 63) {
level = 31;