X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=e2ap%2Flib%2FUnsuccessfulOutcome.c;fp=e2ap%2Flib%2FUnsuccessfulOutcome.c;h=2bd4abf5f7c28d6876379517373888fbbcfc7515;hb=960885a60feb1ef3f9f654c7f4caf73f7a25dc4a;hp=5c85aa8350c5639598aa380fde30db3d56ec69f0;hpb=a68d14ca01424a51cc7c9dd24b46282784301cba;p=ric-app%2Frc.git diff --git a/e2ap/lib/UnsuccessfulOutcome.c b/e2ap/lib/UnsuccessfulOutcome.c index 5c85aa8..2bd4abf 100644 --- a/e2ap/lib/UnsuccessfulOutcome.c +++ b/e2ap/lib/UnsuccessfulOutcome.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 "UnsuccessfulOutcome.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 */ "RICsubscriptionDeleteFailure" }, - { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.RICserviceUpdateFailure), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICserviceUpdateFailure, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICserviceUpdateFailure" - }, { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.RICcontrolFailure), (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, @@ -262,13 +267,32 @@ static asn_TYPE_member_t asn_MBR_value_4[] = { 0, 0, /* No default value */ "E2setupFailure" }, + { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.E2nodeConfigurationUpdateFailure), + (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), + 0, + &asn_DEF_E2nodeConfigurationUpdateFailure, + 0, + { 0, 0, 0 }, + 0, 0, /* No default value */ + "E2nodeConfigurationUpdateFailure" + }, + { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.E2RemovalFailure), + (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), + 0, + &asn_DEF_E2RemovalFailure, + 0, + { 0, 0, 0 }, + 0, 0, /* No default value */ + "E2RemovalFailure" + }, }; static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_4[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 4 }, /* RICsubscriptionFailure */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 3 }, /* RICsubscriptionDeleteFailure */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 2 }, /* RICserviceUpdateFailure */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -3, 1 }, /* RICcontrolFailure */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -4, 0 } /* E2setupFailure */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 5 }, /* RICsubscriptionFailure */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 4 }, /* RICsubscriptionDeleteFailure */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 3 }, /* RICcontrolFailure */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -3, 2 }, /* E2setupFailure */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -4, 1 }, /* E2nodeConfigurationUpdateFailure */ + { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 5, -5, 0 } /* E2RemovalFailure */ }; static asn_CHOICE_specifics_t asn_SPC_value_specs_4 = { sizeof(struct UnsuccessfulOutcome__value), @@ -276,7 +300,7 @@ static asn_CHOICE_specifics_t asn_SPC_value_specs_4 = { offsetof(struct UnsuccessfulOutcome__value, present), sizeof(((struct UnsuccessfulOutcome__value *)0)->present), asn_MAP_value_tag2el_4, - 5, /* Count of tags in the map */ + 6, /* Count of tags in the map */ 0, 0, -1 /* Extensions start */ }; @@ -291,7 +315,7 @@ asn_TYPE_descriptor_t asn_DEF_value_4 = { 0, /* No tags (count) */ { 0, 0, OPEN_TYPE_constraint }, asn_MBR_value_4, - 5, /* Elements count */ + 6, /* Elements count */ &asn_SPC_value_specs_4 /* Additional specs */ };