You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
srsRAN_4G/lte/rrc/asn/RN-SubframeConfig-r10.c

1639 lines
54 KiB
C

/*
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "./asn1c/ASN1_files/EUTRA-RRC-Definitions.asn"
* `asn1c -gen-PER -fcompound-names -fnative-types`
*/
#include "RN-SubframeConfig-r10.h"
static int
memb_subframeConfigPatternFDD_r10_constraint_2(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
size_t size;
if(!sptr) {
_ASN_CTFAIL(app_key, td, sptr,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
if(st->size > 0) {
/* Size in bits */
size = 8 * st->size - (st->bits_unused & 0x07);
} else {
size = 0;
}
if((size == 8)) {
/* Constraint check succeeded */
return 0;
} else {
_ASN_CTFAIL(app_key, td, sptr,
"%s: constraint failed (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
}
static int
memb_subframeConfigPatternTDD_r10_constraint_2(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
long value;
if(!sptr) {
_ASN_CTFAIL(app_key, td, sptr,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
value = *(const long *)sptr;
if((value >= 0 && value <= 31)) {
/* Constraint check succeeded */
return 0;
} else {
_ASN_CTFAIL(app_key, td, sptr,
"%s: constraint failed (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
}
static int
resourceAllocationType_r10_6_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
/* Replace with underlying type checker */
td->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
return td->check_constraints(td, sptr, ctfailcb, app_key);
}
/*
* This type is implemented using NativeEnumerated,
* so here we adjust the DEF accordingly.
*/
static void
resourceAllocationType_r10_6_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->free_struct = asn_DEF_NativeEnumerated.free_struct;
td->print_struct = asn_DEF_NativeEnumerated.print_struct;
td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder;
td->der_encoder = asn_DEF_NativeEnumerated.der_encoder;
td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder;
td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder;
td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder;
td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder;
if(!td->per_constraints)
td->per_constraints = asn_DEF_NativeEnumerated.per_constraints;
td->elements = asn_DEF_NativeEnumerated.elements;
td->elements_count = asn_DEF_NativeEnumerated.elements_count;
/* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */
}
static void
resourceAllocationType_r10_6_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
resourceAllocationType_r10_6_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
static int
resourceAllocationType_r10_6_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
resourceAllocationType_r10_6_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
static asn_dec_rval_t
resourceAllocationType_r10_6_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
resourceAllocationType_r10_6_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
static asn_enc_rval_t
resourceAllocationType_r10_6_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
resourceAllocationType_r10_6_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
static asn_dec_rval_t
resourceAllocationType_r10_6_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
resourceAllocationType_r10_6_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
static asn_enc_rval_t
resourceAllocationType_r10_6_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
resourceAllocationType_r10_6_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
static asn_dec_rval_t
resourceAllocationType_r10_6_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
resourceAllocationType_r10_6_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
static asn_enc_rval_t
resourceAllocationType_r10_6_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
resourceAllocationType_r10_6_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
static int
memb_nrb6_r10_constraint_16(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
size_t size;
if(!sptr) {
_ASN_CTFAIL(app_key, td, sptr,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
if(st->size > 0) {
/* Size in bits */
size = 8 * st->size - (st->bits_unused & 0x07);
} else {
size = 0;
}
if((size == 6)) {
/* Constraint check succeeded */
return 0;
} else {
_ASN_CTFAIL(app_key, td, sptr,
"%s: constraint failed (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
}
static int
memb_nrb15_r10_constraint_16(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
size_t size;
if(!sptr) {
_ASN_CTFAIL(app_key, td, sptr,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
if(st->size > 0) {
/* Size in bits */
size = 8 * st->size - (st->bits_unused & 0x07);
} else {
size = 0;
}
if((size == 8)) {
/* Constraint check succeeded */
return 0;
} else {
_ASN_CTFAIL(app_key, td, sptr,
"%s: constraint failed (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
}
static int
memb_nrb25_r10_constraint_16(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
size_t size;
if(!sptr) {
_ASN_CTFAIL(app_key, td, sptr,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
if(st->size > 0) {
/* Size in bits */
size = 8 * st->size - (st->bits_unused & 0x07);
} else {
size = 0;
}
if((size == 13)) {
/* Constraint check succeeded */
return 0;
} else {
_ASN_CTFAIL(app_key, td, sptr,
"%s: constraint failed (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
}
static int
memb_nrb50_r10_constraint_16(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
size_t size;
if(!sptr) {
_ASN_CTFAIL(app_key, td, sptr,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
if(st->size > 0) {
/* Size in bits */
size = 8 * st->size - (st->bits_unused & 0x07);
} else {
size = 0;
}
if((size == 17)) {
/* Constraint check succeeded */
return 0;
} else {
_ASN_CTFAIL(app_key, td, sptr,
"%s: constraint failed (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
}
static int
memb_nrb75_r10_constraint_16(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
size_t size;
if(!sptr) {
_ASN_CTFAIL(app_key, td, sptr,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
if(st->size > 0) {
/* Size in bits */
size = 8 * st->size - (st->bits_unused & 0x07);
} else {
size = 0;
}
if((size == 19)) {
/* Constraint check succeeded */
return 0;
} else {
_ASN_CTFAIL(app_key, td, sptr,
"%s: constraint failed (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
}
static int
memb_nrb100_r10_constraint_16(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
size_t size;
if(!sptr) {
_ASN_CTFAIL(app_key, td, sptr,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
if(st->size > 0) {
/* Size in bits */
size = 8 * st->size - (st->bits_unused & 0x07);
} else {
size = 0;
}
if((size == 25)) {
/* Constraint check succeeded */
return 0;
} else {
_ASN_CTFAIL(app_key, td, sptr,
"%s: constraint failed (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
}
static int
memb_nrb6_r10_constraint_23(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
size_t size;
if(!sptr) {
_ASN_CTFAIL(app_key, td, sptr,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
if(st->size > 0) {
/* Size in bits */
size = 8 * st->size - (st->bits_unused & 0x07);
} else {
size = 0;
}
if((size == 5)) {
/* Constraint check succeeded */
return 0;
} else {
_ASN_CTFAIL(app_key, td, sptr,
"%s: constraint failed (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
}
static int
memb_nrb15_r10_constraint_23(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
size_t size;
if(!sptr) {
_ASN_CTFAIL(app_key, td, sptr,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
if(st->size > 0) {
/* Size in bits */
size = 8 * st->size - (st->bits_unused & 0x07);
} else {
size = 0;
}
if((size == 7)) {
/* Constraint check succeeded */
return 0;
} else {
_ASN_CTFAIL(app_key, td, sptr,
"%s: constraint failed (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
}
static int
memb_nrb25_r10_constraint_23(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
size_t size;
if(!sptr) {
_ASN_CTFAIL(app_key, td, sptr,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
if(st->size > 0) {
/* Size in bits */
size = 8 * st->size - (st->bits_unused & 0x07);
} else {
size = 0;
}
if((size == 9)) {
/* Constraint check succeeded */
return 0;
} else {
_ASN_CTFAIL(app_key, td, sptr,
"%s: constraint failed (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
}
static int
memb_nrb50_r10_constraint_23(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
size_t size;
if(!sptr) {
_ASN_CTFAIL(app_key, td, sptr,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
if(st->size > 0) {
/* Size in bits */
size = 8 * st->size - (st->bits_unused & 0x07);
} else {
size = 0;
}
if((size == 11)) {
/* Constraint check succeeded */
return 0;
} else {
_ASN_CTFAIL(app_key, td, sptr,
"%s: constraint failed (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
}
static int
memb_nrb75_r10_constraint_23(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
size_t size;
if(!sptr) {
_ASN_CTFAIL(app_key, td, sptr,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
if(st->size > 0) {
/* Size in bits */
size = 8 * st->size - (st->bits_unused & 0x07);
} else {
size = 0;
}
if((size == 12)) {
/* Constraint check succeeded */
return 0;
} else {
_ASN_CTFAIL(app_key, td, sptr,
"%s: constraint failed (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
}
static int
memb_nrb100_r10_constraint_23(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
size_t size;
if(!sptr) {
_ASN_CTFAIL(app_key, td, sptr,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
if(st->size > 0) {
/* Size in bits */
size = 8 * st->size - (st->bits_unused & 0x07);
} else {
size = 0;
}
if((size == 13)) {
/* Constraint check succeeded */
return 0;
} else {
_ASN_CTFAIL(app_key, td, sptr,
"%s: constraint failed (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
}
static int
interleaving_r10_32_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
/* Replace with underlying type checker */
td->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
return td->check_constraints(td, sptr, ctfailcb, app_key);
}
/*
* This type is implemented using NativeEnumerated,
* so here we adjust the DEF accordingly.
*/
static void
interleaving_r10_32_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->free_struct = asn_DEF_NativeEnumerated.free_struct;
td->print_struct = asn_DEF_NativeEnumerated.print_struct;
td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder;
td->der_encoder = asn_DEF_NativeEnumerated.der_encoder;
td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder;
td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder;
td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder;
td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder;
if(!td->per_constraints)
td->per_constraints = asn_DEF_NativeEnumerated.per_constraints;
td->elements = asn_DEF_NativeEnumerated.elements;
td->elements_count = asn_DEF_NativeEnumerated.elements_count;
/* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */
}
static void
interleaving_r10_32_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
interleaving_r10_32_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
static int
interleaving_r10_32_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
interleaving_r10_32_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
static asn_dec_rval_t
interleaving_r10_32_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
interleaving_r10_32_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
static asn_enc_rval_t
interleaving_r10_32_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
interleaving_r10_32_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
static asn_dec_rval_t
interleaving_r10_32_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
interleaving_r10_32_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
static asn_enc_rval_t
interleaving_r10_32_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
interleaving_r10_32_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
static asn_dec_rval_t
interleaving_r10_32_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
interleaving_r10_32_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
static asn_enc_rval_t
interleaving_r10_32_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
interleaving_r10_32_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
static int
noInterleaving_r10_34_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
/* Replace with underlying type checker */
td->check_constraints = asn_DEF_NativeEnumerated.check_constraints;
return td->check_constraints(td, sptr, ctfailcb, app_key);
}
/*
* This type is implemented using NativeEnumerated,
* so here we adjust the DEF accordingly.
*/
static void
noInterleaving_r10_34_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->free_struct = asn_DEF_NativeEnumerated.free_struct;
td->print_struct = asn_DEF_NativeEnumerated.print_struct;
td->ber_decoder = asn_DEF_NativeEnumerated.ber_decoder;
td->der_encoder = asn_DEF_NativeEnumerated.der_encoder;
td->xer_decoder = asn_DEF_NativeEnumerated.xer_decoder;
td->xer_encoder = asn_DEF_NativeEnumerated.xer_encoder;
td->uper_decoder = asn_DEF_NativeEnumerated.uper_decoder;
td->uper_encoder = asn_DEF_NativeEnumerated.uper_encoder;
if(!td->per_constraints)
td->per_constraints = asn_DEF_NativeEnumerated.per_constraints;
td->elements = asn_DEF_NativeEnumerated.elements;
td->elements_count = asn_DEF_NativeEnumerated.elements_count;
/* td->specifics = asn_DEF_NativeEnumerated.specifics; // Defined explicitly */
}
static void
noInterleaving_r10_34_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
noInterleaving_r10_34_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
static int
noInterleaving_r10_34_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
noInterleaving_r10_34_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
static asn_dec_rval_t
noInterleaving_r10_34_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const void *bufptr, size_t size, int tag_mode) {
noInterleaving_r10_34_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
static asn_enc_rval_t
noInterleaving_r10_34_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
noInterleaving_r10_34_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
static asn_dec_rval_t
noInterleaving_r10_34_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, const void *bufptr, size_t size) {
noInterleaving_r10_34_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
static asn_enc_rval_t
noInterleaving_r10_34_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
noInterleaving_r10_34_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
static asn_dec_rval_t
noInterleaving_r10_34_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints, void **structure, asn_per_data_t *per_data) {
noInterleaving_r10_34_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
static asn_enc_rval_t
noInterleaving_r10_34_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
noInterleaving_r10_34_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
static int
memb_n1PUCCH_AN_P0_r10_constraint_38(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
long value;
if(!sptr) {
_ASN_CTFAIL(app_key, td, sptr,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
value = *(const long *)sptr;
if((value >= 0 && value <= 2047)) {
/* Constraint check succeeded */
return 0;
} else {
_ASN_CTFAIL(app_key, td, sptr,
"%s: constraint failed (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
}
static int
memb_n1PUCCH_AN_P1_r10_constraint_38(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
long value;
if(!sptr) {
_ASN_CTFAIL(app_key, td, sptr,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
value = *(const long *)sptr;
if((value >= 0 && value <= 2047)) {
/* Constraint check succeeded */
return 0;
} else {
_ASN_CTFAIL(app_key, td, sptr,
"%s: constraint failed (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
}
static int
memb_pdsch_Start_r10_constraint_5(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
long value;
if(!sptr) {
_ASN_CTFAIL(app_key, td, sptr,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
value = *(const long *)sptr;
if((value >= 1 && value <= 3)) {
/* Constraint check succeeded */
return 0;
} else {
_ASN_CTFAIL(app_key, td, sptr,
"%s: constraint failed (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;
}
}
static asn_per_constraints_t asn_PER_memb_subframeConfigPatternFDD_r10_constr_3 = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 8, 8 } /* (SIZE(8..8)) */,
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_subframeConfigPatternTDD_r10_constr_4 = {
{ APC_CONSTRAINED, 5, 5, 0, 31 } /* (0..31) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_type_subframeConfigPattern_r10_constr_2 = {
{ APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_type_resourceAllocationType_r10_constr_6 = {
{ APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_nrb6_r10_constr_17 = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 6, 6 } /* (SIZE(6..6)) */,
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_nrb15_r10_constr_18 = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 8, 8 } /* (SIZE(8..8)) */,
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_nrb25_r10_constr_19 = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 13, 13 } /* (SIZE(13..13)) */,
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_nrb50_r10_constr_20 = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 17, 17 } /* (SIZE(17..17)) */,
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_nrb75_r10_constr_21 = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 19, 19 } /* (SIZE(19..19)) */,
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_nrb100_r10_constr_22 = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 25, 25 } /* (SIZE(25..25)) */,
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_type_type01_r10_constr_16 = {
{ APC_CONSTRAINED, 3, 3, 0, 5 } /* (0..5) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_nrb6_r10_constr_24 = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 5, 5 } /* (SIZE(5..5)) */,
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_nrb15_r10_constr_25 = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 7, 7 } /* (SIZE(7..7)) */,
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_nrb25_r10_constr_26 = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 9, 9 } /* (SIZE(9..9)) */,
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_nrb50_r10_constr_27 = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 11, 11 } /* (SIZE(11..11)) */,
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_nrb75_r10_constr_28 = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 12, 12 } /* (SIZE(12..12)) */,
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_nrb100_r10_constr_29 = {
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
{ APC_CONSTRAINED, 0, 0, 13, 13 } /* (SIZE(13..13)) */,
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_type_type2_r10_constr_23 = {
{ APC_CONSTRAINED, 3, 3, 0, 5 } /* (0..5) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_type_resourceBlockAssignment_r10_constr_15 = {
{ APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_type_interleaving_r10_constr_32 = {
{ APC_CONSTRAINED, 0, 0, 0, 0 } /* (0..0) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_type_noInterleaving_r10_constr_34 = {
{ APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_type_demodulationRS_r10_constr_31 = {
{ APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_n1PUCCH_AN_P0_r10_constr_39 = {
{ APC_CONSTRAINED, 11, 11, 0, 2047 } /* (0..2047) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_n1PUCCH_AN_P1_r10_constr_40 = {
{ APC_CONSTRAINED, 11, 11, 0, 2047 } /* (0..2047) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_pdsch_Start_r10_constr_37 = {
{ APC_CONSTRAINED, 2, 2, 1, 3 } /* (1..3) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static asn_TYPE_member_t asn_MBR_subframeConfigPattern_r10_2[] = {
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__subframeConfigPattern_r10, choice.subframeConfigPatternFDD_r10),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_BIT_STRING,
memb_subframeConfigPatternFDD_r10_constraint_2,
&asn_PER_memb_subframeConfigPatternFDD_r10_constr_3,
0,
"subframeConfigPatternFDD-r10"
},
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__subframeConfigPattern_r10, choice.subframeConfigPatternTDD_r10),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_NativeInteger,
memb_subframeConfigPatternTDD_r10_constraint_2,
&asn_PER_memb_subframeConfigPatternTDD_r10_constr_4,
0,
"subframeConfigPatternTDD-r10"
},
};
static asn_TYPE_tag2member_t asn_MAP_subframeConfigPattern_r10_tag2el_2[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* subframeConfigPatternFDD-r10 at 2617 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* subframeConfigPatternTDD-r10 at 2618 */
};
static asn_CHOICE_specifics_t asn_SPC_subframeConfigPattern_r10_specs_2 = {
sizeof(struct RN_SubframeConfig_r10__subframeConfigPattern_r10),
offsetof(struct RN_SubframeConfig_r10__subframeConfigPattern_r10, _asn_ctx),
offsetof(struct RN_SubframeConfig_r10__subframeConfigPattern_r10, present),
sizeof(((struct RN_SubframeConfig_r10__subframeConfigPattern_r10 *)0)->present),
asn_MAP_subframeConfigPattern_r10_tag2el_2,
2, /* Count of tags in the map */
0,
-1 /* Extensions start */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_subframeConfigPattern_r10_2 = {
"subframeConfigPattern-r10",
"subframeConfigPattern-r10",
CHOICE_free,
CHOICE_print,
CHOICE_constraint,
CHOICE_decode_ber,
CHOICE_encode_der,
CHOICE_decode_xer,
CHOICE_encode_xer,
CHOICE_decode_uper,
CHOICE_encode_uper,
CHOICE_outmost_tag,
0, /* No effective tags (pointer) */
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
&asn_PER_type_subframeConfigPattern_r10_constr_2,
asn_MBR_subframeConfigPattern_r10_2,
2, /* Elements count */
&asn_SPC_subframeConfigPattern_r10_specs_2 /* Additional specs */
};
static asn_INTEGER_enum_map_t asn_MAP_resourceAllocationType_r10_value2enum_6[] = {
{ 0, 5, "type0" },
{ 1, 5, "type1" },
{ 2, 14, "type2Localized" },
{ 3, 16, "type2Distributed" },
{ 4, 6, "spare4" },
{ 5, 6, "spare3" },
{ 6, 6, "spare2" },
{ 7, 6, "spare1" }
};
static unsigned int asn_MAP_resourceAllocationType_r10_enum2value_6[] = {
7, /* spare1(7) */
6, /* spare2(6) */
5, /* spare3(5) */
4, /* spare4(4) */
0, /* type0(0) */
1, /* type1(1) */
3, /* type2Distributed(3) */
2 /* type2Localized(2) */
};
static asn_INTEGER_specifics_t asn_SPC_resourceAllocationType_r10_specs_6 = {
asn_MAP_resourceAllocationType_r10_value2enum_6, /* "tag" => N; sorted by tag */
asn_MAP_resourceAllocationType_r10_enum2value_6, /* N => "tag"; sorted by N */
8, /* Number of elements in the maps */
0, /* Enumeration is not extensible */
1, /* Strict enumeration */
0, /* Native long size */
0
};
static ber_tlv_tag_t asn_DEF_resourceAllocationType_r10_tags_6[] = {
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_resourceAllocationType_r10_6 = {
"resourceAllocationType-r10",
"resourceAllocationType-r10",
resourceAllocationType_r10_6_free,
resourceAllocationType_r10_6_print,
resourceAllocationType_r10_6_constraint,
resourceAllocationType_r10_6_decode_ber,
resourceAllocationType_r10_6_encode_der,
resourceAllocationType_r10_6_decode_xer,
resourceAllocationType_r10_6_encode_xer,
resourceAllocationType_r10_6_decode_uper,
resourceAllocationType_r10_6_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_resourceAllocationType_r10_tags_6,
sizeof(asn_DEF_resourceAllocationType_r10_tags_6)
/sizeof(asn_DEF_resourceAllocationType_r10_tags_6[0]) - 1, /* 1 */
asn_DEF_resourceAllocationType_r10_tags_6, /* Same as above */
sizeof(asn_DEF_resourceAllocationType_r10_tags_6)
/sizeof(asn_DEF_resourceAllocationType_r10_tags_6[0]), /* 2 */
&asn_PER_type_resourceAllocationType_r10_constr_6,
0, 0, /* Defined elsewhere */
&asn_SPC_resourceAllocationType_r10_specs_6 /* Additional specs */
};
static asn_TYPE_member_t asn_MBR_type01_r10_16[] = {
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10, choice.nrb6_r10),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_BIT_STRING,
memb_nrb6_r10_constraint_16,
&asn_PER_memb_nrb6_r10_constr_17,
0,
"nrb6-r10"
},
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10, choice.nrb15_r10),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_BIT_STRING,
memb_nrb15_r10_constraint_16,
&asn_PER_memb_nrb15_r10_constr_18,
0,
"nrb15-r10"
},
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10, choice.nrb25_r10),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_BIT_STRING,
memb_nrb25_r10_constraint_16,
&asn_PER_memb_nrb25_r10_constr_19,
0,
"nrb25-r10"
},
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10, choice.nrb50_r10),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_BIT_STRING,
memb_nrb50_r10_constraint_16,
&asn_PER_memb_nrb50_r10_constr_20,
0,
"nrb50-r10"
},
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10, choice.nrb75_r10),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_BIT_STRING,
memb_nrb75_r10_constraint_16,
&asn_PER_memb_nrb75_r10_constr_21,
0,
"nrb75-r10"
},
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10, choice.nrb100_r10),
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_BIT_STRING,
memb_nrb100_r10_constraint_16,
&asn_PER_memb_nrb100_r10_constr_22,
0,
"nrb100-r10"
},
};
static asn_TYPE_tag2member_t asn_MAP_type01_r10_tag2el_16[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nrb6-r10 at 2625 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* nrb15-r10 at 2626 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* nrb25-r10 at 2627 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* nrb50-r10 at 2628 */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* nrb75-r10 at 2629 */
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* nrb100-r10 at 2630 */
};
static asn_CHOICE_specifics_t asn_SPC_type01_r10_specs_16 = {
sizeof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10),
offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10, _asn_ctx),
offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10, present),
sizeof(((struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type01_r10 *)0)->present),
asn_MAP_type01_r10_tag2el_16,
6, /* Count of tags in the map */
0,
-1 /* Extensions start */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_type01_r10_16 = {
"type01-r10",
"type01-r10",
CHOICE_free,
CHOICE_print,
CHOICE_constraint,
CHOICE_decode_ber,
CHOICE_encode_der,
CHOICE_decode_xer,
CHOICE_encode_xer,
CHOICE_decode_uper,
CHOICE_encode_uper,
CHOICE_outmost_tag,
0, /* No effective tags (pointer) */
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
&asn_PER_type_type01_r10_constr_16,
asn_MBR_type01_r10_16,
6, /* Elements count */
&asn_SPC_type01_r10_specs_16 /* Additional specs */
};
static asn_TYPE_member_t asn_MBR_type2_r10_23[] = {
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10, choice.nrb6_r10),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_BIT_STRING,
memb_nrb6_r10_constraint_23,
&asn_PER_memb_nrb6_r10_constr_24,
0,
"nrb6-r10"
},
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10, choice.nrb15_r10),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_BIT_STRING,
memb_nrb15_r10_constraint_23,
&asn_PER_memb_nrb15_r10_constr_25,
0,
"nrb15-r10"
},
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10, choice.nrb25_r10),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_BIT_STRING,
memb_nrb25_r10_constraint_23,
&asn_PER_memb_nrb25_r10_constr_26,
0,
"nrb25-r10"
},
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10, choice.nrb50_r10),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_BIT_STRING,
memb_nrb50_r10_constraint_23,
&asn_PER_memb_nrb50_r10_constr_27,
0,
"nrb50-r10"
},
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10, choice.nrb75_r10),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_BIT_STRING,
memb_nrb75_r10_constraint_23,
&asn_PER_memb_nrb75_r10_constr_28,
0,
"nrb75-r10"
},
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10, choice.nrb100_r10),
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_BIT_STRING,
memb_nrb100_r10_constraint_23,
&asn_PER_memb_nrb100_r10_constr_29,
0,
"nrb100-r10"
},
};
static asn_TYPE_tag2member_t asn_MAP_type2_r10_tag2el_23[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* nrb6-r10 at 2633 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* nrb15-r10 at 2634 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* nrb25-r10 at 2635 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* nrb50-r10 at 2636 */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* nrb75-r10 at 2637 */
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* nrb100-r10 at 2638 */
};
static asn_CHOICE_specifics_t asn_SPC_type2_r10_specs_23 = {
sizeof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10),
offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10, _asn_ctx),
offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10, present),
sizeof(((struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10__type2_r10 *)0)->present),
asn_MAP_type2_r10_tag2el_23,
6, /* Count of tags in the map */
0,
-1 /* Extensions start */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_type2_r10_23 = {
"type2-r10",
"type2-r10",
CHOICE_free,
CHOICE_print,
CHOICE_constraint,
CHOICE_decode_ber,
CHOICE_encode_der,
CHOICE_decode_xer,
CHOICE_encode_xer,
CHOICE_decode_uper,
CHOICE_encode_uper,
CHOICE_outmost_tag,
0, /* No effective tags (pointer) */
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
&asn_PER_type_type2_r10_constr_23,
asn_MBR_type2_r10_23,
6, /* Elements count */
&asn_SPC_type2_r10_specs_23 /* Additional specs */
};
static asn_TYPE_member_t asn_MBR_resourceBlockAssignment_r10_15[] = {
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10, choice.type01_r10),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
+1, /* EXPLICIT tag at current level */
&asn_DEF_type01_r10_16,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"type01-r10"
},
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10, choice.type2_r10),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
+1, /* EXPLICIT tag at current level */
&asn_DEF_type2_r10_23,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"type2-r10"
},
};
static asn_TYPE_tag2member_t asn_MAP_resourceBlockAssignment_r10_tag2el_15[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* type01-r10 at 2625 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* type2-r10 at 2633 */
};
static asn_CHOICE_specifics_t asn_SPC_resourceBlockAssignment_r10_specs_15 = {
sizeof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10),
offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10, _asn_ctx),
offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10, present),
sizeof(((struct RN_SubframeConfig_r10__rpdcch_Config_r10__resourceBlockAssignment_r10 *)0)->present),
asn_MAP_resourceBlockAssignment_r10_tag2el_15,
2, /* Count of tags in the map */
0,
2 /* Extensions start */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_resourceBlockAssignment_r10_15 = {
"resourceBlockAssignment-r10",
"resourceBlockAssignment-r10",
CHOICE_free,
CHOICE_print,
CHOICE_constraint,
CHOICE_decode_ber,
CHOICE_encode_der,
CHOICE_decode_xer,
CHOICE_encode_xer,
CHOICE_decode_uper,
CHOICE_encode_uper,
CHOICE_outmost_tag,
0, /* No effective tags (pointer) */
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
&asn_PER_type_resourceBlockAssignment_r10_constr_15,
asn_MBR_resourceBlockAssignment_r10_15,
2, /* Elements count */
&asn_SPC_resourceBlockAssignment_r10_specs_15 /* Additional specs */
};
static asn_INTEGER_enum_map_t asn_MAP_interleaving_r10_value2enum_32[] = {
{ 0, 3, "crs" }
};
static unsigned int asn_MAP_interleaving_r10_enum2value_32[] = {
0 /* crs(0) */
};
static asn_INTEGER_specifics_t asn_SPC_interleaving_r10_specs_32 = {
asn_MAP_interleaving_r10_value2enum_32, /* "tag" => N; sorted by tag */
asn_MAP_interleaving_r10_enum2value_32, /* N => "tag"; sorted by N */
1, /* Number of elements in the maps */
0, /* Enumeration is not extensible */
1, /* Strict enumeration */
0, /* Native long size */
0
};
static ber_tlv_tag_t asn_DEF_interleaving_r10_tags_32[] = {
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_interleaving_r10_32 = {
"interleaving-r10",
"interleaving-r10",
interleaving_r10_32_free,
interleaving_r10_32_print,
interleaving_r10_32_constraint,
interleaving_r10_32_decode_ber,
interleaving_r10_32_encode_der,
interleaving_r10_32_decode_xer,
interleaving_r10_32_encode_xer,
interleaving_r10_32_decode_uper,
interleaving_r10_32_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_interleaving_r10_tags_32,
sizeof(asn_DEF_interleaving_r10_tags_32)
/sizeof(asn_DEF_interleaving_r10_tags_32[0]) - 1, /* 1 */
asn_DEF_interleaving_r10_tags_32, /* Same as above */
sizeof(asn_DEF_interleaving_r10_tags_32)
/sizeof(asn_DEF_interleaving_r10_tags_32[0]), /* 2 */
&asn_PER_type_interleaving_r10_constr_32,
0, 0, /* Defined elsewhere */
&asn_SPC_interleaving_r10_specs_32 /* Additional specs */
};
static asn_INTEGER_enum_map_t asn_MAP_noInterleaving_r10_value2enum_34[] = {
{ 0, 3, "crs" },
{ 1, 4, "dmrs" }
};
static unsigned int asn_MAP_noInterleaving_r10_enum2value_34[] = {
0, /* crs(0) */
1 /* dmrs(1) */
};
static asn_INTEGER_specifics_t asn_SPC_noInterleaving_r10_specs_34 = {
asn_MAP_noInterleaving_r10_value2enum_34, /* "tag" => N; sorted by tag */
asn_MAP_noInterleaving_r10_enum2value_34, /* N => "tag"; sorted by N */
2, /* Number of elements in the maps */
0, /* Enumeration is not extensible */
1, /* Strict enumeration */
0, /* Native long size */
0
};
static ber_tlv_tag_t asn_DEF_noInterleaving_r10_tags_34[] = {
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_noInterleaving_r10_34 = {
"noInterleaving-r10",
"noInterleaving-r10",
noInterleaving_r10_34_free,
noInterleaving_r10_34_print,
noInterleaving_r10_34_constraint,
noInterleaving_r10_34_decode_ber,
noInterleaving_r10_34_encode_der,
noInterleaving_r10_34_decode_xer,
noInterleaving_r10_34_encode_xer,
noInterleaving_r10_34_decode_uper,
noInterleaving_r10_34_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_noInterleaving_r10_tags_34,
sizeof(asn_DEF_noInterleaving_r10_tags_34)
/sizeof(asn_DEF_noInterleaving_r10_tags_34[0]) - 1, /* 1 */
asn_DEF_noInterleaving_r10_tags_34, /* Same as above */
sizeof(asn_DEF_noInterleaving_r10_tags_34)
/sizeof(asn_DEF_noInterleaving_r10_tags_34[0]), /* 2 */
&asn_PER_type_noInterleaving_r10_constr_34,
0, 0, /* Defined elsewhere */
&asn_SPC_noInterleaving_r10_specs_34 /* Additional specs */
};
static asn_TYPE_member_t asn_MBR_demodulationRS_r10_31[] = {
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10, choice.interleaving_r10),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_interleaving_r10_32,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"interleaving-r10"
},
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10, choice.noInterleaving_r10),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_noInterleaving_r10_34,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"noInterleaving-r10"
},
};
static asn_TYPE_tag2member_t asn_MAP_demodulationRS_r10_tag2el_31[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* interleaving-r10 at 2643 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* noInterleaving-r10 at 2644 */
};
static asn_CHOICE_specifics_t asn_SPC_demodulationRS_r10_specs_31 = {
sizeof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10),
offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10, _asn_ctx),
offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10, present),
sizeof(((struct RN_SubframeConfig_r10__rpdcch_Config_r10__demodulationRS_r10 *)0)->present),
asn_MAP_demodulationRS_r10_tag2el_31,
2, /* Count of tags in the map */
0,
-1 /* Extensions start */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_demodulationRS_r10_31 = {
"demodulationRS-r10",
"demodulationRS-r10",
CHOICE_free,
CHOICE_print,
CHOICE_constraint,
CHOICE_decode_ber,
CHOICE_encode_der,
CHOICE_decode_xer,
CHOICE_encode_xer,
CHOICE_decode_uper,
CHOICE_encode_uper,
CHOICE_outmost_tag,
0, /* No effective tags (pointer) */
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
&asn_PER_type_demodulationRS_r10_constr_31,
asn_MBR_demodulationRS_r10_31,
2, /* Elements count */
&asn_SPC_demodulationRS_r10_specs_31 /* Additional specs */
};
static asn_TYPE_member_t asn_MBR_pucch_Config_r10_38[] = {
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__pucch_Config_r10, n1PUCCH_AN_P0_r10),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_NativeInteger,
memb_n1PUCCH_AN_P0_r10_constraint_38,
&asn_PER_memb_n1PUCCH_AN_P0_r10_constr_39,
0,
"n1PUCCH-AN-P0-r10"
},
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__pucch_Config_r10, n1PUCCH_AN_P1_r10),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_NativeInteger,
memb_n1PUCCH_AN_P1_r10_constraint_38,
&asn_PER_memb_n1PUCCH_AN_P1_r10_constr_40,
0,
"n1PUCCH-AN-P1-r10"
},
};
static ber_tlv_tag_t asn_DEF_pucch_Config_r10_tags_38[] = {
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_pucch_Config_r10_tag2el_38[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* n1PUCCH-AN-P0-r10 at 2648 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* n1PUCCH-AN-P1-r10 at 2649 */
};
static asn_SEQUENCE_specifics_t asn_SPC_pucch_Config_r10_specs_38 = {
sizeof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__pucch_Config_r10),
offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10__pucch_Config_r10, _asn_ctx),
asn_MAP_pucch_Config_r10_tag2el_38,
2, /* Count of tags in the map */
0, 0, 0, /* Optional elements (not needed) */
-1, /* Start extensions */
-1 /* Stop extensions */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_pucch_Config_r10_38 = {
"pucch-Config-r10",
"pucch-Config-r10",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
SEQUENCE_decode_ber,
SEQUENCE_encode_der,
SEQUENCE_decode_xer,
SEQUENCE_encode_xer,
SEQUENCE_decode_uper,
SEQUENCE_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_pucch_Config_r10_tags_38,
sizeof(asn_DEF_pucch_Config_r10_tags_38)
/sizeof(asn_DEF_pucch_Config_r10_tags_38[0]) - 1, /* 1 */
asn_DEF_pucch_Config_r10_tags_38, /* Same as above */
sizeof(asn_DEF_pucch_Config_r10_tags_38)
/sizeof(asn_DEF_pucch_Config_r10_tags_38[0]), /* 2 */
0, /* No PER visible constraints */
asn_MBR_pucch_Config_r10_38,
2, /* Elements count */
&asn_SPC_pucch_Config_r10_specs_38 /* Additional specs */
};
static asn_TYPE_member_t asn_MBR_rpdcch_Config_r10_5[] = {
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10, resourceAllocationType_r10),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_resourceAllocationType_r10_6,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"resourceAllocationType-r10"
},
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10, resourceBlockAssignment_r10),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
+1, /* EXPLICIT tag at current level */
&asn_DEF_resourceBlockAssignment_r10_15,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"resourceBlockAssignment-r10"
},
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10, demodulationRS_r10),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
+1, /* EXPLICIT tag at current level */
&asn_DEF_demodulationRS_r10_31,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"demodulationRS-r10"
},
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10, pdsch_Start_r10),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_NativeInteger,
memb_pdsch_Start_r10_constraint_5,
&asn_PER_memb_pdsch_Start_r10_constr_37,
0,
"pdsch-Start-r10"
},
{ ATF_NOFLAGS, 0, offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10, pucch_Config_r10),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
0,
&asn_DEF_pucch_Config_r10_38,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"pucch-Config-r10"
},
};
static ber_tlv_tag_t asn_DEF_rpdcch_Config_r10_tags_5[] = {
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_rpdcch_Config_r10_tag2el_5[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* resourceAllocationType-r10 at 2621 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* resourceBlockAssignment-r10 at 2631 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* demodulationRS-r10 at 2643 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* pdsch-Start-r10 at 2646 */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* pucch-Config-r10 at 2648 */
};
static asn_SEQUENCE_specifics_t asn_SPC_rpdcch_Config_r10_specs_5 = {
sizeof(struct RN_SubframeConfig_r10__rpdcch_Config_r10),
offsetof(struct RN_SubframeConfig_r10__rpdcch_Config_r10, _asn_ctx),
asn_MAP_rpdcch_Config_r10_tag2el_5,
5, /* Count of tags in the map */
0, 0, 0, /* Optional elements (not needed) */
4, /* Start extensions */
6 /* Stop extensions */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_rpdcch_Config_r10_5 = {
"rpdcch-Config-r10",
"rpdcch-Config-r10",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
SEQUENCE_decode_ber,
SEQUENCE_encode_der,
SEQUENCE_decode_xer,
SEQUENCE_encode_xer,
SEQUENCE_decode_uper,
SEQUENCE_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_rpdcch_Config_r10_tags_5,
sizeof(asn_DEF_rpdcch_Config_r10_tags_5)
/sizeof(asn_DEF_rpdcch_Config_r10_tags_5[0]) - 1, /* 1 */
asn_DEF_rpdcch_Config_r10_tags_5, /* Same as above */
sizeof(asn_DEF_rpdcch_Config_r10_tags_5)
/sizeof(asn_DEF_rpdcch_Config_r10_tags_5[0]), /* 2 */
0, /* No PER visible constraints */
asn_MBR_rpdcch_Config_r10_5,
5, /* Elements count */
&asn_SPC_rpdcch_Config_r10_specs_5 /* Additional specs */
};
static asn_TYPE_member_t asn_MBR_RN_SubframeConfig_r10_1[] = {
{ ATF_POINTER, 2, offsetof(struct RN_SubframeConfig_r10, subframeConfigPattern_r10),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
+1, /* EXPLICIT tag at current level */
&asn_DEF_subframeConfigPattern_r10_2,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"subframeConfigPattern-r10"
},
{ ATF_POINTER, 1, offsetof(struct RN_SubframeConfig_r10, rpdcch_Config_r10),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
0,
&asn_DEF_rpdcch_Config_r10_5,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"rpdcch-Config-r10"
},
};
static int asn_MAP_RN_SubframeConfig_r10_oms_1[] = { 0, 1 };
static ber_tlv_tag_t asn_DEF_RN_SubframeConfig_r10_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_RN_SubframeConfig_r10_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* subframeConfigPattern-r10 at 2617 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* rpdcch-Config-r10 at 2622 */
};
static asn_SEQUENCE_specifics_t asn_SPC_RN_SubframeConfig_r10_specs_1 = {
sizeof(struct RN_SubframeConfig_r10),
offsetof(struct RN_SubframeConfig_r10, _asn_ctx),
asn_MAP_RN_SubframeConfig_r10_tag2el_1,
2, /* Count of tags in the map */
asn_MAP_RN_SubframeConfig_r10_oms_1, /* Optional members */
2, 0, /* Root/Additions */
1, /* Start extensions */
3 /* Stop extensions */
};
asn_TYPE_descriptor_t asn_DEF_RN_SubframeConfig_r10 = {
"RN-SubframeConfig-r10",
"RN-SubframeConfig-r10",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
SEQUENCE_decode_ber,
SEQUENCE_encode_der,
SEQUENCE_decode_xer,
SEQUENCE_encode_xer,
SEQUENCE_decode_uper,
SEQUENCE_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_RN_SubframeConfig_r10_tags_1,
sizeof(asn_DEF_RN_SubframeConfig_r10_tags_1)
/sizeof(asn_DEF_RN_SubframeConfig_r10_tags_1[0]), /* 1 */
asn_DEF_RN_SubframeConfig_r10_tags_1, /* Same as above */
sizeof(asn_DEF_RN_SubframeConfig_r10_tags_1)
/sizeof(asn_DEF_RN_SubframeConfig_r10_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
asn_MBR_RN_SubframeConfig_r10_1,
2, /* Elements count */
&asn_SPC_RN_SubframeConfig_r10_specs_1 /* Additional specs */
};