Change in osmo-ttcn3-hacks[master]: BTS_Tests: as_l1_sacch(): make MEAS_VALID flag configurable

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/.

laforge gerrit-no-reply at lists.osmocom.org
Sun Apr 18 06:54:42 UTC 2021


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

Change subject: BTS_Tests: as_l1_sacch(): make MEAS_VALID flag configurable
......................................................................

BTS_Tests: as_l1_sacch(): make MEAS_VALID flag configurable

Change-Id: I25ce3332671c42014a3dfd5de7ed1df16e73fbf8
Related: SYS#4918
---
M bts/BTS_Tests.ttcn
1 file changed, 3 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 7816836..8ae8eb2 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -777,6 +777,7 @@
 	l1_pars := {
 		dtx_enabled := false,
 		toa256_enabled := false,
+		meas_valid := true,
 		meas_ul := {
 			full := {
 				rxlev := mp_ul_rxlev_exp,
@@ -1857,7 +1858,7 @@
 	[] 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, /* TODO: make it configurable too */
+		lb := ts_LAPDm_AB(0, ts_MEAS_REP(g_pars.l1_pars.meas_valid,
 						 g_pars.l1_pars.meas_ul.full.rxlev,
 						 g_pars.l1_pars.meas_ul.sub.rxlev,
 						 g_pars.l1_pars.meas_ul.full.rxqual,
@@ -1939,6 +1940,7 @@
 private type record ConnL1Pars {
 	boolean dtx_enabled,
 	boolean toa256_enabled,
+	boolean meas_valid,
 	MeasElemFS meas_ul,
 	int16_t timing_offset_256syms,
 	uint4_t bs_power_level,

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21488
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: I25ce3332671c42014a3dfd5de7ed1df16e73fbf8
Gerrit-Change-Number: 21488
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210418/0006fe6c/attachment.htm>


More information about the gerrit-log mailing list