mirror of https://github.com/pvnis/srsRAN_4G.git
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.
1790 lines
67 KiB
C
1790 lines
67 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 "RACH-ConfigCommon.h"
|
|
|
|
static int
|
|
numberOfRA_Preambles_3_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
|
|
numberOfRA_Preambles_3_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
|
|
numberOfRA_Preambles_3_free(asn_TYPE_descriptor_t *td,
|
|
void *struct_ptr, int contents_only) {
|
|
numberOfRA_Preambles_3_inherit_TYPE_descriptor(td);
|
|
td->free_struct(td, struct_ptr, contents_only);
|
|
}
|
|
|
|
static int
|
|
numberOfRA_Preambles_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
|
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
|
|
numberOfRA_Preambles_3_inherit_TYPE_descriptor(td);
|
|
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
numberOfRA_Preambles_3_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) {
|
|
numberOfRA_Preambles_3_inherit_TYPE_descriptor(td);
|
|
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
numberOfRA_Preambles_3_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) {
|
|
numberOfRA_Preambles_3_inherit_TYPE_descriptor(td);
|
|
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
numberOfRA_Preambles_3_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) {
|
|
numberOfRA_Preambles_3_inherit_TYPE_descriptor(td);
|
|
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
numberOfRA_Preambles_3_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) {
|
|
numberOfRA_Preambles_3_inherit_TYPE_descriptor(td);
|
|
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
numberOfRA_Preambles_3_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) {
|
|
numberOfRA_Preambles_3_inherit_TYPE_descriptor(td);
|
|
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
numberOfRA_Preambles_3_encode_uper(asn_TYPE_descriptor_t *td,
|
|
asn_per_constraints_t *constraints,
|
|
void *structure, asn_per_outp_t *per_out) {
|
|
numberOfRA_Preambles_3_inherit_TYPE_descriptor(td);
|
|
return td->uper_encoder(td, constraints, structure, per_out);
|
|
}
|
|
|
|
static int
|
|
sizeOfRA_PreamblesGroupA_21_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
|
|
sizeOfRA_PreamblesGroupA_21_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
|
|
sizeOfRA_PreamblesGroupA_21_free(asn_TYPE_descriptor_t *td,
|
|
void *struct_ptr, int contents_only) {
|
|
sizeOfRA_PreamblesGroupA_21_inherit_TYPE_descriptor(td);
|
|
td->free_struct(td, struct_ptr, contents_only);
|
|
}
|
|
|
|
static int
|
|
sizeOfRA_PreamblesGroupA_21_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
|
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
|
|
sizeOfRA_PreamblesGroupA_21_inherit_TYPE_descriptor(td);
|
|
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
sizeOfRA_PreamblesGroupA_21_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) {
|
|
sizeOfRA_PreamblesGroupA_21_inherit_TYPE_descriptor(td);
|
|
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
sizeOfRA_PreamblesGroupA_21_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) {
|
|
sizeOfRA_PreamblesGroupA_21_inherit_TYPE_descriptor(td);
|
|
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
sizeOfRA_PreamblesGroupA_21_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) {
|
|
sizeOfRA_PreamblesGroupA_21_inherit_TYPE_descriptor(td);
|
|
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
sizeOfRA_PreamblesGroupA_21_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) {
|
|
sizeOfRA_PreamblesGroupA_21_inherit_TYPE_descriptor(td);
|
|
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
sizeOfRA_PreamblesGroupA_21_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) {
|
|
sizeOfRA_PreamblesGroupA_21_inherit_TYPE_descriptor(td);
|
|
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
sizeOfRA_PreamblesGroupA_21_encode_uper(asn_TYPE_descriptor_t *td,
|
|
asn_per_constraints_t *constraints,
|
|
void *structure, asn_per_outp_t *per_out) {
|
|
sizeOfRA_PreamblesGroupA_21_inherit_TYPE_descriptor(td);
|
|
return td->uper_encoder(td, constraints, structure, per_out);
|
|
}
|
|
|
|
static int
|
|
messageSizeGroupA_37_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
|
|
messageSizeGroupA_37_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
|
|
messageSizeGroupA_37_free(asn_TYPE_descriptor_t *td,
|
|
void *struct_ptr, int contents_only) {
|
|
messageSizeGroupA_37_inherit_TYPE_descriptor(td);
|
|
td->free_struct(td, struct_ptr, contents_only);
|
|
}
|
|
|
|
static int
|
|
messageSizeGroupA_37_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
|
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
|
|
messageSizeGroupA_37_inherit_TYPE_descriptor(td);
|
|
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
messageSizeGroupA_37_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) {
|
|
messageSizeGroupA_37_inherit_TYPE_descriptor(td);
|
|
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
messageSizeGroupA_37_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) {
|
|
messageSizeGroupA_37_inherit_TYPE_descriptor(td);
|
|
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
messageSizeGroupA_37_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) {
|
|
messageSizeGroupA_37_inherit_TYPE_descriptor(td);
|
|
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
messageSizeGroupA_37_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) {
|
|
messageSizeGroupA_37_inherit_TYPE_descriptor(td);
|
|
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
messageSizeGroupA_37_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) {
|
|
messageSizeGroupA_37_inherit_TYPE_descriptor(td);
|
|
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
messageSizeGroupA_37_encode_uper(asn_TYPE_descriptor_t *td,
|
|
asn_per_constraints_t *constraints,
|
|
void *structure, asn_per_outp_t *per_out) {
|
|
messageSizeGroupA_37_inherit_TYPE_descriptor(td);
|
|
return td->uper_encoder(td, constraints, structure, per_out);
|
|
}
|
|
|
|
static int
|
|
messagePowerOffsetGroupB_42_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
|
|
messagePowerOffsetGroupB_42_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
|
|
messagePowerOffsetGroupB_42_free(asn_TYPE_descriptor_t *td,
|
|
void *struct_ptr, int contents_only) {
|
|
messagePowerOffsetGroupB_42_inherit_TYPE_descriptor(td);
|
|
td->free_struct(td, struct_ptr, contents_only);
|
|
}
|
|
|
|
static int
|
|
messagePowerOffsetGroupB_42_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
|
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
|
|
messagePowerOffsetGroupB_42_inherit_TYPE_descriptor(td);
|
|
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
messagePowerOffsetGroupB_42_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) {
|
|
messagePowerOffsetGroupB_42_inherit_TYPE_descriptor(td);
|
|
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
messagePowerOffsetGroupB_42_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) {
|
|
messagePowerOffsetGroupB_42_inherit_TYPE_descriptor(td);
|
|
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
messagePowerOffsetGroupB_42_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) {
|
|
messagePowerOffsetGroupB_42_inherit_TYPE_descriptor(td);
|
|
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
messagePowerOffsetGroupB_42_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) {
|
|
messagePowerOffsetGroupB_42_inherit_TYPE_descriptor(td);
|
|
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
messagePowerOffsetGroupB_42_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) {
|
|
messagePowerOffsetGroupB_42_inherit_TYPE_descriptor(td);
|
|
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
messagePowerOffsetGroupB_42_encode_uper(asn_TYPE_descriptor_t *td,
|
|
asn_per_constraints_t *constraints,
|
|
void *structure, asn_per_outp_t *per_out) {
|
|
messagePowerOffsetGroupB_42_inherit_TYPE_descriptor(td);
|
|
return td->uper_encoder(td, constraints, structure, per_out);
|
|
}
|
|
|
|
static int
|
|
powerRampingStep_53_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
|
|
powerRampingStep_53_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
|
|
powerRampingStep_53_free(asn_TYPE_descriptor_t *td,
|
|
void *struct_ptr, int contents_only) {
|
|
powerRampingStep_53_inherit_TYPE_descriptor(td);
|
|
td->free_struct(td, struct_ptr, contents_only);
|
|
}
|
|
|
|
static int
|
|
powerRampingStep_53_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
|
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
|
|
powerRampingStep_53_inherit_TYPE_descriptor(td);
|
|
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
powerRampingStep_53_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) {
|
|
powerRampingStep_53_inherit_TYPE_descriptor(td);
|
|
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
powerRampingStep_53_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) {
|
|
powerRampingStep_53_inherit_TYPE_descriptor(td);
|
|
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
powerRampingStep_53_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) {
|
|
powerRampingStep_53_inherit_TYPE_descriptor(td);
|
|
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
powerRampingStep_53_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) {
|
|
powerRampingStep_53_inherit_TYPE_descriptor(td);
|
|
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
powerRampingStep_53_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) {
|
|
powerRampingStep_53_inherit_TYPE_descriptor(td);
|
|
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
powerRampingStep_53_encode_uper(asn_TYPE_descriptor_t *td,
|
|
asn_per_constraints_t *constraints,
|
|
void *structure, asn_per_outp_t *per_out) {
|
|
powerRampingStep_53_inherit_TYPE_descriptor(td);
|
|
return td->uper_encoder(td, constraints, structure, per_out);
|
|
}
|
|
|
|
static int
|
|
preambleInitialReceivedTargetPower_58_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
|
|
preambleInitialReceivedTargetPower_58_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
|
|
preambleInitialReceivedTargetPower_58_free(asn_TYPE_descriptor_t *td,
|
|
void *struct_ptr, int contents_only) {
|
|
preambleInitialReceivedTargetPower_58_inherit_TYPE_descriptor(td);
|
|
td->free_struct(td, struct_ptr, contents_only);
|
|
}
|
|
|
|
static int
|
|
preambleInitialReceivedTargetPower_58_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
|
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
|
|
preambleInitialReceivedTargetPower_58_inherit_TYPE_descriptor(td);
|
|
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
preambleInitialReceivedTargetPower_58_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) {
|
|
preambleInitialReceivedTargetPower_58_inherit_TYPE_descriptor(td);
|
|
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
preambleInitialReceivedTargetPower_58_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) {
|
|
preambleInitialReceivedTargetPower_58_inherit_TYPE_descriptor(td);
|
|
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
preambleInitialReceivedTargetPower_58_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) {
|
|
preambleInitialReceivedTargetPower_58_inherit_TYPE_descriptor(td);
|
|
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
preambleInitialReceivedTargetPower_58_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) {
|
|
preambleInitialReceivedTargetPower_58_inherit_TYPE_descriptor(td);
|
|
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
preambleInitialReceivedTargetPower_58_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) {
|
|
preambleInitialReceivedTargetPower_58_inherit_TYPE_descriptor(td);
|
|
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
preambleInitialReceivedTargetPower_58_encode_uper(asn_TYPE_descriptor_t *td,
|
|
asn_per_constraints_t *constraints,
|
|
void *structure, asn_per_outp_t *per_out) {
|
|
preambleInitialReceivedTargetPower_58_inherit_TYPE_descriptor(td);
|
|
return td->uper_encoder(td, constraints, structure, per_out);
|
|
}
|
|
|
|
static int
|
|
preambleTransMax_76_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
|
|
preambleTransMax_76_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
|
|
preambleTransMax_76_free(asn_TYPE_descriptor_t *td,
|
|
void *struct_ptr, int contents_only) {
|
|
preambleTransMax_76_inherit_TYPE_descriptor(td);
|
|
td->free_struct(td, struct_ptr, contents_only);
|
|
}
|
|
|
|
static int
|
|
preambleTransMax_76_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
|
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
|
|
preambleTransMax_76_inherit_TYPE_descriptor(td);
|
|
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
preambleTransMax_76_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) {
|
|
preambleTransMax_76_inherit_TYPE_descriptor(td);
|
|
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
preambleTransMax_76_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) {
|
|
preambleTransMax_76_inherit_TYPE_descriptor(td);
|
|
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
preambleTransMax_76_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) {
|
|
preambleTransMax_76_inherit_TYPE_descriptor(td);
|
|
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
preambleTransMax_76_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) {
|
|
preambleTransMax_76_inherit_TYPE_descriptor(td);
|
|
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
preambleTransMax_76_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) {
|
|
preambleTransMax_76_inherit_TYPE_descriptor(td);
|
|
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
preambleTransMax_76_encode_uper(asn_TYPE_descriptor_t *td,
|
|
asn_per_constraints_t *constraints,
|
|
void *structure, asn_per_outp_t *per_out) {
|
|
preambleTransMax_76_inherit_TYPE_descriptor(td);
|
|
return td->uper_encoder(td, constraints, structure, per_out);
|
|
}
|
|
|
|
static int
|
|
ra_ResponseWindowSize_88_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
|
|
ra_ResponseWindowSize_88_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
|
|
ra_ResponseWindowSize_88_free(asn_TYPE_descriptor_t *td,
|
|
void *struct_ptr, int contents_only) {
|
|
ra_ResponseWindowSize_88_inherit_TYPE_descriptor(td);
|
|
td->free_struct(td, struct_ptr, contents_only);
|
|
}
|
|
|
|
static int
|
|
ra_ResponseWindowSize_88_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
|
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
|
|
ra_ResponseWindowSize_88_inherit_TYPE_descriptor(td);
|
|
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
ra_ResponseWindowSize_88_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) {
|
|
ra_ResponseWindowSize_88_inherit_TYPE_descriptor(td);
|
|
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
ra_ResponseWindowSize_88_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) {
|
|
ra_ResponseWindowSize_88_inherit_TYPE_descriptor(td);
|
|
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
ra_ResponseWindowSize_88_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) {
|
|
ra_ResponseWindowSize_88_inherit_TYPE_descriptor(td);
|
|
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
ra_ResponseWindowSize_88_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) {
|
|
ra_ResponseWindowSize_88_inherit_TYPE_descriptor(td);
|
|
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
ra_ResponseWindowSize_88_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) {
|
|
ra_ResponseWindowSize_88_inherit_TYPE_descriptor(td);
|
|
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
ra_ResponseWindowSize_88_encode_uper(asn_TYPE_descriptor_t *td,
|
|
asn_per_constraints_t *constraints,
|
|
void *structure, asn_per_outp_t *per_out) {
|
|
ra_ResponseWindowSize_88_inherit_TYPE_descriptor(td);
|
|
return td->uper_encoder(td, constraints, structure, per_out);
|
|
}
|
|
|
|
static int
|
|
mac_ContentionResolutionTimer_97_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
|
|
mac_ContentionResolutionTimer_97_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
|
|
mac_ContentionResolutionTimer_97_free(asn_TYPE_descriptor_t *td,
|
|
void *struct_ptr, int contents_only) {
|
|
mac_ContentionResolutionTimer_97_inherit_TYPE_descriptor(td);
|
|
td->free_struct(td, struct_ptr, contents_only);
|
|
}
|
|
|
|
static int
|
|
mac_ContentionResolutionTimer_97_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
|
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
|
|
mac_ContentionResolutionTimer_97_inherit_TYPE_descriptor(td);
|
|
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
mac_ContentionResolutionTimer_97_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) {
|
|
mac_ContentionResolutionTimer_97_inherit_TYPE_descriptor(td);
|
|
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
mac_ContentionResolutionTimer_97_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) {
|
|
mac_ContentionResolutionTimer_97_inherit_TYPE_descriptor(td);
|
|
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
mac_ContentionResolutionTimer_97_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) {
|
|
mac_ContentionResolutionTimer_97_inherit_TYPE_descriptor(td);
|
|
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
mac_ContentionResolutionTimer_97_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) {
|
|
mac_ContentionResolutionTimer_97_inherit_TYPE_descriptor(td);
|
|
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
mac_ContentionResolutionTimer_97_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) {
|
|
mac_ContentionResolutionTimer_97_inherit_TYPE_descriptor(td);
|
|
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
mac_ContentionResolutionTimer_97_encode_uper(asn_TYPE_descriptor_t *td,
|
|
asn_per_constraints_t *constraints,
|
|
void *structure, asn_per_outp_t *per_out) {
|
|
mac_ContentionResolutionTimer_97_inherit_TYPE_descriptor(td);
|
|
return td->uper_encoder(td, constraints, structure, per_out);
|
|
}
|
|
|
|
static int
|
|
memb_maxHARQ_Msg3Tx_constraint_1(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 <= 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 asn_per_constraints_t asn_PER_type_numberOfRA_Preambles_constr_3 = {
|
|
{ APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */,
|
|
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
|
0, 0 /* No PER value map */
|
|
};
|
|
static asn_per_constraints_t asn_PER_type_sizeOfRA_PreamblesGroupA_constr_21 = {
|
|
{ APC_CONSTRAINED, 4, 4, 0, 14 } /* (0..14) */,
|
|
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
|
0, 0 /* No PER value map */
|
|
};
|
|
static asn_per_constraints_t asn_PER_type_messageSizeGroupA_constr_37 = {
|
|
{ APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */,
|
|
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
|
0, 0 /* No PER value map */
|
|
};
|
|
static asn_per_constraints_t asn_PER_type_messagePowerOffsetGroupB_constr_42 = {
|
|
{ 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_type_powerRampingStep_constr_53 = {
|
|
{ APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */,
|
|
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
|
0, 0 /* No PER value map */
|
|
};
|
|
static asn_per_constraints_t asn_PER_type_preambleInitialReceivedTargetPower_constr_58 = {
|
|
{ APC_CONSTRAINED, 4, 4, 0, 15 } /* (0..15) */,
|
|
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
|
0, 0 /* No PER value map */
|
|
};
|
|
static asn_per_constraints_t asn_PER_type_preambleTransMax_constr_76 = {
|
|
{ APC_CONSTRAINED, 4, 4, 0, 10 } /* (0..10) */,
|
|
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
|
0, 0 /* No PER value map */
|
|
};
|
|
static asn_per_constraints_t asn_PER_type_ra_ResponseWindowSize_constr_88 = {
|
|
{ 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_type_mac_ContentionResolutionTimer_constr_97 = {
|
|
{ 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_maxHARQ_Msg3Tx_constr_106 = {
|
|
{ APC_CONSTRAINED, 3, 3, 1, 8 } /* (1..8) */,
|
|
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
|
0, 0 /* No PER value map */
|
|
};
|
|
static asn_INTEGER_enum_map_t asn_MAP_numberOfRA_Preambles_value2enum_3[] = {
|
|
{ 0, 2, "n4" },
|
|
{ 1, 2, "n8" },
|
|
{ 2, 3, "n12" },
|
|
{ 3, 3, "n16" },
|
|
{ 4, 3, "n20" },
|
|
{ 5, 3, "n24" },
|
|
{ 6, 3, "n28" },
|
|
{ 7, 3, "n32" },
|
|
{ 8, 3, "n36" },
|
|
{ 9, 3, "n40" },
|
|
{ 10, 3, "n44" },
|
|
{ 11, 3, "n48" },
|
|
{ 12, 3, "n52" },
|
|
{ 13, 3, "n56" },
|
|
{ 14, 3, "n60" },
|
|
{ 15, 3, "n64" }
|
|
};
|
|
static unsigned int asn_MAP_numberOfRA_Preambles_enum2value_3[] = {
|
|
2, /* n12(2) */
|
|
3, /* n16(3) */
|
|
4, /* n20(4) */
|
|
5, /* n24(5) */
|
|
6, /* n28(6) */
|
|
7, /* n32(7) */
|
|
8, /* n36(8) */
|
|
0, /* n4(0) */
|
|
9, /* n40(9) */
|
|
10, /* n44(10) */
|
|
11, /* n48(11) */
|
|
12, /* n52(12) */
|
|
13, /* n56(13) */
|
|
14, /* n60(14) */
|
|
15, /* n64(15) */
|
|
1 /* n8(1) */
|
|
};
|
|
static asn_INTEGER_specifics_t asn_SPC_numberOfRA_Preambles_specs_3 = {
|
|
asn_MAP_numberOfRA_Preambles_value2enum_3, /* "tag" => N; sorted by tag */
|
|
asn_MAP_numberOfRA_Preambles_enum2value_3, /* N => "tag"; sorted by N */
|
|
16, /* 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_numberOfRA_Preambles_tags_3[] = {
|
|
(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_numberOfRA_Preambles_3 = {
|
|
"numberOfRA-Preambles",
|
|
"numberOfRA-Preambles",
|
|
numberOfRA_Preambles_3_free,
|
|
numberOfRA_Preambles_3_print,
|
|
numberOfRA_Preambles_3_constraint,
|
|
numberOfRA_Preambles_3_decode_ber,
|
|
numberOfRA_Preambles_3_encode_der,
|
|
numberOfRA_Preambles_3_decode_xer,
|
|
numberOfRA_Preambles_3_encode_xer,
|
|
numberOfRA_Preambles_3_decode_uper,
|
|
numberOfRA_Preambles_3_encode_uper,
|
|
0, /* Use generic outmost tag fetcher */
|
|
asn_DEF_numberOfRA_Preambles_tags_3,
|
|
sizeof(asn_DEF_numberOfRA_Preambles_tags_3)
|
|
/sizeof(asn_DEF_numberOfRA_Preambles_tags_3[0]) - 1, /* 1 */
|
|
asn_DEF_numberOfRA_Preambles_tags_3, /* Same as above */
|
|
sizeof(asn_DEF_numberOfRA_Preambles_tags_3)
|
|
/sizeof(asn_DEF_numberOfRA_Preambles_tags_3[0]), /* 2 */
|
|
&asn_PER_type_numberOfRA_Preambles_constr_3,
|
|
0, 0, /* Defined elsewhere */
|
|
&asn_SPC_numberOfRA_Preambles_specs_3 /* Additional specs */
|
|
};
|
|
|
|
static asn_INTEGER_enum_map_t asn_MAP_sizeOfRA_PreamblesGroupA_value2enum_21[] = {
|
|
{ 0, 2, "n4" },
|
|
{ 1, 2, "n8" },
|
|
{ 2, 3, "n12" },
|
|
{ 3, 3, "n16" },
|
|
{ 4, 3, "n20" },
|
|
{ 5, 3, "n24" },
|
|
{ 6, 3, "n28" },
|
|
{ 7, 3, "n32" },
|
|
{ 8, 3, "n36" },
|
|
{ 9, 3, "n40" },
|
|
{ 10, 3, "n44" },
|
|
{ 11, 3, "n48" },
|
|
{ 12, 3, "n52" },
|
|
{ 13, 3, "n56" },
|
|
{ 14, 3, "n60" }
|
|
};
|
|
static unsigned int asn_MAP_sizeOfRA_PreamblesGroupA_enum2value_21[] = {
|
|
2, /* n12(2) */
|
|
3, /* n16(3) */
|
|
4, /* n20(4) */
|
|
5, /* n24(5) */
|
|
6, /* n28(6) */
|
|
7, /* n32(7) */
|
|
8, /* n36(8) */
|
|
0, /* n4(0) */
|
|
9, /* n40(9) */
|
|
10, /* n44(10) */
|
|
11, /* n48(11) */
|
|
12, /* n52(12) */
|
|
13, /* n56(13) */
|
|
14, /* n60(14) */
|
|
1 /* n8(1) */
|
|
};
|
|
static asn_INTEGER_specifics_t asn_SPC_sizeOfRA_PreamblesGroupA_specs_21 = {
|
|
asn_MAP_sizeOfRA_PreamblesGroupA_value2enum_21, /* "tag" => N; sorted by tag */
|
|
asn_MAP_sizeOfRA_PreamblesGroupA_enum2value_21, /* N => "tag"; sorted by N */
|
|
15, /* 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_sizeOfRA_PreamblesGroupA_tags_21[] = {
|
|
(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_sizeOfRA_PreamblesGroupA_21 = {
|
|
"sizeOfRA-PreamblesGroupA",
|
|
"sizeOfRA-PreamblesGroupA",
|
|
sizeOfRA_PreamblesGroupA_21_free,
|
|
sizeOfRA_PreamblesGroupA_21_print,
|
|
sizeOfRA_PreamblesGroupA_21_constraint,
|
|
sizeOfRA_PreamblesGroupA_21_decode_ber,
|
|
sizeOfRA_PreamblesGroupA_21_encode_der,
|
|
sizeOfRA_PreamblesGroupA_21_decode_xer,
|
|
sizeOfRA_PreamblesGroupA_21_encode_xer,
|
|
sizeOfRA_PreamblesGroupA_21_decode_uper,
|
|
sizeOfRA_PreamblesGroupA_21_encode_uper,
|
|
0, /* Use generic outmost tag fetcher */
|
|
asn_DEF_sizeOfRA_PreamblesGroupA_tags_21,
|
|
sizeof(asn_DEF_sizeOfRA_PreamblesGroupA_tags_21)
|
|
/sizeof(asn_DEF_sizeOfRA_PreamblesGroupA_tags_21[0]) - 1, /* 1 */
|
|
asn_DEF_sizeOfRA_PreamblesGroupA_tags_21, /* Same as above */
|
|
sizeof(asn_DEF_sizeOfRA_PreamblesGroupA_tags_21)
|
|
/sizeof(asn_DEF_sizeOfRA_PreamblesGroupA_tags_21[0]), /* 2 */
|
|
&asn_PER_type_sizeOfRA_PreamblesGroupA_constr_21,
|
|
0, 0, /* Defined elsewhere */
|
|
&asn_SPC_sizeOfRA_PreamblesGroupA_specs_21 /* Additional specs */
|
|
};
|
|
|
|
static asn_INTEGER_enum_map_t asn_MAP_messageSizeGroupA_value2enum_37[] = {
|
|
{ 0, 3, "b56" },
|
|
{ 1, 4, "b144" },
|
|
{ 2, 4, "b208" },
|
|
{ 3, 4, "b256" }
|
|
};
|
|
static unsigned int asn_MAP_messageSizeGroupA_enum2value_37[] = {
|
|
1, /* b144(1) */
|
|
2, /* b208(2) */
|
|
3, /* b256(3) */
|
|
0 /* b56(0) */
|
|
};
|
|
static asn_INTEGER_specifics_t asn_SPC_messageSizeGroupA_specs_37 = {
|
|
asn_MAP_messageSizeGroupA_value2enum_37, /* "tag" => N; sorted by tag */
|
|
asn_MAP_messageSizeGroupA_enum2value_37, /* N => "tag"; sorted by N */
|
|
4, /* 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_messageSizeGroupA_tags_37[] = {
|
|
(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_messageSizeGroupA_37 = {
|
|
"messageSizeGroupA",
|
|
"messageSizeGroupA",
|
|
messageSizeGroupA_37_free,
|
|
messageSizeGroupA_37_print,
|
|
messageSizeGroupA_37_constraint,
|
|
messageSizeGroupA_37_decode_ber,
|
|
messageSizeGroupA_37_encode_der,
|
|
messageSizeGroupA_37_decode_xer,
|
|
messageSizeGroupA_37_encode_xer,
|
|
messageSizeGroupA_37_decode_uper,
|
|
messageSizeGroupA_37_encode_uper,
|
|
0, /* Use generic outmost tag fetcher */
|
|
asn_DEF_messageSizeGroupA_tags_37,
|
|
sizeof(asn_DEF_messageSizeGroupA_tags_37)
|
|
/sizeof(asn_DEF_messageSizeGroupA_tags_37[0]) - 1, /* 1 */
|
|
asn_DEF_messageSizeGroupA_tags_37, /* Same as above */
|
|
sizeof(asn_DEF_messageSizeGroupA_tags_37)
|
|
/sizeof(asn_DEF_messageSizeGroupA_tags_37[0]), /* 2 */
|
|
&asn_PER_type_messageSizeGroupA_constr_37,
|
|
0, 0, /* Defined elsewhere */
|
|
&asn_SPC_messageSizeGroupA_specs_37 /* Additional specs */
|
|
};
|
|
|
|
static asn_INTEGER_enum_map_t asn_MAP_messagePowerOffsetGroupB_value2enum_42[] = {
|
|
{ 0, 13, "minusinfinity" },
|
|
{ 1, 3, "dB0" },
|
|
{ 2, 3, "dB5" },
|
|
{ 3, 3, "dB8" },
|
|
{ 4, 4, "dB10" },
|
|
{ 5, 4, "dB12" },
|
|
{ 6, 4, "dB15" },
|
|
{ 7, 4, "dB18" }
|
|
};
|
|
static unsigned int asn_MAP_messagePowerOffsetGroupB_enum2value_42[] = {
|
|
1, /* dB0(1) */
|
|
4, /* dB10(4) */
|
|
5, /* dB12(5) */
|
|
6, /* dB15(6) */
|
|
7, /* dB18(7) */
|
|
2, /* dB5(2) */
|
|
3, /* dB8(3) */
|
|
0 /* minusinfinity(0) */
|
|
};
|
|
static asn_INTEGER_specifics_t asn_SPC_messagePowerOffsetGroupB_specs_42 = {
|
|
asn_MAP_messagePowerOffsetGroupB_value2enum_42, /* "tag" => N; sorted by tag */
|
|
asn_MAP_messagePowerOffsetGroupB_enum2value_42, /* 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_messagePowerOffsetGroupB_tags_42[] = {
|
|
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
|
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
|
|
};
|
|
static /* Use -fall-defs-global to expose */
|
|
asn_TYPE_descriptor_t asn_DEF_messagePowerOffsetGroupB_42 = {
|
|
"messagePowerOffsetGroupB",
|
|
"messagePowerOffsetGroupB",
|
|
messagePowerOffsetGroupB_42_free,
|
|
messagePowerOffsetGroupB_42_print,
|
|
messagePowerOffsetGroupB_42_constraint,
|
|
messagePowerOffsetGroupB_42_decode_ber,
|
|
messagePowerOffsetGroupB_42_encode_der,
|
|
messagePowerOffsetGroupB_42_decode_xer,
|
|
messagePowerOffsetGroupB_42_encode_xer,
|
|
messagePowerOffsetGroupB_42_decode_uper,
|
|
messagePowerOffsetGroupB_42_encode_uper,
|
|
0, /* Use generic outmost tag fetcher */
|
|
asn_DEF_messagePowerOffsetGroupB_tags_42,
|
|
sizeof(asn_DEF_messagePowerOffsetGroupB_tags_42)
|
|
/sizeof(asn_DEF_messagePowerOffsetGroupB_tags_42[0]) - 1, /* 1 */
|
|
asn_DEF_messagePowerOffsetGroupB_tags_42, /* Same as above */
|
|
sizeof(asn_DEF_messagePowerOffsetGroupB_tags_42)
|
|
/sizeof(asn_DEF_messagePowerOffsetGroupB_tags_42[0]), /* 2 */
|
|
&asn_PER_type_messagePowerOffsetGroupB_constr_42,
|
|
0, 0, /* Defined elsewhere */
|
|
&asn_SPC_messagePowerOffsetGroupB_specs_42 /* Additional specs */
|
|
};
|
|
|
|
static asn_TYPE_member_t asn_MBR_preamblesGroupAConfig_20[] = {
|
|
{ ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig, sizeOfRA_PreamblesGroupA),
|
|
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_sizeOfRA_PreamblesGroupA_21,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"sizeOfRA-PreamblesGroupA"
|
|
},
|
|
{ ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig, messageSizeGroupA),
|
|
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_messageSizeGroupA_37,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"messageSizeGroupA"
|
|
},
|
|
{ ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig, messagePowerOffsetGroupB),
|
|
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_messagePowerOffsetGroupB_42,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"messagePowerOffsetGroupB"
|
|
},
|
|
};
|
|
static ber_tlv_tag_t asn_DEF_preamblesGroupAConfig_tags_20[] = {
|
|
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
|
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
|
};
|
|
static asn_TYPE_tag2member_t asn_MAP_preamblesGroupAConfig_tag2el_20[] = {
|
|
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sizeOfRA-PreamblesGroupA at 2322 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* messageSizeGroupA at 2325 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* messagePowerOffsetGroupB at 2327 */
|
|
};
|
|
static asn_SEQUENCE_specifics_t asn_SPC_preamblesGroupAConfig_specs_20 = {
|
|
sizeof(struct RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig),
|
|
offsetof(struct RACH_ConfigCommon__preambleInfo__preamblesGroupAConfig, _asn_ctx),
|
|
asn_MAP_preamblesGroupAConfig_tag2el_20,
|
|
3, /* Count of tags in the map */
|
|
0, 0, 0, /* Optional elements (not needed) */
|
|
2, /* Start extensions */
|
|
4 /* Stop extensions */
|
|
};
|
|
static /* Use -fall-defs-global to expose */
|
|
asn_TYPE_descriptor_t asn_DEF_preamblesGroupAConfig_20 = {
|
|
"preamblesGroupAConfig",
|
|
"preamblesGroupAConfig",
|
|
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_preamblesGroupAConfig_tags_20,
|
|
sizeof(asn_DEF_preamblesGroupAConfig_tags_20)
|
|
/sizeof(asn_DEF_preamblesGroupAConfig_tags_20[0]) - 1, /* 1 */
|
|
asn_DEF_preamblesGroupAConfig_tags_20, /* Same as above */
|
|
sizeof(asn_DEF_preamblesGroupAConfig_tags_20)
|
|
/sizeof(asn_DEF_preamblesGroupAConfig_tags_20[0]), /* 2 */
|
|
0, /* No PER visible constraints */
|
|
asn_MBR_preamblesGroupAConfig_20,
|
|
3, /* Elements count */
|
|
&asn_SPC_preamblesGroupAConfig_specs_20 /* Additional specs */
|
|
};
|
|
|
|
static asn_TYPE_member_t asn_MBR_preambleInfo_2[] = {
|
|
{ ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon__preambleInfo, numberOfRA_Preambles),
|
|
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_numberOfRA_Preambles_3,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"numberOfRA-Preambles"
|
|
},
|
|
{ ATF_POINTER, 1, offsetof(struct RACH_ConfigCommon__preambleInfo, preamblesGroupAConfig),
|
|
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
|
0,
|
|
&asn_DEF_preamblesGroupAConfig_20,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"preamblesGroupAConfig"
|
|
},
|
|
};
|
|
static int asn_MAP_preambleInfo_oms_2[] = { 1 };
|
|
static ber_tlv_tag_t asn_DEF_preambleInfo_tags_2[] = {
|
|
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
|
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
|
};
|
|
static asn_TYPE_tag2member_t asn_MAP_preambleInfo_tag2el_2[] = {
|
|
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* numberOfRA-Preambles at 2317 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* preamblesGroupAConfig at 2324 */
|
|
};
|
|
static asn_SEQUENCE_specifics_t asn_SPC_preambleInfo_specs_2 = {
|
|
sizeof(struct RACH_ConfigCommon__preambleInfo),
|
|
offsetof(struct RACH_ConfigCommon__preambleInfo, _asn_ctx),
|
|
asn_MAP_preambleInfo_tag2el_2,
|
|
2, /* Count of tags in the map */
|
|
asn_MAP_preambleInfo_oms_2, /* Optional members */
|
|
1, 0, /* Root/Additions */
|
|
-1, /* Start extensions */
|
|
-1 /* Stop extensions */
|
|
};
|
|
static /* Use -fall-defs-global to expose */
|
|
asn_TYPE_descriptor_t asn_DEF_preambleInfo_2 = {
|
|
"preambleInfo",
|
|
"preambleInfo",
|
|
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_preambleInfo_tags_2,
|
|
sizeof(asn_DEF_preambleInfo_tags_2)
|
|
/sizeof(asn_DEF_preambleInfo_tags_2[0]) - 1, /* 1 */
|
|
asn_DEF_preambleInfo_tags_2, /* Same as above */
|
|
sizeof(asn_DEF_preambleInfo_tags_2)
|
|
/sizeof(asn_DEF_preambleInfo_tags_2[0]), /* 2 */
|
|
0, /* No PER visible constraints */
|
|
asn_MBR_preambleInfo_2,
|
|
2, /* Elements count */
|
|
&asn_SPC_preambleInfo_specs_2 /* Additional specs */
|
|
};
|
|
|
|
static asn_INTEGER_enum_map_t asn_MAP_powerRampingStep_value2enum_53[] = {
|
|
{ 0, 3, "dB0" },
|
|
{ 1, 3, "dB2" },
|
|
{ 2, 3, "dB4" },
|
|
{ 3, 3, "dB6" }
|
|
};
|
|
static unsigned int asn_MAP_powerRampingStep_enum2value_53[] = {
|
|
0, /* dB0(0) */
|
|
1, /* dB2(1) */
|
|
2, /* dB4(2) */
|
|
3 /* dB6(3) */
|
|
};
|
|
static asn_INTEGER_specifics_t asn_SPC_powerRampingStep_specs_53 = {
|
|
asn_MAP_powerRampingStep_value2enum_53, /* "tag" => N; sorted by tag */
|
|
asn_MAP_powerRampingStep_enum2value_53, /* N => "tag"; sorted by N */
|
|
4, /* 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_powerRampingStep_tags_53[] = {
|
|
(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_powerRampingStep_53 = {
|
|
"powerRampingStep",
|
|
"powerRampingStep",
|
|
powerRampingStep_53_free,
|
|
powerRampingStep_53_print,
|
|
powerRampingStep_53_constraint,
|
|
powerRampingStep_53_decode_ber,
|
|
powerRampingStep_53_encode_der,
|
|
powerRampingStep_53_decode_xer,
|
|
powerRampingStep_53_encode_xer,
|
|
powerRampingStep_53_decode_uper,
|
|
powerRampingStep_53_encode_uper,
|
|
0, /* Use generic outmost tag fetcher */
|
|
asn_DEF_powerRampingStep_tags_53,
|
|
sizeof(asn_DEF_powerRampingStep_tags_53)
|
|
/sizeof(asn_DEF_powerRampingStep_tags_53[0]) - 1, /* 1 */
|
|
asn_DEF_powerRampingStep_tags_53, /* Same as above */
|
|
sizeof(asn_DEF_powerRampingStep_tags_53)
|
|
/sizeof(asn_DEF_powerRampingStep_tags_53[0]), /* 2 */
|
|
&asn_PER_type_powerRampingStep_constr_53,
|
|
0, 0, /* Defined elsewhere */
|
|
&asn_SPC_powerRampingStep_specs_53 /* Additional specs */
|
|
};
|
|
|
|
static asn_INTEGER_enum_map_t asn_MAP_preambleInitialReceivedTargetPower_value2enum_58[] = {
|
|
{ 0, 7, "dBm-120" },
|
|
{ 1, 7, "dBm-118" },
|
|
{ 2, 7, "dBm-116" },
|
|
{ 3, 7, "dBm-114" },
|
|
{ 4, 7, "dBm-112" },
|
|
{ 5, 7, "dBm-110" },
|
|
{ 6, 7, "dBm-108" },
|
|
{ 7, 7, "dBm-106" },
|
|
{ 8, 7, "dBm-104" },
|
|
{ 9, 7, "dBm-102" },
|
|
{ 10, 7, "dBm-100" },
|
|
{ 11, 6, "dBm-98" },
|
|
{ 12, 6, "dBm-96" },
|
|
{ 13, 6, "dBm-94" },
|
|
{ 14, 6, "dBm-92" },
|
|
{ 15, 6, "dBm-90" }
|
|
};
|
|
static unsigned int asn_MAP_preambleInitialReceivedTargetPower_enum2value_58[] = {
|
|
10, /* dBm-100(10) */
|
|
9, /* dBm-102(9) */
|
|
8, /* dBm-104(8) */
|
|
7, /* dBm-106(7) */
|
|
6, /* dBm-108(6) */
|
|
5, /* dBm-110(5) */
|
|
4, /* dBm-112(4) */
|
|
3, /* dBm-114(3) */
|
|
2, /* dBm-116(2) */
|
|
1, /* dBm-118(1) */
|
|
0, /* dBm-120(0) */
|
|
15, /* dBm-90(15) */
|
|
14, /* dBm-92(14) */
|
|
13, /* dBm-94(13) */
|
|
12, /* dBm-96(12) */
|
|
11 /* dBm-98(11) */
|
|
};
|
|
static asn_INTEGER_specifics_t asn_SPC_preambleInitialReceivedTargetPower_specs_58 = {
|
|
asn_MAP_preambleInitialReceivedTargetPower_value2enum_58, /* "tag" => N; sorted by tag */
|
|
asn_MAP_preambleInitialReceivedTargetPower_enum2value_58, /* N => "tag"; sorted by N */
|
|
16, /* 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_preambleInitialReceivedTargetPower_tags_58[] = {
|
|
(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_preambleInitialReceivedTargetPower_58 = {
|
|
"preambleInitialReceivedTargetPower",
|
|
"preambleInitialReceivedTargetPower",
|
|
preambleInitialReceivedTargetPower_58_free,
|
|
preambleInitialReceivedTargetPower_58_print,
|
|
preambleInitialReceivedTargetPower_58_constraint,
|
|
preambleInitialReceivedTargetPower_58_decode_ber,
|
|
preambleInitialReceivedTargetPower_58_encode_der,
|
|
preambleInitialReceivedTargetPower_58_decode_xer,
|
|
preambleInitialReceivedTargetPower_58_encode_xer,
|
|
preambleInitialReceivedTargetPower_58_decode_uper,
|
|
preambleInitialReceivedTargetPower_58_encode_uper,
|
|
0, /* Use generic outmost tag fetcher */
|
|
asn_DEF_preambleInitialReceivedTargetPower_tags_58,
|
|
sizeof(asn_DEF_preambleInitialReceivedTargetPower_tags_58)
|
|
/sizeof(asn_DEF_preambleInitialReceivedTargetPower_tags_58[0]) - 1, /* 1 */
|
|
asn_DEF_preambleInitialReceivedTargetPower_tags_58, /* Same as above */
|
|
sizeof(asn_DEF_preambleInitialReceivedTargetPower_tags_58)
|
|
/sizeof(asn_DEF_preambleInitialReceivedTargetPower_tags_58[0]), /* 2 */
|
|
&asn_PER_type_preambleInitialReceivedTargetPower_constr_58,
|
|
0, 0, /* Defined elsewhere */
|
|
&asn_SPC_preambleInitialReceivedTargetPower_specs_58 /* Additional specs */
|
|
};
|
|
|
|
static asn_TYPE_member_t asn_MBR_powerRampingParameters_52[] = {
|
|
{ ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon__powerRampingParameters, powerRampingStep),
|
|
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_powerRampingStep_53,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"powerRampingStep"
|
|
},
|
|
{ ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon__powerRampingParameters, preambleInitialReceivedTargetPower),
|
|
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_preambleInitialReceivedTargetPower_58,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"preambleInitialReceivedTargetPower"
|
|
},
|
|
};
|
|
static ber_tlv_tag_t asn_DEF_powerRampingParameters_tags_52[] = {
|
|
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
|
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
|
};
|
|
static asn_TYPE_tag2member_t asn_MAP_powerRampingParameters_tag2el_52[] = {
|
|
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* powerRampingStep at 2333 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* preambleInitialReceivedTargetPower at 2335 */
|
|
};
|
|
static asn_SEQUENCE_specifics_t asn_SPC_powerRampingParameters_specs_52 = {
|
|
sizeof(struct RACH_ConfigCommon__powerRampingParameters),
|
|
offsetof(struct RACH_ConfigCommon__powerRampingParameters, _asn_ctx),
|
|
asn_MAP_powerRampingParameters_tag2el_52,
|
|
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_powerRampingParameters_52 = {
|
|
"powerRampingParameters",
|
|
"powerRampingParameters",
|
|
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_powerRampingParameters_tags_52,
|
|
sizeof(asn_DEF_powerRampingParameters_tags_52)
|
|
/sizeof(asn_DEF_powerRampingParameters_tags_52[0]) - 1, /* 1 */
|
|
asn_DEF_powerRampingParameters_tags_52, /* Same as above */
|
|
sizeof(asn_DEF_powerRampingParameters_tags_52)
|
|
/sizeof(asn_DEF_powerRampingParameters_tags_52[0]), /* 2 */
|
|
0, /* No PER visible constraints */
|
|
asn_MBR_powerRampingParameters_52,
|
|
2, /* Elements count */
|
|
&asn_SPC_powerRampingParameters_specs_52 /* Additional specs */
|
|
};
|
|
|
|
static asn_INTEGER_enum_map_t asn_MAP_preambleTransMax_value2enum_76[] = {
|
|
{ 0, 2, "n3" },
|
|
{ 1, 2, "n4" },
|
|
{ 2, 2, "n5" },
|
|
{ 3, 2, "n6" },
|
|
{ 4, 2, "n7" },
|
|
{ 5, 2, "n8" },
|
|
{ 6, 3, "n10" },
|
|
{ 7, 3, "n20" },
|
|
{ 8, 3, "n50" },
|
|
{ 9, 4, "n100" },
|
|
{ 10, 4, "n200" }
|
|
};
|
|
static unsigned int asn_MAP_preambleTransMax_enum2value_76[] = {
|
|
6, /* n10(6) */
|
|
9, /* n100(9) */
|
|
7, /* n20(7) */
|
|
10, /* n200(10) */
|
|
0, /* n3(0) */
|
|
1, /* n4(1) */
|
|
2, /* n5(2) */
|
|
8, /* n50(8) */
|
|
3, /* n6(3) */
|
|
4, /* n7(4) */
|
|
5 /* n8(5) */
|
|
};
|
|
static asn_INTEGER_specifics_t asn_SPC_preambleTransMax_specs_76 = {
|
|
asn_MAP_preambleTransMax_value2enum_76, /* "tag" => N; sorted by tag */
|
|
asn_MAP_preambleTransMax_enum2value_76, /* N => "tag"; sorted by N */
|
|
11, /* 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_preambleTransMax_tags_76[] = {
|
|
(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_preambleTransMax_76 = {
|
|
"preambleTransMax",
|
|
"preambleTransMax",
|
|
preambleTransMax_76_free,
|
|
preambleTransMax_76_print,
|
|
preambleTransMax_76_constraint,
|
|
preambleTransMax_76_decode_ber,
|
|
preambleTransMax_76_encode_der,
|
|
preambleTransMax_76_decode_xer,
|
|
preambleTransMax_76_encode_xer,
|
|
preambleTransMax_76_decode_uper,
|
|
preambleTransMax_76_encode_uper,
|
|
0, /* Use generic outmost tag fetcher */
|
|
asn_DEF_preambleTransMax_tags_76,
|
|
sizeof(asn_DEF_preambleTransMax_tags_76)
|
|
/sizeof(asn_DEF_preambleTransMax_tags_76[0]) - 1, /* 1 */
|
|
asn_DEF_preambleTransMax_tags_76, /* Same as above */
|
|
sizeof(asn_DEF_preambleTransMax_tags_76)
|
|
/sizeof(asn_DEF_preambleTransMax_tags_76[0]), /* 2 */
|
|
&asn_PER_type_preambleTransMax_constr_76,
|
|
0, 0, /* Defined elsewhere */
|
|
&asn_SPC_preambleTransMax_specs_76 /* Additional specs */
|
|
};
|
|
|
|
static asn_INTEGER_enum_map_t asn_MAP_ra_ResponseWindowSize_value2enum_88[] = {
|
|
{ 0, 3, "sf2" },
|
|
{ 1, 3, "sf3" },
|
|
{ 2, 3, "sf4" },
|
|
{ 3, 3, "sf5" },
|
|
{ 4, 3, "sf6" },
|
|
{ 5, 3, "sf7" },
|
|
{ 6, 3, "sf8" },
|
|
{ 7, 4, "sf10" }
|
|
};
|
|
static unsigned int asn_MAP_ra_ResponseWindowSize_enum2value_88[] = {
|
|
7, /* sf10(7) */
|
|
0, /* sf2(0) */
|
|
1, /* sf3(1) */
|
|
2, /* sf4(2) */
|
|
3, /* sf5(3) */
|
|
4, /* sf6(4) */
|
|
5, /* sf7(5) */
|
|
6 /* sf8(6) */
|
|
};
|
|
static asn_INTEGER_specifics_t asn_SPC_ra_ResponseWindowSize_specs_88 = {
|
|
asn_MAP_ra_ResponseWindowSize_value2enum_88, /* "tag" => N; sorted by tag */
|
|
asn_MAP_ra_ResponseWindowSize_enum2value_88, /* 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_ra_ResponseWindowSize_tags_88[] = {
|
|
(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_ra_ResponseWindowSize_88 = {
|
|
"ra-ResponseWindowSize",
|
|
"ra-ResponseWindowSize",
|
|
ra_ResponseWindowSize_88_free,
|
|
ra_ResponseWindowSize_88_print,
|
|
ra_ResponseWindowSize_88_constraint,
|
|
ra_ResponseWindowSize_88_decode_ber,
|
|
ra_ResponseWindowSize_88_encode_der,
|
|
ra_ResponseWindowSize_88_decode_xer,
|
|
ra_ResponseWindowSize_88_encode_xer,
|
|
ra_ResponseWindowSize_88_decode_uper,
|
|
ra_ResponseWindowSize_88_encode_uper,
|
|
0, /* Use generic outmost tag fetcher */
|
|
asn_DEF_ra_ResponseWindowSize_tags_88,
|
|
sizeof(asn_DEF_ra_ResponseWindowSize_tags_88)
|
|
/sizeof(asn_DEF_ra_ResponseWindowSize_tags_88[0]) - 1, /* 1 */
|
|
asn_DEF_ra_ResponseWindowSize_tags_88, /* Same as above */
|
|
sizeof(asn_DEF_ra_ResponseWindowSize_tags_88)
|
|
/sizeof(asn_DEF_ra_ResponseWindowSize_tags_88[0]), /* 2 */
|
|
&asn_PER_type_ra_ResponseWindowSize_constr_88,
|
|
0, 0, /* Defined elsewhere */
|
|
&asn_SPC_ra_ResponseWindowSize_specs_88 /* Additional specs */
|
|
};
|
|
|
|
static asn_INTEGER_enum_map_t asn_MAP_mac_ContentionResolutionTimer_value2enum_97[] = {
|
|
{ 0, 3, "sf8" },
|
|
{ 1, 4, "sf16" },
|
|
{ 2, 4, "sf24" },
|
|
{ 3, 4, "sf32" },
|
|
{ 4, 4, "sf40" },
|
|
{ 5, 4, "sf48" },
|
|
{ 6, 4, "sf56" },
|
|
{ 7, 4, "sf64" }
|
|
};
|
|
static unsigned int asn_MAP_mac_ContentionResolutionTimer_enum2value_97[] = {
|
|
1, /* sf16(1) */
|
|
2, /* sf24(2) */
|
|
3, /* sf32(3) */
|
|
4, /* sf40(4) */
|
|
5, /* sf48(5) */
|
|
6, /* sf56(6) */
|
|
7, /* sf64(7) */
|
|
0 /* sf8(0) */
|
|
};
|
|
static asn_INTEGER_specifics_t asn_SPC_mac_ContentionResolutionTimer_specs_97 = {
|
|
asn_MAP_mac_ContentionResolutionTimer_value2enum_97, /* "tag" => N; sorted by tag */
|
|
asn_MAP_mac_ContentionResolutionTimer_enum2value_97, /* 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_mac_ContentionResolutionTimer_tags_97[] = {
|
|
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
|
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
|
|
};
|
|
static /* Use -fall-defs-global to expose */
|
|
asn_TYPE_descriptor_t asn_DEF_mac_ContentionResolutionTimer_97 = {
|
|
"mac-ContentionResolutionTimer",
|
|
"mac-ContentionResolutionTimer",
|
|
mac_ContentionResolutionTimer_97_free,
|
|
mac_ContentionResolutionTimer_97_print,
|
|
mac_ContentionResolutionTimer_97_constraint,
|
|
mac_ContentionResolutionTimer_97_decode_ber,
|
|
mac_ContentionResolutionTimer_97_encode_der,
|
|
mac_ContentionResolutionTimer_97_decode_xer,
|
|
mac_ContentionResolutionTimer_97_encode_xer,
|
|
mac_ContentionResolutionTimer_97_decode_uper,
|
|
mac_ContentionResolutionTimer_97_encode_uper,
|
|
0, /* Use generic outmost tag fetcher */
|
|
asn_DEF_mac_ContentionResolutionTimer_tags_97,
|
|
sizeof(asn_DEF_mac_ContentionResolutionTimer_tags_97)
|
|
/sizeof(asn_DEF_mac_ContentionResolutionTimer_tags_97[0]) - 1, /* 1 */
|
|
asn_DEF_mac_ContentionResolutionTimer_tags_97, /* Same as above */
|
|
sizeof(asn_DEF_mac_ContentionResolutionTimer_tags_97)
|
|
/sizeof(asn_DEF_mac_ContentionResolutionTimer_tags_97[0]), /* 2 */
|
|
&asn_PER_type_mac_ContentionResolutionTimer_constr_97,
|
|
0, 0, /* Defined elsewhere */
|
|
&asn_SPC_mac_ContentionResolutionTimer_specs_97 /* Additional specs */
|
|
};
|
|
|
|
static asn_TYPE_member_t asn_MBR_ra_SupervisionInfo_75[] = {
|
|
{ ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon__ra_SupervisionInfo, preambleTransMax),
|
|
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_preambleTransMax_76,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"preambleTransMax"
|
|
},
|
|
{ ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon__ra_SupervisionInfo, ra_ResponseWindowSize),
|
|
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_ra_ResponseWindowSize_88,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"ra-ResponseWindowSize"
|
|
},
|
|
{ ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon__ra_SupervisionInfo, mac_ContentionResolutionTimer),
|
|
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_mac_ContentionResolutionTimer_97,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"mac-ContentionResolutionTimer"
|
|
},
|
|
};
|
|
static ber_tlv_tag_t asn_DEF_ra_SupervisionInfo_tags_75[] = {
|
|
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
|
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
|
};
|
|
static asn_TYPE_tag2member_t asn_MAP_ra_SupervisionInfo_tag2el_75[] = {
|
|
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* preambleTransMax at 2342 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ra-ResponseWindowSize at 2345 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* mac-ContentionResolutionTimer at 2348 */
|
|
};
|
|
static asn_SEQUENCE_specifics_t asn_SPC_ra_SupervisionInfo_specs_75 = {
|
|
sizeof(struct RACH_ConfigCommon__ra_SupervisionInfo),
|
|
offsetof(struct RACH_ConfigCommon__ra_SupervisionInfo, _asn_ctx),
|
|
asn_MAP_ra_SupervisionInfo_tag2el_75,
|
|
3, /* 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_ra_SupervisionInfo_75 = {
|
|
"ra-SupervisionInfo",
|
|
"ra-SupervisionInfo",
|
|
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_ra_SupervisionInfo_tags_75,
|
|
sizeof(asn_DEF_ra_SupervisionInfo_tags_75)
|
|
/sizeof(asn_DEF_ra_SupervisionInfo_tags_75[0]) - 1, /* 1 */
|
|
asn_DEF_ra_SupervisionInfo_tags_75, /* Same as above */
|
|
sizeof(asn_DEF_ra_SupervisionInfo_tags_75)
|
|
/sizeof(asn_DEF_ra_SupervisionInfo_tags_75[0]), /* 2 */
|
|
0, /* No PER visible constraints */
|
|
asn_MBR_ra_SupervisionInfo_75,
|
|
3, /* Elements count */
|
|
&asn_SPC_ra_SupervisionInfo_specs_75 /* Additional specs */
|
|
};
|
|
|
|
static asn_TYPE_member_t asn_MBR_RACH_ConfigCommon_1[] = {
|
|
{ ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon, preambleInfo),
|
|
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
|
0,
|
|
&asn_DEF_preambleInfo_2,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"preambleInfo"
|
|
},
|
|
{ ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon, powerRampingParameters),
|
|
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
|
0,
|
|
&asn_DEF_powerRampingParameters_52,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"powerRampingParameters"
|
|
},
|
|
{ ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon, ra_SupervisionInfo),
|
|
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
|
0,
|
|
&asn_DEF_ra_SupervisionInfo_75,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"ra-SupervisionInfo"
|
|
},
|
|
{ ATF_NOFLAGS, 0, offsetof(struct RACH_ConfigCommon, maxHARQ_Msg3Tx),
|
|
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_NativeInteger,
|
|
memb_maxHARQ_Msg3Tx_constraint_1,
|
|
&asn_PER_memb_maxHARQ_Msg3Tx_constr_106,
|
|
0,
|
|
"maxHARQ-Msg3Tx"
|
|
},
|
|
};
|
|
static ber_tlv_tag_t asn_DEF_RACH_ConfigCommon_tags_1[] = {
|
|
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
|
};
|
|
static asn_TYPE_tag2member_t asn_MAP_RACH_ConfigCommon_tag2el_1[] = {
|
|
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* preambleInfo at 2319 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* powerRampingParameters at 2333 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ra-SupervisionInfo at 2343 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* maxHARQ-Msg3Tx at 2351 */
|
|
};
|
|
static asn_SEQUENCE_specifics_t asn_SPC_RACH_ConfigCommon_specs_1 = {
|
|
sizeof(struct RACH_ConfigCommon),
|
|
offsetof(struct RACH_ConfigCommon, _asn_ctx),
|
|
asn_MAP_RACH_ConfigCommon_tag2el_1,
|
|
4, /* Count of tags in the map */
|
|
0, 0, 0, /* Optional elements (not needed) */
|
|
3, /* Start extensions */
|
|
5 /* Stop extensions */
|
|
};
|
|
asn_TYPE_descriptor_t asn_DEF_RACH_ConfigCommon = {
|
|
"RACH-ConfigCommon",
|
|
"RACH-ConfigCommon",
|
|
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_RACH_ConfigCommon_tags_1,
|
|
sizeof(asn_DEF_RACH_ConfigCommon_tags_1)
|
|
/sizeof(asn_DEF_RACH_ConfigCommon_tags_1[0]), /* 1 */
|
|
asn_DEF_RACH_ConfigCommon_tags_1, /* Same as above */
|
|
sizeof(asn_DEF_RACH_ConfigCommon_tags_1)
|
|
/sizeof(asn_DEF_RACH_ConfigCommon_tags_1[0]), /* 1 */
|
|
0, /* No PER visible constraints */
|
|
asn_MBR_RACH_ConfigCommon_1,
|
|
4, /* Elements count */
|
|
&asn_SPC_RACH_ConfigCommon_specs_1 /* Additional specs */
|
|
};
|
|
|