Juha Hyttinen | ff8dccd | 2019-12-10 14:34:07 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) |
| 3 | * From ASN.1 module "X2AP-PDU-Contents" |
| 4 | * found in "Spec/e2_and_x2-combined-and-minimized.asn1" |
| 5 | * `asn1c -pdu=auto -fincludes-quoted -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example` |
| 6 | */ |
| 7 | |
| 8 | #include "CellAssistanceInformation.h" |
| 9 | |
| 10 | /* |
| 11 | * This type is implemented using NativeEnumerated, |
| 12 | * so here we adjust the DEF accordingly. |
| 13 | */ |
| 14 | static asn_per_constraints_t asn_PER_type_full_list_constr_3 CC_NOTUSED = { |
| 15 | { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */, |
| 16 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 17 | 0, 0 /* No PER value map */ |
| 18 | }; |
| 19 | static asn_per_constraints_t asn_PER_type_CellAssistanceInformation_constr_1 CC_NOTUSED = { |
| 20 | { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, |
| 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_full_list_value2enum_3[] = { |
| 25 | { 0, 16, "allServedNRcells" } |
| 26 | /* This list is extensible */ |
| 27 | }; |
| 28 | static const unsigned int asn_MAP_full_list_enum2value_3[] = { |
| 29 | 0 /* allServedNRcells(0) */ |
| 30 | /* This list is extensible */ |
| 31 | }; |
| 32 | static const asn_INTEGER_specifics_t asn_SPC_full_list_specs_3 = { |
| 33 | asn_MAP_full_list_value2enum_3, /* "tag" => N; sorted by tag */ |
| 34 | asn_MAP_full_list_enum2value_3, /* 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_full_list_tags_3[] = { |
| 42 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 43 | (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) |
| 44 | }; |
| 45 | static /* Use -fall-defs-global to expose */ |
| 46 | asn_TYPE_descriptor_t asn_DEF_full_list_3 = { |
| 47 | "full-list", |
| 48 | "full-list", |
| 49 | &asn_OP_NativeEnumerated, |
| 50 | asn_DEF_full_list_tags_3, |
| 51 | sizeof(asn_DEF_full_list_tags_3) |
| 52 | /sizeof(asn_DEF_full_list_tags_3[0]) - 1, /* 1 */ |
| 53 | asn_DEF_full_list_tags_3, /* Same as above */ |
| 54 | sizeof(asn_DEF_full_list_tags_3) |
| 55 | /sizeof(asn_DEF_full_list_tags_3[0]), /* 2 */ |
| 56 | { 0, &asn_PER_type_full_list_constr_3, NativeEnumerated_constraint }, |
| 57 | 0, 0, /* Defined elsewhere */ |
| 58 | &asn_SPC_full_list_specs_3 /* Additional specs */ |
| 59 | }; |
| 60 | |
| 61 | static asn_TYPE_member_t asn_MBR_CellAssistanceInformation_1[] = { |
| 62 | { ATF_NOFLAGS, 0, offsetof(struct CellAssistanceInformation, choice.limited_list), |
| 63 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 64 | -1, /* IMPLICIT tag at current level */ |
| 65 | &asn_DEF_Limited_list, |
| 66 | 0, |
| 67 | { 0, 0, 0 }, |
| 68 | 0, 0, /* No default value */ |
| 69 | "limited-list" |
| 70 | }, |
| 71 | { ATF_NOFLAGS, 0, offsetof(struct CellAssistanceInformation, choice.full_list), |
| 72 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 73 | -1, /* IMPLICIT tag at current level */ |
| 74 | &asn_DEF_full_list_3, |
| 75 | 0, |
| 76 | { 0, 0, 0 }, |
| 77 | 0, 0, /* No default value */ |
| 78 | "full-list" |
| 79 | }, |
| 80 | }; |
| 81 | static const asn_TYPE_tag2member_t asn_MAP_CellAssistanceInformation_tag2el_1[] = { |
| 82 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* limited-list */ |
| 83 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* full-list */ |
| 84 | }; |
| 85 | static asn_CHOICE_specifics_t asn_SPC_CellAssistanceInformation_specs_1 = { |
| 86 | sizeof(struct CellAssistanceInformation), |
| 87 | offsetof(struct CellAssistanceInformation, _asn_ctx), |
| 88 | offsetof(struct CellAssistanceInformation, present), |
| 89 | sizeof(((struct CellAssistanceInformation *)0)->present), |
| 90 | asn_MAP_CellAssistanceInformation_tag2el_1, |
| 91 | 2, /* Count of tags in the map */ |
| 92 | 0, 0, |
| 93 | 2 /* Extensions start */ |
| 94 | }; |
| 95 | asn_TYPE_descriptor_t asn_DEF_CellAssistanceInformation = { |
| 96 | "CellAssistanceInformation", |
| 97 | "CellAssistanceInformation", |
| 98 | &asn_OP_CHOICE, |
| 99 | 0, /* No effective tags (pointer) */ |
| 100 | 0, /* No effective tags (count) */ |
| 101 | 0, /* No tags (pointer) */ |
| 102 | 0, /* No tags (count) */ |
| 103 | { 0, &asn_PER_type_CellAssistanceInformation_constr_1, CHOICE_constraint }, |
| 104 | asn_MBR_CellAssistanceInformation_1, |
| 105 | 2, /* Elements count */ |
| 106 | &asn_SPC_CellAssistanceInformation_specs_1 /* Additional specs */ |
| 107 | }; |
| 108 | |