SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / RRC-MessageID.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2SM-COMMON-IEs"
4  *      found in "e2sm-v03.01.asn"
5  *      `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -no-gen-example -no-gen-OER -D /tmp/workspace/oransim-gerrit/e2sim/asn1c/`
6  */
7
8 #include "RRC-MessageID.h"
9
10 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
11 static asn_per_constraints_t asn_PER_type_rrcType_constr_2 CC_NOTUSED = {
12         { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,
13         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
14         0, 0    /* No PER value map */
15 };
16 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
17 static asn_TYPE_member_t asn_MBR_rrcType_2[] = {
18         { ATF_NOFLAGS, 0, offsetof(struct RRC_MessageID__rrcType, choice.lTE),
19                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
20                 -1,     /* IMPLICIT tag at current level */
21                 &asn_DEF_RRCclass_LTE,
22                 0,
23                 {
24 #if !defined(ASN_DISABLE_OER_SUPPORT)
25                         0,
26 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
27 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
28                         0,
29 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
30                         0
31                 },
32                 0, 0, /* No default value */
33                 "lTE"
34                 },
35         { ATF_NOFLAGS, 0, offsetof(struct RRC_MessageID__rrcType, choice.nR),
36                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
37                 -1,     /* IMPLICIT tag at current level */
38                 &asn_DEF_RRCclass_NR,
39                 0,
40                 {
41 #if !defined(ASN_DISABLE_OER_SUPPORT)
42                         0,
43 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
44 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
45                         0,
46 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
47                         0
48                 },
49                 0, 0, /* No default value */
50                 "nR"
51                 },
52 };
53 static const asn_TYPE_tag2member_t asn_MAP_rrcType_tag2el_2[] = {
54     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lTE */
55     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* nR */
56 };
57 static asn_CHOICE_specifics_t asn_SPC_rrcType_specs_2 = {
58         sizeof(struct RRC_MessageID__rrcType),
59         offsetof(struct RRC_MessageID__rrcType, _asn_ctx),
60         offsetof(struct RRC_MessageID__rrcType, present),
61         sizeof(((struct RRC_MessageID__rrcType *)0)->present),
62         asn_MAP_rrcType_tag2el_2,
63         2,      /* Count of tags in the map */
64         0, 0,
65         2       /* Extensions start */
66 };
67 static /* Use -fall-defs-global to expose */
68 asn_TYPE_descriptor_t asn_DEF_rrcType_2 = {
69         "rrcType",
70         "rrcType",
71         &asn_OP_CHOICE,
72         0,      /* No effective tags (pointer) */
73         0,      /* No effective tags (count) */
74         0,      /* No tags (pointer) */
75         0,      /* No tags (count) */
76         {
77 #if !defined(ASN_DISABLE_OER_SUPPORT)
78                 0,
79 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
80 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
81                 &asn_PER_type_rrcType_constr_2,
82 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
83                 CHOICE_constraint
84         },
85         asn_MBR_rrcType_2,
86         2,      /* Elements count */
87         &asn_SPC_rrcType_specs_2        /* Additional specs */
88 };
89
90 static asn_TYPE_member_t asn_MBR_RRC_MessageID_1[] = {
91         { ATF_NOFLAGS, 0, offsetof(struct RRC_MessageID, rrcType),
92                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
93                 +1,     /* EXPLICIT tag at current level */
94                 &asn_DEF_rrcType_2,
95                 0,
96                 {
97 #if !defined(ASN_DISABLE_OER_SUPPORT)
98                         0,
99 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
100 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
101                         0,
102 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
103                         0
104                 },
105                 0, 0, /* No default value */
106                 "rrcType"
107                 },
108         { ATF_NOFLAGS, 0, offsetof(struct RRC_MessageID, messageID),
109                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
110                 -1,     /* IMPLICIT tag at current level */
111                 &asn_DEF_NativeInteger,
112                 0,
113                 {
114 #if !defined(ASN_DISABLE_OER_SUPPORT)
115                         0,
116 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
117 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
118                         0,
119 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
120                         0
121                 },
122                 0, 0, /* No default value */
123                 "messageID"
124                 },
125 };
126 static const ber_tlv_tag_t asn_DEF_RRC_MessageID_tags_1[] = {
127         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
128 };
129 static const asn_TYPE_tag2member_t asn_MAP_RRC_MessageID_tag2el_1[] = {
130     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rrcType */
131     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* messageID */
132 };
133 static asn_SEQUENCE_specifics_t asn_SPC_RRC_MessageID_specs_1 = {
134         sizeof(struct RRC_MessageID),
135         offsetof(struct RRC_MessageID, _asn_ctx),
136         asn_MAP_RRC_MessageID_tag2el_1,
137         2,      /* Count of tags in the map */
138         0, 0, 0,        /* Optional elements (not needed) */
139         2,      /* First extension addition */
140 };
141 asn_TYPE_descriptor_t asn_DEF_RRC_MessageID = {
142         "RRC-MessageID",
143         "RRC-MessageID",
144         &asn_OP_SEQUENCE,
145         asn_DEF_RRC_MessageID_tags_1,
146         sizeof(asn_DEF_RRC_MessageID_tags_1)
147                 /sizeof(asn_DEF_RRC_MessageID_tags_1[0]), /* 1 */
148         asn_DEF_RRC_MessageID_tags_1,   /* Same as above */
149         sizeof(asn_DEF_RRC_MessageID_tags_1)
150                 /sizeof(asn_DEF_RRC_MessageID_tags_1[0]), /* 1 */
151         {
152 #if !defined(ASN_DISABLE_OER_SUPPORT)
153                 0,
154 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
155 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
156                 0,
157 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
158                 SEQUENCE_constraint
159         },
160         asn_MBR_RRC_MessageID_1,
161         2,      /* Elements count */
162         &asn_SPC_RRC_MessageID_specs_1  /* Additional specs */
163 };
164