[Epic-ID: ODUHIGH-475][Task-ID: ODUHIGH-476]F1AP codec update
[o-du/l2.git] / src / codec_utils / F1AP / QoS-Characteristics.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 "QoS-Characteristics.h"
9
10 #include "NonDynamic5QIDescriptor.h"
11 #include "Dynamic5QIDescriptor.h"
12 #include "ProtocolIE-SingleContainer.h"
13 static asn_oer_constraints_t asn_OER_type_QoS_Characteristics_constr_1 CC_NOTUSED = {
14         { 0, 0 },
15         -1};
16 asn_per_constraints_t asn_PER_type_QoS_Characteristics_constr_1 CC_NOTUSED = {
17         { APC_CONSTRAINED,       2,  2,  0,  2 }        /* (0..2) */,
18         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
19         0, 0    /* No PER value map */
20 };
21 asn_TYPE_member_t asn_MBR_QoS_Characteristics_1[] = {
22         { ATF_POINTER, 0, offsetof(struct QoS_Characteristics, choice.non_Dynamic_5QI),
23                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
24                 -1,     /* IMPLICIT tag at current level */
25                 &asn_DEF_NonDynamic5QIDescriptor,
26                 0,
27                 { 0, 0, 0 },
28                 0, 0, /* No default value */
29                 "non-Dynamic-5QI"
30                 },
31         { ATF_POINTER, 0, offsetof(struct QoS_Characteristics, choice.dynamic_5QI),
32                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
33                 -1,     /* IMPLICIT tag at current level */
34                 &asn_DEF_Dynamic5QIDescriptor,
35                 0,
36                 { 0, 0, 0 },
37                 0, 0, /* No default value */
38                 "dynamic-5QI"
39                 },
40         { ATF_POINTER, 0, offsetof(struct QoS_Characteristics, choice.choice_extension),
41                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
42                 -1,     /* IMPLICIT tag at current level */
43                 &asn_DEF_ProtocolIE_SingleContainer_4590P65,
44                 0,
45                 { 0, 0, 0 },
46                 0, 0, /* No default value */
47                 "choice-extension"
48                 },
49 };
50 static const asn_TYPE_tag2member_t asn_MAP_QoS_Characteristics_tag2el_1[] = {
51     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* non-Dynamic-5QI */
52     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* dynamic-5QI */
53     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* choice-extension */
54 };
55 asn_CHOICE_specifics_t asn_SPC_QoS_Characteristics_specs_1 = {
56         sizeof(struct QoS_Characteristics),
57         offsetof(struct QoS_Characteristics, _asn_ctx),
58         offsetof(struct QoS_Characteristics, present),
59         sizeof(((struct QoS_Characteristics *)0)->present),
60         asn_MAP_QoS_Characteristics_tag2el_1,
61         3,      /* Count of tags in the map */
62         0, 0,
63         -1      /* Extensions start */
64 };
65 asn_TYPE_descriptor_t asn_DEF_QoS_Characteristics = {
66         "QoS-Characteristics",
67         "QoS-Characteristics",
68         &asn_OP_CHOICE,
69         0,      /* No effective tags (pointer) */
70         0,      /* No effective tags (count) */
71         0,      /* No tags (pointer) */
72         0,      /* No tags (count) */
73         { &asn_OER_type_QoS_Characteristics_constr_1, &asn_PER_type_QoS_Characteristics_constr_1, CHOICE_constraint },
74         asn_MBR_QoS_Characteristics_1,
75         3,      /* Elements count */
76         &asn_SPC_QoS_Characteristics_specs_1    /* Additional specs */
77 };
78