X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcodec_utils%2FF1AP%2FNR-Mode-Info.c;fp=src%2Fcodec_utils%2FF1AP%2FNR-Mode-Info.c;h=6fa10cee63d7a6c20ca2f0a0deb48d2f7a2e2c14;hb=3235ecfc7414aa0b72d0ad50db63ae8b5626045b;hp=0000000000000000000000000000000000000000;hpb=997e3f26d55352586a1d4d0c46c41a98452af88a;p=o-du%2Fl2.git diff --git a/src/codec_utils/F1AP/NR-Mode-Info.c b/src/codec_utils/F1AP/NR-Mode-Info.c new file mode 100755 index 000000000..6fa10cee6 --- /dev/null +++ b/src/codec_utils/F1AP/NR-Mode-Info.c @@ -0,0 +1,78 @@ +/* + * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) + * From ASN.1 module "F1AP-IEs" + * found in "F1.asn1" + * `asn1c -D ./out -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example` + */ + +#include "NR-Mode-Info.h" + +#include "FDD-Info.h" +#include "TDD-Info.h" +#include "ProtocolIE-SingleContainer.h" +static asn_oer_constraints_t asn_OER_type_NR_Mode_Info_constr_1 CC_NOTUSED = { + { 0, 0 }, + -1}; +asn_per_constraints_t asn_PER_type_NR_Mode_Info_constr_1 CC_NOTUSED = { + { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, + { APC_UNCONSTRAINED, -1, -1, 0, 0 }, + 0, 0 /* No PER value map */ +}; +asn_TYPE_member_t asn_MBR_NR_Mode_Info_1[] = { + { ATF_POINTER, 0, offsetof(struct NR_Mode_Info, choice.fDD), + (ASN_TAG_CLASS_CONTEXT | (0 << 2)), + -1, /* IMPLICIT tag at current level */ + &asn_DEF_FDD_Info, + 0, + { 0, 0, 0 }, + 0, 0, /* No default value */ + "fDD" + }, + { ATF_POINTER, 0, offsetof(struct NR_Mode_Info, choice.tDD), + (ASN_TAG_CLASS_CONTEXT | (1 << 2)), + -1, /* IMPLICIT tag at current level */ + &asn_DEF_TDD_Info, + 0, + { 0, 0, 0 }, + 0, 0, /* No default value */ + "tDD" + }, + { ATF_POINTER, 0, offsetof(struct NR_Mode_Info, choice.choice_extension), + (ASN_TAG_CLASS_CONTEXT | (2 << 2)), + -1, /* IMPLICIT tag at current level */ + &asn_DEF_ProtocolIE_SingleContainer_4590P63, + 0, + { 0, 0, 0 }, + 0, 0, /* No default value */ + "choice-extension" + }, +}; +static const asn_TYPE_tag2member_t asn_MAP_NR_Mode_Info_tag2el_1[] = { + { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* fDD */ + { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* tDD */ + { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* choice-extension */ +}; +asn_CHOICE_specifics_t asn_SPC_NR_Mode_Info_specs_1 = { + sizeof(struct NR_Mode_Info), + offsetof(struct NR_Mode_Info, _asn_ctx), + offsetof(struct NR_Mode_Info, present), + sizeof(((struct NR_Mode_Info *)0)->present), + asn_MAP_NR_Mode_Info_tag2el_1, + 3, /* Count of tags in the map */ + 0, 0, + -1 /* Extensions start */ +}; +asn_TYPE_descriptor_t asn_DEF_NR_Mode_Info = { + "NR-Mode-Info", + "NR-Mode-Info", + &asn_OP_CHOICE, + 0, /* No effective tags (pointer) */ + 0, /* No effective tags (count) */ + 0, /* No tags (pointer) */ + 0, /* No tags (count) */ + { &asn_OER_type_NR_Mode_Info_constr_1, &asn_PER_type_NR_Mode_Info_constr_1, CHOICE_constraint }, + asn_MBR_NR_Mode_Info_1, + 3, /* Elements count */ + &asn_SPC_NR_Mode_Info_specs_1 /* Additional specs */ +}; +