Change in osmo-ttcn3-hacks[master]: bts: Fix TC_rach_load_count

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

laforge gerrit-no-reply at lists.osmocom.org
Sun Oct 11 19:05:35 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20546 )


Change subject: bts: Fix TC_rach_load_count
......................................................................

bts: Fix TC_rach_load_count

The first RACH LOAD IND may only cover a fractional reporting
interval, and hence must be ignored.

Change-Id: I32a703847fbf2b95993e910e6510613902e2bb1a
---
M bts/BTS_Tests.ttcn
1 file changed, 6 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/46/20546/1

diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 7c17e03..bdd8546 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -1538,6 +1538,12 @@
 	f_sleep(1.0);
 	f_l1_tune(L1CTL);
 
+	/* Skip the first RACH LOAD IND, as it may not have the full slot count (BTS started less than 1s  before) */
+	alt {
+	[] RSL_CCHAN.receive(tr_ASP_RSL_UD(tr_RSL_RACH_LOAD_IND(?, ?, ?))) { }
+	[] RSL_CCHAN.receive { repeat }
+	}
+
 	var GsmFrameNumber fn_last := 0;
 	for (var integer i := 0; i < 1000; i := i+1) {
 		var OCT1 ra := f_rnd_ra_cs();

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I32a703847fbf2b95993e910e6510613902e2bb1a
Gerrit-Change-Number: 20546
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201011/0d98de28/attachment.htm>


More information about the gerrit-log mailing list