2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-InterNodeDefinitions"
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`
11 memb_rrcReconfiguration_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
12 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
13 const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr;
16 ASN__CTFAIL(app_key, td, sptr,
17 "%s: value not given (%s:%d)",
18 td->name, __FILE__, __LINE__);
23 if(1 /* No applicable constraints whatsoever */) {
24 (void)st; /* Unused variable */
25 /* Nothing is here. See below */
28 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
31 static asn_oer_constraints_t asn_OER_memb_rrcReconfiguration_constr_2 CC_NOTUSED = {
33 -1 /* (SIZE(0..MAX)) */};
34 static asn_per_constraints_t asn_PER_memb_rrcReconfiguration_constr_2 CC_NOTUSED = {
35 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
36 { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */,
37 0, 0 /* No PER value map */
39 asn_TYPE_member_t asn_MBR_AS_Config_1[] = {
40 { ATF_NOFLAGS, 0, offsetof(struct AS_Config, rrcReconfiguration),
41 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
42 -1, /* IMPLICIT tag at current level */
43 &asn_DEF_OCTET_STRING,
45 { &asn_OER_memb_rrcReconfiguration_constr_2, &asn_PER_memb_rrcReconfiguration_constr_2, memb_rrcReconfiguration_constraint_1 },
46 0, 0, /* No default value */
50 static const ber_tlv_tag_t asn_DEF_AS_Config_tags_1[] = {
51 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
53 static const asn_TYPE_tag2member_t asn_MAP_AS_Config_tag2el_1[] = {
54 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* rrcReconfiguration */
56 asn_SEQUENCE_specifics_t asn_SPC_AS_Config_specs_1 = {
57 sizeof(struct AS_Config),
58 offsetof(struct AS_Config, _asn_ctx),
59 asn_MAP_AS_Config_tag2el_1,
60 1, /* Count of tags in the map */
61 0, 0, 0, /* Optional elements (not needed) */
62 1, /* First extension addition */
64 asn_TYPE_descriptor_t asn_DEF_AS_Config = {
68 asn_DEF_AS_Config_tags_1,
69 sizeof(asn_DEF_AS_Config_tags_1)
70 /sizeof(asn_DEF_AS_Config_tags_1[0]), /* 1 */
71 asn_DEF_AS_Config_tags_1, /* Same as above */
72 sizeof(asn_DEF_AS_Config_tags_1)
73 /sizeof(asn_DEF_AS_Config_tags_1[0]), /* 1 */
74 { 0, 0, SEQUENCE_constraint },
76 1, /* Elements count */
77 &asn_SPC_AS_Config_specs_1 /* Additional specs */