a31f1d5bd39eed8f87d48f427da8c372e260be24
[o-du/l2.git] / src / codec_utils / F1AP / GBR-QoSFlowInformation.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 ./out -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "GBR-QoSFlowInformation.h"
9
10 #include "ProtocolExtensionContainer.h"
11 asn_TYPE_member_t asn_MBR_GBR_QoSFlowInformation_1[] = {
12         { ATF_NOFLAGS, 0, offsetof(struct GBR_QoSFlowInformation, maxFlowBitRateDownlink),
13                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
14                 -1,     /* IMPLICIT tag at current level */
15                 &asn_DEF_BitRate,
16                 0,
17                 { 0, 0, 0 },
18                 0, 0, /* No default value */
19                 "maxFlowBitRateDownlink"
20                 },
21         { ATF_NOFLAGS, 0, offsetof(struct GBR_QoSFlowInformation, maxFlowBitRateUplink),
22                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
23                 -1,     /* IMPLICIT tag at current level */
24                 &asn_DEF_BitRate,
25                 0,
26                 { 0, 0, 0 },
27                 0, 0, /* No default value */
28                 "maxFlowBitRateUplink"
29                 },
30         { ATF_NOFLAGS, 0, offsetof(struct GBR_QoSFlowInformation, guaranteedFlowBitRateDownlink),
31                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
32                 -1,     /* IMPLICIT tag at current level */
33                 &asn_DEF_BitRate,
34                 0,
35                 { 0, 0, 0 },
36                 0, 0, /* No default value */
37                 "guaranteedFlowBitRateDownlink"
38                 },
39         { ATF_NOFLAGS, 0, offsetof(struct GBR_QoSFlowInformation, guaranteedFlowBitRateUplink),
40                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
41                 -1,     /* IMPLICIT tag at current level */
42                 &asn_DEF_BitRate,
43                 0,
44                 { 0, 0, 0 },
45                 0, 0, /* No default value */
46                 "guaranteedFlowBitRateUplink"
47                 },
48         { ATF_POINTER, 3, offsetof(struct GBR_QoSFlowInformation, maxPacketLossRateDownlink),
49                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
50                 -1,     /* IMPLICIT tag at current level */
51                 &asn_DEF_MaxPacketLossRate,
52                 0,
53                 { 0, 0, 0 },
54                 0, 0, /* No default value */
55                 "maxPacketLossRateDownlink"
56                 },
57         { ATF_POINTER, 2, offsetof(struct GBR_QoSFlowInformation, maxPacketLossRateUplink),
58                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
59                 -1,     /* IMPLICIT tag at current level */
60                 &asn_DEF_MaxPacketLossRate,
61                 0,
62                 { 0, 0, 0 },
63                 0, 0, /* No default value */
64                 "maxPacketLossRateUplink"
65                 },
66         { ATF_POINTER, 1, offsetof(struct GBR_QoSFlowInformation, iE_Extensions),
67                 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
68                 -1,     /* IMPLICIT tag at current level */
69                 &asn_DEF_ProtocolExtensionContainer_4624P53,
70                 0,
71                 { 0, 0, 0 },
72                 0, 0, /* No default value */
73                 "iE-Extensions"
74                 },
75 };
76 static const int asn_MAP_GBR_QoSFlowInformation_oms_1[] = { 4, 5, 6 };
77 static const ber_tlv_tag_t asn_DEF_GBR_QoSFlowInformation_tags_1[] = {
78         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
79 };
80 static const asn_TYPE_tag2member_t asn_MAP_GBR_QoSFlowInformation_tag2el_1[] = {
81     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* maxFlowBitRateDownlink */
82     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* maxFlowBitRateUplink */
83     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* guaranteedFlowBitRateDownlink */
84     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* guaranteedFlowBitRateUplink */
85     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* maxPacketLossRateDownlink */
86     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* maxPacketLossRateUplink */
87     { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* iE-Extensions */
88 };
89 asn_SEQUENCE_specifics_t asn_SPC_GBR_QoSFlowInformation_specs_1 = {
90         sizeof(struct GBR_QoSFlowInformation),
91         offsetof(struct GBR_QoSFlowInformation, _asn_ctx),
92         asn_MAP_GBR_QoSFlowInformation_tag2el_1,
93         7,      /* Count of tags in the map */
94         asn_MAP_GBR_QoSFlowInformation_oms_1,   /* Optional members */
95         3, 0,   /* Root/Additions */
96         7,      /* First extension addition */
97 };
98 asn_TYPE_descriptor_t asn_DEF_GBR_QoSFlowInformation = {
99         "GBR-QoSFlowInformation",
100         "GBR-QoSFlowInformation",
101         &asn_OP_SEQUENCE,
102         asn_DEF_GBR_QoSFlowInformation_tags_1,
103         sizeof(asn_DEF_GBR_QoSFlowInformation_tags_1)
104                 /sizeof(asn_DEF_GBR_QoSFlowInformation_tags_1[0]), /* 1 */
105         asn_DEF_GBR_QoSFlowInformation_tags_1,  /* Same as above */
106         sizeof(asn_DEF_GBR_QoSFlowInformation_tags_1)
107                 /sizeof(asn_DEF_GBR_QoSFlowInformation_tags_1[0]), /* 1 */
108         { 0, 0, SEQUENCE_constraint },
109         asn_MBR_GBR_QoSFlowInformation_1,
110         7,      /* Elements count */
111         &asn_SPC_GBR_QoSFlowInformation_specs_1 /* Additional specs */
112 };
113