[MERGED] osmo-ttcn3-hacks[master]: RSL_Types: Add ts_RSL_BCCH_INFO() for sending BCCH_INFO

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 Feb 25 12:03:40 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: RSL_Types: Add ts_RSL_BCCH_INFO() for sending BCCH_INFO
......................................................................


RSL_Types: Add ts_RSL_BCCH_INFO() for sending BCCH_INFO

Change-Id: Id9ad914f67137e38c7ad259c7a74de0e98c8f50d
---
M library/RSL_Types.ttcn
1 file changed, 11 insertions(+), 0 deletions(-)

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



diff --git a/library/RSL_Types.ttcn b/library/RSL_Types.ttcn
index 2cd5bd5..8fb44ad 100644
--- a/library/RSL_Types.ttcn
+++ b/library/RSL_Types.ttcn
@@ -1129,6 +1129,17 @@
 
 	/* COMMON CHANNEL MANAGEMENT MESSAGES */
 
+	/* 8.5.1 BTS <- BSC */
+	template RSL_Message ts_RSL_BCCH_INFO(RSL_IE_SysinfoType si_type, octetstring full_bcch_info) := {
+		msg_disc := ts_RSL_MsgDisc(RSL_MDISC_CCHAN, false),
+		msg_type := RSL_MT_BCCH_INFO,
+		ies := {
+			t_RSL_IE(RSL_IE_CHAN_NR, RSL_IE_Body:{chan_nr := t_RslChanNr_BCCH(0)}),
+			t_RSL_IE(RSL_IE_SYSINFO_TYPE, RSL_IE_Body:{sysinfo_type := si_type}),
+			t_RSL_IE(RSL_IE_FULL_BCCH_INFO, RSL_IE_Body:{other := ts_RSL_LV(full_bcch_info)})
+		}
+	}
+
 	/* 8.5.2 BTS -> BSC */
 	template RSL_Message ts_RSL_RACH_LOAD_IND(uint16_t slot_ct, uint16_t busy_ct, uint16_t acc_ct) := {
 		msg_disc := ts_RSL_MsgDisc(RSL_MDISC_CCHAN, false),

-- 
To view, visit https://gerrit.osmocom.org/6884
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id9ad914f67137e38c7ad259c7a74de0e98c8f50d
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list