summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-11-14 04:58:30 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-11-24 11:58:49 +0100
commit05a236a2fcf0d0b9742c408af875c4b30bf0228d (patch)
treeef43a13adf1e93216812491f17089160cb649f0d /library
parent1acc7bb1840582a351888bba9f98644b9435f5a1 (diff)
library/GSM_Types: add the Uplink flag to GsmBandArfcn
Diffstat (limited to 'library')
-rw-r--r--library/GSM_Types.ttcn13
1 files changed, 9 insertions, 4 deletions
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 @@ type uint16_t GsmCellId;
/* 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 @@ type record GsmBandArfcn {
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
};