Change in osmo-ttcn3-hacks[master]: L1CTL: Add f_L1CTL_DM_EST_REQ() for activation without IMM.ASS

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon May 20 19:40:50 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/14091 )

Change subject: L1CTL: Add f_L1CTL_DM_EST_REQ() for activation without IMM.ASS
......................................................................

L1CTL: Add f_L1CTL_DM_EST_REQ() for activation without IMM.ASS

In any normal or handover related assignments, we don't have an
ImmediateAssignment that we can hand to f_L1CTL_DM_EST_REQ_IA(),
so let's intrduce a version that works with arfcn, chan_nr and TSC
directly.

Change-Id: Ie5b85d3bac57032f4762ea9cdc21fdcd70fd5c2a
---
M library/L1CTL_PortType.ttcn
1 file changed, 5 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/library/L1CTL_PortType.ttcn b/library/L1CTL_PortType.ttcn
index 7dac4c3..a366a1b 100644
--- a/library/L1CTL_PortType.ttcn
+++ b/library/L1CTL_PortType.ttcn
@@ -177,10 +177,14 @@
 		}
 		T.stop;
 	}
+	function f_L1CTL_DM_EST_REQ(L1CTL_PT pt, Arfcn arfcn, RslChannelNr chan_nr, GsmTsc tsc) {
+		pt.send(ts_L1CTL_DM_EST_REQ(arfcn, chan_nr, tsc));
+	}
 
 	/* Send DM_EST_REQ from parameters derived from IMM ASS */
 	function f_L1CTL_DM_EST_REQ_IA(L1CTL_PT pt, ImmediateAssignment imm_ass) {
-		pt.send(ts_L1CTL_DM_EST_REQ({ false, imm_ass.chan_desc.arfcn }, imm_ass.chan_desc.chan_nr, imm_ass.chan_desc.tsc));
+		f_L1CTL_DM_EST_REQ(pt, { false, imm_ass.chan_desc.arfcn }, imm_ass.chan_desc.chan_nr,
+				   imm_ass.chan_desc.tsc);
 	}
 
 	/* Send DM_REL_REQ from parameters derived from IMM ASS */

-- 
To view, visit https://gerrit.osmocom.org/14091
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie5b85d3bac57032f4762ea9cdc21fdcd70fd5c2a
Gerrit-Change-Number: 14091
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190520/b6c5c2c0/attachment.html>


More information about the gerrit-log mailing list