E2AP and E2SM-RC version upgrade to E2aP v.2.0 and E2SM-RC to v1.0.1
[ric-app/rc.git] / e2sm / lib / RANParameter-STRUCTURE.c
index 89aa285..03a0695 100644 (file)
@@ -1,13 +1,13 @@
 /*
  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
- * From ASN.1 module "E2SM-KPM-RC"
- *     found in "e2sm-kpm-rc.asn"
+ * From ASN.1 module "E2SM-RC-IEs"
+ *     found in "e2sm-rc-nov2021.asn"
  *     `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example -D .`
  */
 
 #include "RANParameter-STRUCTURE.h"
 
-#include "RANParameter-Item.h"
+#include "RANParameter-STRUCTURE-Item.h"
 static int
 memb_sequence_of_ranParameters_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
                        asn_app_constraint_failed_f *ctfailcb, void *app_key) {
@@ -23,7 +23,7 @@ memb_sequence_of_ranParameters_constraint_1(const asn_TYPE_descriptor_t *td, con
        /* Determine the number of elements */
        size = _A_CSEQUENCE_FROM_VOID(sptr)->count;
        
-       if((size >= 1 && size <= 4294967295)) {
+       if((size >= 1 && size <= 65535)) {
                /* Perform validation of the inner elements */
                return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
        } else {
@@ -36,25 +36,25 @@ memb_sequence_of_ranParameters_constraint_1(const asn_TYPE_descriptor_t *td, con
 
 static asn_oer_constraints_t asn_OER_type_sequence_of_ranParameters_constr_2 CC_NOTUSED = {
        { 0, 0 },
-       -1      /* (SIZE(1..4294967295)) */};
+       -1      /* (SIZE(1..65535)) */};
 static asn_per_constraints_t asn_PER_type_sequence_of_ranParameters_constr_2 CC_NOTUSED = {
        { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
-       { APC_CONSTRAINED,       32, -1,  1,  4294967295 }      /* (SIZE(1..4294967295)) */,
+       { APC_CONSTRAINED,       16,  16,  1,  65535 }  /* (SIZE(1..65535)) */,
        0, 0    /* No PER value map */
 };
 static asn_oer_constraints_t asn_OER_memb_sequence_of_ranParameters_constr_2 CC_NOTUSED = {
        { 0, 0 },
-       -1      /* (SIZE(1..4294967295)) */};
+       -1      /* (SIZE(1..65535)) */};
 static asn_per_constraints_t asn_PER_memb_sequence_of_ranParameters_constr_2 CC_NOTUSED = {
        { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
-       { APC_CONSTRAINED,       32, -1,  1,  4294967295 }      /* (SIZE(1..4294967295)) */,
+       { APC_CONSTRAINED,       16,  16,  1,  65535 }  /* (SIZE(1..65535)) */,
        0, 0    /* No PER value map */
 };
 static asn_TYPE_member_t asn_MBR_sequence_of_ranParameters_2[] = {
        { ATF_POINTER, 0, 0,
                (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
                0,
-               &asn_DEF_RANParameter_Item,
+               &asn_DEF_RANParameter_STRUCTURE_Item,
                0,
                { 0, 0, 0 },
                0, 0, /* No default value */
@@ -88,7 +88,7 @@ asn_TYPE_descriptor_t asn_DEF_sequence_of_ranParameters_2 = {
 };
 
 asn_TYPE_member_t asn_MBR_RANParameter_STRUCTURE_1[] = {
-       { ATF_NOFLAGS, 0, offsetof(struct RANParameter_STRUCTURE, sequence_of_ranParameters),
+       { ATF_POINTER, 1, offsetof(struct RANParameter_STRUCTURE, sequence_of_ranParameters),
                (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
                0,
                &asn_DEF_sequence_of_ranParameters_2,
@@ -98,6 +98,7 @@ asn_TYPE_member_t asn_MBR_RANParameter_STRUCTURE_1[] = {
                "sequence-of-ranParameters"
                },
 };
+static const int asn_MAP_RANParameter_STRUCTURE_oms_1[] = { 0 };
 static const ber_tlv_tag_t asn_DEF_RANParameter_STRUCTURE_tags_1[] = {
        (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
 };
@@ -109,7 +110,8 @@ asn_SEQUENCE_specifics_t asn_SPC_RANParameter_STRUCTURE_specs_1 = {
        offsetof(struct RANParameter_STRUCTURE, _asn_ctx),
        asn_MAP_RANParameter_STRUCTURE_tag2el_1,
        1,      /* Count of tags in the map */
-       0, 0, 0,        /* Optional elements (not needed) */
+       asn_MAP_RANParameter_STRUCTURE_oms_1,   /* Optional members */
+       1, 0,   /* Root/Additions */
        1,      /* First extension addition */
 };
 asn_TYPE_descriptor_t asn_DEF_RANParameter_STRUCTURE = {