Change in osmo-bts[master]: measurement: make sure that DL measurements are valid

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Thu Oct 21 23:54:07 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/25893 )


Change subject: measurement: make sure that DL measurements are valid
......................................................................

measurement: make sure that DL measurements are valid

In repeated_dl_facch_active_decision() we rely on the Measurement
Report message, that in some cases may not contain valid Downlink
measurements.  In this case, we should simply ignore it.

Change-Id: I0d72b454f2b770d5762303fb70a15a8cdc9d07d7
Related: SYS#5114
---
M src/common/measurement.c
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/93/25893/1

diff --git a/src/common/measurement.c b/src/common/measurement.c
index 3a17869..626f3b1 100644
--- a/src/common/measurement.c
+++ b/src/common/measurement.c
@@ -833,6 +833,8 @@
 	if (gh->msg_type != GSM48_MT_RR_MEAS_REP)
 		goto out;
 	meas_res = (const struct gsm48_meas_res *) gh->data;
+	if (meas_res->meas_valid != 0) /* 0 = valid */
+		goto out;
 
 	/* If the RXQUAL level at the MS drops under a certain threshold
 	 * we enable FACCH repetition. */

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/25893
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I0d72b454f2b770d5762303fb70a15a8cdc9d07d7
Gerrit-Change-Number: 25893
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211021/cfc696df/attachment.htm>


More information about the gerrit-log mailing list