blob: 37549ce4f581ca80bf3fe780d0fc5320cf79d3c2 [file] [log] [blame]
rajalakshmisv21b61dd2021-12-07 04:53:03 +00001/*
2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
rajalakshmisv960885a2022-05-31 14:59:10 +00003 * From ASN.1 module "E2SM-RC-IEs"
sandeepindiac588f662022-12-01 22:00:11 +05304 * found in "e2sm_rc.asn"
5 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example`
rajalakshmisv21b61dd2021-12-07 04:53:03 +00006 */
7
8#include "E2SM-RC-ControlHeader-Format1.h"
9
rajalakshmisv960885a2022-05-31 14:59:10 +000010/*
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
13 */
14static asn_oer_constraints_t asn_OER_type_ric_ControlDecision_constr_5 CC_NOTUSED = {
15 { 0, 0 },
16 -1};
17static asn_per_constraints_t asn_PER_type_ric_ControlDecision_constr_5 CC_NOTUSED = {
18 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
19 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
20 0, 0 /* No PER value map */
21};
22static const asn_INTEGER_enum_map_t asn_MAP_ric_ControlDecision_value2enum_5[] = {
23 { 0, 6, "accept" },
24 { 1, 6, "reject" }
25 /* This list is extensible */
26};
27static const unsigned int asn_MAP_ric_ControlDecision_enum2value_5[] = {
28 0, /* accept(0) */
29 1 /* reject(1) */
30 /* This list is extensible */
31};
32static const asn_INTEGER_specifics_t asn_SPC_ric_ControlDecision_specs_5 = {
33 asn_MAP_ric_ControlDecision_value2enum_5, /* "tag" => N; sorted by tag */
34 asn_MAP_ric_ControlDecision_enum2value_5, /* N => "tag"; sorted by N */
35 2, /* Number of elements in the maps */
36 3, /* Extensions before this member */
37 1, /* Strict enumeration */
38 0, /* Native long size */
39 0
40};
41static const ber_tlv_tag_t asn_DEF_ric_ControlDecision_tags_5[] = {
42 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
43 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
44};
45static /* Use -fall-defs-global to expose */
46asn_TYPE_descriptor_t asn_DEF_ric_ControlDecision_5 = {
47 "ric-ControlDecision",
48 "ric-ControlDecision",
49 &asn_OP_NativeEnumerated,
50 asn_DEF_ric_ControlDecision_tags_5,
51 sizeof(asn_DEF_ric_ControlDecision_tags_5)
52 /sizeof(asn_DEF_ric_ControlDecision_tags_5[0]) - 1, /* 1 */
53 asn_DEF_ric_ControlDecision_tags_5, /* Same as above */
54 sizeof(asn_DEF_ric_ControlDecision_tags_5)
55 /sizeof(asn_DEF_ric_ControlDecision_tags_5[0]), /* 2 */
56 { &asn_OER_type_ric_ControlDecision_constr_5, &asn_PER_type_ric_ControlDecision_constr_5, NativeEnumerated_constraint },
57 0, 0, /* Defined elsewhere */
58 &asn_SPC_ric_ControlDecision_specs_5 /* Additional specs */
59};
60
rajalakshmisv21b61dd2021-12-07 04:53:03 +000061asn_TYPE_member_t asn_MBR_E2SM_RC_ControlHeader_Format1_1[] = {
rajalakshmisv960885a2022-05-31 14:59:10 +000062 { ATF_NOFLAGS, 0, offsetof(struct E2SM_RC_ControlHeader_Format1, ueID),
rajalakshmisv21b61dd2021-12-07 04:53:03 +000063 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
rajalakshmisv960885a2022-05-31 14:59:10 +000064 +1, /* EXPLICIT tag at current level */
65 &asn_DEF_UEID,
rajalakshmisv21b61dd2021-12-07 04:53:03 +000066 0,
67 { 0, 0, 0 },
68 0, 0, /* No default value */
rajalakshmisv960885a2022-05-31 14:59:10 +000069 "ueID"
rajalakshmisv21b61dd2021-12-07 04:53:03 +000070 },
rajalakshmisv960885a2022-05-31 14:59:10 +000071 { ATF_NOFLAGS, 0, offsetof(struct E2SM_RC_ControlHeader_Format1, ric_Style_Type),
rajalakshmisv21b61dd2021-12-07 04:53:03 +000072 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
73 -1, /* IMPLICIT tag at current level */
74 &asn_DEF_RIC_Style_Type,
75 0,
76 { 0, 0, 0 },
77 0, 0, /* No default value */
rajalakshmisv960885a2022-05-31 14:59:10 +000078 "ric-Style-Type"
rajalakshmisv21b61dd2021-12-07 04:53:03 +000079 },
80 { ATF_NOFLAGS, 0, offsetof(struct E2SM_RC_ControlHeader_Format1, ric_ControlAction_ID),
81 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
82 -1, /* IMPLICIT tag at current level */
83 &asn_DEF_RIC_ControlAction_ID,
84 0,
85 { 0, 0, 0 },
86 0, 0, /* No default value */
87 "ric-ControlAction-ID"
88 },
rajalakshmisv960885a2022-05-31 14:59:10 +000089 { ATF_POINTER, 1, offsetof(struct E2SM_RC_ControlHeader_Format1, ric_ControlDecision),
90 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
91 -1, /* IMPLICIT tag at current level */
92 &asn_DEF_ric_ControlDecision_5,
93 0,
94 { 0, 0, 0 },
95 0, 0, /* No default value */
96 "ric-ControlDecision"
97 },
rajalakshmisv21b61dd2021-12-07 04:53:03 +000098};
rajalakshmisv960885a2022-05-31 14:59:10 +000099static const int asn_MAP_E2SM_RC_ControlHeader_Format1_oms_1[] = { 3 };
rajalakshmisv21b61dd2021-12-07 04:53:03 +0000100static const ber_tlv_tag_t asn_DEF_E2SM_RC_ControlHeader_Format1_tags_1[] = {
101 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
102};
103static const asn_TYPE_tag2member_t asn_MAP_E2SM_RC_ControlHeader_Format1_tag2el_1[] = {
rajalakshmisv960885a2022-05-31 14:59:10 +0000104 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ueID */
105 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ric-Style-Type */
106 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ric-ControlAction-ID */
107 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* ric-ControlDecision */
rajalakshmisv21b61dd2021-12-07 04:53:03 +0000108};
109asn_SEQUENCE_specifics_t asn_SPC_E2SM_RC_ControlHeader_Format1_specs_1 = {
110 sizeof(struct E2SM_RC_ControlHeader_Format1),
111 offsetof(struct E2SM_RC_ControlHeader_Format1, _asn_ctx),
112 asn_MAP_E2SM_RC_ControlHeader_Format1_tag2el_1,
rajalakshmisv960885a2022-05-31 14:59:10 +0000113 4, /* Count of tags in the map */
114 asn_MAP_E2SM_RC_ControlHeader_Format1_oms_1, /* Optional members */
115 1, 0, /* Root/Additions */
116 4, /* First extension addition */
rajalakshmisv21b61dd2021-12-07 04:53:03 +0000117};
118asn_TYPE_descriptor_t asn_DEF_E2SM_RC_ControlHeader_Format1 = {
119 "E2SM-RC-ControlHeader-Format1",
120 "E2SM-RC-ControlHeader-Format1",
121 &asn_OP_SEQUENCE,
122 asn_DEF_E2SM_RC_ControlHeader_Format1_tags_1,
123 sizeof(asn_DEF_E2SM_RC_ControlHeader_Format1_tags_1)
124 /sizeof(asn_DEF_E2SM_RC_ControlHeader_Format1_tags_1[0]), /* 1 */
125 asn_DEF_E2SM_RC_ControlHeader_Format1_tags_1, /* Same as above */
126 sizeof(asn_DEF_E2SM_RC_ControlHeader_Format1_tags_1)
127 /sizeof(asn_DEF_E2SM_RC_ControlHeader_Format1_tags_1[0]), /* 1 */
128 { 0, 0, SEQUENCE_constraint },
129 asn_MBR_E2SM_RC_ControlHeader_Format1_1,
rajalakshmisv960885a2022-05-31 14:59:10 +0000130 4, /* Elements count */
rajalakshmisv21b61dd2021-12-07 04:53:03 +0000131 &asn_SPC_E2SM_RC_ControlHeader_Format1_specs_1 /* Additional specs */
132};
133