First commit

This commit is contained in:
Leonardo Bonati
2021-12-08 20:17:46 +00:00
commit 60dffad583
2923 changed files with 463894 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
../oranE2/ANY.h
../oranE2/ANY.c
../oranE2/OCTET_STRING.h
../oranE2/OPEN_TYPE.h
../oranE2/OPEN_TYPE.c
../oranE2/constr_CHOICE.h
../oranE2/INTEGER.h
../oranE2/INTEGER.c
../oranE2/NativeEnumerated.h
../oranE2/NativeEnumerated.c
../oranE2/NativeInteger.h
../oranE2/NativeInteger.c
../oranE2/asn_SEQUENCE_OF.h
../oranE2/asn_SEQUENCE_OF.c
../oranE2/asn_SET_OF.h
../oranE2/asn_SET_OF.c
../oranE2/constr_CHOICE.c
../oranE2/constr_SEQUENCE.h
../oranE2/constr_SEQUENCE.c
../oranE2/constr_SEQUENCE_OF.h
../oranE2/constr_SEQUENCE_OF.c
../oranE2/constr_SET_OF.h
../oranE2/constr_SET_OF.c
../oranE2/asn_application.h
../oranE2/asn_application.c
../oranE2/asn_ioc.h
../oranE2/asn_system.h
../oranE2/asn_codecs.h
../oranE2/asn_internal.h
../oranE2/asn_internal.c
../oranE2/asn_random_fill.h
../oranE2/asn_random_fill.c
../oranE2/asn_bit_data.h
../oranE2/asn_bit_data.c
../oranE2/OCTET_STRING.c
../oranE2/BIT_STRING.h
../oranE2/BIT_STRING.c
../oranE2/asn_codecs_prim.c
../oranE2/asn_codecs_prim.h
../oranE2/ber_tlv_length.h
../oranE2/ber_tlv_length.c
../oranE2/ber_tlv_tag.h
../oranE2/ber_tlv_tag.c
../oranE2/ber_decoder.h
../oranE2/ber_decoder.c
../oranE2/der_encoder.h
../oranE2/der_encoder.c
../oranE2/constr_TYPE.h
../oranE2/constr_TYPE.c
../oranE2/constraints.h
../oranE2/constraints.c
../oranE2/xer_support.h
../oranE2/xer_support.c
../oranE2/xer_decoder.h
../oranE2/xer_decoder.c
../oranE2/xer_encoder.h
../oranE2/xer_encoder.c
../oranE2/per_support.h
../oranE2/per_support.c
../oranE2/per_decoder.h
../oranE2/per_decoder.c
../oranE2/per_encoder.h
../oranE2/per_encoder.c
../oranE2/per_opentype.h
../oranE2/per_opentype.c

View File

@@ -0,0 +1,63 @@
../oranE2SM/OCTET_STRING.h
../oranE2SM/OPEN_TYPE.h
../oranE2SM/OPEN_TYPE.c
../oranE2SM/constr_CHOICE.h
../oranE2SM/INTEGER.h
../oranE2SM/INTEGER.c
../oranE2SM/NativeEnumerated.h
../oranE2SM/NativeEnumerated.c
../oranE2SM/NativeInteger.h
../oranE2SM/NativeInteger.c
../oranE2SM/asn_SEQUENCE_OF.h
../oranE2SM/asn_SEQUENCE_OF.c
../oranE2SM/asn_SET_OF.h
../oranE2SM/asn_SET_OF.c
../oranE2SM/constr_CHOICE.c
../oranE2SM/constr_SEQUENCE.h
../oranE2SM/constr_SEQUENCE.c
../oranE2SM/constr_SEQUENCE_OF.h
../oranE2SM/constr_SEQUENCE_OF.c
../oranE2SM/constr_SET_OF.h
../oranE2SM/constr_SET_OF.c
../oranE2SM/asn_application.h
../oranE2SM/asn_application.c
../oranE2SM/asn_ioc.h
../oranE2SM/asn_system.h
../oranE2SM/asn_codecs.h
../oranE2SM/asn_internal.h
../oranE2SM/asn_internal.c
../oranE2SM/asn_random_fill.h
../oranE2SM/asn_random_fill.c
../oranE2SM/asn_bit_data.h
../oranE2SM/asn_bit_data.c
../oranE2SM/OCTET_STRING.c
../oranE2SM/BIT_STRING.h
../oranE2SM/BIT_STRING.c
../oranE2SM/asn_codecs_prim.c
../oranE2SM/asn_codecs_prim.h
../oranE2SM/ber_tlv_length.h
../oranE2SM/ber_tlv_length.c
../oranE2SM/ber_tlv_tag.h
../oranE2SM/ber_tlv_tag.c
../oranE2SM/ber_decoder.h
../oranE2SM/ber_decoder.c
../oranE2SM/der_encoder.h
../oranE2SM/der_encoder.c
../oranE2SM/constr_TYPE.h
../oranE2SM/constr_TYPE.c
../oranE2SM/constraints.h
../oranE2SM/constraints.c
../oranE2SM/xer_support.h
../oranE2SM/xer_support.c
../oranE2SM/xer_decoder.h
../oranE2SM/xer_decoder.c
../oranE2SM/xer_encoder.h
../oranE2SM/xer_encoder.c
../oranE2SM/per_support.h
../oranE2SM/per_support.c
../oranE2SM/per_decoder.h
../oranE2SM/per_decoder.c
../oranE2SM/per_encoder.h
../oranE2SM/per_encoder.c
../oranE2SM/per_opentype.h
../oranE2SM/per_opentype.c

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,359 @@
-- ASN1START
-- **************************************************************
-- E2SM-gNB-NRT
-- Information Element Definitions
--
-- **************************************************************
E2SM-gNB-NRT-IEs {
iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) 28458 exp(99) mobileDomain (0) ric (21) modules (3) e2sm (3) version1 (1) e2sm-gNB-NRT-IEs (3) }
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
-- **************************************************************
--
-- copied from X2AP IEs v15.4.0
-- note: ie-Extensions removed
-- **************************************************************
ECGI ::= SEQUENCE {
pLMN-Identity PLMN-Identity,
eUTRANcellIdentifier EUTRANCellIdentifier,
...
}
EUTRANCellIdentifier ::= BIT STRING (SIZE (28))
NRCellIdentifier ::= BIT STRING (SIZE (36))
NRCGI ::= SEQUENCE {
pLMN-Identity PLMN-Identity,
nRcellIdentifier NRCellIdentifier,
...
}
PLMN-Identity ::= OCTET STRING (SIZE(3))
-- **************************************************************
--
-- Lists
--
-- **************************************************************
maxofCellinRAN INTEGER ::= 16384
maxNoOfNeighbours INTEGER ::= 1024
maxofRANParameters INTEGER ::= 255
maxofRICstyles INTEGER ::= 63
-- E2 Service model IEs
-- ---------------------------------------------------
-- Event Trigger Definition OCTET STRING contents
-- ---------------------------------------------------
-- E2SM-gNB-NRT-EventTriggerDefinition IE
E2SM-gNB-NRT-EventTriggerDefinition ::= CHOICE{
eventDefinition-Format1 E2SM-gNB-NRT-EventTriggerDefinition-Format1,
...
}
-- E2SM-gNB-NRT-eventTriggerDefinition IE Format 1
E2SM-gNB-NRT-EventTriggerDefinition-Format1 ::= SEQUENCE{
triggerNature NRT-TriggerNature,
...
}
-- ---------------------------------------------------
-- Action Definition OCTET STRING contents
-- ---------------------------------------------------
E2SM-gNB-NRT-ActionDefinition ::= CHOICE{
actionDefinition-Format1 E2SM-gNB-NRT-ActionDefinition-Format1,
...
}
-- E2SM-gNB-NRT-actionDefinition IE used for Action Format 1
E2SM-gNB-NRT-ActionDefinition-Format1 ::= SEQUENCE{
ranParameter-List SEQUENCE (SIZE(1..maxofRANParameters)) OF RANparameter-Item OPTIONAL,
...
}
-- ---------------------------------------------------
-- Indication Header OCTET STRING contents
-- ---------------------------------------------------
E2SM-gNB-NRT-IndicationHeader ::= CHOICE{
indicationHeader-Format1 E2SM-gNB-NRT-IndicationHeader-Format1,
...
}
-- E2SM-gNB-NRT-indicationHeader Format 1
E2SM-gNB-NRT-IndicationHeader-Format1 ::= SEQUENCE{
timestamp NRT-TimeStamp OPTIONAL,
...
}
-- ---------------------------------------------------
-- Indication Message OCTET STRING contents
-- ---------------------------------------------------
-- E2SM-gNB-NRT-indicationMessage IE
E2SM-gNB-NRT-IndicationMessage ::= CHOICE{
indicationMessage-Format1 E2SM-gNB-NRT-IndicationMessage-Format1,
...
}
-- E2SM-gNB-NRT-IndicationMessage Format 1
NRT-Record-row-item ::= SEQUENCE{
neighbourCellID NRT-Cell-ID,
nrt-Record NRT-TableRecord
}
NRT-Record-List-item ::= SEQUENCE{
servedCellID NRT-Cell-ID,
nrt-Record-row SEQUENCE (SIZE(1..maxNoOfNeighbours)) OF NRT-Record-row-item
}
E2SM-gNB-NRT-IndicationMessage-Format1 ::= SEQUENCE{
nrt-Record-List SEQUENCE (SIZE(1..maxofCellinRAN)) OF NRT-Record-List-item,
...
}
-- ---------------------------------------------------
-- Call Process ID
-- ---------------------------------------------------
-- Not defined in this E2SM
-- ---------------------------------------------------
-- Control Header OCTET STRING contents
-- ---------------------------------------------------
-- E2SM-gNB-NRT-ControlHeader
E2SM-gNB-NRT-ControlHeader ::= CHOICE{
controlHeader-Format1 E2SM-gNB-NRT-ControlHeader-Format1,
...
}
-- E2SM-gNB-NRT-ControlHeader Format 1
E2SM-gNB-NRT-ControlHeader-Format1 ::= SEQUENCE{
command NRT-ControlCommand,
servedCellID NRT-Cell-ID,
neighbourCellID NRT-Cell-ID,
...
}
-- ---------------------------------------------------
-- Control Message OCTET STRING contents
-- ---------------------------------------------------
-- E2SM-gNB-NRT-ControlMessage
E2SM-gNB-NRT-ControlMessage ::= CHOICE{
controlMessage-Format1 E2SM-gNB-NRT-ControlMessage-Format1,
...
}
-- E2SM-gNB-NRT-controlMessage Format 1
E2SM-gNB-NRT-ControlMessage-Format1 ::= SEQUENCE{
tablerecord NRT-TableRecord,
...
}
-- NEW for Release 4 *****
-- ---------------------------------------------------
-- RAN Function Definition OCTET STRING contents
-- ---------------------------------------------------
-- E2SM-gNB-NRT-RANfunction-Definition
E2SM-gNB-NRT-RANfunction-Definition ::= SEQUENCE{
ranFunction-Name RANfunction-Name,
ric-EventTriggerStyle-List SEQUENCE (SIZE(1..maxofRICstyles)) OF RIC-EventTriggerStyle-List OPTIONAL,
ric-ReportStyle-List SEQUENCE (SIZE(1..maxofRICstyles)) OF RIC-ReportStyle-List OPTIONAL,
ric-InsertStyle-List SEQUENCE (SIZE(1..maxofRICstyles)) OF RIC-InsertStyle-List OPTIONAL,
ric-ControlStyle-List SEQUENCE (SIZE(1..maxofRICstyles)) OF RIC-ControlStyle-List OPTIONAL,
ric-PolicyStyle-List SEQUENCE (SIZE(1..maxofRICstyles)) OF RIC-PolicyStyle-List OPTIONAL,
...
}
-- ---------------------------------------------------
-- commmon IEs
-- ---------------------------------------------------
-- A
-- B
-- C
-- D
-- E
-- F
-- G
-- H
-- I
-- J
-- K
-- L
-- M
-- N
NRT-Cell-ID ::= CHOICE{
ecgi ECGI,
nrcgi NRCGI,
...
}
NRT-ControlCommand ::= ENUMERATED{
addition,
deletion,
...
}
NRT-TableRecord ::= OCTET STRING
NRT-TimeStamp ::= OCTET STRING (SIZE(8))
NRT-TriggerNature ::= ENUMERATED{
now,
onchange,
...
}
-- O
-- P
-- Q
-- R
-- NEW for Release 4 *****
RANfunction-Name ::= SEQUENCE{
ranFunction-ShortName PrintableString(SIZE(1..150,...)),
ranFunction-E2SM-OID PrintableString(SIZE(1..1000,...)),
ranFunction-Description PrintableString(SIZE(1..150,...)),
ranFunction-Instance INTEGER OPTIONAL,
...
}
RANparameter-Item ::= SEQUENCE {
ranParameter-ID RANparameter-ID,
ranParameter-Value RANparameter-Value,
...
}
-- NEW for Release 4 *****
RANparameterDef-Item ::= SEQUENCE {
ranParameter-ID RANparameter-ID,
ranParameter-Name RANparameter-Name,
ranParameter-Type RANparameter-Type,
...
}
RANparameter-ID ::= INTEGER (0..maxofRANParameters)
-- NEW for Release 4 *****
RANparameter-Name ::= PrintableString(SIZE(1..150,...))
RANparameter-Test ::= ENUMERATED{
equal,
greaterthan,
lessthan,
contains,
present,
...
}
-- NEW for Release 4 *****
RANparameter-Type ::= ENUMERATED{
integer,
enumerated,
boolean,
bit-string,
octet-string,
printable-string,
...
}
RANparameter-Value ::= CHOICE{
valueInt INTEGER,
valueEnum INTEGER,
valueBool BOOLEAN,
valueBitS BIT STRING,
valueOctS OCTET STRING,
valuePrtS PrintableString,
...
}
-- NEW for Release 4 *****
RIC-ControlStyle-List ::= SEQUENCE{
ric-ControlStyle-Type RIC-Style-Type,
ric-ControlStyle-Name RIC-Style-Name,
ric-ControlHeaderFormat-Type RIC-Format-Type,
ric-ControlMessageFormat-Type RIC-Format-Type,
ric-CallProcessIDFormat-Type RIC-Format-Type,
...
}
-- NEW for Release 4 *****
RIC-EventTriggerStyle-List ::= SEQUENCE{
ric-EventTriggerStyle-Type RIC-Style-Type,
ric-EventTriggerStyle-Name RIC-Style-Name,
ric-EventTriggerFormat-Type RIC-Format-Type,
...
}
-- NEW for Release 4 *****
RIC-InsertStyle-List ::= SEQUENCE{
ric-InsertStyle-Type RIC-Style-Type,
ric-InsertStyle-Name RIC-Style-Name,
ric-InsertActionFormat-Type RIC-Format-Type,
ric-InsertRanParameterDef-List SEQUENCE (SIZE(1..maxofRANParameters)) OF RANparameterDef-Item,
ric-IndicationHeaderFormat-Type RIC-Format-Type,
ric-IndicationMessageFormat-Type RIC-Format-Type,
ric-CallProcessIDFormat-Type RIC-Format-Type,
...
}
-- NEW for Release 4 *****
RIC-PolicyStyle-List ::= SEQUENCE{
ric-PolicyStyle-Type RIC-Style-Type,
ric-PolicyStyle-Name RIC-Style-Name,
ric-PolicyActionFormat-Type RIC-Format-Type,
ric-PolicyRanParameterDef-List SEQUENCE (SIZE(1..maxofRANParameters)) OF RANparameterDef-Item,
...
}
-- NEW for Release 4 *****
RIC-ReportStyle-List ::= SEQUENCE{
ric-ReportStyle-Type RIC-Style-Type,
ric-ReportStyle-Name RIC-Style-Name,
ric-ReportActionFormat-Type RIC-Format-Type,
ric-ReportRanParameterDef-List SEQUENCE (SIZE(1..maxofRANParameters)) OF RANparameterDef-Item,
ric-IndicationHeaderFormat-Type RIC-Format-Type,
ric-IndicationMessageFormat-Type RIC-Format-Type,
...
}
-- NEW for Release 4 *****
RIC-Format-Type ::= INTEGER
-- NEW for Release 4 *****
RIC-Style-Type ::= INTEGER
-- NEW for Release 4 *****
RIC-Style-Name ::= PrintableString(SIZE(1..150,...))
-- S
-- T
-- U
-- V
-- W
-- X
-- Y
-- Z
END
-- ASN1STOP

View File

@@ -0,0 +1,20 @@
#!/usr/bin/env bash
mkdir -p E2APtmpFiles
mkdir -p E2SMtmpFiles
cat E2APextFileList.txt | xargs mv -t E2APtmpFiles/.
cat E2SMextFileList.txt | xargs mv -t E2SMtmpFiles/.
cd ../oranE2
rm
find . -type f -name \*.c -exec ../int/autogen/autogen -i --no-top-level-comment -l codev {} \;
find . -type f -name \*.h -exec ../int/autogen/autogen -i --no-top-level-comment -l codev {} \;
mv ../asnTextFiles/E2APtmpFiles/* .
rmdir ../asnTextFiles/E2APtmpFiles
rm converter-example.c
cd ../oranE2SM
find . -type f -name \*.c -exec ../int/autogen/autogen -i --no-top-level-comment -l codev {} \;
find . -type f -name \*.h -exec ../int/autogen/autogen -i --no-top-level-comment -l codev {} \;
mv ../asnTextFiles/E2SMtmpFiles/* .
rmdir ../asnTextFiles/E2SMtmpFiles
rm converter-example.c