[Epic-ID: ODUHIGH-406][Task-ID: ODUHIGH-441]: Update name of Paging RRC Codec
[o-du/l2.git] / src / codec_utils / RRC / FR-Info.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-InterNodeDefinitions"
4  *      found in "./22April22_Paging/rrc_15.3_asn.asn1"
5  *      `asn1c -D ./22April22_Paging -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "FR-Info.h"
9
10 /*
11  * This type is implemented using NativeEnumerated,
12  * so here we adjust the DEF accordingly.
13  */
14 static asn_oer_constraints_t asn_OER_type_fr_Type_constr_3 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 static asn_per_constraints_t asn_PER_type_fr_Type_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 */
21 };
22 static const asn_INTEGER_enum_map_t asn_MAP_fr_Type_value2enum_3[] = {
23         { 0,    3,      "fr1" },
24         { 1,    3,      "fr2" }
25 };
26 static const unsigned int asn_MAP_fr_Type_enum2value_3[] = {
27         0,      /* fr1(0) */
28         1       /* fr2(1) */
29 };
30 static const asn_INTEGER_specifics_t asn_SPC_fr_Type_specs_3 = {
31         asn_MAP_fr_Type_value2enum_3,   /* "tag" => N; sorted by tag */
32         asn_MAP_fr_Type_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 */
37         0
38 };
39 static const ber_tlv_tag_t asn_DEF_fr_Type_tags_3[] = {
40         (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
41         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
42 };
43 static /* Use -fall-defs-global to expose */
44 asn_TYPE_descriptor_t asn_DEF_fr_Type_3 = {
45         "fr-Type",
46         "fr-Type",
47         &asn_OP_NativeEnumerated,
48         asn_DEF_fr_Type_tags_3,
49         sizeof(asn_DEF_fr_Type_tags_3)
50                 /sizeof(asn_DEF_fr_Type_tags_3[0]) - 1, /* 1 */
51         asn_DEF_fr_Type_tags_3, /* Same as above */
52         sizeof(asn_DEF_fr_Type_tags_3)
53                 /sizeof(asn_DEF_fr_Type_tags_3[0]), /* 2 */
54         { &asn_OER_type_fr_Type_constr_3, &asn_PER_type_fr_Type_constr_3, NativeEnumerated_constraint },
55         0, 0,   /* Defined elsewhere */
56         &asn_SPC_fr_Type_specs_3        /* Additional specs */
57 };
58
59 asn_TYPE_member_t asn_MBR_FR_Info_1[] = {
60         { ATF_NOFLAGS, 0, offsetof(struct FR_Info, servCellIndex),
61                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
62                 -1,     /* IMPLICIT tag at current level */
63                 &asn_DEF_ServCellIndex,
64                 0,
65                 { 0, 0, 0 },
66                 0, 0, /* No default value */
67                 "servCellIndex"
68                 },
69         { ATF_NOFLAGS, 0, offsetof(struct FR_Info, fr_Type),
70                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
71                 -1,     /* IMPLICIT tag at current level */
72                 &asn_DEF_fr_Type_3,
73                 0,
74                 { 0, 0, 0 },
75                 0, 0, /* No default value */
76                 "fr-Type"
77                 },
78 };
79 static const ber_tlv_tag_t asn_DEF_FR_Info_tags_1[] = {
80         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
81 };
82 static const asn_TYPE_tag2member_t asn_MAP_FR_Info_tag2el_1[] = {
83     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* servCellIndex */
84     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* fr-Type */
85 };
86 asn_SEQUENCE_specifics_t asn_SPC_FR_Info_specs_1 = {
87         sizeof(struct FR_Info),
88         offsetof(struct FR_Info, _asn_ctx),
89         asn_MAP_FR_Info_tag2el_1,
90         2,      /* Count of tags in the map */
91         0, 0, 0,        /* Optional elements (not needed) */
92         -1,     /* First extension addition */
93 };
94 asn_TYPE_descriptor_t asn_DEF_FR_Info = {
95         "FR-Info",
96         "FR-Info",
97         &asn_OP_SEQUENCE,
98         asn_DEF_FR_Info_tags_1,
99         sizeof(asn_DEF_FR_Info_tags_1)
100                 /sizeof(asn_DEF_FR_Info_tags_1[0]), /* 1 */
101         asn_DEF_FR_Info_tags_1, /* Same as above */
102         sizeof(asn_DEF_FR_Info_tags_1)
103                 /sizeof(asn_DEF_FR_Info_tags_1[0]), /* 1 */
104         { 0, 0, SEQUENCE_constraint },
105         asn_MBR_FR_Info_1,
106         2,      /* Elements count */
107         &asn_SPC_FR_Info_specs_1        /* Additional specs */
108 };
109