sjana | 76e88d2 | 2020-03-19 13:24:39 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Generated by asn1c-0.9.29 n1 (http://lionet.info/asn1c) |
| 3 | * From ASN.1 module "X2AP-PDU-Contents" |
| 4 | * found in "../../asn_defs/asn1/x2ap-15-04.asn" |
| 5 | * `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER` |
| 6 | */ |
| 7 | |
| 8 | #include "X2N_E-RABs-Admitted-ToBeAdded-SgNBModAck-Item.h" |
| 9 | |
| 10 | #include "X2N_ProtocolExtensionContainer.h" |
| 11 | #include "X2N_E-RABs-Admitted-ToBeAdded-SgNBModAck-Item-SgNBPDCPpresent.h" |
| 12 | #include "X2N_E-RABs-Admitted-ToBeAdded-SgNBModAck-Item-SgNBPDCPnotpresent.h" |
| 13 | static asn_per_constraints_t asn_PER_type_X2N_resource_configuration_constr_4 CC_NOTUSED = { |
| 14 | { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, |
| 15 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 16 | 0, 0 /* No PER value map */ |
| 17 | }; |
| 18 | static asn_TYPE_member_t asn_MBR_X2N_resource_configuration_4[] = { |
| 19 | { ATF_POINTER, 0, offsetof(struct X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item__resource_configuration, choice.sgNBPDCPpresent), |
| 20 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 21 | -1, /* IMPLICIT tag at current level */ |
| 22 | &asn_DEF_X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_SgNBPDCPpresent, |
| 23 | 0, |
| 24 | { 0, 0, 0 }, |
| 25 | 0, 0, /* No default value */ |
| 26 | "sgNBPDCPpresent" |
| 27 | }, |
| 28 | { ATF_POINTER, 0, offsetof(struct X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item__resource_configuration, choice.sgNBPDCPnotpresent), |
| 29 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 30 | -1, /* IMPLICIT tag at current level */ |
| 31 | &asn_DEF_X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_SgNBPDCPnotpresent, |
| 32 | 0, |
| 33 | { 0, 0, 0 }, |
| 34 | 0, 0, /* No default value */ |
| 35 | "sgNBPDCPnotpresent" |
| 36 | }, |
| 37 | }; |
| 38 | static const asn_TYPE_tag2member_t asn_MAP_X2N_resource_configuration_tag2el_4[] = { |
| 39 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sgNBPDCPpresent */ |
| 40 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* sgNBPDCPnotpresent */ |
| 41 | }; |
| 42 | static asn_CHOICE_specifics_t asn_SPC_X2N_resource_configuration_specs_4 = { |
| 43 | sizeof(struct X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item__resource_configuration), |
| 44 | offsetof(struct X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item__resource_configuration, _asn_ctx), |
| 45 | offsetof(struct X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item__resource_configuration, present), |
| 46 | sizeof(((struct X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item__resource_configuration *)0)->present), |
| 47 | asn_MAP_X2N_resource_configuration_tag2el_4, |
| 48 | 2, /* Count of tags in the map */ |
| 49 | 0, 0, |
| 50 | 2 /* Extensions start */ |
| 51 | }; |
| 52 | static /* Use -fall-defs-global to expose */ |
| 53 | asn_TYPE_descriptor_t asn_DEF_X2N_resource_configuration_4 = { |
| 54 | "resource-configuration", |
| 55 | "resource-configuration", |
| 56 | &asn_OP_CHOICE, |
| 57 | 0, /* No effective tags (pointer) */ |
| 58 | 0, /* No effective tags (count) */ |
| 59 | 0, /* No tags (pointer) */ |
| 60 | 0, /* No tags (count) */ |
| 61 | { 0, &asn_PER_type_X2N_resource_configuration_constr_4, CHOICE_constraint }, |
| 62 | asn_MBR_X2N_resource_configuration_4, |
| 63 | 2, /* Elements count */ |
| 64 | &asn_SPC_X2N_resource_configuration_specs_4 /* Additional specs */ |
| 65 | }; |
| 66 | |
| 67 | static asn_TYPE_member_t asn_MBR_X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_1[] = { |
| 68 | { ATF_NOFLAGS, 0, offsetof(struct X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item, e_RAB_ID), |
| 69 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 70 | -1, /* IMPLICIT tag at current level */ |
| 71 | &asn_DEF_X2N_E_RAB_ID, |
| 72 | 0, |
| 73 | { 0, 0, 0 }, |
| 74 | 0, 0, /* No default value */ |
| 75 | "e-RAB-ID" |
| 76 | }, |
| 77 | { ATF_NOFLAGS, 0, offsetof(struct X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item, en_DC_ResourceConfiguration), |
| 78 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 79 | -1, /* IMPLICIT tag at current level */ |
| 80 | &asn_DEF_X2N_EN_DC_ResourceConfiguration, |
| 81 | 0, |
| 82 | { 0, 0, 0 }, |
| 83 | 0, 0, /* No default value */ |
| 84 | "en-DC-ResourceConfiguration" |
| 85 | }, |
| 86 | { ATF_NOFLAGS, 0, offsetof(struct X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item, resource_configuration), |
| 87 | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 88 | +1, /* EXPLICIT tag at current level */ |
| 89 | &asn_DEF_X2N_resource_configuration_4, |
| 90 | 0, |
| 91 | { 0, 0, 0 }, |
| 92 | 0, 0, /* No default value */ |
| 93 | "resource-configuration" |
| 94 | }, |
| 95 | { ATF_POINTER, 1, offsetof(struct X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item, iE_Extensions), |
| 96 | (ASN_TAG_CLASS_CONTEXT | (3 << 2)), |
| 97 | -1, /* IMPLICIT tag at current level */ |
| 98 | &asn_DEF_X2N_ProtocolExtensionContainer_8231P62, |
| 99 | 0, |
| 100 | { 0, 0, 0 }, |
| 101 | 0, 0, /* No default value */ |
| 102 | "iE-Extensions" |
| 103 | }, |
| 104 | }; |
| 105 | static const int asn_MAP_X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_oms_1[] = { 3 }; |
| 106 | static const ber_tlv_tag_t asn_DEF_X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_tags_1[] = { |
| 107 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 108 | }; |
| 109 | static const asn_TYPE_tag2member_t asn_MAP_X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_tag2el_1[] = { |
| 110 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* e-RAB-ID */ |
| 111 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* en-DC-ResourceConfiguration */ |
| 112 | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* resource-configuration */ |
| 113 | { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* iE-Extensions */ |
| 114 | }; |
| 115 | static asn_SEQUENCE_specifics_t asn_SPC_X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_specs_1 = { |
| 116 | sizeof(struct X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item), |
| 117 | offsetof(struct X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item, _asn_ctx), |
| 118 | asn_MAP_X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_tag2el_1, |
| 119 | 4, /* Count of tags in the map */ |
| 120 | asn_MAP_X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_oms_1, /* Optional members */ |
| 121 | 1, 0, /* Root/Additions */ |
| 122 | 4, /* First extension addition */ |
| 123 | }; |
| 124 | asn_TYPE_descriptor_t asn_DEF_X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item = { |
| 125 | "E-RABs-Admitted-ToBeAdded-SgNBModAck-Item", |
| 126 | "E-RABs-Admitted-ToBeAdded-SgNBModAck-Item", |
| 127 | &asn_OP_SEQUENCE, |
| 128 | asn_DEF_X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_tags_1, |
| 129 | sizeof(asn_DEF_X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_tags_1) |
| 130 | /sizeof(asn_DEF_X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_tags_1[0]), /* 1 */ |
| 131 | asn_DEF_X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_tags_1, /* Same as above */ |
| 132 | sizeof(asn_DEF_X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_tags_1) |
| 133 | /sizeof(asn_DEF_X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_tags_1[0]), /* 1 */ |
| 134 | { 0, 0, SEQUENCE_constraint }, |
| 135 | asn_MBR_X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_1, |
| 136 | 4, /* Elements count */ |
| 137 | &asn_SPC_X2N_E_RABs_Admitted_ToBeAdded_SgNBModAck_Item_specs_1 /* Additional specs */ |
| 138 | }; |
| 139 | |