SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / ServingCell-ARFCN.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 "ServingCell-ARFCN.h"
9
10 #include "NR-ARFCN.h"
11 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
12 static asn_per_constraints_t asn_PER_type_ServingCell_ARFCN_constr_1 CC_NOTUSED = {
13         { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,
14         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
15         0, 0    /* No PER value map */
16 };
17 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
18 static asn_TYPE_member_t asn_MBR_ServingCell_ARFCN_1[] = {
19         { ATF_POINTER, 0, offsetof(struct ServingCell_ARFCN, choice.nR),
20                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
21                 -1,     /* IMPLICIT tag at current level */
22                 &asn_DEF_NR_ARFCN,
23                 0,
24                 {
25 #if !defined(ASN_DISABLE_OER_SUPPORT)
26                         0,
27 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
28 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
29                         0,
30 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
31                         0
32                 },
33                 0, 0, /* No default value */
34                 "nR"
35                 },
36         { ATF_NOFLAGS, 0, offsetof(struct ServingCell_ARFCN, choice.eUTRA),
37                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
38                 -1,     /* IMPLICIT tag at current level */
39                 &asn_DEF_E_UTRA_ARFCN,
40                 0,
41                 {
42 #if !defined(ASN_DISABLE_OER_SUPPORT)
43                         0,
44 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
45 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
46                         0,
47 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
48                         0
49                 },
50                 0, 0, /* No default value */
51                 "eUTRA"
52                 },
53 };
54 static const asn_TYPE_tag2member_t asn_MAP_ServingCell_ARFCN_tag2el_1[] = {
55     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nR */
56     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* eUTRA */
57 };
58 static asn_CHOICE_specifics_t asn_SPC_ServingCell_ARFCN_specs_1 = {
59         sizeof(struct ServingCell_ARFCN),
60         offsetof(struct ServingCell_ARFCN, _asn_ctx),
61         offsetof(struct ServingCell_ARFCN, present),
62         sizeof(((struct ServingCell_ARFCN *)0)->present),
63         asn_MAP_ServingCell_ARFCN_tag2el_1,
64         2,      /* Count of tags in the map */
65         0, 0,
66         2       /* Extensions start */
67 };
68 asn_TYPE_descriptor_t asn_DEF_ServingCell_ARFCN = {
69         "ServingCell-ARFCN",
70         "ServingCell-ARFCN",
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_ServingCell_ARFCN_constr_1,
82 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
83                 CHOICE_constraint
84         },
85         asn_MBR_ServingCell_ARFCN_1,
86         2,      /* Elements count */
87         &asn_SPC_ServingCell_ARFCN_specs_1      /* Additional specs */
88 };
89