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/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has submitted this change. ( 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, 28 insertions(+), 2 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, approved
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..e74972f 100644
--- a/library/GSM_Types.ttcn
+++ b/library/GSM_Types.ttcn
@@ -124,11 +124,12 @@
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 {
- BIT4 tag ('0001'B),
+ BIT4 tag ('0001'B, '1111'B),
uint1_t sub_chan
} with { variant "FIELDLENGTH(5)" variant "FIELDORDER(msb)" };
@@ -149,6 +150,7 @@
RslChanNr8 sdcch8
} with {
variant "TAG(lm, tag = '0001'B;
+ lm, tag = '1111'B;
sdcch4, tag = '001'B;
sdcch8, tag = '01'B;
ch0, OTHERWISE)"
@@ -185,6 +187,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 := { tag := '1111'B, sub_chan := sub_slot } },
+ tn := tn
+}
template (value) RslChannelNr ts_RslChanNr0(uint3_t tn, RslChanNr0 cht) := {
u := { ch0 := cht },
@@ -209,6 +220,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 := { 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: 4
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
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/20210601/4a7568d6/attachment.htm>