[Epic-ID: ODUHIGH-464][Task-ID: ODUHIGH-483] Memeory related fix in FDD and TDD mode
[o-du/l2.git] / src / codec_utils / F1AP / CriticalityDiagnostics.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "F1AP-IEs"
4  *      found in "../F1.asn1"
5  *      `asn1c -D ../F1_output/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
6  */
7
8 #include "CriticalityDiagnostics.h"
9
10 #include "CriticalityDiagnostics-IE-List.h"
11 #include "ProtocolExtensionContainer.h"
12 static asn_TYPE_member_t asn_MBR_CriticalityDiagnostics_1[] = {
13         { ATF_POINTER, 6, offsetof(struct CriticalityDiagnostics, procedureCode),
14                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
15                 -1,     /* IMPLICIT tag at current level */
16                 &asn_DEF_ProcedureCode,
17                 0,
18                 { 0, 0, 0 },
19                 0, 0, /* No default value */
20                 "procedureCode"
21                 },
22         { ATF_POINTER, 5, offsetof(struct CriticalityDiagnostics, triggeringMessage),
23                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
24                 -1,     /* IMPLICIT tag at current level */
25                 &asn_DEF_TriggeringMessage,
26                 0,
27                 { 0, 0, 0 },
28                 0, 0, /* No default value */
29                 "triggeringMessage"
30                 },
31         { ATF_POINTER, 4, offsetof(struct CriticalityDiagnostics, procedureCriticality),
32                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
33                 -1,     /* IMPLICIT tag at current level */
34                 &asn_DEF_Criticality,
35                 0,
36                 { 0, 0, 0 },
37                 0, 0, /* No default value */
38                 "procedureCriticality"
39                 },
40         { ATF_POINTER, 3, offsetof(struct CriticalityDiagnostics, transactionID),
41                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
42                 -1,     /* IMPLICIT tag at current level */
43                 &asn_DEF_TransactionID,
44                 0,
45                 { 0, 0, 0 },
46                 0, 0, /* No default value */
47                 "transactionID"
48                 },
49         { ATF_POINTER, 2, offsetof(struct CriticalityDiagnostics, iEsCriticalityDiagnostics),
50                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
51                 -1,     /* IMPLICIT tag at current level */
52                 &asn_DEF_CriticalityDiagnostics_IE_List,
53                 0,
54                 { 0, 0, 0 },
55                 0, 0, /* No default value */
56                 "iEsCriticalityDiagnostics"
57                 },
58         { ATF_POINTER, 1, offsetof(struct CriticalityDiagnostics, iE_Extensions),
59                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
60                 -1,     /* IMPLICIT tag at current level */
61                 &asn_DEF_ProtocolExtensionContainer_4624P14,
62                 0,
63                 { 0, 0, 0 },
64                 0, 0, /* No default value */
65                 "iE-Extensions"
66                 },
67 };
68 static const int asn_MAP_CriticalityDiagnostics_oms_1[] = { 0, 1, 2, 3, 4, 5 };
69 static const ber_tlv_tag_t asn_DEF_CriticalityDiagnostics_tags_1[] = {
70         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
71 };
72 static const asn_TYPE_tag2member_t asn_MAP_CriticalityDiagnostics_tag2el_1[] = {
73     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */
74     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* triggeringMessage */
75     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* procedureCriticality */
76     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* transactionID */
77     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* iEsCriticalityDiagnostics */
78     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* iE-Extensions */
79 };
80 static asn_SEQUENCE_specifics_t asn_SPC_CriticalityDiagnostics_specs_1 = {
81         sizeof(struct CriticalityDiagnostics),
82         offsetof(struct CriticalityDiagnostics, _asn_ctx),
83         asn_MAP_CriticalityDiagnostics_tag2el_1,
84         6,      /* Count of tags in the map */
85         asn_MAP_CriticalityDiagnostics_oms_1,   /* Optional members */
86         6, 0,   /* Root/Additions */
87         6,      /* First extension addition */
88 };
89 asn_TYPE_descriptor_t asn_DEF_CriticalityDiagnostics = {
90         "CriticalityDiagnostics",
91         "CriticalityDiagnostics",
92         &asn_OP_SEQUENCE,
93         asn_DEF_CriticalityDiagnostics_tags_1,
94         sizeof(asn_DEF_CriticalityDiagnostics_tags_1)
95                 /sizeof(asn_DEF_CriticalityDiagnostics_tags_1[0]), /* 1 */
96         asn_DEF_CriticalityDiagnostics_tags_1,  /* Same as above */
97         sizeof(asn_DEF_CriticalityDiagnostics_tags_1)
98                 /sizeof(asn_DEF_CriticalityDiagnostics_tags_1[0]), /* 1 */
99         { 0, 0, SEQUENCE_constraint },
100         asn_MBR_CriticalityDiagnostics_1,
101         6,      /* Elements count */
102         &asn_SPC_CriticalityDiagnostics_specs_1 /* Additional specs */
103 };
104