start working with ns-o-ran asn1 definitions

This commit is contained in:
Andrea Lacava
2023-02-07 15:52:38 +01:00
parent b2c654518e
commit 858d1fae7e
511 changed files with 28317 additions and 1625 deletions

View File

@@ -1,8 +1,8 @@
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "E2AP-PDU-Descriptions"
* found in "/home/sjana/ASN-Defns/e2ap-oran-wg3-v01.00.asn"
* `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER`
* found in "E2AP-PDU-Descriptions-v01.00.asn"
* `asn1c -pdu=auto -fno-include-deps -fcompound-names -findirect-choice -gen-PER -gen-OER -no-gen-example`
*/
#include "InitiatingMessage.h"
@@ -192,16 +192,25 @@ memb_value_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
}
static asn_oer_constraints_t asn_OER_memb_procedureCode_constr_2 CC_NOTUSED = {
{ 1, 1 } /* (0..255) */,
-1};
static asn_per_constraints_t asn_PER_memb_procedureCode_constr_2 CC_NOTUSED = {
{ APC_CONSTRAINED, 8, 8, 0, 255 } /* (0..255) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static asn_oer_constraints_t asn_OER_memb_criticality_constr_3 CC_NOTUSED = {
{ 0, 0 },
-1};
static asn_per_constraints_t asn_PER_memb_criticality_constr_3 CC_NOTUSED = {
{ APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static asn_oer_constraints_t asn_OER_memb_value_constr_4 CC_NOTUSED = {
{ 0, 0 },
-1};
static asn_per_constraints_t asn_PER_memb_value_constr_4 CC_NOTUSED = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
@@ -332,7 +341,7 @@ asn_TYPE_member_t asn_MBR_InitiatingMessage_1[] = {
-1, /* IMPLICIT tag at current level */
&asn_DEF_ProcedureCode,
0,
{ 0, &asn_PER_memb_procedureCode_constr_2, memb_procedureCode_constraint_1 },
{ &asn_OER_memb_procedureCode_constr_2, &asn_PER_memb_procedureCode_constr_2, memb_procedureCode_constraint_1 },
0, 0, /* No default value */
"procedureCode"
},
@@ -341,7 +350,7 @@ asn_TYPE_member_t asn_MBR_InitiatingMessage_1[] = {
-1, /* IMPLICIT tag at current level */
&asn_DEF_Criticality,
select_InitiatingMessage_criticality_type,
{ 0, &asn_PER_memb_criticality_constr_3, memb_criticality_constraint_1 },
{ &asn_OER_memb_criticality_constr_3, &asn_PER_memb_criticality_constr_3, memb_criticality_constraint_1 },
0, 0, /* No default value */
"criticality"
},
@@ -350,7 +359,7 @@ asn_TYPE_member_t asn_MBR_InitiatingMessage_1[] = {
+1, /* EXPLICIT tag at current level */
&asn_DEF_value_4,
select_InitiatingMessage_value_type,
{ 0, &asn_PER_memb_value_constr_4, memb_value_constraint_1 },
{ &asn_OER_memb_value_constr_4, &asn_PER_memb_value_constr_4, memb_value_constraint_1 },
0, 0, /* No default value */
"value"
},