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/.
neels gerrit-no-reply at lists.osmocom.orgneels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24431 ) Change subject: GSM_Types, bsc: add VAMOS cbits ...................................................................... GSM_Types, bsc: add VAMOS cbits Change-Id: I2d98495b8c4c9a8466f2154af9bb29124c2cb0b5 --- M bsc/MSC_ConnectionHandler.ttcn M library/GSM_Types.ttcn 2 files changed, 33 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/31/24431/1 diff --git a/bsc/MSC_ConnectionHandler.ttcn b/bsc/MSC_ConnectionHandler.ttcn index 8c44bf7..37adc18 100644 --- a/bsc/MSC_ConnectionHandler.ttcn +++ b/bsc/MSC_ConnectionHandler.ttcn @@ -754,9 +754,15 @@ if (match(inp, '00001'B)) { /* TCH/F */ chan_nr := valueof(t_RslChanNr_Bm(tn)); } + else if (match(inp, '11101'B)) { /* VAMOS TCH/F */ + chan_nr := valueof(t_RslChanNr_Osmo_VAMOS_Bm(tn)); + } else if (match(inp, '0001?'B)) { /* TCH/H */ chan_nr := valueof(t_RslChanNr_Lm(tn, bit2int(substr(inp, 4, 1)))); } + else if (match(inp, '1111?'B)) { /* VAMOS TCH/H */ + chan_nr := valueof(t_RslChanNr_Osmo_VAMOS_Lm(tn, bit2int(substr(inp, 4, 1)))); + } else if (match(inp, '001??'B)) { /* SDCCH/4 */ chan_nr := valueof(t_RslChanNr_SDCCH4(tn, bit2int(substr(inp, 3, 2)))); } diff --git a/library/GSM_Types.ttcn b/library/GSM_Types.ttcn index bcd0afb..4889a1e 100644 --- a/library/GSM_Types.ttcn +++ b/library/GSM_Types.ttcn @@ -124,7 +124,8 @@ RSL_CHAN_NR_PCH_AGCH ('10010'B), RSL_CHAN_NR_OSMO_PDCH ('11000'B), RSL_CHAN_NR_OSMO_CBCH4 ('11001'B), - RSL_CHAN_NR_OSMO_CBCH8 ('11010'B) + RSL_CHAN_NR_OSMO_CBCH8 ('11010'B), + RSL_CHAN_NR_OSMO_VAMOS_Bm_ACCH ('11101'B) } with { variant "FIELDLENGTH(5)" variant "FIELDORDER(msb)" }; type record RslChanNr2 { @@ -132,6 +133,11 @@ uint1_t sub_chan } with { variant "FIELDLENGTH(5)" variant "FIELDORDER(msb)" }; +type record RslChanNr2VAMOS { + BIT4 tag ('1111'B), + uint1_t sub_chan +} with { variant "FIELDLENGTH(5)" variant "FIELDORDER(msb)" }; + type record RslChanNr4 { BIT3 tag ('001'B), uint2_t sub_chan @@ -145,10 +151,12 @@ type union RslChanNrU { RslChanNr0 ch0, RslChanNr2 lm, + RslChanNr2VAMOS lm_vamos, RslChanNr4 sdcch4, RslChanNr8 sdcch8 } with { variant "TAG(lm, tag = '0001'B; + lm_vamos, tag = '1111'B; sdcch4, tag = '001'B; sdcch8, tag = '01'B; ch0, OTHERWISE)" @@ -185,6 +193,15 @@ u := { sdcch8 := { tag := '01'B, sub_chan := sub_slot } }, tn := tn } +template RslChannelNr t_RslChanNr_Osmo_VAMOS_Bm(template uint3_t tn) := { + u := { ch0 := RSL_CHAN_NR_OSMO_VAMOS_Bm_ACCH }, + tn := tn +} + +template RslChannelNr t_RslChanNr_Osmo_VAMOS_Lm(template uint3_t tn, template uint1_t sub_slot) := { + u := { lm_vamos := { tag := '1111'B, sub_chan := sub_slot } }, + tn := tn +} template (value) RslChannelNr ts_RslChanNr0(uint3_t tn, RslChanNr0 cht) := { u := { ch0 := cht }, @@ -209,6 +226,15 @@ u := { sdcch8 := { tag := '01'B, sub_chan := sub_slot } }, tn := tn } +template (value) RslChannelNr ts_RslChanNr_Osmo_VAMOS_Bm(uint3_t tn) := { + u := { ch0 := RSL_CHAN_NR_OSMO_VAMOS_Bm_ACCH }, + tn := tn +} +template (value) RslChannelNr ts_RslChanNr_Osmo_VAMOS_Lm(uint3_t tn, uint1_t sub_slot) := { + u := { lm_vamos := { tag := '1111'B, sub_chan := sub_slot } }, + tn := tn +} + /* TS 48.058 9.3.2 Link ID */ type enumerated RslLinkIdC { -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24431 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: I2d98495b8c4c9a8466f2154af9bb29124c2cb0b5 Gerrit-Change-Number: 24431 Gerrit-PatchSet: 1 Gerrit-Owner: neels <nhofmeyr at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210527/005801d7/attachment.htm>