summaryrefslogtreecommitdiffstats
path: root/sysinfo
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-07-16 03:05:02 +0200
committerHarald Welte <laforge@gnumonks.org>2017-07-16 03:05:02 +0200
commit162b160678801842bb40084812ce0060c94fd201 (patch)
tree5601770d5064d40d95f3b9059116655f293fb0fe /sysinfo
parentd1f74c63ed58e648da4acba155b42a4e7eb3bda4 (diff)
add SI3 matching template
Diffstat (limited to 'sysinfo')
-rw-r--r--sysinfo/GSM_SystemInformation.ttcn18
1 files changed, 16 insertions, 2 deletions
diff --git a/sysinfo/GSM_SystemInformation.ttcn b/sysinfo/GSM_SystemInformation.ttcn
index 86cba2a..4a7bfd5 100644
--- a/sysinfo/GSM_SystemInformation.ttcn
+++ b/sysinfo/GSM_SystemInformation.ttcn
@@ -14,7 +14,7 @@ module GSM_SystemInformation {
BIT2 zero_one
} with { variant "" };
- template L2PseudoLength t_L2Pseudolength(uint6_t len) := {
+ template L2PseudoLength t_L2Pseudolength(template uint6_t len) := {
l2_plen := len,
zero_one := '01'B
};
@@ -36,8 +36,9 @@ module GSM_SystemInformation {
RrMessageType message_type
} with { variant "" };
- template SystemInformationHeader t_SiHeader(RrMessageType msg_type, uint6_t len) := {
+ template SystemInformationHeader t_SiHeader(RrMessageType msg_type, template uint6_t len) := {
l2_plen := t_L2Pseudolength(len),
+ skip_indicator := 0,
rr_protocol_discriminator := 6,
message_type := msg_type
};
@@ -112,6 +113,8 @@ module GSM_SystemInformation {
uint8_t t3212
} with { variant "" };
+ template ControlChannelDescription t_ControlChannelDescription := { ?, ?, ?, ?, ?, ?, '00'B, ?, ? };
+
/* 44.018 10.5.2.21 */
type record MobileAllocation {
OCT1 iei,
@@ -183,6 +186,17 @@ module GSM_SystemInformation {
Si3RestOctets rest_octets
} with { variant "" };
+ template SystemInformationType3 t_SI3 := {
+ cell_id := ?,
+ lai := ?,
+ ctrl_chan_desc := t_ControlChannelDescription,
+ cell_options := ?,
+ cell_sel_par := ?,
+ rach_control := ?,
+ rest_octets := ?
+ };
+
+
/* 44.018 9.1.36 */
type record SystemInformationType4 {
//SystemInformationHeader header,