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.orgReview at https://gerrit.osmocom.org/6957 bts: Instruct trxcon for TA=2 at every testcase start as fake_trx keeps running during the entire test suite run, and the protocol being UDP based, it doesn't know when BTS_Test will re-start and hence the old TA/FAKE_TIMING value will remain until it is set. Let's explicitly set a FAKE_TIMING of two bits at start-up of each test case during f_init() Change-Id: I9f07768346e0d68a4dbe36780e36b799d27a7f06 --- M bts/BTS_Tests.ttcn 1 file changed, 4 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/57/6957/1 diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index 8800139..45fcb06 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -212,6 +212,10 @@ /* SI2 + SI4 are required for SI testing as they are mandatory defaults */ f_rsl_bcch_fill(RSL_SYSTEM_INFO_2, ts_SI2_default); f_rsl_bcch_fill(RSL_SYSTEM_INFO_4, ts_SI4_default); + + /* start with a default moderate timing offset equalling TA=2 */ + f_main_trxc_connect(); + BB_TRXC.send(ts_TRXC_Send(g_bb_trxc_conn_id, ts_TRXC_FAKE_TIMING(2*256))); } /* Attach L1CTL to master test_CT (classic tests, non-handler mode) */ @@ -599,7 +603,6 @@ f_init(testcasename()); f_init_l1ctl(); f_l1_tune(L1CTL); - f_main_trxc_connect(); f_sleep(1.0); /* default max-ta is 63 (full range of GSM timing advance */ -- To view, visit https://gerrit.osmocom.org/6957 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9f07768346e0d68a4dbe36780e36b799d27a7f06 Gerrit-PatchSet: 1 Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Owner: Harald Welte <laforge at gnumonks.org>