summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-11-11 20:57:15 +0700
committerfixeria <vyanitskiy@sysmocom.de>2021-04-16 23:04:30 +0000
commitcb57c1b1373a5b15b6c0f885ecef6887d1210d03 (patch)
tree2286dfde02d2da553533e9df047b3ddde1d91da0
parent4e048c33112db151c0197dc134b4cf0de5de38ea (diff)
BTS_Tests: as_l1_sacch(): use values from ConnL1Pars
This would allow a test case to change the indicated values. Change-Id: If56bf516bc64e695fb58fd42beda01101cdaa954 Related: SYS#4918
-rw-r--r--bts/BTS_Tests.ttcn6
1 files changed, 5 insertions, 1 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 555fe0c8..7816836c 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -1857,7 +1857,11 @@ private altstep as_l1_sacch() runs on ConnHdlr {
[] L1CTL.receive(tr_L1CTL_DATA_IND(g_chan_nr, tr_RslLinkID_SACCH(?))) -> value l1_dl {
log("SACCH received: ", l1_dl.payload.data_ind.payload);
- lb := ts_LAPDm_AB(0, ts_MEAS_REP(true, mp_rxlev_exp, mp_rxlev_exp));
+ lb := ts_LAPDm_AB(0, ts_MEAS_REP(true, /* TODO: make it configurable too */
+ g_pars.l1_pars.meas_ul.full.rxlev,
+ g_pars.l1_pars.meas_ul.sub.rxlev,
+ g_pars.l1_pars.meas_ul.full.rxqual,
+ g_pars.l1_pars.meas_ul.sub.rxqual));
log("LAPDm: ", lb);
var template (value) SacchL1Header l1h := ts_SacchL1Header(