[PATCH] osmo-bts[master]: fix: dyn ts: uplink measurement report

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/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Wed Dec 28 00:20:21 UTC 2016


Review at  https://gerrit.osmocom.org/1507

fix: dyn ts: uplink measurement report

Fix pchan value used for uplink measurement decisions for dynamic channels in
TCH mode.

Fixes this error log message flooding the osmo-bts log when a dyn ts is serving
a voice call:

  <0004> ../../../src/common/measurement.c:104 (bts=0,trx=0,ts=3,ss=0) no space for uplink measurement

Change-Id: Id19316701fd8de6f295eeae0272eea0c315ab1b7
---
M src/common/measurement.c
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/src/common/measurement.c b/src/common/measurement.c
index be1d4f6..6a11888 100644
--- a/src/common/measurement.c
+++ b/src/common/measurement.c
@@ -144,7 +144,7 @@
 	int i;
 
 	/* if measurement period is not complete, abort */
-	if (!is_meas_complete(lchan->ts->pchan, lchan->ts->nr,
+	if (!is_meas_complete(ts_pchan(lchan->ts), lchan->ts->nr,
 			      lchan->nr, fn))
 		return 0;
 

-- 
To view, visit https://gerrit.osmocom.org/1507
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id19316701fd8de6f295eeae0272eea0c315ab1b7
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list