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 "RRC-MessageID.h" |
| 9 | |
| 10 | static asn_oer_constraints_t asn_OER_type_rrcType_constr_2 CC_NOTUSED = { |
| 11 | { 0, 0 }, |
| 12 | -1}; |
| 13 | static asn_per_constraints_t asn_PER_type_rrcType_constr_2 CC_NOTUSED = { |
| 14 | { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, |
| 15 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 16 | 0, 0 /* No PER value map */ |
| 17 | }; |
| 18 | static asn_TYPE_member_t asn_MBR_rrcType_2[] = { |
| 19 | { ATF_NOFLAGS, 0, offsetof(struct RRC_MessageID__rrcType, choice.lTE), |
| 20 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 21 | -1, /* IMPLICIT tag at current level */ |
| 22 | &asn_DEF_RRCclass_LTE, |
| 23 | 0, |
| 24 | { 0, 0, 0 }, |
| 25 | 0, 0, /* No default value */ |
| 26 | "lTE" |
| 27 | }, |
| 28 | { ATF_NOFLAGS, 0, offsetof(struct RRC_MessageID__rrcType, choice.nR), |
| 29 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 30 | -1, /* IMPLICIT tag at current level */ |
| 31 | &asn_DEF_RRCclass_NR, |
| 32 | 0, |
| 33 | { 0, 0, 0 }, |
| 34 | 0, 0, /* No default value */ |
| 35 | "nR" |
| 36 | }, |
| 37 | }; |
| 38 | static const asn_TYPE_tag2member_t asn_MAP_rrcType_tag2el_2[] = { |
| 39 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lTE */ |
| 40 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nR */ |
| 41 | }; |
| 42 | static asn_CHOICE_specifics_t asn_SPC_rrcType_specs_2 = { |
| 43 | sizeof(struct RRC_MessageID__rrcType), |
| 44 | offsetof(struct RRC_MessageID__rrcType, _asn_ctx), |
| 45 | offsetof(struct RRC_MessageID__rrcType, present), |
| 46 | sizeof(((struct RRC_MessageID__rrcType *)0)->present), |
| 47 | asn_MAP_rrcType_tag2el_2, |
| 48 | 2, /* Count of tags in the map */ |
| 49 | 0, 0, |
| 50 | 2 /* Extensions start */ |
| 51 | }; |
| 52 | static /* Use -fall-defs-global to expose */ |
| 53 | asn_TYPE_descriptor_t asn_DEF_rrcType_2 = { |
| 54 | "rrcType", |
| 55 | "rrcType", |
| 56 | &asn_OP_CHOICE, |
| 57 | 0, /* No effective tags (pointer) */ |
| 58 | 0, /* No effective tags (count) */ |
| 59 | 0, /* No tags (pointer) */ |
| 60 | 0, /* No tags (count) */ |
| 61 | { &asn_OER_type_rrcType_constr_2, &asn_PER_type_rrcType_constr_2, CHOICE_constraint }, |
| 62 | asn_MBR_rrcType_2, |
| 63 | 2, /* Elements count */ |
| 64 | &asn_SPC_rrcType_specs_2 /* Additional specs */ |
| 65 | }; |
| 66 | |
| 67 | asn_TYPE_member_t asn_MBR_RRC_MessageID_1[] = { |
| 68 | { ATF_NOFLAGS, 0, offsetof(struct RRC_MessageID, rrcType), |
| 69 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 70 | +1, /* EXPLICIT tag at current level */ |
| 71 | &asn_DEF_rrcType_2, |
| 72 | 0, |
| 73 | { 0, 0, 0 }, |
| 74 | 0, 0, /* No default value */ |
| 75 | "rrcType" |
| 76 | }, |
| 77 | { ATF_NOFLAGS, 0, offsetof(struct RRC_MessageID, messageID), |
| 78 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 79 | -1, /* IMPLICIT tag at current level */ |
| 80 | &asn_DEF_NativeInteger, |
| 81 | 0, |
| 82 | { 0, 0, 0 }, |
| 83 | 0, 0, /* No default value */ |
| 84 | "messageID" |
| 85 | }, |
| 86 | }; |
| 87 | static const ber_tlv_tag_t asn_DEF_RRC_MessageID_tags_1[] = { |
| 88 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 89 | }; |
| 90 | static const asn_TYPE_tag2member_t asn_MAP_RRC_MessageID_tag2el_1[] = { |
| 91 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrcType */ |
| 92 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* messageID */ |
| 93 | }; |
| 94 | asn_SEQUENCE_specifics_t asn_SPC_RRC_MessageID_specs_1 = { |
| 95 | sizeof(struct RRC_MessageID), |
| 96 | offsetof(struct RRC_MessageID, _asn_ctx), |
| 97 | asn_MAP_RRC_MessageID_tag2el_1, |
| 98 | 2, /* Count of tags in the map */ |
| 99 | 0, 0, 0, /* Optional elements (not needed) */ |
| 100 | 2, /* First extension addition */ |
| 101 | }; |
| 102 | asn_TYPE_descriptor_t asn_DEF_RRC_MessageID = { |
| 103 | "RRC-MessageID", |
| 104 | "RRC-MessageID", |
| 105 | &asn_OP_SEQUENCE, |
| 106 | asn_DEF_RRC_MessageID_tags_1, |
| 107 | sizeof(asn_DEF_RRC_MessageID_tags_1) |
| 108 | /sizeof(asn_DEF_RRC_MessageID_tags_1[0]), /* 1 */ |
| 109 | asn_DEF_RRC_MessageID_tags_1, /* Same as above */ |
| 110 | sizeof(asn_DEF_RRC_MessageID_tags_1) |
| 111 | /sizeof(asn_DEF_RRC_MessageID_tags_1[0]), /* 1 */ |
| 112 | { 0, 0, SEQUENCE_constraint }, |
| 113 | asn_MBR_RRC_MessageID_1, |
| 114 | 2, /* Elements count */ |
| 115 | &asn_SPC_RRC_MessageID_specs_1 /* Additional specs */ |
| 116 | }; |
| 117 | |