* add X2AP messages and generate libx2ap_LIB (currently enabled for oaisim)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7854 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -31,12 +31,112 @@ X2ap-PrivateIE-ID ::= CHOICE {
|
||||
global OBJECT IDENTIFIER
|
||||
}
|
||||
|
||||
X2ap-ProcedureCode ::= INTEGER (0..255)
|
||||
--X2ap-ProcedureCode ::= INTEGER (0..255)
|
||||
X2ap-ProcedureCode ::= INTEGER {
|
||||
id-handoverPreparation (0),
|
||||
id-handoverCancel (1),
|
||||
id-loadIndication (2),
|
||||
id-errorIndication (3),
|
||||
id-snStatusTransfer (4),
|
||||
id-uEContextRelease (5),
|
||||
id-x2Setup (6),
|
||||
id-reset (7),
|
||||
id-eNBConfigurationUpdate (8),
|
||||
id-resourceStatusReportingInitiation (9),
|
||||
id-resourceStatusReporting (10),
|
||||
id-privateMessage (11),
|
||||
id-mobilitySettingsChange (12),
|
||||
id-rLFIndication (13),
|
||||
id-handoverReport (14),
|
||||
id-cellActivation (15)
|
||||
} (0..255)
|
||||
|
||||
|
||||
X2ap-ProtocolIE-ID ::= INTEGER (0..x2ap-maxProtocolIEs)
|
||||
--X2ap-ProtocolIE-ID ::= INTEGER (0..x2ap-maxProtocolIEs)
|
||||
X2ap-ProtocolIE-ID ::= INTEGER {
|
||||
id-E-RABs-Admitted-Item (0),
|
||||
id-E-RABs-Admitted-List (1),
|
||||
id-E-RAB-Item (2),
|
||||
id-E-RABs-NotAdmitted-List (3),
|
||||
id-E-RABs-ToBeSetup-Item (4),
|
||||
id-Cause (5),
|
||||
id-CellInformation (6),
|
||||
id-CellInformation-Item (7),
|
||||
id-New-eNB-UE-X2AP-ID (9),
|
||||
id-Old-eNB-UE-X2AP-ID (10),
|
||||
id-TargetCell-ID (11),
|
||||
id-TargeteNBtoSource-eNBTransparentContainer (12),
|
||||
id-TraceActivation (13),
|
||||
id-UE-ContextInformation (14),
|
||||
id-UE-HistoryInformation (15),
|
||||
id-UE-X2AP-ID (16),
|
||||
id-CriticalityDiagnostics (17),
|
||||
id-E-RABs-SubjectToStatusTransfer-List (18),
|
||||
id-E-RABs-SubjectToStatusTransfer-Item (19),
|
||||
id-ServedCells (20),
|
||||
id-GlobalENB-ID (21),
|
||||
id-TimeToWait (22),
|
||||
id-GUMMEI-ID (23),
|
||||
id-GUGroupIDList (24),
|
||||
id-ServedCellsToAdd (25),
|
||||
id-ServedCellsToModify (26),
|
||||
id-ServedCellsToDelete (27),
|
||||
id-Registration-Request (28),
|
||||
id-CellToReport (29),
|
||||
id-ReportingPeriodicity (30),
|
||||
id-CellToReport-Item (31),
|
||||
id-CellMeasurementResult (32),
|
||||
id-CellMeasurementResult-Item (33),
|
||||
id-GUGroupIDToAddList (34),
|
||||
id-GUGroupIDToDeleteList (35),
|
||||
id-SRVCCOperationPossible (36),
|
||||
id-Measurement-ID (37),
|
||||
id-ReportCharacteristics (38),
|
||||
id-ENB1-Measurement-ID (39),
|
||||
id-ENB2-Measurement-ID (40),
|
||||
id-Number-of-Antennaports (41),
|
||||
id-CompositeAvailableCapacityGroup (42),
|
||||
id-ENB1-Cell-ID (43),
|
||||
id-ENB2-Cell-ID (44),
|
||||
id-ENB2-Proposed-Mobility-Parameters (45),
|
||||
id-ENB1-Mobility-Parameters (46),
|
||||
id-ENB2-Mobility-Parameters-Modification-Range (47),
|
||||
id-FailureCellPCI (48),
|
||||
id-Re-establishmentCellECGI (49),
|
||||
id-FailureCellCRNTI (50),
|
||||
id-ShortMAC-I (51),
|
||||
id-SourceCellECGI (52),
|
||||
id-FailureCellECGI (53),
|
||||
id-HandoverReportType (54),
|
||||
id-PRACH-Configuration (55),
|
||||
id-MBSFN-Subframe-Info (56),
|
||||
id-ServedCellsToActivate (57),
|
||||
id-ActivatedCellList (58),
|
||||
id-DeactivationIndication (59),
|
||||
id-UE-RLF-Report-Container (60),
|
||||
id-ABSInformation (61),
|
||||
id-InvokeIndication (62),
|
||||
id-ABS-Status (63),
|
||||
id-PartialSuccessIndicator (64),
|
||||
id-MeasurementInitiationResult-List (65),
|
||||
id-MeasurementInitiationResult-Item (66),
|
||||
id-MeasurementFailureCause-Item (67),
|
||||
id-CompleteFailureCauseInformation-List (68),
|
||||
id-CompleteFailureCauseInformation-Item (69),
|
||||
id-CSG-Id (70),
|
||||
id-CSGMembershipStatus (71),
|
||||
id-MDTConfiguration (72),
|
||||
id-ManagementBasedMDTallowed (74),
|
||||
id-RRCConnSetupIndicator (75),
|
||||
id-NeighbourTAC (76),
|
||||
id-Time-UE-StayedInCell-EnhancedGranularity (77),
|
||||
id-RRCConnReestabIndicator (78),
|
||||
id-MBMS-Service-Area-List (79),
|
||||
id-HO-cause (80),
|
||||
id-TargetCellInUTRAN (81),
|
||||
id-MultibandInfoList (84)
|
||||
} (0..x2ap-maxProtocolIEs)
|
||||
|
||||
|
||||
X2ap-TriggeringMessage ::= ENUMERATED { initiating-message, successful-outcome, unsuccessful-outcome}
|
||||
|
||||
END
|
||||
END
|
||||
|
||||
@@ -24,11 +24,12 @@ IMPORTS
|
||||
id-Time-UE-StayedInCell-EnhancedGranularity,
|
||||
id-MBMS-Service-Area-List,
|
||||
id-HO-cause,
|
||||
x2ap-maxnoofBearers,
|
||||
x2ap-maxCellineNB,
|
||||
x2ap-maxEARFCN,
|
||||
x2ap-maxInterfaces,
|
||||
x2ap-maxFailedMeasObjects,
|
||||
x2ap-maxnoofBands,
|
||||
x2ap-maxnoofBearers,
|
||||
x2ap-maxnoofBPLMNs,
|
||||
x2ap-maxnoofCells,
|
||||
x2ap-maxnoofEPLMNs,
|
||||
@@ -54,9 +55,9 @@ FROM X2AP-CommonDataTypes
|
||||
|
||||
-- ProtocolExtensionContainer{},
|
||||
-- ProtocolIE-Single-Container{},
|
||||
-- X2AP-PROTOCOL-EXTENSION,
|
||||
X2AP-PROTOCOL-EXTENSION
|
||||
-- X2AP-PROTOCOL-IES
|
||||
--FROM X2AP-Containers
|
||||
FROM X2AP-Containers
|
||||
|
||||
X2ap-IE
|
||||
FROM X2AP-PDU;
|
||||
@@ -65,6 +66,13 @@ FROM X2AP-PDU;
|
||||
X2ap-IE-Extensions ::= SEQUENCE (SIZE (1..x2ap-maxProtocolExtensions)) OF X2ap-IE
|
||||
|
||||
-- A
|
||||
X2ap-ActivatedCellList ::= SEQUENCE (SIZE (1..x2ap-maxCellineNB)) OF X2ap-ActivatedCellList-Item
|
||||
X2ap-ActivatedCellList-Item ::= SEQUENCE {
|
||||
ecgi X2ap-ECGI,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { { X2ap-ActivatedCellList-Item-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-ABSInformation ::= CHOICE {
|
||||
fdd X2ap-ABSInformationFDD,
|
||||
@@ -254,6 +262,38 @@ X2ap-CellType ::= SEQUENCE {
|
||||
X2ap-CellType-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
|
||||
...
|
||||
}
|
||||
X2ap-CellToReport-List ::= SEQUENCE (SIZE (1..x2ap-maxCellineNB)) OF X2ap-IE
|
||||
--ProtocolIE-Single-Container { {X2ap-CellToReport-ItemIEs} }
|
||||
|
||||
X2ap-CellToReport-Item ::= SEQUENCE {
|
||||
cell-ID X2ap-ECGI,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions X2ap-ProtocolExtensionContainer { {CellToReport-Item-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-MeasurementFailureCause-List ::= SEQUENCE (SIZE (1..x2ap-maxFailedMeasObjects)) OF X2ap-IE
|
||||
|
||||
X2ap-MeasurementFailureCause-Item ::= SEQUENCE {
|
||||
measurementFailedReportCharacteristics X2ap-ReportCharacteristics,
|
||||
cause X2ap-Cause,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { { X2ap-MeasurementFailureCause-Item-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-CellInformation-List ::= SEQUENCE (SIZE (1..x2ap-maxCellineNB)) OF X2ap-IE
|
||||
--ProtocolIE-Single-Container { {X2ap-CellInformation-ItemIEs} }
|
||||
|
||||
X2ap-CellInformation-Item ::= SEQUENCE {
|
||||
cell-ID X2ap-ECGI,
|
||||
ul-InterferenceOverloadIndication X2ap-UL-InterferenceOverloadIndication OPTIONAL,
|
||||
ul-HighInterferenceIndicationInfo X2ap-UL-HighInterferenceIndicationInfo OPTIONAL,
|
||||
relativeNarrowbandTxPower X2ap-RelativeNarrowbandTxPower OPTIONAL,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { {X2ap-CellInformation-Item-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-CompositeAvailableCapacityGroup ::= SEQUENCE {
|
||||
dL-CompositeAvailableCapacity X2ap-CompositeAvailableCapacity,
|
||||
@@ -291,6 +331,29 @@ X2ap-COUNTvalue-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-CompleteFailureCauseInformation-List ::= SEQUENCE (SIZE (1..x2ap-maxCellineNB)) OF X2ap-IE
|
||||
--ProtocolIE-Single-Container { {X2ap-CompleteFailureCauseInformation-ItemIEs} }
|
||||
|
||||
X2ap-CompleteFailureCauseInformation-Item ::= SEQUENCE {
|
||||
cell-ID X2ap-ECGI,
|
||||
measurementFailureCause-List X2ap-MeasurementFailureCause-List,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { { X2ap-CompleteFailureCauseInformation-Item-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-CellMeasurementResult-List ::= SEQUENCE (SIZE (1..x2ap-maxCellineNB)) OF X2ap-IE
|
||||
--ProtocolIE-Single-Container { {X2ap-CellMeasurementResult-ItemIEs} }
|
||||
|
||||
X2ap-CellMeasurementResult-Item ::= SEQUENCE {
|
||||
cell-ID X2ap-ECGI,
|
||||
hWLoadIndicator X2ap-HWLoadIndicator OPTIONAL,
|
||||
s1TNLLoadIndicator X2ap-S1TNLLoadIndicator OPTIONAL,
|
||||
radioResourceStatus X2ap-RadioResourceStatus OPTIONAL,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions X2ap-ProtocolExtensionContainer { {X2ap-CellMeasurementResult-Item-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-CriticalityDiagnostics ::= SEQUENCE {
|
||||
procedureCode X2ap-ProcedureCode OPTIONAL,
|
||||
@@ -455,6 +518,44 @@ X2ap-E-RAB-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-E-RABs-ToBeSetup-List ::= SEQUENCE (SIZE(1..x2ap-maxnoofBearers)) OF X2ap-IE
|
||||
|
||||
X2ap-E-RABs-ToBeSetup-Item ::= SEQUENCE {
|
||||
e-RAB-ID X2ap-E-RAB-ID,
|
||||
e-RAB-Level-QoS-Parameters X2ap-E-RAB-Level-QoS-Parameters,
|
||||
dL-Forwarding X2ap-DL-Forwarding OPTIONAL,
|
||||
uL-GTPtunnelEndpoint X2ap-GTPtunnelEndpoint,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { {X2ap-E-RABs-ToBeSetup-ItemExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-E-RABs-Admitted-List ::= SEQUENCE (SIZE (1..x2ap-maxnoofBearers)) OF X2ap-IE
|
||||
--ProtocolIE-Single-Container { {X2ap-E-RABs-Admitted-ItemIEs} }
|
||||
|
||||
X2ap-E-RABs-Admitted-Item ::= SEQUENCE {
|
||||
e-RAB-ID X2ap-E-RAB-ID,
|
||||
uL-GTP-TunnelEndpoint X2ap-GTPtunnelEndpoint OPTIONAL,
|
||||
dL-GTP-TunnelEndpoint X2ap-GTPtunnelEndpoint OPTIONAL,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { {X2ap-E-RABs-Admitted-Item-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-E-RABs-SubjectToStatusTransfer-List ::= SEQUENCE (SIZE (1..x2ap-maxnoofBearers)) OF X2ap-IE
|
||||
--ProtocolIE-Single-Container { { X2ap-E-RABs-SubjectToStatusTransfer-ItemIEs} }
|
||||
|
||||
X2ap-E-RABs-SubjectToStatusTransfer-Item ::= SEQUENCE {
|
||||
e-RAB-ID X2ap-E-RAB-ID,
|
||||
|
||||
receiveStatusofULPDCPSDUs X2ap-ReceiveStatusofULPDCPSDUs OPTIONAL,
|
||||
uL-COUNTvalue X2ap-COUNTvalue,
|
||||
dL-COUNTvalue X2ap-COUNTvalue,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { {X2ap-E-RABs-SubjectToStatusTransfer-ItemExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-EUTRANCellIdentifier ::= BIT STRING (SIZE (28))
|
||||
|
||||
X2ap-EUTRANTraceID ::= OCTET STRING (SIZE (8))
|
||||
@@ -709,6 +810,18 @@ X2ap-MDT-Activation ::= ENUMERATED {
|
||||
...
|
||||
}
|
||||
|
||||
|
||||
X2ap-MeasurementInitiationResult-List ::= SEQUENCE (SIZE (1..x2ap-maxCellineNB)) OF X2ap-IE
|
||||
--ProtocolIE-Single-Container { { X2ap-MeasurementInitiationResult-ItemIEs} }
|
||||
|
||||
X2ap-MeasurementInitiationResult-Item ::= SEQUENCE {
|
||||
cell-ID X2ap-ECGI,
|
||||
measurementFailureCause-List X2ap-MeasurementFailureCause-List OPTIONAL,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { { X2ap-MeasurementInitiationResult-Item-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-MDT-Configuration ::= SEQUENCE {
|
||||
mdt-Activation X2ap-MDT-Activation,
|
||||
areaScopeOfMDT X2ap-AreaScopeOfMDT,
|
||||
@@ -816,9 +929,15 @@ X2ap-Number-of-Antennaports ::= ENUMERATED {
|
||||
|
||||
-- O
|
||||
|
||||
X2ap-Old-ECGIs::= SEQUENCE (SIZE (1..x2ap-maxCellineNB)) OF X2ap-ECGI
|
||||
|
||||
X2ap-Oneframe ::= BIT STRING (SIZE (6))
|
||||
|
||||
-- P
|
||||
X2ap-PartialSuccessIndicator ::= ENUMERATED {
|
||||
partial-success-allowed,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-PDCP-SN ::= INTEGER (0..4095)
|
||||
|
||||
@@ -871,6 +990,14 @@ X2ap-QCI ::= INTEGER (0..255)
|
||||
|
||||
-- R
|
||||
|
||||
X2ap-ReportingPeriodicity ::= ENUMERATED {
|
||||
one-thousand-ms,
|
||||
two-thousand-ms,
|
||||
five-thousand-ms,
|
||||
ten-thousand-ms,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-RadioframeAllocationOffset ::= INTEGER (0..7, ...)
|
||||
|
||||
X2ap-RadioframeAllocationPeriod ::= ENUMERATED{
|
||||
@@ -975,6 +1102,14 @@ X2ap-RRCConnSetupIndicator::= ENUMERATED {
|
||||
}
|
||||
|
||||
-- S
|
||||
X2ap-ServedCellsToActivate::= SEQUENCE (SIZE (1..x2ap-maxCellineNB)) OF X2ap-ServedCellsToActivate-Item
|
||||
|
||||
X2ap-ServedCellsToActivate-Item ::= SEQUENCE {
|
||||
ecgi X2ap-ECGI,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { { X2ap-ServedCellsToActivate-Item-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-S1TNLLoadIndicator ::= SEQUENCE {
|
||||
dLS1TNLLoadIndicator X2ap-LoadIndicator,
|
||||
@@ -991,10 +1126,10 @@ X2ap-S1TNLLoadIndicator-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
|
||||
|
||||
|
||||
|
||||
X2ap-ServedCells ::= SEQUENCE (SIZE (1.. x2ap-maxCellineNB)) OF ServedCellItem
|
||||
X2ap-ServedCells ::= SEQUENCE (SIZE (1.. x2ap-maxCellineNB)) OF X2ap-ServedCellItem
|
||||
|
||||
|
||||
ServedCellItem ::= SEQUENCE {
|
||||
X2ap-ServedCellItem ::= SEQUENCE {
|
||||
servedCellInfo X2ap-ServedCell-Information,
|
||||
neighbour-Info X2ap-Neighbour-Information OPTIONAL,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { {ServedCell-ExtIEs} } OPTIONAL,
|
||||
@@ -1006,6 +1141,17 @@ X2ap-ServedCell-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-ServedCellsToModify::= SEQUENCE (SIZE (1..x2ap-maxCellineNB)) OF X2ap-ServedCellsToModify-Item
|
||||
|
||||
X2ap-ServedCellsToModify-Item ::= SEQUENCE {
|
||||
old-ecgi X2ap-ECGI,
|
||||
servedCellInfo X2ap-ServedCell-Information,
|
||||
neighbour-Info X2ap-Neighbour-Information OPTIONAL,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { { X2ap-ServedCellsToModify-Item-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-ServedCell-Information ::= SEQUENCE {
|
||||
pCI X2ap-PCI,
|
||||
cellId X2ap-ECGI,
|
||||
@@ -1214,6 +1360,21 @@ X2ap-UESecurityCapabilities-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-UE-ContextInformation ::= SEQUENCE {
|
||||
mME-UE-S1AP-ID X2ap-UE-S1AP-ID,
|
||||
uESecurityCapabilities X2ap-UESecurityCapabilities,
|
||||
aS-SecurityInformation X2ap-AS-SecurityInformation,
|
||||
uEaggregateMaximumBitRate X2ap-UEAggregateMaximumBitRate,
|
||||
subscriberProfileIDforRFP X2ap-SubscriberProfileIDforRFP OPTIONAL,
|
||||
e-RABs-ToBeSetup-List X2ap-E-RABs-ToBeSetup-List,
|
||||
rRC-Context X2ap-RRC-Context,
|
||||
handoverRestrictionList X2ap-HandoverRestrictionList OPTIONAL,
|
||||
locationReportingInformation X2ap-LocationReportingInformation OPTIONAL,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { {X2ap-UE-ContextInformation-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-UL-GBR-PRB-usage::= INTEGER (0..100)
|
||||
|
||||
X2ap-UL-non-GBR-PRB-usage::= INTEGER (0..100)
|
||||
|
||||
@@ -196,32 +196,18 @@ X2ap-HandoverRequest ::= SEQUENCE {
|
||||
}
|
||||
|
||||
X2ap-HandoverRequest-IEs X2AP-PROTOCOL-IES ::= {
|
||||
{ ID id-Old-eNB-UE-X2AP-ID CRITICALITY reject TYPE X2ap-X2ap-UE-X2AP-ID PRESENCE mandatory }|
|
||||
{ ID id-Cause CRITICALITY ignore TYPE X2ap-X2ap-Cause PRESENCE mandatory }|
|
||||
{ ID id-TargetCell-ID CRITICALITY reject TYPE X2ap-X2ap-ECGI PRESENCE mandatory }|
|
||||
{ ID id-GUMMEI-ID CRITICALITY reject TYPE X2ap-X2ap-GUMMEI PRESENCE mandatory }|
|
||||
{ ID id-UE-ContextInformation CRITICALITY reject TYPE X2ap-X2ap-UE-ContextInformation PRESENCE mandatory }|
|
||||
{ ID id-UE-HistoryInformation CRITICALITY ignore TYPE X2ap-X2ap-UE-HistoryInformation PRESENCE mandatory }|
|
||||
{ ID id-TraceActivation CRITICALITY ignore TYPE X2ap-X2ap-TraceActivation PRESENCE optional}|
|
||||
{ ID id-SRVCCOperationPossible CRITICALITY ignore TYPE X2ap-X2ap-SRVCCOperationPossible PRESENCE optional}|
|
||||
{ ID id-CSGMembershipStatus CRITICALITY reject TYPE X2ap-X2ap-CSGMembershipStatus PRESENCE optional},
|
||||
{ ID id-Old-eNB-UE-X2AP-ID CRITICALITY reject TYPE X2ap-UE-X2AP-ID PRESENCE mandatory }|
|
||||
{ ID id-Cause CRITICALITY ignore TYPE X2ap-Cause PRESENCE mandatory }|
|
||||
{ ID id-TargetCell-ID CRITICALITY reject TYPE X2ap-ECGI PRESENCE mandatory }|
|
||||
{ ID id-GUMMEI-ID CRITICALITY reject TYPE X2ap-GUMMEI PRESENCE mandatory }|
|
||||
{ ID id-UE-ContextInformation CRITICALITY reject TYPE X2ap-UE-ContextInformation PRESENCE mandatory }|
|
||||
{ ID id-UE-HistoryInformation CRITICALITY ignore TYPE X2ap-UE-HistoryInformation PRESENCE mandatory }|
|
||||
{ ID id-TraceActivation CRITICALITY ignore TYPE X2ap-TraceActivation PRESENCE optional}|
|
||||
{ ID id-SRVCCOperationPossible CRITICALITY ignore TYPE X2ap-SRVCCOperationPossible PRESENCE optional}|
|
||||
{ ID id-CSGMembershipStatus CRITICALITY reject TYPE X2ap-CSGMembershipStatus PRESENCE optional},
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-UE-ContextInformation ::= SEQUENCE {
|
||||
mME-UE-S1AP-ID X2ap-UE-S1AP-ID,
|
||||
uESecurityCapabilities X2ap-UESecurityCapabilities,
|
||||
aS-SecurityInformation X2ap-AS-SecurityInformation,
|
||||
uEaggregateMaximumBitRate X2ap-UEAggregateMaximumBitRate,
|
||||
subscriberProfileIDforRFP X2ap-SubscriberProfileIDforRFP OPTIONAL,
|
||||
e-RABs-ToBeSetup-List X2ap-E-RABs-ToBeSetup-List,
|
||||
rRC-Context X2ap-RRC-Context,
|
||||
handoverRestrictionList X2ap-HandoverRestrictionList OPTIONAL,
|
||||
locationReportingInformation X2ap-LocationReportingInformation OPTIONAL,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { {X2ap-UE-ContextInformation-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-UE-ContextInformation-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
|
||||
{ ID id-ManagementBasedMDTallowed CRITICALITY ignore EXTENSION X2ap-ManagementBasedMDTallowed PRESENCE optional },
|
||||
@@ -231,17 +217,7 @@ X2ap-UE-ContextInformation-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
|
||||
X2ap-E-RABs-ToBeSetup-List ::= SEQUENCE (SIZE(1..x2ap-maxnoofBearers)) OF ProtocolIE-Single-Container { {X2ap-E-RABs-ToBeSetup-ItemIEs} }
|
||||
|
||||
X2ap-E-RABs-ToBeSetup-ItemIEs X2AP-PROTOCOL-IES ::= {
|
||||
{ ID id-E-RABs-ToBeSetup-Item CRITICALITY ignore TYPE X2ap-X2ap-E-RABs-ToBeSetup-Item PRESENCE mandatory },
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-E-RABs-ToBeSetup-Item ::= SEQUENCE {
|
||||
e-RAB-ID X2ap-E-RAB-ID,
|
||||
e-RAB-Level-QoS-Parameters X2ap-E-RAB-Level-QoS-Parameters,
|
||||
dL-Forwarding X2ap-DL-Forwarding OPTIONAL,
|
||||
uL-GTPtunnelEndpoint X2ap-GTPtunnelEndpoint,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { {X2ap-E-RABs-ToBeSetup-ItemExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
{ ID id-E-RABs-ToBeSetup-Item CRITICALITY ignore TYPE X2ap-E-RABs-ToBeSetup-Item PRESENCE mandatory },
|
||||
...
|
||||
}
|
||||
|
||||
@@ -263,12 +239,12 @@ X2ap-HandoverRequestAcknowledge ::= SEQUENCE {
|
||||
}
|
||||
|
||||
X2ap-HandoverRequestAcknowledge-IEs X2AP-PROTOCOL-IES ::= {
|
||||
{ ID id-Old-eNB-UE-X2AP-ID CRITICALITY ignore TYPE X2ap-X2ap-UE-X2AP-ID PRESENCE mandatory} |
|
||||
{ ID id-New-eNB-UE-X2AP-ID CRITICALITY ignore TYPE X2ap-X2ap-UE-X2AP-ID PRESENCE mandatory} |
|
||||
{ ID id-E-RABs-Admitted-List CRITICALITY ignore TYPE X2ap-X2ap-E-RABs-Admitted-List PRESENCE mandatory} |
|
||||
{ ID id-E-RABs-NotAdmitted-List CRITICALITY ignore TYPE X2ap-X2ap-E-RAB-List PRESENCE optional} |
|
||||
{ ID id-TargeteNBtoSource-eNBTransparentContainer CRITICALITY ignore TYPE X2ap-X2ap-TargeteNBtoSource-eNBTransparentContainer PRESENCE mandatory }|
|
||||
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE X2ap-X2ap-CriticalityDiagnostics PRESENCE optional },
|
||||
{ ID id-Old-eNB-UE-X2AP-ID CRITICALITY ignore TYPE X2ap-UE-X2AP-ID PRESENCE mandatory} |
|
||||
{ ID id-New-eNB-UE-X2AP-ID CRITICALITY ignore TYPE X2ap-UE-X2AP-ID PRESENCE mandatory} |
|
||||
{ ID id-E-RABs-Admitted-List CRITICALITY ignore TYPE X2ap-E-RABs-Admitted-List PRESENCE mandatory} |
|
||||
{ ID id-E-RABs-NotAdmitted-List CRITICALITY ignore TYPE X2ap-E-RAB-List PRESENCE optional} |
|
||||
{ ID id-TargeteNBtoSource-eNBTransparentContainer CRITICALITY ignore TYPE X2ap-TargeteNBtoSource-eNBTransparentContainer PRESENCE mandatory }|
|
||||
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE X2ap-CriticalityDiagnostics PRESENCE optional },
|
||||
...
|
||||
}
|
||||
|
||||
@@ -278,15 +254,6 @@ X2ap-E-RABs-Admitted-ItemIEs X2AP-PROTOCOL-IES ::= {
|
||||
{ ID id-E-RABs-Admitted-Item CRITICALITY ignore TYPE X2ap-E-RABs-Admitted-Item PRESENCE mandatory }
|
||||
}
|
||||
|
||||
X2ap-E-RABs-Admitted-Item ::= SEQUENCE {
|
||||
e-RAB-ID X2ap-E-RAB-ID,
|
||||
uL-GTP-TunnelEndpoint X2ap-GTPtunnelEndpoint OPTIONAL,
|
||||
dL-GTP-TunnelEndpoint X2ap-GTPtunnelEndpoint OPTIONAL,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { {X2ap-E-RABs-Admitted-Item-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-E-RABs-Admitted-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
|
||||
...
|
||||
}
|
||||
@@ -323,7 +290,7 @@ X2ap-HandoverReport ::= SEQUENCE {
|
||||
...
|
||||
}
|
||||
|
||||
HandoverReport-IEs X2AP-PROTOCOL-IES ::= {
|
||||
X2ap-HandoverReport-IEs X2AP-PROTOCOL-IES ::= {
|
||||
{ ID id-HandoverReportType CRITICALITY ignore TYPE X2ap-HandoverReportTYPE X2ap-PRESENCE mandatory}|
|
||||
{ ID id-Cause CRITICALITY ignore TYPE X2ap-Cause PRESENCE mandatory} |
|
||||
{ ID id-SourceCellECGI CRITICALITY ignore TYPE X2ap-ECGI PRESENCE mandatory}|
|
||||
@@ -357,17 +324,6 @@ X2ap-E-RABs-SubjectToStatusTransfer-ItemIEs X2AP-PROTOCOL-IES ::= {
|
||||
{ ID id-E-RABs-SubjectToStatusTransfer-Item CRITICALITY ignore TYPE X2ap-E-RABs-SubjectToStatusTransfer-Item PRESENCE mandatory }
|
||||
}
|
||||
|
||||
X2ap-E-RABs-SubjectToStatusTransfer-Item ::= SEQUENCE {
|
||||
e-RAB-ID X2ap-E-RAB-ID,
|
||||
|
||||
receiveStatusofULPDCPSDUs X2ap-ReceiveStatusofULPDCPSDUs OPTIONAL,
|
||||
uL-COUNTvalue X2ap-COUNTvalue,
|
||||
dL-COUNTvalue X2ap-COUNTvalue,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { {X2ap-E-RABs-SubjectToStatusTransfer-ItemExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-E-RABs-SubjectToStatusTransfer-ItemExtIEs X2AP-PROTOCOL-EXTENSION ::= {
|
||||
...
|
||||
}
|
||||
@@ -469,12 +425,12 @@ X2ap-ResetResponse-IEs X2AP-PROTOCOL-IES ::= {
|
||||
--
|
||||
-- **************************************************************
|
||||
|
||||
X2ap-X2SetupRequest ::= SEQUENCE {
|
||||
protocolIEs ProtocolIE-Container {{X2ap-X2SetupRequest-IEs}},
|
||||
X2SetupRequest ::= SEQUENCE {
|
||||
protocolIEs ProtocolIE-Container {{X2SetupRequest-IEs}},
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-X2SetupRequest-IEs X2AP-PROTOCOL-IES ::= {
|
||||
X2SetupRequest-IEs X2AP-PROTOCOL-IES ::= {
|
||||
{ ID id-GlobalENB-ID CRITICALITY reject TYPE X2ap-GlobalENB-ID PRESENCE mandatory} |
|
||||
{ ID id-ServedCells CRITICALITY reject TYPE X2ap-ServedCells PRESENCE mandatory} |
|
||||
{ ID id-GUGroupIDList CRITICALITY reject TYPE X2ap-GUGroupIDList PRESENCE optional},
|
||||
@@ -489,12 +445,12 @@ X2ap-X2SetupRequest-IEs X2AP-PROTOCOL-IES ::= {
|
||||
--
|
||||
-- **************************************************************
|
||||
|
||||
X2ap-X2SetupResponse ::= SEQUENCE {
|
||||
protocolIEs ProtocolIE-Container {{X2ap-X2SetupResponse-IEs}},
|
||||
X2SetupResponse ::= SEQUENCE {
|
||||
protocolIEs ProtocolIE-Container {{X2SetupResponse-IEs}},
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-X2SetupResponse-IEs X2AP-PROTOCOL-IES ::= {
|
||||
X2SetupResponse-IEs X2AP-PROTOCOL-IES ::= {
|
||||
{ ID id-GlobalENB-ID CRITICALITY reject TYPE X2ap-GlobalENB-ID PRESENCE mandatory} |
|
||||
{ ID id-ServedCells CRITICALITY reject TYPE X2ap-ServedCells PRESENCE mandatory} |
|
||||
{ ID id-GUGroupIDList CRITICALITY reject TYPE X2ap-GUGroupIDList PRESENCE optional}|
|
||||
@@ -510,12 +466,12 @@ X2ap-X2SetupResponse-IEs X2AP-PROTOCOL-IES ::= {
|
||||
--
|
||||
-- **************************************************************
|
||||
|
||||
X2ap-X2SetupFailure ::= SEQUENCE {
|
||||
protocolIEs ProtocolIE-Container {{X2ap-X2SetupFailure-IEs}},
|
||||
X2SetupFailure ::= SEQUENCE {
|
||||
protocolIEs ProtocolIE-Container {{X2SetupFailure-IEs}},
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-X2SetupFailure-IEs X2AP-PROTOCOL-IES ::= {
|
||||
X2SetupFailure-IEs X2AP-PROTOCOL-IES ::= {
|
||||
{ ID id-Cause CRITICALITY ignore TYPE X2ap-Cause PRESENCE mandatory} |
|
||||
{ ID id-TimeToWait CRITICALITY ignore TYPE X2ap-TimeToWait PRESENCE optional} |
|
||||
{ ID id-CriticalityDiagnostics CRITICALITY ignore TYPE X2ap-CriticalityDiagnostics PRESENCE optional },
|
||||
@@ -547,15 +503,6 @@ X2ap-CellInformation-ItemIEs X2AP-PROTOCOL-IES ::= {
|
||||
{ ID id-CellInformation-Item CRITICALITY ignore TYPE X2ap-CellInformation-Item PRESENCE mandatory }
|
||||
}
|
||||
|
||||
X2ap-CellInformation-Item ::= SEQUENCE {
|
||||
cell-ID ECGI,
|
||||
ul-InterferenceOverloadIndication X2ap-UL-InterferenceOverloadIndication OPTIONAL,
|
||||
ul-HighInterferenceIndicationInfo X2ap-UL-HighInterferenceIndicationInfo OPTIONAL,
|
||||
relativeNarrowbandTxPower X2ap-RelativeNarrowbandTxPower OPTIONAL,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { {X2ap-CellInformation-Item-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-CellInformation-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
|
||||
{ ID id-ABSInformation CRITICALITY ignore EXTENSION X2ap-ABSInformation PRESENCE optional }|
|
||||
@@ -585,23 +532,12 @@ X2ap-ENBConfigurationUpdate-IEs X2AP-PROTOCOL-IES ::= {
|
||||
|
||||
X2ap-ServedCellsToModify::= SEQUENCE (SIZE (1..x2ap-maxCellineNB)) OF X2ap-ServedCellsToModify-Item
|
||||
|
||||
X2ap-ServedCellsToModify-Item::= SEQUENCE {
|
||||
old-ecgi X2ap-ECGI,
|
||||
servedCellInfo X2ap-ServedCell-Information,
|
||||
neighbour-Info X2ap-Neighbour-Information OPTIONAL,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { { X2ap-ServedCellsToModify-Item-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
ServedCellsToModify-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
|
||||
{ ID id-DeactivationIndication CRITICALITY ignore EXTENSION X2ap-DeactivationIndication PRESENCE optional },
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-
|
||||
Old-ECGIs::= SEQUENCE (SIZE (1..x2ap-maxCellineNB)) OF X2ap-ECGI
|
||||
|
||||
-- **************************************************************
|
||||
--
|
||||
-- ENB CONFIGURATION UPDATE ACKNOWLEDGE
|
||||
@@ -667,12 +603,7 @@ X2ap-CellToReport-ItemIEs X2AP-PROTOCOL-IES ::= {
|
||||
{ ID id-CellToReport-Item CRITICALITY ignore TYPE X2ap-CellToReport-Item PRESENCE mandatory }
|
||||
}
|
||||
|
||||
X2ap-CellToReport-Item ::= SEQUENCE {
|
||||
cell-ID X2ap-ECGI,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions X2ap-ProtocolExtensionContainer { {CellToReport-Item-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
|
||||
X2ap-CellToReport-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
|
||||
...
|
||||
@@ -718,13 +649,7 @@ X2ap-MeasurementInitiationResult-ItemIEs X2AP-PROTOCOL-IES ::= {
|
||||
{ ID id-MeasurementInitiationResult-Item CRITICALITY ignore TYPE X2ap-MeasurementInitiationResult-Item PRESENCE mandatory}
|
||||
}
|
||||
|
||||
X2ap-MeasurementInitiationResult-Item ::= SEQUENCE {
|
||||
cell-ID X2ap-ECGI,
|
||||
measurementFailureCause-List X2ap-MeasurementFailureCause-List OPTIONAL,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { { X2ap-MeasurementInitiationResult-Item-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
|
||||
X2ap-MeasurementInitiationResult-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
|
||||
...
|
||||
@@ -736,13 +661,6 @@ X2ap-MeasurementFailureCause-ItemIEs X2AP-PROTOCOL-IES ::= {
|
||||
{ ID id-MeasurementFailureCause-Item CRITICALITY ignore TYPE X2ap-MeasurementFailureCause-Item PRESENCE mandatory}
|
||||
}
|
||||
|
||||
X2ap-MeasurementFailureCause-Item ::= SEQUENCE {
|
||||
measurementFailedReportCharacteristics X2ap-ReportCharacteristics,
|
||||
cause X2ap-Cause,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { { X2ap-MeasurementFailureCause-Item-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-MeasurementFailureCause-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
|
||||
...
|
||||
@@ -774,14 +692,6 @@ X2ap-CompleteFailureCauseInformation-ItemIEs X2AP-PROTOCOL-IES ::= {
|
||||
{ ID id-CompleteFailureCauseInformation-Item CRITICALITY ignore TYPE X2ap-CompleteFailureCauseInformation-Item PRESENCE mandatory}
|
||||
}
|
||||
|
||||
X2ap-CompleteFailureCauseInformation-Item ::= SEQUENCE {
|
||||
cell-ID X2ap-ECGI,
|
||||
measurementFailureCause-List X2ap-MeasurementFailureCause-List,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { { X2ap-CompleteFailureCauseInformation-Item-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-CompleteFailureCauseInformation-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
|
||||
...
|
||||
}
|
||||
@@ -810,16 +720,6 @@ X2ap-CellMeasurementResult-ItemIEs X2AP-PROTOCOL-IES ::= {
|
||||
{ ID id-CellMeasurementResult-Item CRITICALITY ignore TYPE X2ap-CellMeasurementResult-Item PRESENCE mandatory }
|
||||
}
|
||||
|
||||
X2ap-CellMeasurementResult-Item ::= SEQUENCE {
|
||||
cell-ID X2ap-ECGI,
|
||||
hWLoadIndicator X2ap-HWLoadIndicator OPTIONAL,
|
||||
s1TNLLoadIndicator X2ap-S1TNLLoadIndicator OPTIONAL,
|
||||
radioResourceStatus X2ap-RadioResourceStatus OPTIONAL,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions X2ap-ProtocolExtensionContainer { {X2ap-CellMeasurementResult-Item-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-CellMeasurementResult-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
|
||||
{ ID id-CompositeAvailableCapacityGroup CRITICALITY ignore EXTENSION X2ap-CompositeAvailableCapacityGroup PRESENCE optional}|
|
||||
{ ID id-ABS-Status CRITICALITY ignore EXTENSION X2ap-ABS-Status PRESENCE optional},
|
||||
@@ -942,12 +842,6 @@ X2ap-CellActivationRequest-IEs X2AP-PROTOCOL-IES ::= {
|
||||
|
||||
X2ap-ServedCellsToActivate::= SEQUENCE (SIZE (1..x2ap-maxCellineNB)) OF X2ap-ServedCellsToActivate-Item
|
||||
|
||||
X2ap-ServedCellsToActivate-Item::= SEQUENCE {
|
||||
ecgi ECGI,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { { X2ap-ServedCellsToActivate-Item-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-ServedCellsToActivate-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
|
||||
...
|
||||
@@ -972,12 +866,7 @@ X2ap-CellActivationResponse-IEs X2AP-PROTOCOL-IES ::= {
|
||||
|
||||
X2ap-ActivatedCellList ::= SEQUENCE (SIZE (1..x2ap-maxCellineNB)) OF X2ap-ActivatedCellList-Item
|
||||
|
||||
X2ap-ActivatedCellList-Item::= SEQUENCE {
|
||||
ecgi ECGI,
|
||||
--EURECOM COMMENT, ADDED NEXT LINE iE-Extensions ProtocolExtensionContainer { { X2ap-ActivatedCellList-Item-ExtIEs} } OPTIONAL,
|
||||
iE-Extensions X2ap-IE-Extensions OPTIONAL,
|
||||
...
|
||||
}
|
||||
|
||||
|
||||
X2ap-ActivatedCellList-Item-ExtIEs X2AP-PROTOCOL-EXTENSION ::= {
|
||||
...
|
||||
|
||||
@@ -52,52 +52,52 @@ X2ap-UnsuccessfulOutcome ::= SEQUENCE {
|
||||
}
|
||||
|
||||
X2ap-HandoverRequest ::= SEQUENCE {
|
||||
handoverRequest-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-HandoverRequest-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-HandoverRequestAcknowledge ::= SEQUENCE {
|
||||
handoverRequestAcknowledge-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-HandoverRequestAcknowledge-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-HandoverPreparationFailure ::= SEQUENCE {
|
||||
handoverPreparationFailure-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-HandoverPreparationFailure-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-SNStatusTransfer ::= SEQUENCE {
|
||||
snStatusTransfer-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-SNStatusTransfer-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-UEContextRelease ::= SEQUENCE {
|
||||
ueContextRelease-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-UEContextRelease-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-HandoverCancel ::= SEQUENCE {
|
||||
handoverCancel-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-HandoverCancel-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-HandoverReport ::= SEQUENCE {
|
||||
handoverReport-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-HandoverReport-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-ErrorIndication ::= SEQUENCE {
|
||||
errorIndication-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-ErrorIndication-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-ResetRequest ::= SEQUENCE {
|
||||
resetRequest-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-ResetRequest-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-ResetResponse ::= SEQUENCE {
|
||||
resetResponse-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-ResetResponse-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
@@ -117,83 +117,83 @@ X2SetupFailure ::= SEQUENCE {
|
||||
}
|
||||
|
||||
X2ap-LoadInformation ::= SEQUENCE {
|
||||
loadInformation-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-LoadInformation-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-ENBConfigurationUpdate ::= SEQUENCE {
|
||||
eNBConfigurationUpdate-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-ENBConfigurationUpdate-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-ENBConfigurationUpdateAcknowledge ::= SEQUENCE {
|
||||
eNBConfigurationUpdateAcknowledge-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-ENBConfigurationUpdateAcknowledge-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-ENBConfigurationUpdateFailure ::= SEQUENCE {
|
||||
eNBConfigurationUpdateFailure-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-ENBConfigurationUpdateFailure-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-ResourceStatusRequest ::= SEQUENCE {
|
||||
resourceStatusRequest-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-ResourceStatusRequest-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-ResourceStatusResponse ::= SEQUENCE {
|
||||
resourceStatusResponse-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-ResourceStatusResponse-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-ResourceStatusFailure ::= SEQUENCE {
|
||||
resourceStatusFailure-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-ResourceStatusFailure-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-ResourceStatusUpdate ::= SEQUENCE {
|
||||
resourceStatusUpdate-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-ResourceStatusUpdate-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-RLFIndication ::= SEQUENCE {
|
||||
rlfIndication-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-RLFIndication-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-PrivateMessage ::= SEQUENCE {
|
||||
privateMessage-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-PrivateMessage-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-MobilityChangeRequest ::= SEQUENCE {
|
||||
mobilityChangeRequest-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-MobilityChangeRequest-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-MobilityChangeAcknowledge ::= SEQUENCE {
|
||||
mobilityChangeAcknowledge-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-MobilityChangeAcknowledge-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-MobilityChangeFailure ::= SEQUENCE {
|
||||
mobilityChangeFailure-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-MobilityChangeFailure-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-CellActivationRequest ::= SEQUENCE {
|
||||
cellActivationRequest-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-CellActivationRequest-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-CellActivationResponse ::= SEQUENCE {
|
||||
cellActivationResponse-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-CellActivationResponse-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
X2ap-CellActivationFailure ::= SEQUENCE {
|
||||
cellActivationFailure-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
x2ap-CellActivationFailure-ies SEQUENCE (SIZE (0..x2ap-maxProtocolIEs)) OF X2ap-IE,
|
||||
...
|
||||
}
|
||||
|
||||
END
|
||||
END
|
||||
|
||||
@@ -3,7 +3,7 @@ import datetime
|
||||
import getopt
|
||||
import getpass
|
||||
|
||||
version = "1.0.0"
|
||||
version = "1.0.2"
|
||||
|
||||
lines = ""
|
||||
iesDefs = {}
|
||||
@@ -19,6 +19,7 @@ WARN = '\033[93m'
|
||||
ENDC = '\033[0m'
|
||||
|
||||
fileprefix = ""
|
||||
fileprefix_first_upper = ""
|
||||
|
||||
def printFail(string):
|
||||
sys.stderr.write(FAIL + string + ENDC + "\n")
|
||||
@@ -87,7 +88,7 @@ def lowerFirstCamelWord(word):
|
||||
for c in swapped:
|
||||
if c in string.lowercase:
|
||||
newstr += c
|
||||
idx += 1
|
||||
idx += 1
|
||||
else:
|
||||
break
|
||||
if idx < 2:
|
||||
@@ -164,6 +165,8 @@ if len(iesDefs) == 0:
|
||||
printFail("No Information Element parsed, exiting")
|
||||
sys.exit(0)
|
||||
|
||||
fileprefix_first_upper = fileprefix[0].upper() + fileprefix[1:]
|
||||
|
||||
f = open(outdir + fileprefix + '_ies_defs.h', 'w')
|
||||
outputHeaderToFile(f, filename)
|
||||
f.write("#include \"%s_common.h\"\n\n" % (fileprefix))
|
||||
@@ -223,9 +226,9 @@ for key in iesDefs:
|
||||
f.write("} %s_t;\n\n" % (re.sub('-', '_', key)))
|
||||
|
||||
f.write("typedef struct %s_message_s {\n" % (fileprefix))
|
||||
f.write(" ProcedureCode_t procedureCode;\n")
|
||||
f.write(" Criticality_t criticality;\n")
|
||||
f.write(" uint8_t direction;\n")
|
||||
f.write(" %s_ProcedureCode_t procedureCode;\n" % (fileprefix_first_upper))
|
||||
f.write(" %s_Criticality_t criticality;\n" % (fileprefix_first_upper))
|
||||
f.write(" uint8_t direction;\n")
|
||||
f.write(" union {\n")
|
||||
|
||||
messageList = iesDefs.keys()
|
||||
@@ -301,7 +304,8 @@ for key in iesDefs:
|
||||
f.write(" * \\param file File descriptor to write output.\n")
|
||||
f.write(" **/\n")
|
||||
f.write("asn_enc_rval_t %s_xer_print_%s(\n" % (fileprefix, re.sub('item', 'list', firstlower.lower())))
|
||||
f.write(" FILE *file,\n")
|
||||
f.write(" asn_app_consume_bytes_f *cb,\n")
|
||||
f.write(" void *app_key,\n")
|
||||
f.write(" %sIEs_t *%sIEs);\n\n" % (re.sub('item', 'list', asn1cStruct), firstlower))
|
||||
else:
|
||||
f.write("/** \\brief Display %s message using XER encoding.\n" % (asn1cStruct))
|
||||
@@ -309,8 +313,13 @@ for key in iesDefs:
|
||||
f.write(" * \\param file File descriptor to write output.\n")
|
||||
f.write(" **/\n")
|
||||
f.write("asn_enc_rval_t %s_xer_print_%s(\n" % (fileprefix, firstlower.lower()))
|
||||
f.write(" FILE *file,\n")
|
||||
f.write(" asn_app_consume_bytes_f *cb,\n")
|
||||
f.write(" void *app_key,\n")
|
||||
f.write(" %s_message *message_p);\n\n" % (fileprefix))
|
||||
|
||||
f.write("int %s_xer__print2sp(const void *buffer, size_t size, void *app_key);\n\n" % (fileprefix.lower()))
|
||||
f.write("int %s_xer__print2fp(const void *buffer, size_t size, void *app_key);\n\n" % (fileprefix.lower()))
|
||||
f.write("extern size_t %s_string_total_size;\n\n" % (fileprefix.lower()))
|
||||
f.write("#endif /* %s_IES_DEFS_H_ */\n\n" % (fileprefix.upper()))
|
||||
|
||||
#Generate Decode functions
|
||||
@@ -353,7 +362,7 @@ for key in iesDefs:
|
||||
f.write(" %s_DEBUG(\"Decoding message %s (%%s:%%d)\\n\", __FILE__, __LINE__);\n\n" % (fileprefix.upper(), re.sub('-', '_', keyName)))
|
||||
f.write(" ANY_to_type_aper(any_p, &asn_DEF_%s, (void**)&%s_p);\n\n" % (asn1cStruct, asn1cStructfirstlower))
|
||||
f.write(" for (i = 0; i < %s_p->%slist.count; i++) {\n" % (asn1cStructfirstlower, iesaccess))
|
||||
f.write(" IE_t *ie_p;\n")
|
||||
f.write(" %s_IE_t *ie_p;\n" % (fileprefix[0].upper() + fileprefix[1:]))
|
||||
f.write(" ie_p = %s_p->%slist.array[i];\n" % (asn1cStructfirstlower, iesaccess))
|
||||
f.write(" switch(ie_p->id) {\n")
|
||||
for ie in iesDefs[key]["ies"]:
|
||||
@@ -368,7 +377,7 @@ for key in iesDefs:
|
||||
f.write(" /* Optional field */\n")
|
||||
elif ie[3] == "conditional":
|
||||
f.write(" /* Conditional field */\n")
|
||||
f.write(" case ProtocolIE_ID_%s:\n" % (re.sub('-', '_', ie[0])))
|
||||
f.write(" case %s_ProtocolIE_ID_%s:\n" % (fileprefix_first_upper, re.sub('-', '_', ie[0])))
|
||||
f.write(" {\n")
|
||||
f.write(" %s_t *%s_p = NULL;\n" % (ietypeunderscore, lowerFirstCamelWord(ietypesubst)))
|
||||
if ie[3] != "mandatory":
|
||||
@@ -416,12 +425,12 @@ for key in iesDefs:
|
||||
f.write(" assert(%sIEs != NULL);\n\n" % (lowerFirstCamelWord(re.sub('-', '_', keyname))));
|
||||
|
||||
f.write(" for (i = 0; i < %s->list.count; i++) {\n" % (lowerFirstCamelWord(re.sub('-', '_', keyname))))
|
||||
f.write(" IE_t *ie_p = %s->list.array[i];\n" % (lowerFirstCamelWord(re.sub('-', '_', keyname))))
|
||||
f.write(" %s_IE_t *ie_p = %s->list.array[i];\n" % (fileprefix[0].upper() + fileprefix[1:], lowerFirstCamelWord(re.sub('-', '_', keyname))))
|
||||
f.write(" switch (ie_p->id) {\n")
|
||||
for ie in iesDefs[key]["ies"]:
|
||||
iename = re.sub('id-', '', ie[0])
|
||||
ienameunderscore = lowerFirstCamelWord(re.sub('-', '_', iename))
|
||||
f.write(" case ProtocolIE_ID_%s:\n" % (re.sub('-', '_', ie[0])))
|
||||
f.write(" case %s_ProtocolIE_ID_%s:\n" % (fileprefix_first_upper, re.sub('-', '_', ie[0])))
|
||||
f.write(" {\n")
|
||||
f.write(" %s_t *%s_p = NULL;\n" % (re.sub('-', '_', ie[2]), lowerFirstCamelWord(re.sub('-', '', ie[2]))))
|
||||
f.write(" tempDecoded = ANY_to_type_aper(&ie_p->value, &asn_DEF_%s, (void**)&%s_p);\n" % (re.sub('-', '_', ie[2]), lowerFirstCamelWord(re.sub('-', '', ie[2]))))
|
||||
@@ -478,7 +487,7 @@ for key in iesDefs:
|
||||
f.write(" %s_t *%s,\n" % (asn1cStruct, firstwordlower))
|
||||
f.write(" %s_t *%s) {\n\n" % (re.sub('-', '_', key), lowerFirstCamelWord(re.sub('-', '_', key))))
|
||||
|
||||
f.write(" IE_t *ie;\n\n")
|
||||
f.write(" %s_IE_t *ie;\n\n" % (fileprefix_first_upper))
|
||||
|
||||
f.write(" assert(%s != NULL);\n" % (firstwordlower));
|
||||
f.write(" assert(%s != NULL);\n\n" % (lowerFirstCamelWord(re.sub('-', '_', key))));
|
||||
@@ -497,10 +506,10 @@ for key in iesDefs:
|
||||
f.write(" /* Conditional field */\n")
|
||||
f.write(" if (%s->presenceMask & %s_%s_PRESENT) {\n" % (lowerFirstCamelWord(re.sub('-', '_', key)), keyupperunderscore, ieupperunderscore))
|
||||
#f.write(" == %s_%s_PRESENT) {\n" % (keyupperunderscore, ieupperunderscore))
|
||||
f.write(" if ((ie = %s_new_ie(ProtocolIE_ID_%s,\n" % (fileprefix, re.sub('-', '_', ie[0])))
|
||||
f.write(" Criticality_%s,\n" % (ie[1]))
|
||||
f.write(" &asn_DEF_%s,\n" % (ietypeunderscore))
|
||||
f.write(" &%s->%s)) == NULL) {\n" % (lowerFirstCamelWord(re.sub('-', '_', key)), ienamefirstwordlower))
|
||||
f.write(" if ((ie = %s_new_ie(%s_ProtocolIE_ID_%s,\n" % (fileprefix, fileprefix_first_upper, re.sub('-', '_', ie[0])))
|
||||
f.write(" %s_Criticality_%s,\n" % (fileprefix_first_upper, ie[1]))
|
||||
f.write(" &asn_DEF_%s,\n" % (ietypeunderscore))
|
||||
f.write(" &%s->%s)) == NULL) {\n" % (lowerFirstCamelWord(re.sub('-', '_', key)), ienamefirstwordlower))
|
||||
f.write(" return -1;\n")
|
||||
f.write(" }\n")
|
||||
f.write(" ASN_SEQUENCE_ADD(&%s->%slist, ie);\n" % (firstwordlower, iesaccess))
|
||||
@@ -511,9 +520,9 @@ for key in iesDefs:
|
||||
f.write(" memset(&%s, 0, sizeof(%s_t));\n" % (ienamefirstwordlower, ietypeunderscore))
|
||||
f.write("\n")
|
||||
f.write(" if (%s_encode_%s(&%s, &%s->%s) < 0) return -1;\n" % (fileprefix, ietypeunderscore.lower(), ienamefirstwordlower, lowerFirstCamelWord(re.sub('-', '_', key)), ienamefirstwordlower))
|
||||
f.write(" if ((ie = %s_new_ie(ProtocolIE_ID_%s,\n" % (fileprefix, re.sub('-', '_', ie[0])))
|
||||
f.write(" Criticality_%s,\n" % (ie[1]))
|
||||
f.write(" &asn_DEF_%s,\n" % (ietypeunderscore))
|
||||
f.write(" if ((ie = %s_new_ie(%s_ProtocolIE_ID_%s,\n" % (fileprefix, fileprefix_first_upper, re.sub('-', '_', ie[0])))
|
||||
f.write(" %s_Criticality_%s,\n" % (fileprefix_first_upper, ie[1]))
|
||||
f.write(" &asn_DEF_%s,\n" % (ietypeunderscore))
|
||||
if ie[2] in ieofielist.keys():
|
||||
f.write(" &%s)) == NULL) {\n" % (ienamefirstwordlower))
|
||||
else:
|
||||
@@ -546,14 +555,14 @@ for (key, value) in iesDefs.items():
|
||||
f.write(" %sIEs_t *%sIEs) {\n\n" % (re.sub('-', '_', i), lowerFirstCamelWord(re.sub('-', '_', i))))
|
||||
f.write(" int i;\n")
|
||||
|
||||
f.write(" IE_t *ie;\n\n")
|
||||
f.write(" %s_IE_t *ie;\n\n" % (fileprefix_first_upper))
|
||||
|
||||
f.write(" assert(%s != NULL);\n" % (firstwordlower));
|
||||
f.write(" assert(%sIEs != NULL);\n\n" % (lowerFirstCamelWord(re.sub('-', '_', i))));
|
||||
|
||||
f.write(" for (i = 0; i < %sIEs->%s.count; i++) {\n" % (firstwordlower, re.sub('IEs', '', lowerFirstCamelWord(re.sub('-', '_', key)))))
|
||||
f.write(" if ((ie = %s_new_ie(ProtocolIE_ID_%s,\n" % (fileprefix, re.sub('-', '_', ie[0])))
|
||||
f.write(" Criticality_%s,\n" % (ie[1]))
|
||||
f.write(" if ((ie = %s_new_ie(%s_ProtocolIE_ID_%s,\n" % (fileprefix, fileprefix_first_upper, re.sub('-', '_', ie[0])))
|
||||
f.write(" %s_Criticality_%s,\n" % (fileprefix_first_upper, ie[1]))
|
||||
f.write(" &asn_DEF_%s,\n" % (ietypeunderscore))
|
||||
f.write(" %sIEs->%s.array[i])) == NULL) {\n" % (firstwordlower, re.sub('IEs', '', lowerFirstCamelWord(re.sub('-', '_', key)))))
|
||||
f.write(" return -1;\n")
|
||||
@@ -571,8 +580,9 @@ f.write("#include <stdio.h>\n\n")
|
||||
f.write("#include <asn_application.h>\n#include <asn_internal.h>\n\n")
|
||||
f.write("#include \"%s_common.h\"\n#include \"%s_ies_defs.h\"\n\n" % (fileprefix, fileprefix))
|
||||
|
||||
f.write("""static int
|
||||
xer__print2fp(const void *buffer, size_t size, void *app_key) {
|
||||
f.write("size_t %s_string_total_size = 0;\n\n" % (fileprefix.lower()))
|
||||
f.write("""int
|
||||
%s_xer__print2fp(const void *buffer, size_t size, void *app_key) {
|
||||
FILE *stream = (FILE *)app_key;
|
||||
|
||||
if(fwrite(buffer, 1, size, stream) != size)
|
||||
@@ -581,7 +591,22 @@ xer__print2fp(const void *buffer, size_t size, void *app_key) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
static asn_enc_rval_t
|
||||
""" % (fileprefix.lower()))
|
||||
|
||||
f.write("""int %s_xer__print2sp(const void *buffer, size_t size, void *app_key) {
|
||||
char *string = (char *)app_key;
|
||||
|
||||
/* Copy buffer to the formatted string */
|
||||
memcpy(&string[%s_string_total_size], buffer, size);
|
||||
|
||||
%s_string_total_size += size;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
""" % (fileprefix.lower(), fileprefix.lower(), fileprefix.lower()))
|
||||
|
||||
f.write("""static asn_enc_rval_t
|
||||
xer_encode_local(asn_TYPE_descriptor_t *td, void *sptr,
|
||||
asn_app_consume_bytes_f *cb, void *app_key, int indent) {
|
||||
asn_enc_rval_t er, tmper;
|
||||
@@ -622,7 +647,9 @@ for (key, value) in iesDefs.items():
|
||||
f.write("asn_enc_rval_t %s_xer_print_%s(\n" % (fileprefix, re.sub('ies', '', re.sub('item', 'list', re.sub('-', '_', key).lower()))))
|
||||
else:
|
||||
f.write("asn_enc_rval_t %s_xer_print_%s(\n" % (fileprefix, re.sub('ies', '', re.sub('-', '_', key).lower())))
|
||||
f.write(" FILE *file,\n")
|
||||
#f.write(" FILE *file,\n")
|
||||
f.write(" asn_app_consume_bytes_f *cb,\n")
|
||||
f.write(" void *app_key,\n")
|
||||
if key in ieofielist.values():
|
||||
iesStructName = lowerFirstCamelWord(re.sub('Item', 'List', re.sub('-', '_', key)))
|
||||
f.write(" %sIEs_t *%s) {\n\n" % (re.sub('IEs', '', re.sub('Item', 'List', re.sub('-', '_', key))), iesStructName))
|
||||
@@ -632,21 +659,23 @@ for (key, value) in iesDefs.items():
|
||||
f.write(" %s_message *message_p)\n{\n" % (fileprefix))
|
||||
f.write(" %s_t *%s;\n" % (re.sub('-', '_', key), iesStructName))
|
||||
f.write(" asn_enc_rval_t er;\n")
|
||||
f.write(" void *app_key = (void *)file;\n")
|
||||
f.write(" asn_app_consume_bytes_f *cb = xer__print2fp;\n\n")
|
||||
#f.write(" void *app_key = (void *)file;\n")
|
||||
#f.write(" asn_app_consume_bytes_f *cb = %s_xer__print2fp;\n\n" % (fileprefix.lower()))
|
||||
|
||||
f.write(" %s = &message_p->msg.%s;\n\n" % (iesStructName, iesStructName))
|
||||
|
||||
if key in ieofielist.values():
|
||||
# Increase indentation level
|
||||
f.write(" for (i = 0; i < %s->%s.count; i++) {\n" % (iesStructName, re.sub('IEs', '', lowerFirstCamelWord(re.sub('-', '_', key)))))
|
||||
f.write(" xer_fprint(file, &asn_DEF_%s, %s->%s.array[i]);\n" % (ietypeunderscore, iesStructName, re.sub('IEs', '', lowerFirstCamelWord(re.sub('-', '_', key)))))
|
||||
#f.write(" xer_fprint(file, &asn_DEF_%s, %s->%s.array[i]);\n" % (ietypeunderscore, iesStructName, re.sub('IEs', '', lowerFirstCamelWord(re.sub('-', '_', key)))))
|
||||
f.write(" er = xer_encode(&asn_DEF_%s, %s->%s.array[i], XER_F_BASIC, cb, app_key);\n" % (ietypeunderscore, iesStructName, re.sub('IEs', '', lowerFirstCamelWord(re.sub('-', '_', key)))))
|
||||
f.write(" }\n")
|
||||
else:
|
||||
f.write(" fprintf(file, \"<%s-PDU>\\n\");\n" % (fileprefix.upper()))
|
||||
f.write(" xer_encode_local(&asn_DEF_Criticality, &message_p->criticality, cb, app_key, 1);\n")
|
||||
f.write(" xer_encode_local(&asn_DEF_ProcedureCode, &message_p->procedureCode, cb, app_key, 1);\n")
|
||||
f.write(" fprintf(file, \" <%s>\\n\");\n" % (key))
|
||||
f.write(" cb(\"<%s-PDU>\\n\", %d, app_key);\n" % (key, len("<%s-PDU>\n" % (key))))
|
||||
f.write(" xer_encode_local(&asn_DEF_%s_Criticality, &message_p->criticality, cb, app_key, 1);\n" % fileprefix_first_upper)
|
||||
f.write(" xer_encode_local(&asn_DEF_%s_ProcedureCode, &message_p->procedureCode, cb, app_key, 1);\n" % fileprefix_first_upper)
|
||||
|
||||
f.write(" cb(\" <%s>\\n\", %d, app_key);\n" % (key, len(" <%s>\n" % (key))))
|
||||
|
||||
for ie in iesDefs[key]["ies"]:
|
||||
iename = re.sub('-', '_', re.sub('id-', '', ie[0]))
|
||||
@@ -664,12 +693,11 @@ for (key, value) in iesDefs.items():
|
||||
|
||||
# Is it an encapsulated IE ?
|
||||
if ie[2] in ieofielist.keys():
|
||||
f.write(" %s_xer_print_%s(file, &%s->%s);\n" % (fileprefix, re.sub('ies', '', re.sub('-', '_', ie[2]).lower()), iesStructName, ienamefirstwordlower))
|
||||
f.write(" %s_xer_print_%s(cb, app_key, &%s->%s);\n" % (fileprefix, re.sub('ies', '', re.sub('-', '_', ie[2]).lower()), iesStructName, ienamefirstwordlower))
|
||||
else:
|
||||
f.write(" xer_encode_local(&asn_DEF_%s, &%s->%s, cb, app_key, 2);\n" % (ietypeunderscore, iesStructName, ienamefirstwordlower))
|
||||
#f.write(" _i_ASN_TEXT_INDENT(1, 1);\n")
|
||||
f.write(" fprintf(file, \" </%s>\\n\");\n" % (key))
|
||||
f.write(" fprintf(file, \"</%s-PDU>\\n\");\n" % (fileprefix.upper()))
|
||||
f.write(" cb(\" </%s>\\n\", %d, app_key);\n" % (key, len(" </%s>\n" % (key))))
|
||||
f.write(" cb(\"</%s-PDU>\\n\", %d, app_key);\n" % (key, len("</%s-PDU>\n" % (key))))
|
||||
|
||||
f.write(" _ASN_ENCODED_OK(er);\n")
|
||||
#if key not in ieofielist.values():
|
||||
|
||||
@@ -35,23 +35,36 @@
|
||||
#include "X2ap-ABSInformation.h"
|
||||
#include "X2ap-ABSInformationTDD.h"
|
||||
#include "X2ap-ABS-Status.h"
|
||||
#include "X2ap-ActivatedCellList.h"
|
||||
#include "X2ap-AllocationAndRetentionPriority.h"
|
||||
#include "X2ap-AreaScopeOfMDT.h"
|
||||
#include "X2ap-AS-SecurityInformation.h"
|
||||
#include "X2ap-BandInfo.h"
|
||||
#include "X2ap-BitRate.h"
|
||||
#include "X2ap-BroadcastPLMNs-Item.h"
|
||||
|
||||
#include "X2ap-CapacityValue.h"
|
||||
#include "X2ap-Cause.h"
|
||||
#include "X2ap-CauseMisc.h"
|
||||
#include "X2ap-CauseProtocol.h"
|
||||
#include "X2ap-CauseRadioNetwork.h"
|
||||
#include "X2ap-CauseTransport.h"
|
||||
#include "X2ap-CellActivationFailure.h"
|
||||
#include "X2ap-CellActivationRequest.h"
|
||||
#include "X2ap-CellActivationResponse.h"
|
||||
#include "X2ap-CellBasedMDT.h"
|
||||
#include "X2ap-CellCapacityClassValue.h"
|
||||
#include "X2ap-CellIdListforMDT.h"
|
||||
#include "X2ap-CellInformation-Item.h"
|
||||
#include "X2ap-CellInformation-List.h"
|
||||
#include "X2ap-Cell-Size.h"
|
||||
#include "X2ap-CellToReport-Item.h"
|
||||
#include "X2ap-CellToReport-List.h"
|
||||
#include "X2ap-CellType.h"
|
||||
#include "X2ap-CellMeasurementResult-Item.h"
|
||||
#include "X2ap-CellMeasurementResult-List.h"
|
||||
#include "X2ap-CompleteFailureCauseInformation-Item.h"
|
||||
#include "X2ap-CompleteFailureCauseInformation-List.h"
|
||||
#include "X2ap-CompositeAvailableCapacityGroup.h"
|
||||
#include "X2ap-CompositeAvailableCapacity.h"
|
||||
#include "X2ap-COUNTvalue.h"
|
||||
@@ -73,16 +86,24 @@
|
||||
#include "X2ap-ECGI.h"
|
||||
#include "X2ap-ENB-ID.h"
|
||||
#include "X2ap-ENBConfigurationUpdateFailure.h"
|
||||
#include "X2ap-ENBConfigurationUpdateAcknowledge.h"
|
||||
#include "X2ap-ENBConfigurationUpdate.h"
|
||||
#include "X2ap-EncryptionAlgorithms.h"
|
||||
#include "X2ap-EPLMNs.h"
|
||||
#include "X2ap-E-RAB-ID.h"
|
||||
#include "X2ap-E-RAB-Item.h"
|
||||
#include "X2ap-E-RABs-Admitted-List.h"
|
||||
#include "X2ap-E-RAB-Level-QoS-Parameters.h"
|
||||
#include "X2ap-E-RAB-List.h"
|
||||
#include "X2ap-E-RABs-SubjectToStatusTransfer-Item.h"
|
||||
#include "X2ap-E-RABs-Admitted-Item.h"
|
||||
#include "X2ap-E-RABs-SubjectToStatusTransfer-List.h"
|
||||
#include "X2ap-ErrorIndication.h"
|
||||
#include "X2ap-EUTRA-Mode-Info.h"
|
||||
#include "X2ap-EUTRANCellIdentifier.h"
|
||||
#include "X2ap-EUTRANTraceID.h"
|
||||
#include "X2ap-EventType.h"
|
||||
|
||||
#include "X2ap-FDD-Info.h"
|
||||
#include "X2ap-ForbiddenInterRATs.h"
|
||||
#include "X2ap-ForbiddenLACs.h"
|
||||
@@ -103,7 +124,11 @@
|
||||
#include "X2ap-HandoverCancel.h"
|
||||
#include "X2ap-HandoverReportType.h"
|
||||
#include "X2ap-HandoverRequest.h"
|
||||
#include "X2ap-HandoverReport.h"
|
||||
#include "X2ap-HandoverRestrictionList.h"
|
||||
#include "X2ap-HandoverPreparationFailure.h"
|
||||
#include "X2ap-HandoverRequestAcknowledge.h"
|
||||
|
||||
#include "X2ap-HFN.h"
|
||||
#include "X2ap-HWLoadIndicator.h"
|
||||
#include "X2ap-IE-Extensions.h"
|
||||
@@ -118,6 +143,7 @@
|
||||
#include "X2ap-LastVisitedGERANCellInformation.h"
|
||||
#include "X2ap-LastVisitedUTRANCellInformation.h"
|
||||
#include "X2ap-LoadIndicator.h"
|
||||
#include "X2ap-LoadInformation.h"
|
||||
#include "X2ap-LocationReportingInformation.h"
|
||||
#include "X2ap-ManagementBasedMDTallowed.h"
|
||||
#include "X2ap-MBMS-Service-Area-Identity.h"
|
||||
@@ -129,6 +155,10 @@
|
||||
#include "X2ap-Measurement-ID.h"
|
||||
#include "X2ap-MeasurementsToActivate.h"
|
||||
#include "X2ap-MeasurementThresholdA2.h"
|
||||
#include "X2ap-MeasurementInitiationResult-Item.h"
|
||||
#include "X2ap-MeasurementInitiationResult-List.h"
|
||||
|
||||
#include "X2ap-MeasurementFailureCause-Item.h"
|
||||
#include "X2ap-MME-Code.h"
|
||||
#include "X2ap-MME-Group-ID.h"
|
||||
#include "X2ap-MobilityChangeAcknowledge.h"
|
||||
@@ -141,6 +171,8 @@
|
||||
#include "X2ap-NextHopChainingCount.h"
|
||||
#include "X2ap-Number-of-Antennaports.h"
|
||||
#include "X2ap-Oneframe.h"
|
||||
#include "X2ap-Old-ECGIs.h"
|
||||
#include "X2ap-PartialSuccessIndicator.h"
|
||||
#include "X2ap-PCI.h"
|
||||
#include "X2ap-PDCP-SN.h"
|
||||
#include "X2AP-PDU.h"
|
||||
@@ -166,14 +198,22 @@
|
||||
#include "X2ap-ReportCharacteristics.h"
|
||||
#include "X2ap-ReportingTriggerMDT.h"
|
||||
#include "X2ap-ReportIntervalMDT.h"
|
||||
#include "X2ap-ReportingPeriodicity.h"
|
||||
#include "X2ap-ResourceStatusFailure.h"
|
||||
#include "X2ap-ResourceStatusResponse.h"
|
||||
#include "X2ap-ResourceStatusUpdate.h"
|
||||
|
||||
#include "X2ap-RNTP-Threshold.h"
|
||||
#include "X2ap-RRCConnReestabIndicator.h"
|
||||
#include "X2ap-RRCConnSetupIndicator.h"
|
||||
#include "X2ap-RRC-Context.h"
|
||||
#include "X2ap-RLFIndication.h"
|
||||
#include "X2ap-ResourceStatusRequest.h"
|
||||
#include "X2ap-S1TNLLoadIndicator.h"
|
||||
#include "X2ap-ServedCell-Information.h"
|
||||
//nclude "X2ap-ServedCellInformation.h"
|
||||
#include "X2ap-ServedCells.h"
|
||||
#include "X2ap-ServedCellsToModify.h"
|
||||
#include "X2ap-ServedCellsToActivate.h"
|
||||
#include "X2ap-ShortMAC-I.h"
|
||||
#include "X2ap-SpecialSubframe-Info.h"
|
||||
#include "X2ap-SpecialSubframePatterns.h"
|
||||
@@ -181,6 +221,8 @@
|
||||
#include "X2ap-SubframeAllocation.h"
|
||||
#include "X2ap-SubframeAssignment.h"
|
||||
#include "X2ap-SubscriberProfileIDforRFP.h"
|
||||
#include "X2ap-SNStatusTransfer.h"
|
||||
|
||||
#include "X2ap-TABasedMDT.h"
|
||||
#include "X2ap-TAC.h"
|
||||
#include "X2ap-TAListforMDT.h"
|
||||
@@ -193,6 +235,7 @@
|
||||
#include "X2ap-TimeToWait.h"
|
||||
#include "X2ap-Time-UE-StayedInCell-EnhancedGranularity.h"
|
||||
#include "X2ap-Time-UE-StayedInCell.h"
|
||||
#include "X2ap-E-RABs-ToBeSetup-Item.h"
|
||||
#include "X2ap-TraceActivation.h"
|
||||
#include "X2ap-TraceCollectionEntityIPAddress.h"
|
||||
#include "X2ap-TraceDepth.h"
|
||||
@@ -201,6 +244,7 @@
|
||||
#include "X2ap-TriggeringMessage.h"
|
||||
#include "X2ap-TypeOfError.h"
|
||||
#include "X2ap-UEAggregateMaximumBitRate.h"
|
||||
#include "X2ap-UE-ContextInformation.h"
|
||||
#include "X2ap-UE-HistoryInformation.h"
|
||||
#include "X2ap-UE-RLF-Report-Container.h"
|
||||
#include "X2ap-UE-S1AP-ID.h"
|
||||
@@ -218,10 +262,17 @@
|
||||
#include "X2ap-UsableABSInformationFDD.h"
|
||||
#include "X2ap-UsableABSInformation.h"
|
||||
#include "X2ap-UsableABSInformationTDD.h"
|
||||
|
||||
#include "X2ap-ResetResponse.h"
|
||||
#include "X2ap-ResetRequest.h"
|
||||
#include "X2SetupFailure.h"
|
||||
#include "X2SetupRequest.h"
|
||||
#include "X2SetupResponse.h"
|
||||
|
||||
#include "X2ap-Old-ECGIs.h"
|
||||
#include "X2ap-Criticality.h"
|
||||
#include "X2ap-ProcedureCode.h"
|
||||
|
||||
#ifndef X2AP_COMMON_H_
|
||||
#define X2AP_COMMON_H_
|
||||
|
||||
|
||||
Reference in New Issue
Block a user