Change in osmo-ttcn3-hacks[master]: BTS_Tests: as_l1_sacch(): make indicated FULL/SUB RxLev 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/.

fixeria gerrit-no-reply at lists.osmocom.org
Tue Nov 24 11:10:40 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21319 )


Change subject: BTS_Tests: as_l1_sacch(): make indicated FULL/SUB RxLev configurable
......................................................................

BTS_Tests: as_l1_sacch(): make indicated FULL/SUB RxLev configurable

Change-Id: If56bf516bc64e695fb58fd42beda01101cdaa954
Related: SYS#4918
---
M bts/BTS_Tests.ttcn
1 file changed, 6 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/19/21319/1

diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index ad1d926..b1f291f 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -797,6 +797,8 @@
 		bs_power_level := 0,
 		ms_power_level := mp_ms_power_level_exp,
 		ms_actual_ta := mp_ms_actual_ta_exp,
+		ms_actual_rxlev_full := mp_rxlev_exp,
+		ms_actual_rxlev_sub := mp_rxlev_exp,
 		facch_enabled := false
 	},
 	spec := omit,
@@ -1863,7 +1865,8 @@
 	[] 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, g_pars.l1_pars.ms_actual_rxlev_full,
+						       g_pars.l1_pars.ms_actual_rxlev_sub));
 		log("LAPDm: ", lb);
 
 		var template (value) SacchL1Header l1h := ts_SacchL1Header(
@@ -1946,6 +1949,8 @@
 	uint4_t bs_power_level,
 	uint5_t ms_power_level,
 	uint8_t ms_actual_ta,
+	uint6_t ms_actual_rxlev_full,
+	uint6_t ms_actual_rxlev_sub,
 	boolean facch_enabled
 }
 

-- 
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: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201124/26dcfffa/attachment.htm>


More information about the gerrit-log mailing list