laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21319 )

Change subject: BTS_Tests: as_l1_sacch(): use values from ConnL1Pars
......................................................................

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
---
M bts/BTS_Tests.ttcn
1 file changed, 5 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve



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(

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21319
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: If56bf516bc64e695fb58fd42beda01101cdaa954
Gerrit-Change-Number: 21319
Gerrit-PatchSet: 4
Gerrit-Owner: fixeria <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to