From c81d6e448372dddf4b926bbbed4b87b7208355ec Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Mon, 5 Mar 2018 22:39:01 +0700 Subject: 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 --- bts/BTS_Tests.ttcn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bts/BTS_Tests.ttcn') diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index e0e8ac4e..e98a8cab 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -669,7 +669,9 @@ testcase TC_rach_max_ta() runs on test_CT { /* 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 */ -- cgit v1.2.3