2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "../../../rrc_15.5.1_asn.asn1"
5 * `asn1c -D ./rrc_out -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "RRCReconfiguration-IEs.h"
10 #include "RadioBearerConfig.h"
11 #include "MeasConfig.h"
12 #include "RRCReconfiguration-v1530-IEs.h"
14 memb_secondaryCellGroup_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
15 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
16 const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr;
19 ASN__CTFAIL(app_key, td, sptr,
20 "%s: value not given (%s:%d)",
21 td->name, __FILE__, __LINE__);
26 if(1 /* No applicable constraints whatsoever */) {
27 (void)st; /* Unused variable */
28 /* Nothing is here. See below */
31 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
34 static asn_oer_constraints_t asn_OER_memb_secondaryCellGroup_constr_3 CC_NOTUSED = {
36 -1 /* (SIZE(0..MAX)) */};
37 static asn_per_constraints_t asn_PER_memb_secondaryCellGroup_constr_3 CC_NOTUSED = {
38 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
39 { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */,
40 0, 0 /* No PER value map */
42 asn_TYPE_member_t asn_MBR_RRCReconfiguration_IEs_1[] = {
43 { ATF_POINTER, 5, offsetof(struct RRCReconfiguration_IEs, radioBearerConfig),
44 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
45 -1, /* IMPLICIT tag at current level */
46 &asn_DEF_RadioBearerConfig,
49 0, 0, /* No default value */
52 { ATF_POINTER, 4, offsetof(struct RRCReconfiguration_IEs, secondaryCellGroup),
53 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
54 -1, /* IMPLICIT tag at current level */
55 &asn_DEF_OCTET_STRING,
57 { &asn_OER_memb_secondaryCellGroup_constr_3, &asn_PER_memb_secondaryCellGroup_constr_3, memb_secondaryCellGroup_constraint_1 },
58 0, 0, /* No default value */
61 { ATF_POINTER, 3, offsetof(struct RRCReconfiguration_IEs, measConfig),
62 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
63 -1, /* IMPLICIT tag at current level */
67 0, 0, /* No default value */
70 { ATF_POINTER, 2, offsetof(struct RRCReconfiguration_IEs, lateNonCriticalExtension),
71 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
72 -1, /* IMPLICIT tag at current level */
73 &asn_DEF_OCTET_STRING,
76 0, 0, /* No default value */
77 "lateNonCriticalExtension"
79 { ATF_POINTER, 1, offsetof(struct RRCReconfiguration_IEs, nonCriticalExtension),
80 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
81 -1, /* IMPLICIT tag at current level */
82 &asn_DEF_RRCReconfiguration_v1530_IEs,
85 0, 0, /* No default value */
86 "nonCriticalExtension"
89 static const int asn_MAP_RRCReconfiguration_IEs_oms_1[] = { 0, 1, 2, 3, 4 };
90 static const ber_tlv_tag_t asn_DEF_RRCReconfiguration_IEs_tags_1[] = {
91 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
93 static const asn_TYPE_tag2member_t asn_MAP_RRCReconfiguration_IEs_tag2el_1[] = {
94 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* radioBearerConfig */
95 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* secondaryCellGroup */
96 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* measConfig */
97 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* lateNonCriticalExtension */
98 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* nonCriticalExtension */
100 asn_SEQUENCE_specifics_t asn_SPC_RRCReconfiguration_IEs_specs_1 = {
101 sizeof(struct RRCReconfiguration_IEs),
102 offsetof(struct RRCReconfiguration_IEs, _asn_ctx),
103 asn_MAP_RRCReconfiguration_IEs_tag2el_1,
104 5, /* Count of tags in the map */
105 asn_MAP_RRCReconfiguration_IEs_oms_1, /* Optional members */
106 5, 0, /* Root/Additions */
107 -1, /* First extension addition */
109 asn_TYPE_descriptor_t asn_DEF_RRCReconfiguration_IEs = {
110 "RRCReconfiguration-IEs",
111 "RRCReconfiguration-IEs",
113 asn_DEF_RRCReconfiguration_IEs_tags_1,
114 sizeof(asn_DEF_RRCReconfiguration_IEs_tags_1)
115 /sizeof(asn_DEF_RRCReconfiguration_IEs_tags_1[0]), /* 1 */
116 asn_DEF_RRCReconfiguration_IEs_tags_1, /* Same as above */
117 sizeof(asn_DEF_RRCReconfiguration_IEs_tags_1)
118 /sizeof(asn_DEF_RRCReconfiguration_IEs_tags_1[0]), /* 1 */
119 { 0, 0, SEQUENCE_constraint },
120 asn_MBR_RRCReconfiguration_IEs_1,
121 5, /* Elements count */
122 &asn_SPC_RRCReconfiguration_IEs_specs_1 /* Additional specs */