blob: 974d43d98733648170e6482e71cb583669e59913 [file] [log] [blame]
ss412g1a79bdf2019-10-24 12:03:05 +03001/*
ss412g1a79bdf2019-10-24 12:03:05 +03002 * Copyright 2019 AT&T Intellectual Property
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
ss412g1a79bdf2019-10-24 12:03:05 +030015 */
16
nm755n2e268142019-11-28 16:40:23 +000017/*
18 * This source code is part of the near-RT RIC (RAN Intelligent Controller)
19 * platform project (RICP).
20 */
21
22
ss412g1a79bdf2019-10-24 12:03:05 +030023
24/*
25 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
26 * From ASN.1 module "X2AP-IEs"
27 * found in "../../asnFiles/X2AP-IEs.asn"
28 * `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
29 */
30
31#include "AllocationAndRetentionPriority.h"
32
33#include "ProtocolExtensionContainer.h"
34asn_TYPE_member_t asn_MBR_AllocationAndRetentionPriority_1[] = {
35 { ATF_NOFLAGS, 0, offsetof(struct AllocationAndRetentionPriority, priorityLevel),
36 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
37 -1, /* IMPLICIT tag at current level */
38 &asn_DEF_PriorityLevel,
39 0,
40 { 0, 0, 0 },
41 0, 0, /* No default value */
42 "priorityLevel"
43 },
44 { ATF_NOFLAGS, 0, offsetof(struct AllocationAndRetentionPriority, pre_emptionCapability),
45 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
46 -1, /* IMPLICIT tag at current level */
47 &asn_DEF_Pre_emptionCapability,
48 0,
49 { 0, 0, 0 },
50 0, 0, /* No default value */
51 "pre-emptionCapability"
52 },
53 { ATF_NOFLAGS, 0, offsetof(struct AllocationAndRetentionPriority, pre_emptionVulnerability),
54 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
55 -1, /* IMPLICIT tag at current level */
56 &asn_DEF_Pre_emptionVulnerability,
57 0,
58 { 0, 0, 0 },
59 0, 0, /* No default value */
60 "pre-emptionVulnerability"
61 },
62 { ATF_POINTER, 1, offsetof(struct AllocationAndRetentionPriority, iE_Extensions),
63 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
64 -1, /* IMPLICIT tag at current level */
65 &asn_DEF_ProtocolExtensionContainer_170P109,
66 0,
67 { 0, 0, 0 },
68 0, 0, /* No default value */
69 "iE-Extensions"
70 },
71};
72static const int asn_MAP_AllocationAndRetentionPriority_oms_1[] = { 3 };
73static const ber_tlv_tag_t asn_DEF_AllocationAndRetentionPriority_tags_1[] = {
74 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
75};
76static const asn_TYPE_tag2member_t asn_MAP_AllocationAndRetentionPriority_tag2el_1[] = {
77 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* priorityLevel */
78 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* pre-emptionCapability */
79 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* pre-emptionVulnerability */
80 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* iE-Extensions */
81};
82asn_SEQUENCE_specifics_t asn_SPC_AllocationAndRetentionPriority_specs_1 = {
83 sizeof(struct AllocationAndRetentionPriority),
84 offsetof(struct AllocationAndRetentionPriority, _asn_ctx),
85 asn_MAP_AllocationAndRetentionPriority_tag2el_1,
86 4, /* Count of tags in the map */
87 asn_MAP_AllocationAndRetentionPriority_oms_1, /* Optional members */
88 1, 0, /* Root/Additions */
89 4, /* First extension addition */
90};
91asn_TYPE_descriptor_t asn_DEF_AllocationAndRetentionPriority = {
92 "AllocationAndRetentionPriority",
93 "AllocationAndRetentionPriority",
94 &asn_OP_SEQUENCE,
95 asn_DEF_AllocationAndRetentionPriority_tags_1,
96 sizeof(asn_DEF_AllocationAndRetentionPriority_tags_1)
97 /sizeof(asn_DEF_AllocationAndRetentionPriority_tags_1[0]), /* 1 */
98 asn_DEF_AllocationAndRetentionPriority_tags_1, /* Same as above */
99 sizeof(asn_DEF_AllocationAndRetentionPriority_tags_1)
100 /sizeof(asn_DEF_AllocationAndRetentionPriority_tags_1[0]), /* 1 */
101 { 0, 0, SEQUENCE_constraint },
102 asn_MBR_AllocationAndRetentionPriority_1,
103 4, /* Elements count */
104 &asn_SPC_AllocationAndRetentionPriority_specs_1 /* Additional specs */
105};
106