2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "/home/labadmin/hlal/rrc_15.3_asn.asn1"
5 * `asn1c -D ./15_3_rrc/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "SRS-TxSwitch.h"
11 * This type is implemented using NativeEnumerated,
12 * so here we adjust the DEF accordingly.
15 * This type is implemented using NativeEnumerated,
16 * so here we adjust the DEF accordingly.
18 static asn_oer_constraints_t asn_OER_type_supportedSRS_TxPortSwitch_constr_2 CC_NOTUSED = {
21 static asn_per_constraints_t asn_PER_type_supportedSRS_TxPortSwitch_constr_2 CC_NOTUSED = {
22 { APC_CONSTRAINED, 3, 3, 0, 4 } /* (0..4) */,
23 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
24 0, 0 /* No PER value map */
26 static asn_oer_constraints_t asn_OER_type_txSwitchImpactToRx_constr_8 CC_NOTUSED = {
29 static asn_per_constraints_t asn_PER_type_txSwitchImpactToRx_constr_8 CC_NOTUSED = {
30 { APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */,
31 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
32 0, 0 /* No PER value map */
34 static const asn_INTEGER_enum_map_t asn_MAP_supportedSRS_TxPortSwitch_value2enum_2[] = {
38 { 3, 9, "t1r4-t2r4" },
41 static const unsigned int asn_MAP_supportedSRS_TxPortSwitch_enum2value_2[] = {
48 static const asn_INTEGER_specifics_t asn_SPC_supportedSRS_TxPortSwitch_specs_2 = {
49 asn_MAP_supportedSRS_TxPortSwitch_value2enum_2, /* "tag" => N; sorted by tag */
50 asn_MAP_supportedSRS_TxPortSwitch_enum2value_2, /* N => "tag"; sorted by N */
51 5, /* Number of elements in the maps */
52 0, /* Enumeration is not extensible */
53 1, /* Strict enumeration */
54 0, /* Native long size */
57 static const ber_tlv_tag_t asn_DEF_supportedSRS_TxPortSwitch_tags_2[] = {
58 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
59 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
61 static /* Use -fall-defs-global to expose */
62 asn_TYPE_descriptor_t asn_DEF_supportedSRS_TxPortSwitch_2 = {
63 "supportedSRS-TxPortSwitch",
64 "supportedSRS-TxPortSwitch",
65 &asn_OP_NativeEnumerated,
66 asn_DEF_supportedSRS_TxPortSwitch_tags_2,
67 sizeof(asn_DEF_supportedSRS_TxPortSwitch_tags_2)
68 /sizeof(asn_DEF_supportedSRS_TxPortSwitch_tags_2[0]) - 1, /* 1 */
69 asn_DEF_supportedSRS_TxPortSwitch_tags_2, /* Same as above */
70 sizeof(asn_DEF_supportedSRS_TxPortSwitch_tags_2)
71 /sizeof(asn_DEF_supportedSRS_TxPortSwitch_tags_2[0]), /* 2 */
72 { &asn_OER_type_supportedSRS_TxPortSwitch_constr_2, &asn_PER_type_supportedSRS_TxPortSwitch_constr_2, NativeEnumerated_constraint },
73 0, 0, /* Defined elsewhere */
74 &asn_SPC_supportedSRS_TxPortSwitch_specs_2 /* Additional specs */
77 static const asn_INTEGER_enum_map_t asn_MAP_txSwitchImpactToRx_value2enum_8[] = {
80 static const unsigned int asn_MAP_txSwitchImpactToRx_enum2value_8[] = {
83 static const asn_INTEGER_specifics_t asn_SPC_txSwitchImpactToRx_specs_8 = {
84 asn_MAP_txSwitchImpactToRx_value2enum_8, /* "tag" => N; sorted by tag */
85 asn_MAP_txSwitchImpactToRx_enum2value_8, /* N => "tag"; sorted by N */
86 1, /* Number of elements in the maps */
87 0, /* Enumeration is not extensible */
88 1, /* Strict enumeration */
89 0, /* Native long size */
92 static const ber_tlv_tag_t asn_DEF_txSwitchImpactToRx_tags_8[] = {
93 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
94 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
96 static /* Use -fall-defs-global to expose */
97 asn_TYPE_descriptor_t asn_DEF_txSwitchImpactToRx_8 = {
100 &asn_OP_NativeEnumerated,
101 asn_DEF_txSwitchImpactToRx_tags_8,
102 sizeof(asn_DEF_txSwitchImpactToRx_tags_8)
103 /sizeof(asn_DEF_txSwitchImpactToRx_tags_8[0]) - 1, /* 1 */
104 asn_DEF_txSwitchImpactToRx_tags_8, /* Same as above */
105 sizeof(asn_DEF_txSwitchImpactToRx_tags_8)
106 /sizeof(asn_DEF_txSwitchImpactToRx_tags_8[0]), /* 2 */
107 { &asn_OER_type_txSwitchImpactToRx_constr_8, &asn_PER_type_txSwitchImpactToRx_constr_8, NativeEnumerated_constraint },
108 0, 0, /* Defined elsewhere */
109 &asn_SPC_txSwitchImpactToRx_specs_8 /* Additional specs */
112 asn_TYPE_member_t asn_MBR_SRS_TxSwitch_1[] = {
113 { ATF_NOFLAGS, 0, offsetof(struct SRS_TxSwitch, supportedSRS_TxPortSwitch),
114 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
115 -1, /* IMPLICIT tag at current level */
116 &asn_DEF_supportedSRS_TxPortSwitch_2,
119 0, 0, /* No default value */
120 "supportedSRS-TxPortSwitch"
122 { ATF_POINTER, 1, offsetof(struct SRS_TxSwitch, txSwitchImpactToRx),
123 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
124 -1, /* IMPLICIT tag at current level */
125 &asn_DEF_txSwitchImpactToRx_8,
128 0, 0, /* No default value */
132 static const int asn_MAP_SRS_TxSwitch_oms_1[] = { 1 };
133 static const ber_tlv_tag_t asn_DEF_SRS_TxSwitch_tags_1[] = {
134 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
136 static const asn_TYPE_tag2member_t asn_MAP_SRS_TxSwitch_tag2el_1[] = {
137 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* supportedSRS-TxPortSwitch */
138 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* txSwitchImpactToRx */
140 asn_SEQUENCE_specifics_t asn_SPC_SRS_TxSwitch_specs_1 = {
141 sizeof(struct SRS_TxSwitch),
142 offsetof(struct SRS_TxSwitch, _asn_ctx),
143 asn_MAP_SRS_TxSwitch_tag2el_1,
144 2, /* Count of tags in the map */
145 asn_MAP_SRS_TxSwitch_oms_1, /* Optional members */
146 1, 0, /* Root/Additions */
147 -1, /* First extension addition */
149 asn_TYPE_descriptor_t asn_DEF_SRS_TxSwitch = {
153 asn_DEF_SRS_TxSwitch_tags_1,
154 sizeof(asn_DEF_SRS_TxSwitch_tags_1)
155 /sizeof(asn_DEF_SRS_TxSwitch_tags_1[0]), /* 1 */
156 asn_DEF_SRS_TxSwitch_tags_1, /* Same as above */
157 sizeof(asn_DEF_SRS_TxSwitch_tags_1)
158 /sizeof(asn_DEF_SRS_TxSwitch_tags_1[0]), /* 1 */
159 { 0, 0, SEQUENCE_constraint },
160 asn_MBR_SRS_TxSwitch_1,
161 2, /* Elements count */
162 &asn_SPC_SRS_TxSwitch_specs_1 /* Additional specs */