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 ../F1_output/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
8 #include "Service-Status.h"
10 #include "ProtocolExtensionContainer.h"
12 * This type is implemented using NativeEnumerated,
13 * so here we adjust the DEF accordingly.
15 static asn_oer_constraints_t asn_OER_type_switchingOffOngoing_constr_3 CC_NOTUSED = {
18 static asn_per_constraints_t asn_PER_type_switchingOffOngoing_constr_3 CC_NOTUSED = {
19 { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */,
20 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
21 0, 0 /* No PER value map */
23 static const asn_INTEGER_enum_map_t asn_MAP_switchingOffOngoing_value2enum_3[] = {
25 /* This list is extensible */
27 static const unsigned int asn_MAP_switchingOffOngoing_enum2value_3[] = {
29 /* This list is extensible */
31 static const asn_INTEGER_specifics_t asn_SPC_switchingOffOngoing_specs_3 = {
32 asn_MAP_switchingOffOngoing_value2enum_3, /* "tag" => N; sorted by tag */
33 asn_MAP_switchingOffOngoing_enum2value_3, /* N => "tag"; sorted by N */
34 1, /* Number of elements in the maps */
35 2, /* Extensions before this member */
36 1, /* Strict enumeration */
37 0, /* Native long size */
40 static const ber_tlv_tag_t asn_DEF_switchingOffOngoing_tags_3[] = {
41 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
42 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
44 static /* Use -fall-defs-global to expose */
45 asn_TYPE_descriptor_t asn_DEF_switchingOffOngoing_3 = {
46 "switchingOffOngoing",
47 "switchingOffOngoing",
48 &asn_OP_NativeEnumerated,
49 asn_DEF_switchingOffOngoing_tags_3,
50 sizeof(asn_DEF_switchingOffOngoing_tags_3)
51 /sizeof(asn_DEF_switchingOffOngoing_tags_3[0]) - 1, /* 1 */
52 asn_DEF_switchingOffOngoing_tags_3, /* Same as above */
53 sizeof(asn_DEF_switchingOffOngoing_tags_3)
54 /sizeof(asn_DEF_switchingOffOngoing_tags_3[0]), /* 2 */
55 { &asn_OER_type_switchingOffOngoing_constr_3, &asn_PER_type_switchingOffOngoing_constr_3, NativeEnumerated_constraint },
56 0, 0, /* Defined elsewhere */
57 &asn_SPC_switchingOffOngoing_specs_3 /* Additional specs */
60 asn_TYPE_member_t asn_MBR_Service_Status_1[] = {
61 { ATF_NOFLAGS, 0, offsetof(struct Service_Status, service_state),
62 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
63 -1, /* IMPLICIT tag at current level */
64 &asn_DEF_Service_State,
67 0, 0, /* No default value */
70 { ATF_POINTER, 2, offsetof(struct Service_Status, switchingOffOngoing),
71 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
72 -1, /* IMPLICIT tag at current level */
73 &asn_DEF_switchingOffOngoing_3,
76 0, 0, /* No default value */
79 { ATF_POINTER, 1, offsetof(struct Service_Status, iE_Extensions),
80 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
81 -1, /* IMPLICIT tag at current level */
82 &asn_DEF_ProtocolExtensionContainer_4624P92,
85 0, 0, /* No default value */
89 static const int asn_MAP_Service_Status_oms_1[] = { 1, 2 };
90 static const ber_tlv_tag_t asn_DEF_Service_Status_tags_1[] = {
91 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
93 static const asn_TYPE_tag2member_t asn_MAP_Service_Status_tag2el_1[] = {
94 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* service-state */
95 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* switchingOffOngoing */
96 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
98 asn_SEQUENCE_specifics_t asn_SPC_Service_Status_specs_1 = {
99 sizeof(struct Service_Status),
100 offsetof(struct Service_Status, _asn_ctx),
101 asn_MAP_Service_Status_tag2el_1,
102 3, /* Count of tags in the map */
103 asn_MAP_Service_Status_oms_1, /* Optional members */
104 2, 0, /* Root/Additions */
105 3, /* First extension addition */
107 asn_TYPE_descriptor_t asn_DEF_Service_Status = {
111 asn_DEF_Service_Status_tags_1,
112 sizeof(asn_DEF_Service_Status_tags_1)
113 /sizeof(asn_DEF_Service_Status_tags_1[0]), /* 1 */
114 asn_DEF_Service_Status_tags_1, /* Same as above */
115 sizeof(asn_DEF_Service_Status_tags_1)
116 /sizeof(asn_DEF_Service_Status_tags_1[0]), /* 1 */
117 { 0, 0, SEQUENCE_constraint },
118 asn_MBR_Service_Status_1,
119 3, /* Elements count */
120 &asn_SPC_Service_Status_specs_1 /* Additional specs */