[MERGED] osmo-ttcn3-hacks[master]: bts/BTS_Tests.ttcn: update TC_rach_max_ta test case

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon Mar 5 17:32:40 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: bts/BTS_Tests.ttcn: update TC_rach_max_ta test case
......................................................................


bts/BTS_Tests.ttcn: update TC_rach_max_ta test case

Since the I662294fe3136cf7a259be13816a3e63f7db9a948, OsmoBTS
should pass RACH requests with ToA > -2 symbol periods only.

We do allow early signal arrival up to 2 symbols, otherwise
it is most likely noise, interference or a ghost.

Change-Id: Icccc88545ed3aabd6da28a40599a8a77d1de477d
---
M bts/BTS_Tests.ttcn
1 file changed, 3 insertions(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index e0e8ac4..e98a8ca 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -669,7 +669,9 @@
 
 	/* default max-ta is 63 (full range of GSM timing advance */
 
-	/* negative TA must not happen */
+	/* We allow early arrival up to 2 symbols */
+	f_rach_toffs(-1*256, true);
+	f_rach_toffs(-2*256, true);
 	f_rach_toffs(-10*256, false);
 
 	/* 0 / 32 / 63 bits is legal / permitted */

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Icccc88545ed3aabd6da28a40599a8a77d1de477d
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list