[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-423] Modified RRC asn structures
[o-du/l2.git] / src / codec_utils / RRC / CellAccessRelatedInfo.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-RRC-Definitions"
4  *      found in "../../../rrc_15.3_asn.asn1"
5  *      `asn1c -D ./25_02_2022_RRC/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "CellAccessRelatedInfo.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_cellReservedForOtherUse_constr_3 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 static asn_per_constraints_t asn_PER_type_cellReservedForOtherUse_constr_3 CC_NOTUSED = {
18         { APC_CONSTRAINED,       0,  0,  0,  0 }        /* (0..0) */,
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_cellReservedForOtherUse_value2enum_3[] = {
23         { 0,    4,      "true" }
24 };
25 static const unsigned int asn_MAP_cellReservedForOtherUse_enum2value_3[] = {
26         0       /* true(0) */
27 };
28 static const asn_INTEGER_specifics_t asn_SPC_cellReservedForOtherUse_specs_3 = {
29         asn_MAP_cellReservedForOtherUse_value2enum_3,   /* "tag" => N; sorted by tag */
30         asn_MAP_cellReservedForOtherUse_enum2value_3,   /* N => "tag"; sorted by N */
31         1,      /* Number of elements in the maps */
32         0,      /* Enumeration is not extensible */
33         1,      /* Strict enumeration */
34         0,      /* Native long size */
35         0
36 };
37 static const ber_tlv_tag_t asn_DEF_cellReservedForOtherUse_tags_3[] = {
38         (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
39         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
40 };
41 static /* Use -fall-defs-global to expose */
42 asn_TYPE_descriptor_t asn_DEF_cellReservedForOtherUse_3 = {
43         "cellReservedForOtherUse",
44         "cellReservedForOtherUse",
45         &asn_OP_NativeEnumerated,
46         asn_DEF_cellReservedForOtherUse_tags_3,
47         sizeof(asn_DEF_cellReservedForOtherUse_tags_3)
48                 /sizeof(asn_DEF_cellReservedForOtherUse_tags_3[0]) - 1, /* 1 */
49         asn_DEF_cellReservedForOtherUse_tags_3, /* Same as above */
50         sizeof(asn_DEF_cellReservedForOtherUse_tags_3)
51                 /sizeof(asn_DEF_cellReservedForOtherUse_tags_3[0]), /* 2 */
52         { &asn_OER_type_cellReservedForOtherUse_constr_3, &asn_PER_type_cellReservedForOtherUse_constr_3, NativeEnumerated_constraint },
53         0, 0,   /* Defined elsewhere */
54         &asn_SPC_cellReservedForOtherUse_specs_3        /* Additional specs */
55 };
56
57 asn_TYPE_member_t asn_MBR_CellAccessRelatedInfo_1[] = {
58         { ATF_NOFLAGS, 0, offsetof(struct CellAccessRelatedInfo, plmn_IdentityList),
59                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
60                 -1,     /* IMPLICIT tag at current level */
61                 &asn_DEF_PLMN_IdentityInfoList,
62                 0,
63                 { 0, 0, 0 },
64                 0, 0, /* No default value */
65                 "plmn-IdentityList"
66                 },
67         { ATF_POINTER, 1, offsetof(struct CellAccessRelatedInfo, cellReservedForOtherUse),
68                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
69                 -1,     /* IMPLICIT tag at current level */
70                 &asn_DEF_cellReservedForOtherUse_3,
71                 0,
72                 { 0, 0, 0 },
73                 0, 0, /* No default value */
74                 "cellReservedForOtherUse"
75                 },
76 };
77 static const int asn_MAP_CellAccessRelatedInfo_oms_1[] = { 1 };
78 static const ber_tlv_tag_t asn_DEF_CellAccessRelatedInfo_tags_1[] = {
79         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
80 };
81 static const asn_TYPE_tag2member_t asn_MAP_CellAccessRelatedInfo_tag2el_1[] = {
82     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* plmn-IdentityList */
83     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cellReservedForOtherUse */
84 };
85 asn_SEQUENCE_specifics_t asn_SPC_CellAccessRelatedInfo_specs_1 = {
86         sizeof(struct CellAccessRelatedInfo),
87         offsetof(struct CellAccessRelatedInfo, _asn_ctx),
88         asn_MAP_CellAccessRelatedInfo_tag2el_1,
89         2,      /* Count of tags in the map */
90         asn_MAP_CellAccessRelatedInfo_oms_1,    /* Optional members */
91         1, 0,   /* Root/Additions */
92         2,      /* First extension addition */
93 };
94 asn_TYPE_descriptor_t asn_DEF_CellAccessRelatedInfo = {
95         "CellAccessRelatedInfo",
96         "CellAccessRelatedInfo",
97         &asn_OP_SEQUENCE,
98         asn_DEF_CellAccessRelatedInfo_tags_1,
99         sizeof(asn_DEF_CellAccessRelatedInfo_tags_1)
100                 /sizeof(asn_DEF_CellAccessRelatedInfo_tags_1[0]), /* 1 */
101         asn_DEF_CellAccessRelatedInfo_tags_1,   /* Same as above */
102         sizeof(asn_DEF_CellAccessRelatedInfo_tags_1)
103                 /sizeof(asn_DEF_CellAccessRelatedInfo_tags_1[0]), /* 1 */
104         { 0, 0, SEQUENCE_constraint },
105         asn_MBR_CellAccessRelatedInfo_1,
106         2,      /* Elements count */
107         &asn_SPC_CellAccessRelatedInfo_specs_1  /* Additional specs */
108 };
109