aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-03-05 22:39:01 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-03-05 22:42:45 +0700
commitc81d6e448372dddf4b926bbbed4b87b7208355ec (patch)
tree8f833a0f45b897132bda88c2303af20d5b245085
parentedcdd90c497a529dd266bd1e091270264b1c21ed (diff)
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
-rw-r--r--bts/BTS_Tests.ttcn4
1 files changed, 3 insertions, 1 deletions
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 */