library/GSM_Types: add the Uplink flag to GsmBandArfcn
Change-Id: Ib9bd7268b8a0fd8ed64064871c09fab35e15a761
diff --git a/library/GSM_Types.ttcn b/library/GSM_Types.ttcn
index d954962..e7d8a7c 100644
--- a/library/GSM_Types.ttcn
+++ b/library/GSM_Types.ttcn
@@ -32,7 +32,8 @@
/* ARFCN with explicit band discrimination */
type record GsmBandArfcn {
boolean pcs,
- BIT5 spare,
+ boolean uplink,
+ BIT4 spare,
GsmArfcn arfcn
} with {
variant (arfcn) "BYTEORDER(last)"
@@ -41,15 +42,19 @@
template (value) GsmBandArfcn
ts_GsmBandArfcn(template (value) GsmArfcn arfcn,
- template (value) boolean pcs := false) := {
+ template (value) boolean pcs := false,
+ template (value) boolean uplink := false) := {
pcs := pcs,
- spare := '00000'B,
+ uplink := uplink,
+ spare := '0000'B,
arfcn := arfcn
};
template GsmBandArfcn
tr_GsmBandArfcn(template (present) GsmArfcn arfcn,
- template (present) boolean pcs := ?) := {
+ template (present) boolean pcs := ?,
+ template (present) boolean uplink := ?) := {
pcs := pcs,
+ uplink := uplink,
spare := ?,
arfcn := arfcn
};