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
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 555fe0c..7816836 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -1857,7 +1857,11 @@
[] 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(