From 05a236a2fcf0d0b9742c408af875c4b30bf0228d Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Sat, 14 Nov 2020 04:58:30 +0700 Subject: library/GSM_Types: add the Uplink flag to GsmBandArfcn Change-Id: Ib9bd7268b8a0fd8ed64064871c09fab35e15a761 --- library/GSM_Types.ttcn | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'library') diff --git a/library/GSM_Types.ttcn b/library/GSM_Types.ttcn index d954962a..e7d8a7cd 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 }; -- cgit v1.2.3