2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "E2SM-COMMON-IEs"
5 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example`
8 #include "RRC-MessageID.h"
10 static asn_oer_constraints_t asn_OER_type_rrcType_constr_2 CC_NOTUSED = {
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 */
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,
25 0, 0, /* No default value */
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 */
34 0, 0, /* No default value */
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 */
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 */
50 2 /* Extensions start */
52 static /* Use -fall-defs-global to expose */
53 asn_TYPE_descriptor_t asn_DEF_rrcType_2 = {
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 },
63 2, /* Elements count */
64 &asn_SPC_rrcType_specs_2 /* Additional specs */
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 */
74 0, 0, /* No default value */
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,
83 0, 0, /* No default value */
87 static const ber_tlv_tag_t asn_DEF_RRC_MessageID_tags_1[] = {
88 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
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 */
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 */
102 asn_TYPE_descriptor_t asn_DEF_RRC_MessageID = {
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 */