[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-423] Modified RRC asn structures
[o-du/l2.git] / src / codec_utils / RRC / PagingRecord.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 "PagingRecord.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_accessType_constr_3 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 static asn_per_constraints_t asn_PER_type_accessType_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_accessType_value2enum_3[] = {
23         { 0,    7,      "non3GPP" }
24 };
25 static const unsigned int asn_MAP_accessType_enum2value_3[] = {
26         0       /* non3GPP(0) */
27 };
28 static const asn_INTEGER_specifics_t asn_SPC_accessType_specs_3 = {
29         asn_MAP_accessType_value2enum_3,        /* "tag" => N; sorted by tag */
30         asn_MAP_accessType_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_accessType_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_accessType_3 = {
43         "accessType",
44         "accessType",
45         &asn_OP_NativeEnumerated,
46         asn_DEF_accessType_tags_3,
47         sizeof(asn_DEF_accessType_tags_3)
48                 /sizeof(asn_DEF_accessType_tags_3[0]) - 1, /* 1 */
49         asn_DEF_accessType_tags_3,      /* Same as above */
50         sizeof(asn_DEF_accessType_tags_3)
51                 /sizeof(asn_DEF_accessType_tags_3[0]), /* 2 */
52         { &asn_OER_type_accessType_constr_3, &asn_PER_type_accessType_constr_3, NativeEnumerated_constraint },
53         0, 0,   /* Defined elsewhere */
54         &asn_SPC_accessType_specs_3     /* Additional specs */
55 };
56
57 asn_TYPE_member_t asn_MBR_PagingRecord_1[] = {
58         { ATF_NOFLAGS, 0, offsetof(struct PagingRecord, ue_Identity),
59                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
60                 +1,     /* EXPLICIT tag at current level */
61                 &asn_DEF_PagingUE_Identity,
62                 0,
63                 { 0, 0, 0 },
64                 0, 0, /* No default value */
65                 "ue-Identity"
66                 },
67         { ATF_POINTER, 1, offsetof(struct PagingRecord, accessType),
68                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
69                 -1,     /* IMPLICIT tag at current level */
70                 &asn_DEF_accessType_3,
71                 0,
72                 { 0, 0, 0 },
73                 0, 0, /* No default value */
74                 "accessType"
75                 },
76 };
77 static const int asn_MAP_PagingRecord_oms_1[] = { 1 };
78 static const ber_tlv_tag_t asn_DEF_PagingRecord_tags_1[] = {
79         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
80 };
81 static const asn_TYPE_tag2member_t asn_MAP_PagingRecord_tag2el_1[] = {
82     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ue-Identity */
83     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* accessType */
84 };
85 asn_SEQUENCE_specifics_t asn_SPC_PagingRecord_specs_1 = {
86         sizeof(struct PagingRecord),
87         offsetof(struct PagingRecord, _asn_ctx),
88         asn_MAP_PagingRecord_tag2el_1,
89         2,      /* Count of tags in the map */
90         asn_MAP_PagingRecord_oms_1,     /* Optional members */
91         1, 0,   /* Root/Additions */
92         2,      /* First extension addition */
93 };
94 asn_TYPE_descriptor_t asn_DEF_PagingRecord = {
95         "PagingRecord",
96         "PagingRecord",
97         &asn_OP_SEQUENCE,
98         asn_DEF_PagingRecord_tags_1,
99         sizeof(asn_DEF_PagingRecord_tags_1)
100                 /sizeof(asn_DEF_PagingRecord_tags_1[0]), /* 1 */
101         asn_DEF_PagingRecord_tags_1,    /* Same as above */
102         sizeof(asn_DEF_PagingRecord_tags_1)
103                 /sizeof(asn_DEF_PagingRecord_tags_1[0]), /* 1 */
104         { 0, 0, SEQUENCE_constraint },
105         asn_MBR_PagingRecord_1,
106         2,      /* Elements count */
107         &asn_SPC_PagingRecord_specs_1   /* Additional specs */
108 };
109