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/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20104 )
Change subject: move some key types from GSM_RR_Types to GSM_Types
......................................................................
move some key types from GSM_RR_Types to GSM_Types
This in turn means Osmocom_Gb_Types doesn't need to depend on
GSM_RR_Types anymore, which is particularly ugly as the latter
now depends on RLCMAC_*, creating a long chain of dependencies.
Change-Id: I8c8da7709695ff0023f71b3999291e2515b22e46
---
M library/GSM_RR_Types.ttcn
M library/GSM_Types.ttcn
M library/Osmocom_Gb_Types.ttcn
3 files changed, 21 insertions(+), 21 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/04/20104/1
diff --git a/library/GSM_RR_Types.ttcn b/library/GSM_RR_Types.ttcn
index 2cb50bc..b7e02ec 100644
--- a/library/GSM_RR_Types.ttcn
+++ b/library/GSM_RR_Types.ttcn
@@ -135,8 +135,6 @@
} with { variant "FIELDLENGTH(8)" };
type octetstring RestOctets with { variant "PADDING(yes), PADDING_PATTERN('00101011'B)" };
- type hexstring GsmBcdString with { variant "HEXORDER(low)" };
- type GsmBcdString BcdMccMnc with { variant "FIELDLENGTH(6)" };
type record L2PseudoLength {
uint6_t l2_plen,
@@ -219,18 +217,9 @@
hsn := hsn
};
- /* TS 24.008 10.5.1.1 */
- type uint16_t CellIdentity;
-
/* TS 24.008 10.5.1.2 */
type uint4_t CipheringKeySeqNr (0..7);
- /* 24.008 10.5.1.3 */
- type record LocationAreaIdentification {
- BcdMccMnc mcc_mnc,
- uint16_t lac
- } with { variant "" };
-
/* TS 24.008 10.5.1.4 */
type enumerated MobileIdentityType {
MI_TYPE_NONE (0),
@@ -424,15 +413,6 @@
uint3_t non_drx_timer
} with { variant "" };
- /* 24.008 10.5.5.15 */
- type record RoutingAreaIdentification {
- LocationAreaIdentification lai,
- uint8_t rac
- } with { variant "" };
-
- external function enc_RoutingAreaIdentification(RoutingAreaIdentification rai) return octetstring
- with { extension "prototype(convert)" extension "encode(RAW)" }
-
/* 44.018 10.5.2.16 */
type record IaRestOctHL {
uint6_t freq_par_len,
diff --git a/library/GSM_Types.ttcn b/library/GSM_Types.ttcn
index 5340fee..ee6635b 100644
--- a/library/GSM_Types.ttcn
+++ b/library/GSM_Types.ttcn
@@ -356,5 +356,26 @@
return (fn / 51) mod 8;
}
+type hexstring GsmBcdString with { variant "HEXORDER(low)" };
+type GsmBcdString BcdMccMnc with { variant "FIELDLENGTH(6)" };
+
+/* 24.008 10.5.1.3 */
+type record LocationAreaIdentification {
+ BcdMccMnc mcc_mnc,
+ uint16_t lac
+} with { variant "" };
+
+/* 24.008 10.5.5.15 */
+type record RoutingAreaIdentification {
+ LocationAreaIdentification lai,
+ uint8_t rac
+} with { variant "" };
+
+external function enc_RoutingAreaIdentification(RoutingAreaIdentification rai) return octetstring
+with { extension "prototype(convert)" extension "encode(RAW)" }
+
+/* TS 24.008 10.5.1.1 */
+type uint16_t CellIdentity;
+
} with { encode "RAW"; variant "FIELDORDER(msb)" }
diff --git a/library/Osmocom_Gb_Types.ttcn b/library/Osmocom_Gb_Types.ttcn
index 7ddaada..c5b0953 100644
--- a/library/Osmocom_Gb_Types.ttcn
+++ b/library/Osmocom_Gb_Types.ttcn
@@ -6,7 +6,6 @@
import from General_Types all;
import from Osmocom_Types all;
import from GSM_Types all;
- import from GSM_RR_Types all;
import from BSSGP_Types all
import from NS_Types all
import from Native_Functions all;
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20104
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: I8c8da7709695ff0023f71b3999291e2515b22e46
Gerrit-Change-Number: 20104
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200913/b0dc4ae5/attachment.htm>