Fixed subs release to be more robust
[ric-plt/submgr.git] / 3rdparty / libe2ap / RadioResourceStatus.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "X2AP-IEs"
4  *      found in "Spec/e2_and_x2-combined-and-minimized.asn1"
5  *      `asn1c -pdu=auto -fincludes-quoted -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example`
6  */
7
8 #include "RadioResourceStatus.h"
9
10 #include "ProtocolExtensionContainer.h"
11 asn_TYPE_member_t asn_MBR_RadioResourceStatus_1[] = {
12         { ATF_NOFLAGS, 0, offsetof(struct RadioResourceStatus, dL_GBR_PRB_usage),
13                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
14                 -1,     /* IMPLICIT tag at current level */
15                 &asn_DEF_DL_GBR_PRB_usage,
16                 0,
17                 { 0, 0, 0 },
18                 0, 0, /* No default value */
19                 "dL-GBR-PRB-usage"
20                 },
21         { ATF_NOFLAGS, 0, offsetof(struct RadioResourceStatus, uL_GBR_PRB_usage),
22                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
23                 -1,     /* IMPLICIT tag at current level */
24                 &asn_DEF_UL_GBR_PRB_usage,
25                 0,
26                 { 0, 0, 0 },
27                 0, 0, /* No default value */
28                 "uL-GBR-PRB-usage"
29                 },
30         { ATF_NOFLAGS, 0, offsetof(struct RadioResourceStatus, dL_non_GBR_PRB_usage),
31                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
32                 -1,     /* IMPLICIT tag at current level */
33                 &asn_DEF_DL_non_GBR_PRB_usage,
34                 0,
35                 { 0, 0, 0 },
36                 0, 0, /* No default value */
37                 "dL-non-GBR-PRB-usage"
38                 },
39         { ATF_NOFLAGS, 0, offsetof(struct RadioResourceStatus, uL_non_GBR_PRB_usage),
40                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
41                 -1,     /* IMPLICIT tag at current level */
42                 &asn_DEF_UL_non_GBR_PRB_usage,
43                 0,
44                 { 0, 0, 0 },
45                 0, 0, /* No default value */
46                 "uL-non-GBR-PRB-usage"
47                 },
48         { ATF_NOFLAGS, 0, offsetof(struct RadioResourceStatus, dL_Total_PRB_usage),
49                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
50                 -1,     /* IMPLICIT tag at current level */
51                 &asn_DEF_DL_Total_PRB_usage,
52                 0,
53                 { 0, 0, 0 },
54                 0, 0, /* No default value */
55                 "dL-Total-PRB-usage"
56                 },
57         { ATF_NOFLAGS, 0, offsetof(struct RadioResourceStatus, uL_Total_PRB_usage),
58                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
59                 -1,     /* IMPLICIT tag at current level */
60                 &asn_DEF_UL_Total_PRB_usage,
61                 0,
62                 { 0, 0, 0 },
63                 0, 0, /* No default value */
64                 "uL-Total-PRB-usage"
65                 },
66         { ATF_POINTER, 1, offsetof(struct RadioResourceStatus, iE_Extensions),
67                 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
68                 -1,     /* IMPLICIT tag at current level */
69                 &asn_DEF_ProtocolExtensionContainer_8858P59,
70                 0,
71                 { 0, 0, 0 },
72                 0, 0, /* No default value */
73                 "iE-Extensions"
74                 },
75 };
76 static const int asn_MAP_RadioResourceStatus_oms_1[] = { 6 };
77 static const ber_tlv_tag_t asn_DEF_RadioResourceStatus_tags_1[] = {
78         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
79 };
80 static const asn_TYPE_tag2member_t asn_MAP_RadioResourceStatus_tag2el_1[] = {
81     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* dL-GBR-PRB-usage */
82     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* uL-GBR-PRB-usage */
83     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* dL-non-GBR-PRB-usage */
84     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* uL-non-GBR-PRB-usage */
85     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* dL-Total-PRB-usage */
86     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* uL-Total-PRB-usage */
87     { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* iE-Extensions */
88 };
89 asn_SEQUENCE_specifics_t asn_SPC_RadioResourceStatus_specs_1 = {
90         sizeof(struct RadioResourceStatus),
91         offsetof(struct RadioResourceStatus, _asn_ctx),
92         asn_MAP_RadioResourceStatus_tag2el_1,
93         7,      /* Count of tags in the map */
94         asn_MAP_RadioResourceStatus_oms_1,      /* Optional members */
95         1, 0,   /* Root/Additions */
96         7,      /* First extension addition */
97 };
98 asn_TYPE_descriptor_t asn_DEF_RadioResourceStatus = {
99         "RadioResourceStatus",
100         "RadioResourceStatus",
101         &asn_OP_SEQUENCE,
102         asn_DEF_RadioResourceStatus_tags_1,
103         sizeof(asn_DEF_RadioResourceStatus_tags_1)
104                 /sizeof(asn_DEF_RadioResourceStatus_tags_1[0]), /* 1 */
105         asn_DEF_RadioResourceStatus_tags_1,     /* Same as above */
106         sizeof(asn_DEF_RadioResourceStatus_tags_1)
107                 /sizeof(asn_DEF_RadioResourceStatus_tags_1[0]), /* 1 */
108         { 0, 0, SEQUENCE_constraint },
109         asn_MBR_RadioResourceStatus_1,
110         7,      /* Elements count */
111         &asn_SPC_RadioResourceStatus_specs_1    /* Additional specs */
112 };
113