diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2018-09-07 03:28:13 +0700 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-09-07 09:02:19 +0000 |
commit | 05d88069d49e580a6998924e450e8de62ae02da6 (patch) | |
tree | 4bbc68df5a00ca13c4b56f1fcb7d96031180eb08 | |
parent | 216a4888cd9685dd4ef586ca841c03745af3ec79 (diff) |
trx_toolkit/fake_trx: drop Timing Advance range limitation
Despite the correct range of Timing Advance value is [0..63],
there is a special feature in OsmocomBB which allows one to
simulate the distance between both MS and a BTS by playing
with the signal delay.
So, let's drop the range limitation.
Change-Id: I8fd2a2ab7784b38bde5ebcfd0359b7e2cb53f5a7
-rw-r--r-- | src/target/trx_toolkit/ctrl_if_bb.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/target/trx_toolkit/ctrl_if_bb.py b/src/target/trx_toolkit/ctrl_if_bb.py index 929caf41..808c8806 100644 --- a/src/target/trx_toolkit/ctrl_if_bb.py +++ b/src/target/trx_toolkit/ctrl_if_bb.py @@ -119,12 +119,6 @@ class CTRLInterfaceBB(CTRLInterface): elif self.verify_cmd(request, "SETTA", 1): print("[i] Recv SETTA cmd") - # Parse and check TA value - ta = int(request[1]) - if ta < 0 or ta > 63: - print("[!] TA value should be in range: 0..63") - return -1 - # Save to the BurstForwarder instance self.burst_fwd.ta = ta return 0 |