rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) |
| 3 | * From ASN.1 module "E2SM-RC-IEs" |
| 4 | * found in "e2sm-rc-nov2021.asn" |
| 5 | * `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example -D .` |
| 6 | */ |
| 7 | |
| 8 | #include "E2SM-RC-EventTrigger-Format5.h" |
| 9 | |
| 10 | #include "EventTrigger-UE-Info.h" |
| 11 | #include "EventTrigger-Cell-Info.h" |
| 12 | /* |
| 13 | * This type is implemented using NativeEnumerated, |
| 14 | * so here we adjust the DEF accordingly. |
| 15 | */ |
| 16 | static asn_oer_constraints_t asn_OER_type_onDemand_constr_2 CC_NOTUSED = { |
| 17 | { 0, 0 }, |
| 18 | -1}; |
| 19 | static asn_per_constraints_t asn_PER_type_onDemand_constr_2 CC_NOTUSED = { |
| 20 | { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */, |
| 21 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 22 | 0, 0 /* No PER value map */ |
| 23 | }; |
| 24 | static const asn_INTEGER_enum_map_t asn_MAP_onDemand_value2enum_2[] = { |
| 25 | { 0, 4, "true" } |
| 26 | /* This list is extensible */ |
| 27 | }; |
| 28 | static const unsigned int asn_MAP_onDemand_enum2value_2[] = { |
| 29 | 0 /* true(0) */ |
| 30 | /* This list is extensible */ |
| 31 | }; |
| 32 | static const asn_INTEGER_specifics_t asn_SPC_onDemand_specs_2 = { |
| 33 | asn_MAP_onDemand_value2enum_2, /* "tag" => N; sorted by tag */ |
| 34 | asn_MAP_onDemand_enum2value_2, /* N => "tag"; sorted by N */ |
| 35 | 1, /* Number of elements in the maps */ |
| 36 | 2, /* Extensions before this member */ |
| 37 | 1, /* Strict enumeration */ |
| 38 | 0, /* Native long size */ |
| 39 | 0 |
| 40 | }; |
| 41 | static const ber_tlv_tag_t asn_DEF_onDemand_tags_2[] = { |
| 42 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 43 | (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) |
| 44 | }; |
| 45 | static /* Use -fall-defs-global to expose */ |
| 46 | asn_TYPE_descriptor_t asn_DEF_onDemand_2 = { |
| 47 | "onDemand", |
| 48 | "onDemand", |
| 49 | &asn_OP_NativeEnumerated, |
| 50 | asn_DEF_onDemand_tags_2, |
| 51 | sizeof(asn_DEF_onDemand_tags_2) |
| 52 | /sizeof(asn_DEF_onDemand_tags_2[0]) - 1, /* 1 */ |
| 53 | asn_DEF_onDemand_tags_2, /* Same as above */ |
| 54 | sizeof(asn_DEF_onDemand_tags_2) |
| 55 | /sizeof(asn_DEF_onDemand_tags_2[0]), /* 2 */ |
| 56 | { &asn_OER_type_onDemand_constr_2, &asn_PER_type_onDemand_constr_2, NativeEnumerated_constraint }, |
| 57 | 0, 0, /* Defined elsewhere */ |
| 58 | &asn_SPC_onDemand_specs_2 /* Additional specs */ |
| 59 | }; |
| 60 | |
| 61 | asn_TYPE_member_t asn_MBR_E2SM_RC_EventTrigger_Format5_1[] = { |
| 62 | { ATF_NOFLAGS, 0, offsetof(struct E2SM_RC_EventTrigger_Format5, onDemand), |
| 63 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 64 | -1, /* IMPLICIT tag at current level */ |
| 65 | &asn_DEF_onDemand_2, |
| 66 | 0, |
| 67 | { 0, 0, 0 }, |
| 68 | 0, 0, /* No default value */ |
| 69 | "onDemand" |
| 70 | }, |
| 71 | { ATF_POINTER, 2, offsetof(struct E2SM_RC_EventTrigger_Format5, associatedUEInfo), |
| 72 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 73 | -1, /* IMPLICIT tag at current level */ |
| 74 | &asn_DEF_EventTrigger_UE_Info, |
| 75 | 0, |
| 76 | { 0, 0, 0 }, |
| 77 | 0, 0, /* No default value */ |
| 78 | "associatedUEInfo" |
| 79 | }, |
| 80 | { ATF_POINTER, 1, offsetof(struct E2SM_RC_EventTrigger_Format5, associatedCellInfo), |
| 81 | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 82 | -1, /* IMPLICIT tag at current level */ |
| 83 | &asn_DEF_EventTrigger_Cell_Info, |
| 84 | 0, |
| 85 | { 0, 0, 0 }, |
| 86 | 0, 0, /* No default value */ |
| 87 | "associatedCellInfo" |
| 88 | }, |
| 89 | }; |
| 90 | static const int asn_MAP_E2SM_RC_EventTrigger_Format5_oms_1[] = { 1, 2 }; |
| 91 | static const ber_tlv_tag_t asn_DEF_E2SM_RC_EventTrigger_Format5_tags_1[] = { |
| 92 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 93 | }; |
| 94 | static const asn_TYPE_tag2member_t asn_MAP_E2SM_RC_EventTrigger_Format5_tag2el_1[] = { |
| 95 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* onDemand */ |
| 96 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* associatedUEInfo */ |
| 97 | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* associatedCellInfo */ |
| 98 | }; |
| 99 | asn_SEQUENCE_specifics_t asn_SPC_E2SM_RC_EventTrigger_Format5_specs_1 = { |
| 100 | sizeof(struct E2SM_RC_EventTrigger_Format5), |
| 101 | offsetof(struct E2SM_RC_EventTrigger_Format5, _asn_ctx), |
| 102 | asn_MAP_E2SM_RC_EventTrigger_Format5_tag2el_1, |
| 103 | 3, /* Count of tags in the map */ |
| 104 | asn_MAP_E2SM_RC_EventTrigger_Format5_oms_1, /* Optional members */ |
| 105 | 2, 0, /* Root/Additions */ |
| 106 | 3, /* First extension addition */ |
| 107 | }; |
| 108 | asn_TYPE_descriptor_t asn_DEF_E2SM_RC_EventTrigger_Format5 = { |
| 109 | "E2SM-RC-EventTrigger-Format5", |
| 110 | "E2SM-RC-EventTrigger-Format5", |
| 111 | &asn_OP_SEQUENCE, |
| 112 | asn_DEF_E2SM_RC_EventTrigger_Format5_tags_1, |
| 113 | sizeof(asn_DEF_E2SM_RC_EventTrigger_Format5_tags_1) |
| 114 | /sizeof(asn_DEF_E2SM_RC_EventTrigger_Format5_tags_1[0]), /* 1 */ |
| 115 | asn_DEF_E2SM_RC_EventTrigger_Format5_tags_1, /* Same as above */ |
| 116 | sizeof(asn_DEF_E2SM_RC_EventTrigger_Format5_tags_1) |
| 117 | /sizeof(asn_DEF_E2SM_RC_EventTrigger_Format5_tags_1[0]), /* 1 */ |
| 118 | { 0, 0, SEQUENCE_constraint }, |
| 119 | asn_MBR_E2SM_RC_EventTrigger_Format5_1, |
| 120 | 3, /* Elements count */ |
| 121 | &asn_SPC_E2SM_RC_EventTrigger_Format5_specs_1 /* Additional specs */ |
| 122 | }; |
| 123 | |