Change in osmo-ttcn3-hacks[master]: GSM_Types: Add support for Osmocom RSL ChannelNr CBCH

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 Sep 16 10:43:15 UTC 2018


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/10981


Change subject: GSM_Types: Add support for Osmocom RSL ChannelNr CBCH
......................................................................

GSM_Types: Add support for Osmocom RSL ChannelNr CBCH

Osmocom uses 0xC8 as channel number for CBCH, this is an extension
to the 08.58 definitions.

Change-Id: I2203f4a9012c154c12ac9d8f9c448a9ed0f49197
---
M library/GSM_Types.ttcn
1 file changed, 4 insertions(+), 1 deletion(-)



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

diff --git a/library/GSM_Types.ttcn b/library/GSM_Types.ttcn
index 59ccb76..53208e5 100644
--- a/library/GSM_Types.ttcn
+++ b/library/GSM_Types.ttcn
@@ -60,7 +60,8 @@
 		RSL_CHAN_NR_BCCH	('10000'B),
 		RSL_CHAN_NR_RACH	('10001'B),
 		RSL_CHAN_NR_PCH_AGCH	('10010'B),
-		RSL_CHAN_NR_OSMO_PDCH	('11000'B)
+		RSL_CHAN_NR_OSMO_PDCH	('11000'B),
+		RSL_CHAN_NR_OSMO_CBCH	('11001'B)
 	} with { variant "FIELDLENGTH(5)" variant "FIELDORDER(msb)" };
 
 	type record RslChanNr2 {
@@ -107,6 +108,7 @@
 	template RslChannelNr t_RslChanNr_PCH_AGCH(template uint3_t tn) := t_RslChanNr0(tn, RSL_CHAN_NR_PCH_AGCH);
 	template RslChannelNr t_RslChanNr_Bm(template uint3_t tn) := t_RslChanNr0(tn, RSL_CHAN_NR_Bm_ACCH);
 	template RslChannelNr t_RslChanNr_PDCH(template uint3_t tn) := t_RslChanNr0(tn, RSL_CHAN_NR_OSMO_PDCH);
+	template RslChannelNr t_RslChanNr_CBCH(template uint3_t tn) := t_RslChanNr0(tn, RSL_CHAN_NR_OSMO_CBCH);
 	template RslChannelNr t_RslChanNr_Lm(template uint3_t tn, template uint1_t sub_slot) := {
 		u := { lm := { tag := '0001'B, sub_chan := sub_slot } },
 		tn := tn
@@ -129,6 +131,7 @@
 	template (value) RslChannelNr ts_RslChanNr_PCH_AGCH(uint3_t tn) := ts_RslChanNr0(tn, RSL_CHAN_NR_PCH_AGCH);
 	template (value) RslChannelNr ts_RslChanNr_Bm(uint3_t tn) := ts_RslChanNr0(tn, RSL_CHAN_NR_Bm_ACCH);
 	template (value) RslChannelNr ts_RslChanNr_PDCH(uint3_t tn) := ts_RslChanNr0(tn, RSL_CHAN_NR_OSMO_PDCH);
+	template (value) RslChannelNr ts_RslChanNr_CBCH(uint3_t tn) := ts_RslChanNr0(tn, RSL_CHAN_NR_OSMO_CBCH);
 	template (value) RslChannelNr ts_RslChanNr_Lm(uint3_t tn, uint1_t sub_slot) := {
 		u := { lm := { tag := '0001'B, sub_chan := sub_slot } },
 		tn := tn

-- 
To view, visit https://gerrit.osmocom.org/10981
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: I2203f4a9012c154c12ac9d8f9c448a9ed0f49197
Gerrit-Change-Number: 10981
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/20180916/4794c987/attachment.htm>


More information about the gerrit-log mailing list