From 42ca6b1c31296ee4f5f6a4a84a7d1b736eed416c Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 15 Sep 2018 17:44:06 +0300 Subject: 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 --- library/GSM_Types.ttcn | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/library/GSM_Types.ttcn b/library/GSM_Types.ttcn index 59ccb763..53208e5d 100644 --- a/library/GSM_Types.ttcn +++ b/library/GSM_Types.ttcn @@ -60,7 +60,8 @@ module GSM_Types { 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 @@ module GSM_Types { 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 @@ module GSM_Types { 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 -- cgit v1.2.3