376a0c8d8eef84eda19fce66326cacf71aecede8
[ric-plt/submgr.git] / e2ap / lib / GBR-QosInformation.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "X2AP-IEs"
4  *      found in "X2AP-15-4-0.asn1"
5  *      `asn1c -D ./asn1_n1 -pdu=auto -fno-include-deps -fcompound-names -findirect-choice -gen-PER -gen-OER -no-gen-example`
6  */
7
8 #include "GBR-QosInformation.h"
9
10 #include "ProtocolExtensionContainer.h"
11 asn_TYPE_member_t asn_MBR_GBR_QosInformation_1[] = {
12         { ATF_NOFLAGS, 0, offsetof(struct GBR_QosInformation, e_RAB_MaximumBitrateDL),
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                 "e-RAB-MaximumBitrateDL"
20                 },
21         { ATF_NOFLAGS, 0, offsetof(struct GBR_QosInformation, e_RAB_MaximumBitrateUL),
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                 "e-RAB-MaximumBitrateUL"
29                 },
30         { ATF_NOFLAGS, 0, offsetof(struct GBR_QosInformation, e_RAB_GuaranteedBitrateDL),
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                 "e-RAB-GuaranteedBitrateDL"
38                 },
39         { ATF_NOFLAGS, 0, offsetof(struct GBR_QosInformation, e_RAB_GuaranteedBitrateUL),
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                 "e-RAB-GuaranteedBitrateUL"
47                 },
48         { ATF_POINTER, 1, offsetof(struct GBR_QosInformation, iE_Extensions),
49                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
50                 -1,     /* IMPLICIT tag at current level */
51                 &asn_DEF_ProtocolExtensionContainer_7683P149,
52                 0,
53                 { 0, 0, 0 },
54                 0, 0, /* No default value */
55                 "iE-Extensions"
56                 },
57 };
58 static const int asn_MAP_GBR_QosInformation_oms_1[] = { 4 };
59 static const ber_tlv_tag_t asn_DEF_GBR_QosInformation_tags_1[] = {
60         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
61 };
62 static const asn_TYPE_tag2member_t asn_MAP_GBR_QosInformation_tag2el_1[] = {
63     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* e-RAB-MaximumBitrateDL */
64     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* e-RAB-MaximumBitrateUL */
65     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* e-RAB-GuaranteedBitrateDL */
66     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* e-RAB-GuaranteedBitrateUL */
67     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iE-Extensions */
68 };
69 asn_SEQUENCE_specifics_t asn_SPC_GBR_QosInformation_specs_1 = {
70         sizeof(struct GBR_QosInformation),
71         offsetof(struct GBR_QosInformation, _asn_ctx),
72         asn_MAP_GBR_QosInformation_tag2el_1,
73         5,      /* Count of tags in the map */
74         asn_MAP_GBR_QosInformation_oms_1,       /* Optional members */
75         1, 0,   /* Root/Additions */
76         5,      /* First extension addition */
77 };
78 asn_TYPE_descriptor_t asn_DEF_GBR_QosInformation = {
79         "GBR-QosInformation",
80         "GBR-QosInformation",
81         &asn_OP_SEQUENCE,
82         asn_DEF_GBR_QosInformation_tags_1,
83         sizeof(asn_DEF_GBR_QosInformation_tags_1)
84                 /sizeof(asn_DEF_GBR_QosInformation_tags_1[0]), /* 1 */
85         asn_DEF_GBR_QosInformation_tags_1,      /* Same as above */
86         sizeof(asn_DEF_GBR_QosInformation_tags_1)
87                 /sizeof(asn_DEF_GBR_QosInformation_tags_1[0]), /* 1 */
88         { 0, 0, SEQUENCE_constraint },
89         asn_MBR_GBR_QosInformation_1,
90         5,      /* Elements count */
91         &asn_SPC_GBR_QosInformation_specs_1     /* Additional specs */
92 };
93