2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "../ASN1_Input/rrc_15_3_asn.asn1"
5 * `asn1c -D ../RRC_output_14Nov/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
8 #include "RedirectedCarrierInfo-EUTRA.h"
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
14 static asn_oer_constraints_t asn_OER_type_cnType_constr_3 CC_NOTUSED = {
17 static asn_per_constraints_t asn_PER_type_cnType_constr_3 CC_NOTUSED = {
18 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
19 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
20 0, 0 /* No PER value map */
22 static const asn_INTEGER_enum_map_t asn_MAP_cnType_value2enum_3[] = {
26 static const unsigned int asn_MAP_cnType_enum2value_3[] = {
30 static const asn_INTEGER_specifics_t asn_SPC_cnType_specs_3 = {
31 asn_MAP_cnType_value2enum_3, /* "tag" => N; sorted by tag */
32 asn_MAP_cnType_enum2value_3, /* N => "tag"; sorted by N */
33 2, /* Number of elements in the maps */
34 0, /* Enumeration is not extensible */
35 1, /* Strict enumeration */
36 0, /* Native long size */
39 static const ber_tlv_tag_t asn_DEF_cnType_tags_3[] = {
40 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
41 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
43 static /* Use -fall-defs-global to expose */
44 asn_TYPE_descriptor_t asn_DEF_cnType_3 = {
47 &asn_OP_NativeEnumerated,
48 asn_DEF_cnType_tags_3,
49 sizeof(asn_DEF_cnType_tags_3)
50 /sizeof(asn_DEF_cnType_tags_3[0]) - 1, /* 1 */
51 asn_DEF_cnType_tags_3, /* Same as above */
52 sizeof(asn_DEF_cnType_tags_3)
53 /sizeof(asn_DEF_cnType_tags_3[0]), /* 2 */
54 { &asn_OER_type_cnType_constr_3, &asn_PER_type_cnType_constr_3, NativeEnumerated_constraint },
55 0, 0, /* Defined elsewhere */
56 &asn_SPC_cnType_specs_3 /* Additional specs */
59 asn_TYPE_member_t asn_MBR_RedirectedCarrierInfo_EUTRA_1[] = {
60 { ATF_NOFLAGS, 0, offsetof(struct RedirectedCarrierInfo_EUTRA, eutraFrequency),
61 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
62 -1, /* IMPLICIT tag at current level */
63 &asn_DEF_ARFCN_ValueEUTRA,
66 0, 0, /* No default value */
69 { ATF_POINTER, 1, offsetof(struct RedirectedCarrierInfo_EUTRA, cnType),
70 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
71 -1, /* IMPLICIT tag at current level */
75 0, 0, /* No default value */
79 static const int asn_MAP_RedirectedCarrierInfo_EUTRA_oms_1[] = { 1 };
80 static const ber_tlv_tag_t asn_DEF_RedirectedCarrierInfo_EUTRA_tags_1[] = {
81 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
83 static const asn_TYPE_tag2member_t asn_MAP_RedirectedCarrierInfo_EUTRA_tag2el_1[] = {
84 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* eutraFrequency */
85 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cnType */
87 asn_SEQUENCE_specifics_t asn_SPC_RedirectedCarrierInfo_EUTRA_specs_1 = {
88 sizeof(struct RedirectedCarrierInfo_EUTRA),
89 offsetof(struct RedirectedCarrierInfo_EUTRA, _asn_ctx),
90 asn_MAP_RedirectedCarrierInfo_EUTRA_tag2el_1,
91 2, /* Count of tags in the map */
92 asn_MAP_RedirectedCarrierInfo_EUTRA_oms_1, /* Optional members */
93 1, 0, /* Root/Additions */
94 -1, /* First extension addition */
96 asn_TYPE_descriptor_t asn_DEF_RedirectedCarrierInfo_EUTRA = {
97 "RedirectedCarrierInfo-EUTRA",
98 "RedirectedCarrierInfo-EUTRA",
100 asn_DEF_RedirectedCarrierInfo_EUTRA_tags_1,
101 sizeof(asn_DEF_RedirectedCarrierInfo_EUTRA_tags_1)
102 /sizeof(asn_DEF_RedirectedCarrierInfo_EUTRA_tags_1[0]), /* 1 */
103 asn_DEF_RedirectedCarrierInfo_EUTRA_tags_1, /* Same as above */
104 sizeof(asn_DEF_RedirectedCarrierInfo_EUTRA_tags_1)
105 /sizeof(asn_DEF_RedirectedCarrierInfo_EUTRA_tags_1[0]), /* 1 */
106 { 0, 0, SEQUENCE_constraint },
107 asn_MBR_RedirectedCarrierInfo_EUTRA_1,
108 2, /* Elements count */
109 &asn_SPC_RedirectedCarrierInfo_EUTRA_specs_1 /* Additional specs */