X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=e2ap%2Flib%2FSuccessfulOutcome.c;h=7a3128598f9e0bf781a05f4e30e52bcbd4363d08;hb=5cb831298a1866a9800ce235f5486075e83ae85f;hp=7328b32660cf07ddd001e00dd2713afdc25a8032;hpb=727cefb2889f78571bfc655359e03bf20227381c;p=ric-app%2Frc.git diff --git a/e2ap/lib/SuccessfulOutcome.c b/e2ap/lib/SuccessfulOutcome.c index 7328b32..7a31285 100644 --- a/e2ap/lib/SuccessfulOutcome.c +++ b/e2ap/lib/SuccessfulOutcome.c @@ -1,8 +1,8 @@ /* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Descriptions" - * 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` + * From ASN.1 module "E2AP-CommonDataTypes" + * found in "e2ap.asn" + * `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example -D .` */ #include "SuccessfulOutcome.h" @@ -11,20 +11,24 @@ static const long asn_VAL_1_id_RICsubscription = 8; static const long asn_VAL_1_reject = 0; static const long asn_VAL_2_id_RICsubscriptionDelete = 9; static const long asn_VAL_2_reject = 0; -static const long asn_VAL_3_id_RICserviceUpdate = 7; +static const long asn_VAL_3_id_RICcontrol = 4; static const long asn_VAL_3_reject = 0; -static const long asn_VAL_4_id_RICcontrol = 4; +static const long asn_VAL_4_id_E2setup = 1; static const long asn_VAL_4_reject = 0; -static const long asn_VAL_5_id_E2setup = 1; +static const long asn_VAL_5_id_E2nodeConfigurationUpdate = 10; static const long asn_VAL_5_reject = 0; static const long asn_VAL_6_id_Reset = 3; static const long asn_VAL_6_reject = 0; -static const long asn_VAL_7_id_RICindication = 5; -static const long asn_VAL_7_ignore = 1; -static const long asn_VAL_8_id_RICserviceQuery = 6; +static const long asn_VAL_7_id_E2removal = 13; +static const long asn_VAL_7_reject = 0; +static const long asn_VAL_8_id_RICindication = 5; static const long asn_VAL_8_ignore = 1; -static const long asn_VAL_9_id_ErrorIndication = 2; +static const long asn_VAL_9_id_RICserviceQuery = 6; static const long asn_VAL_9_ignore = 1; +static const long asn_VAL_10_id_ErrorIndication = 2; +static const long asn_VAL_10_ignore = 1; +static const long asn_VAL_11_id_RICsubscriptionDeleteRequired = 12; +static const long asn_VAL_11_ignore = 1; static const asn_ioc_cell_t asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows[] = { { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionRequest }, { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionResponse }, @@ -36,44 +40,54 @@ static const asn_ioc_cell_t asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows[] = { { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionDeleteFailure }, { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_2_id_RICsubscriptionDelete }, { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_2_reject }, - { "&InitiatingMessage", aioc__type, &asn_DEF_RICserviceUpdate }, - { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICserviceUpdateAcknowledge }, - { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICserviceUpdateFailure }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_3_id_RICserviceUpdate }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_3_reject }, { "&InitiatingMessage", aioc__type, &asn_DEF_RICcontrolRequest }, { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICcontrolAcknowledge }, { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICcontrolFailure }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_4_id_RICcontrol }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_4_reject }, + { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_3_id_RICcontrol }, + { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_3_reject }, { "&InitiatingMessage", aioc__type, &asn_DEF_E2setupRequest }, { "&SuccessfulOutcome", aioc__type, &asn_DEF_E2setupResponse }, { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_E2setupFailure }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_5_id_E2setup }, + { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_4_id_E2setup }, + { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_4_reject }, + { "&InitiatingMessage", aioc__type, &asn_DEF_E2nodeConfigurationUpdate }, + { "&SuccessfulOutcome", aioc__type, &asn_DEF_E2nodeConfigurationUpdateAcknowledge }, + { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_E2nodeConfigurationUpdateFailure }, + { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_5_id_E2nodeConfigurationUpdate }, { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_5_reject }, { "&InitiatingMessage", aioc__type, &asn_DEF_ResetRequest }, { "&SuccessfulOutcome", aioc__type, &asn_DEF_ResetResponse }, { "&UnsuccessfulOutcome", }, { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_6_id_Reset }, { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_6_reject }, + { "&InitiatingMessage", aioc__type, &asn_DEF_E2RemovalRequest }, + { "&SuccessfulOutcome", aioc__type, &asn_DEF_E2RemovalResponse }, + { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_E2RemovalFailure }, + { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_7_id_E2removal }, + { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_7_reject }, { "&InitiatingMessage", aioc__type, &asn_DEF_RICindication }, { "&SuccessfulOutcome", }, { "&UnsuccessfulOutcome", }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_7_id_RICindication }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_7_ignore }, + { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_8_id_RICindication }, + { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_8_ignore }, { "&InitiatingMessage", aioc__type, &asn_DEF_RICserviceQuery }, { "&SuccessfulOutcome", }, { "&UnsuccessfulOutcome", }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_8_id_RICserviceQuery }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_8_ignore }, + { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_9_id_RICserviceQuery }, + { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_9_ignore }, { "&InitiatingMessage", aioc__type, &asn_DEF_ErrorIndication }, { "&SuccessfulOutcome", }, { "&UnsuccessfulOutcome", }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_9_id_ErrorIndication }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_9_ignore } + { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_10_id_ErrorIndication }, + { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_10_ignore }, + { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionDeleteRequired }, + { "&SuccessfulOutcome", }, + { "&UnsuccessfulOutcome", }, + { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_11_id_RICsubscriptionDeleteRequired }, + { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_11_ignore } }; static const asn_ioc_set_t asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1[] = { - { 9, 5, asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows } + { 11, 5, asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows } }; static int memb_procedureCode_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, @@ -235,15 +249,6 @@ static asn_TYPE_member_t asn_MBR_value_4[] = { 0, 0, /* No default value */ "RICsubscriptionDeleteResponse" }, - { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.RICserviceUpdateAcknowledge), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICserviceUpdateAcknowledge, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICserviceUpdateAcknowledge" - }, { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.RICcontrolAcknowledge), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, @@ -262,6 +267,15 @@ static asn_TYPE_member_t asn_MBR_value_4[] = { 0, 0, /* No default value */ "E2setupResponse" }, + { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.E2nodeConfigurationUpdateAcknowledge), + (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), + 0, + &asn_DEF_E2nodeConfigurationUpdateAcknowledge, + 0, + { 0, 0, 0 }, + 0, 0, /* No default value */ + "E2nodeConfigurationUpdateAcknowledge" + }, { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.ResetResponse), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, @@ -271,14 +285,24 @@ static asn_TYPE_member_t asn_MBR_value_4[] = { 0, 0, /* No default value */ "ResetResponse" }, + { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.E2RemovalResponse), + (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), + 0, + &asn_DEF_E2RemovalResponse, + 0, + { 0, 0, 0 }, + 0, 0, /* No default value */ + "E2RemovalResponse" + }, }; static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_4[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 5 }, /* RICsubscriptionResponse */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 4 }, /* RICsubscriptionDeleteResponse */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 3 }, /* RICserviceUpdateAcknowledge */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -3, 2 }, /* RICcontrolAcknowledge */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -4, 1 }, /* E2setupResponse */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 5, -5, 0 } /* ResetResponse */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 6 }, /* RICsubscriptionResponse */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 5 }, /* RICsubscriptionDeleteResponse */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 4 }, /* RICcontrolAcknowledge */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -3, 3 }, /* E2setupResponse */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -4, 2 }, /* E2nodeConfigurationUpdateAcknowledge */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 5, -5, 1 }, /* ResetResponse */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 6, -6, 0 } /* E2RemovalResponse */ }; static asn_CHOICE_specifics_t asn_SPC_value_specs_4 = { sizeof(struct SuccessfulOutcome__value), @@ -286,7 +310,7 @@ static asn_CHOICE_specifics_t asn_SPC_value_specs_4 = { offsetof(struct SuccessfulOutcome__value, present), sizeof(((struct SuccessfulOutcome__value *)0)->present), asn_MAP_value_tag2el_4, - 6, /* Count of tags in the map */ + 7, /* Count of tags in the map */ 0, 0, -1 /* Extensions start */ }; @@ -301,7 +325,7 @@ asn_TYPE_descriptor_t asn_DEF_value_4 = { 0, /* No tags (count) */ { 0, 0, OPEN_TYPE_constraint }, asn_MBR_value_4, - 6, /* Elements count */ + 7, /* Elements count */ &asn_SPC_value_specs_4 /* Additional specs */ };