Change in osmo-ttcn3-hacks[master]: library/PCUIF_Types: add definition for PCU_IF_MSG_INTERF_IND

laforge gerrit-no-reply at lists.osmocom.org
Tue Jun 22 18:49:34 UTC 2021


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

Change subject: library/PCUIF_Types: add definition for PCU_IF_MSG_INTERF_IND
......................................................................

library/PCUIF_Types: add definition for PCU_IF_MSG_INTERF_IND

Change-Id: I07d25d694c2f39a79295c2948ab6155f46e5c639
Related: SYS#5313, OS#1569, OS#1866
---
M library/PCUIF_Types.ttcn
1 file changed, 46 insertions(+), 0 deletions(-)

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



diff --git a/library/PCUIF_Types.ttcn b/library/PCUIF_Types.ttcn
index 9d6b023..6cfe410 100644
--- a/library/PCUIF_Types.ttcn
+++ b/library/PCUIF_Types.ttcn
@@ -35,6 +35,7 @@
 	PCU_IF_MSG_INFO_IND		('32'O),
 	PCU_IF_MSG_ACT_REQ		('40'O),
 	PCU_IF_MSG_TIME_IND		('52'O),
+	PCU_IF_MSG_INTERF_IND		('53'O),
 	PCU_IF_MSG_PAG_REQ		('60'O),
 	PCU_IF_MSG_TXT_IND		('70'O)
 } with { variant "FIELDLENGTH(8)" };
@@ -222,6 +223,14 @@
 	uint32_t	fn
 } with { variant "" };
 
+type record length(8) of uint8_t PCUIF_interf;
+type record PCUIF_interf_ind {
+	uint8_t		trx_nr,
+	OCT3		spare,
+	uint32_t	fn,
+	PCUIF_interf	interf
+} with { variant "" };
+
 type record PCUIF_pag_req {
 	PCUIF_Sapi	sapi,
 	uint8_t		chan_needed,
@@ -257,6 +266,7 @@
 	PCUIF_info_ind		info_ind,
 	PCUIF_act_req		act_req,
 	PCUIF_time_ind		time_ind,
+	PCUIF_interf_ind	interf_ind,
 	PCUIF_pag_req		pag_req,
 	PCUIF_app_info_req	app_info_req
 } with { variant "" };
@@ -278,6 +288,7 @@
 				info_ind,	msg_type = PCU_IF_MSG_INFO_IND;
 				act_req,	msg_type = PCU_IF_MSG_ACT_REQ;
 				time_ind,	msg_type = PCU_IF_MSG_TIME_IND;
+				interf_ind,	msg_type = PCU_IF_MSG_INTERF_IND;
 				pag_req,	msg_type = PCU_IF_MSG_PAG_REQ;
 				app_info_req,	msg_type = PCU_IF_MSG_APP_INFO_REQ)"
 	/* PCUIFv10: 1006 * 8 = 8048 bits */
@@ -877,6 +888,41 @@
 	}
 }
 
+template (value) PCUIF_Message
+ts_PCUIF_INTERF_IND(template (value) uint8_t bts_nr,
+		    template (value) uint8_t trx_nr,
+		    template (value) uint32_t fn,
+		    template (value) PCUIF_interf interf) := {
+	msg_type := PCU_IF_MSG_INTERF_IND,
+	bts_nr := bts_nr,
+	spare := '0000'O,
+	u := {
+		interf_ind := {
+			trx_nr := trx_nr,
+			spare := '000000'O,
+			fn := fn,
+			interf := interf
+		}
+	}
+}
+template PCUIF_Message
+tr_PCUIF_INTERF_IND(template (present) uint8_t bts_nr := ?,
+		    template (present) uint8_t trx_nr := ?,
+		    template (present) uint32_t fn := ?,
+		    template (present) PCUIF_interf interf := ?) := {
+	msg_type := PCU_IF_MSG_INTERF_IND,
+	bts_nr := bts_nr,
+	spare := ?,
+	u := {
+		interf_ind := {
+			trx_nr := trx_nr,
+			spare := ?,
+			fn := fn,
+			interf := interf
+		}
+	}
+}
+
 template (value) PCUIF_Message ts_PCUIF_SUSP_REQ(template (value) uint8_t bts_nr,
 						 template (value) OCT4 tlli,
 						 template (value) OCT6 ra_id,

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24716
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: I07d25d694c2f39a79295c2948ab6155f46e5c639
Gerrit-Change-Number: 24716
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/20210622/58ddf67c/attachment.htm>


More information about the gerrit-log mailing list