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

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun May 19 22:15:26 UTC 2019


Harald Welte has uploaded this change for review. ( 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(-)



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

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: newchange
Gerrit-Change-Id: Ie5b85d3bac57032f4762ea9cdc21fdcd70fd5c2a
Gerrit-Change-Number: 14091
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190519/95b43783/attachment.htm>


More information about the gerrit-log mailing list