Peter Szilagyi | fbc56f9 | 2019-07-23 19:29:46 +0000 | [diff] [blame^] | 1 | /* |
| 2 | * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) |
| 3 | * From ASN.1 module "X2AP-PDU-Contents" |
| 4 | * found in "Spec/e2ap-v031ex.asn" |
| 5 | * `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER` |
| 6 | */ |
| 7 | |
| 8 | #include "E-RABs-ToBeReleased-SgNBModReq-Item.h" |
| 9 | |
| 10 | #include "ProtocolExtensionContainer.h" |
| 11 | #include "E-RABs-ToBeReleased-SgNBModReq-Item-SgNBPDCPpresent.h" |
| 12 | #include "E-RABs-ToBeReleased-SgNBModReq-Item-SgNBPDCPnotpresent.h" |
| 13 | static asn_oer_constraints_t asn_OER_type_resource_configuration_constr_4 CC_NOTUSED = { |
| 14 | { 0, 0 }, |
| 15 | -1}; |
| 16 | static asn_per_constraints_t asn_PER_type_resource_configuration_constr_4 CC_NOTUSED = { |
| 17 | { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, |
| 18 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 19 | 0, 0 /* No PER value map */ |
| 20 | }; |
| 21 | static asn_TYPE_member_t asn_MBR_resource_configuration_4[] = { |
| 22 | { ATF_POINTER, 0, offsetof(struct E_RABs_ToBeReleased_SgNBModReq_Item__resource_configuration, choice.sgNBPDCPpresent), |
| 23 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 24 | -1, /* IMPLICIT tag at current level */ |
| 25 | &asn_DEF_E_RABs_ToBeReleased_SgNBModReq_Item_SgNBPDCPpresent, |
| 26 | 0, |
| 27 | { 0, 0, 0 }, |
| 28 | 0, 0, /* No default value */ |
| 29 | "sgNBPDCPpresent" |
| 30 | }, |
| 31 | { ATF_POINTER, 0, offsetof(struct E_RABs_ToBeReleased_SgNBModReq_Item__resource_configuration, choice.sgNBPDCPnotpresent), |
| 32 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 33 | -1, /* IMPLICIT tag at current level */ |
| 34 | &asn_DEF_E_RABs_ToBeReleased_SgNBModReq_Item_SgNBPDCPnotpresent, |
| 35 | 0, |
| 36 | { 0, 0, 0 }, |
| 37 | 0, 0, /* No default value */ |
| 38 | "sgNBPDCPnotpresent" |
| 39 | }, |
| 40 | }; |
| 41 | static const asn_TYPE_tag2member_t asn_MAP_resource_configuration_tag2el_4[] = { |
| 42 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sgNBPDCPpresent */ |
| 43 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* sgNBPDCPnotpresent */ |
| 44 | }; |
| 45 | static asn_CHOICE_specifics_t asn_SPC_resource_configuration_specs_4 = { |
| 46 | sizeof(struct E_RABs_ToBeReleased_SgNBModReq_Item__resource_configuration), |
| 47 | offsetof(struct E_RABs_ToBeReleased_SgNBModReq_Item__resource_configuration, _asn_ctx), |
| 48 | offsetof(struct E_RABs_ToBeReleased_SgNBModReq_Item__resource_configuration, present), |
| 49 | sizeof(((struct E_RABs_ToBeReleased_SgNBModReq_Item__resource_configuration *)0)->present), |
| 50 | asn_MAP_resource_configuration_tag2el_4, |
| 51 | 2, /* Count of tags in the map */ |
| 52 | 0, 0, |
| 53 | 2 /* Extensions start */ |
| 54 | }; |
| 55 | static /* Use -fall-defs-global to expose */ |
| 56 | asn_TYPE_descriptor_t asn_DEF_resource_configuration_4 = { |
| 57 | "resource-configuration", |
| 58 | "resource-configuration", |
| 59 | &asn_OP_CHOICE, |
| 60 | 0, /* No effective tags (pointer) */ |
| 61 | 0, /* No effective tags (count) */ |
| 62 | 0, /* No tags (pointer) */ |
| 63 | 0, /* No tags (count) */ |
| 64 | { &asn_OER_type_resource_configuration_constr_4, &asn_PER_type_resource_configuration_constr_4, CHOICE_constraint }, |
| 65 | asn_MBR_resource_configuration_4, |
| 66 | 2, /* Elements count */ |
| 67 | &asn_SPC_resource_configuration_specs_4 /* Additional specs */ |
| 68 | }; |
| 69 | |
| 70 | static asn_TYPE_member_t asn_MBR_E_RABs_ToBeReleased_SgNBModReq_Item_1[] = { |
| 71 | { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeReleased_SgNBModReq_Item, e_RAB_ID), |
| 72 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 73 | -1, /* IMPLICIT tag at current level */ |
| 74 | &asn_DEF_E_RAB_ID, |
| 75 | 0, |
| 76 | { 0, 0, 0 }, |
| 77 | 0, 0, /* No default value */ |
| 78 | "e-RAB-ID" |
| 79 | }, |
| 80 | { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeReleased_SgNBModReq_Item, en_DC_ResourceConfiguration), |
| 81 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 82 | -1, /* IMPLICIT tag at current level */ |
| 83 | &asn_DEF_EN_DC_ResourceConfiguration, |
| 84 | 0, |
| 85 | { 0, 0, 0 }, |
| 86 | 0, 0, /* No default value */ |
| 87 | "en-DC-ResourceConfiguration" |
| 88 | }, |
| 89 | { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeReleased_SgNBModReq_Item, resource_configuration), |
| 90 | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 91 | +1, /* EXPLICIT tag at current level */ |
| 92 | &asn_DEF_resource_configuration_4, |
| 93 | 0, |
| 94 | { 0, 0, 0 }, |
| 95 | 0, 0, /* No default value */ |
| 96 | "resource-configuration" |
| 97 | }, |
| 98 | { ATF_POINTER, 1, offsetof(struct E_RABs_ToBeReleased_SgNBModReq_Item, iE_Extensions), |
| 99 | (ASN_TAG_CLASS_CONTEXT | (3 << 2)), |
| 100 | -1, /* IMPLICIT tag at current level */ |
| 101 | &asn_DEF_ProtocolExtensionContainer_9566P59, |
| 102 | 0, |
| 103 | { 0, 0, 0 }, |
| 104 | 0, 0, /* No default value */ |
| 105 | "iE-Extensions" |
| 106 | }, |
| 107 | }; |
| 108 | static const int asn_MAP_E_RABs_ToBeReleased_SgNBModReq_Item_oms_1[] = { 3 }; |
| 109 | static const ber_tlv_tag_t asn_DEF_E_RABs_ToBeReleased_SgNBModReq_Item_tags_1[] = { |
| 110 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 111 | }; |
| 112 | static const asn_TYPE_tag2member_t asn_MAP_E_RABs_ToBeReleased_SgNBModReq_Item_tag2el_1[] = { |
| 113 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* e-RAB-ID */ |
| 114 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* en-DC-ResourceConfiguration */ |
| 115 | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* resource-configuration */ |
| 116 | { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* iE-Extensions */ |
| 117 | }; |
| 118 | static asn_SEQUENCE_specifics_t asn_SPC_E_RABs_ToBeReleased_SgNBModReq_Item_specs_1 = { |
| 119 | sizeof(struct E_RABs_ToBeReleased_SgNBModReq_Item), |
| 120 | offsetof(struct E_RABs_ToBeReleased_SgNBModReq_Item, _asn_ctx), |
| 121 | asn_MAP_E_RABs_ToBeReleased_SgNBModReq_Item_tag2el_1, |
| 122 | 4, /* Count of tags in the map */ |
| 123 | asn_MAP_E_RABs_ToBeReleased_SgNBModReq_Item_oms_1, /* Optional members */ |
| 124 | 1, 0, /* Root/Additions */ |
| 125 | 4, /* First extension addition */ |
| 126 | }; |
| 127 | asn_TYPE_descriptor_t asn_DEF_E_RABs_ToBeReleased_SgNBModReq_Item = { |
| 128 | "E-RABs-ToBeReleased-SgNBModReq-Item", |
| 129 | "E-RABs-ToBeReleased-SgNBModReq-Item", |
| 130 | &asn_OP_SEQUENCE, |
| 131 | asn_DEF_E_RABs_ToBeReleased_SgNBModReq_Item_tags_1, |
| 132 | sizeof(asn_DEF_E_RABs_ToBeReleased_SgNBModReq_Item_tags_1) |
| 133 | /sizeof(asn_DEF_E_RABs_ToBeReleased_SgNBModReq_Item_tags_1[0]), /* 1 */ |
| 134 | asn_DEF_E_RABs_ToBeReleased_SgNBModReq_Item_tags_1, /* Same as above */ |
| 135 | sizeof(asn_DEF_E_RABs_ToBeReleased_SgNBModReq_Item_tags_1) |
| 136 | /sizeof(asn_DEF_E_RABs_ToBeReleased_SgNBModReq_Item_tags_1[0]), /* 1 */ |
| 137 | { 0, 0, SEQUENCE_constraint }, |
| 138 | asn_MBR_E_RABs_ToBeReleased_SgNBModReq_Item_1, |
| 139 | 4, /* Elements count */ |
| 140 | &asn_SPC_E_RABs_ToBeReleased_SgNBModReq_Item_specs_1 /* Additional specs */ |
| 141 | }; |
| 142 | |