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.
1794 lines
65 KiB
C
1794 lines
65 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 "MAC-MainConfig.h"
|
|
|
|
static int
|
|
maxHARQ_Tx_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
|
|
maxHARQ_Tx_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
|
|
maxHARQ_Tx_3_free(asn_TYPE_descriptor_t *td,
|
|
void *struct_ptr, int contents_only) {
|
|
maxHARQ_Tx_3_inherit_TYPE_descriptor(td);
|
|
td->free_struct(td, struct_ptr, contents_only);
|
|
}
|
|
|
|
static int
|
|
maxHARQ_Tx_3_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
|
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
|
|
maxHARQ_Tx_3_inherit_TYPE_descriptor(td);
|
|
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
maxHARQ_Tx_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) {
|
|
maxHARQ_Tx_3_inherit_TYPE_descriptor(td);
|
|
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
maxHARQ_Tx_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) {
|
|
maxHARQ_Tx_3_inherit_TYPE_descriptor(td);
|
|
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
maxHARQ_Tx_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) {
|
|
maxHARQ_Tx_3_inherit_TYPE_descriptor(td);
|
|
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
maxHARQ_Tx_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) {
|
|
maxHARQ_Tx_3_inherit_TYPE_descriptor(td);
|
|
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
maxHARQ_Tx_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) {
|
|
maxHARQ_Tx_3_inherit_TYPE_descriptor(td);
|
|
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
maxHARQ_Tx_3_encode_uper(asn_TYPE_descriptor_t *td,
|
|
asn_per_constraints_t *constraints,
|
|
void *structure, asn_per_outp_t *per_out) {
|
|
maxHARQ_Tx_3_inherit_TYPE_descriptor(td);
|
|
return td->uper_encoder(td, constraints, structure, per_out);
|
|
}
|
|
|
|
static int
|
|
periodicBSR_Timer_20_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
|
|
periodicBSR_Timer_20_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
|
|
periodicBSR_Timer_20_free(asn_TYPE_descriptor_t *td,
|
|
void *struct_ptr, int contents_only) {
|
|
periodicBSR_Timer_20_inherit_TYPE_descriptor(td);
|
|
td->free_struct(td, struct_ptr, contents_only);
|
|
}
|
|
|
|
static int
|
|
periodicBSR_Timer_20_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
|
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
|
|
periodicBSR_Timer_20_inherit_TYPE_descriptor(td);
|
|
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
periodicBSR_Timer_20_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) {
|
|
periodicBSR_Timer_20_inherit_TYPE_descriptor(td);
|
|
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
periodicBSR_Timer_20_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) {
|
|
periodicBSR_Timer_20_inherit_TYPE_descriptor(td);
|
|
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
periodicBSR_Timer_20_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) {
|
|
periodicBSR_Timer_20_inherit_TYPE_descriptor(td);
|
|
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
periodicBSR_Timer_20_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) {
|
|
periodicBSR_Timer_20_inherit_TYPE_descriptor(td);
|
|
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
periodicBSR_Timer_20_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) {
|
|
periodicBSR_Timer_20_inherit_TYPE_descriptor(td);
|
|
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
periodicBSR_Timer_20_encode_uper(asn_TYPE_descriptor_t *td,
|
|
asn_per_constraints_t *constraints,
|
|
void *structure, asn_per_outp_t *per_out) {
|
|
periodicBSR_Timer_20_inherit_TYPE_descriptor(td);
|
|
return td->uper_encoder(td, constraints, structure, per_out);
|
|
}
|
|
|
|
static int
|
|
retxBSR_Timer_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
|
|
retxBSR_Timer_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
|
|
retxBSR_Timer_37_free(asn_TYPE_descriptor_t *td,
|
|
void *struct_ptr, int contents_only) {
|
|
retxBSR_Timer_37_inherit_TYPE_descriptor(td);
|
|
td->free_struct(td, struct_ptr, contents_only);
|
|
}
|
|
|
|
static int
|
|
retxBSR_Timer_37_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
|
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
|
|
retxBSR_Timer_37_inherit_TYPE_descriptor(td);
|
|
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
retxBSR_Timer_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) {
|
|
retxBSR_Timer_37_inherit_TYPE_descriptor(td);
|
|
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
retxBSR_Timer_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) {
|
|
retxBSR_Timer_37_inherit_TYPE_descriptor(td);
|
|
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
retxBSR_Timer_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) {
|
|
retxBSR_Timer_37_inherit_TYPE_descriptor(td);
|
|
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
retxBSR_Timer_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) {
|
|
retxBSR_Timer_37_inherit_TYPE_descriptor(td);
|
|
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
retxBSR_Timer_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) {
|
|
retxBSR_Timer_37_inherit_TYPE_descriptor(td);
|
|
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
retxBSR_Timer_37_encode_uper(asn_TYPE_descriptor_t *td,
|
|
asn_per_constraints_t *constraints,
|
|
void *structure, asn_per_outp_t *per_out) {
|
|
retxBSR_Timer_37_inherit_TYPE_descriptor(td);
|
|
return td->uper_encoder(td, constraints, structure, per_out);
|
|
}
|
|
|
|
static int
|
|
periodicPHR_Timer_52_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
|
|
periodicPHR_Timer_52_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
|
|
periodicPHR_Timer_52_free(asn_TYPE_descriptor_t *td,
|
|
void *struct_ptr, int contents_only) {
|
|
periodicPHR_Timer_52_inherit_TYPE_descriptor(td);
|
|
td->free_struct(td, struct_ptr, contents_only);
|
|
}
|
|
|
|
static int
|
|
periodicPHR_Timer_52_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
|
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
|
|
periodicPHR_Timer_52_inherit_TYPE_descriptor(td);
|
|
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
periodicPHR_Timer_52_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) {
|
|
periodicPHR_Timer_52_inherit_TYPE_descriptor(td);
|
|
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
periodicPHR_Timer_52_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) {
|
|
periodicPHR_Timer_52_inherit_TYPE_descriptor(td);
|
|
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
periodicPHR_Timer_52_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) {
|
|
periodicPHR_Timer_52_inherit_TYPE_descriptor(td);
|
|
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
periodicPHR_Timer_52_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) {
|
|
periodicPHR_Timer_52_inherit_TYPE_descriptor(td);
|
|
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
periodicPHR_Timer_52_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) {
|
|
periodicPHR_Timer_52_inherit_TYPE_descriptor(td);
|
|
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
periodicPHR_Timer_52_encode_uper(asn_TYPE_descriptor_t *td,
|
|
asn_per_constraints_t *constraints,
|
|
void *structure, asn_per_outp_t *per_out) {
|
|
periodicPHR_Timer_52_inherit_TYPE_descriptor(td);
|
|
return td->uper_encoder(td, constraints, structure, per_out);
|
|
}
|
|
|
|
static int
|
|
prohibitPHR_Timer_61_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
|
|
prohibitPHR_Timer_61_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
|
|
prohibitPHR_Timer_61_free(asn_TYPE_descriptor_t *td,
|
|
void *struct_ptr, int contents_only) {
|
|
prohibitPHR_Timer_61_inherit_TYPE_descriptor(td);
|
|
td->free_struct(td, struct_ptr, contents_only);
|
|
}
|
|
|
|
static int
|
|
prohibitPHR_Timer_61_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
|
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
|
|
prohibitPHR_Timer_61_inherit_TYPE_descriptor(td);
|
|
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
prohibitPHR_Timer_61_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) {
|
|
prohibitPHR_Timer_61_inherit_TYPE_descriptor(td);
|
|
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
prohibitPHR_Timer_61_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) {
|
|
prohibitPHR_Timer_61_inherit_TYPE_descriptor(td);
|
|
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
prohibitPHR_Timer_61_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) {
|
|
prohibitPHR_Timer_61_inherit_TYPE_descriptor(td);
|
|
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
prohibitPHR_Timer_61_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) {
|
|
prohibitPHR_Timer_61_inherit_TYPE_descriptor(td);
|
|
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
prohibitPHR_Timer_61_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) {
|
|
prohibitPHR_Timer_61_inherit_TYPE_descriptor(td);
|
|
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
prohibitPHR_Timer_61_encode_uper(asn_TYPE_descriptor_t *td,
|
|
asn_per_constraints_t *constraints,
|
|
void *structure, asn_per_outp_t *per_out) {
|
|
prohibitPHR_Timer_61_inherit_TYPE_descriptor(td);
|
|
return td->uper_encoder(td, constraints, structure, per_out);
|
|
}
|
|
|
|
static int
|
|
dl_PathlossChange_70_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
|
|
dl_PathlossChange_70_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
|
|
dl_PathlossChange_70_free(asn_TYPE_descriptor_t *td,
|
|
void *struct_ptr, int contents_only) {
|
|
dl_PathlossChange_70_inherit_TYPE_descriptor(td);
|
|
td->free_struct(td, struct_ptr, contents_only);
|
|
}
|
|
|
|
static int
|
|
dl_PathlossChange_70_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
|
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
|
|
dl_PathlossChange_70_inherit_TYPE_descriptor(td);
|
|
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
dl_PathlossChange_70_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) {
|
|
dl_PathlossChange_70_inherit_TYPE_descriptor(td);
|
|
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
dl_PathlossChange_70_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) {
|
|
dl_PathlossChange_70_inherit_TYPE_descriptor(td);
|
|
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
dl_PathlossChange_70_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) {
|
|
dl_PathlossChange_70_inherit_TYPE_descriptor(td);
|
|
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
dl_PathlossChange_70_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) {
|
|
dl_PathlossChange_70_inherit_TYPE_descriptor(td);
|
|
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
dl_PathlossChange_70_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) {
|
|
dl_PathlossChange_70_inherit_TYPE_descriptor(td);
|
|
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
dl_PathlossChange_70_encode_uper(asn_TYPE_descriptor_t *td,
|
|
asn_per_constraints_t *constraints,
|
|
void *structure, asn_per_outp_t *per_out) {
|
|
dl_PathlossChange_70_inherit_TYPE_descriptor(td);
|
|
return td->uper_encoder(td, constraints, structure, per_out);
|
|
}
|
|
|
|
static int
|
|
sCellDeactivationTimer_r10_77_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
|
|
sCellDeactivationTimer_r10_77_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
|
|
sCellDeactivationTimer_r10_77_free(asn_TYPE_descriptor_t *td,
|
|
void *struct_ptr, int contents_only) {
|
|
sCellDeactivationTimer_r10_77_inherit_TYPE_descriptor(td);
|
|
td->free_struct(td, struct_ptr, contents_only);
|
|
}
|
|
|
|
static int
|
|
sCellDeactivationTimer_r10_77_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
|
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
|
|
sCellDeactivationTimer_r10_77_inherit_TYPE_descriptor(td);
|
|
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
sCellDeactivationTimer_r10_77_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) {
|
|
sCellDeactivationTimer_r10_77_inherit_TYPE_descriptor(td);
|
|
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
sCellDeactivationTimer_r10_77_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) {
|
|
sCellDeactivationTimer_r10_77_inherit_TYPE_descriptor(td);
|
|
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
sCellDeactivationTimer_r10_77_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) {
|
|
sCellDeactivationTimer_r10_77_inherit_TYPE_descriptor(td);
|
|
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
sCellDeactivationTimer_r10_77_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) {
|
|
sCellDeactivationTimer_r10_77_inherit_TYPE_descriptor(td);
|
|
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
sCellDeactivationTimer_r10_77_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) {
|
|
sCellDeactivationTimer_r10_77_inherit_TYPE_descriptor(td);
|
|
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
sCellDeactivationTimer_r10_77_encode_uper(asn_TYPE_descriptor_t *td,
|
|
asn_per_constraints_t *constraints,
|
|
void *structure, asn_per_outp_t *per_out) {
|
|
sCellDeactivationTimer_r10_77_inherit_TYPE_descriptor(td);
|
|
return td->uper_encoder(td, constraints, structure, per_out);
|
|
}
|
|
|
|
static int
|
|
extendedBSR_Sizes_r10_86_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
|
|
extendedBSR_Sizes_r10_86_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
|
|
extendedBSR_Sizes_r10_86_free(asn_TYPE_descriptor_t *td,
|
|
void *struct_ptr, int contents_only) {
|
|
extendedBSR_Sizes_r10_86_inherit_TYPE_descriptor(td);
|
|
td->free_struct(td, struct_ptr, contents_only);
|
|
}
|
|
|
|
static int
|
|
extendedBSR_Sizes_r10_86_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
|
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
|
|
extendedBSR_Sizes_r10_86_inherit_TYPE_descriptor(td);
|
|
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
extendedBSR_Sizes_r10_86_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) {
|
|
extendedBSR_Sizes_r10_86_inherit_TYPE_descriptor(td);
|
|
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
extendedBSR_Sizes_r10_86_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) {
|
|
extendedBSR_Sizes_r10_86_inherit_TYPE_descriptor(td);
|
|
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
extendedBSR_Sizes_r10_86_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) {
|
|
extendedBSR_Sizes_r10_86_inherit_TYPE_descriptor(td);
|
|
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
extendedBSR_Sizes_r10_86_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) {
|
|
extendedBSR_Sizes_r10_86_inherit_TYPE_descriptor(td);
|
|
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
extendedBSR_Sizes_r10_86_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) {
|
|
extendedBSR_Sizes_r10_86_inherit_TYPE_descriptor(td);
|
|
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
extendedBSR_Sizes_r10_86_encode_uper(asn_TYPE_descriptor_t *td,
|
|
asn_per_constraints_t *constraints,
|
|
void *structure, asn_per_outp_t *per_out) {
|
|
extendedBSR_Sizes_r10_86_inherit_TYPE_descriptor(td);
|
|
return td->uper_encoder(td, constraints, structure, per_out);
|
|
}
|
|
|
|
static int
|
|
extendedPHR_r10_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
|
|
extendedPHR_r10_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
|
|
extendedPHR_r10_88_free(asn_TYPE_descriptor_t *td,
|
|
void *struct_ptr, int contents_only) {
|
|
extendedPHR_r10_88_inherit_TYPE_descriptor(td);
|
|
td->free_struct(td, struct_ptr, contents_only);
|
|
}
|
|
|
|
static int
|
|
extendedPHR_r10_88_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
|
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
|
|
extendedPHR_r10_88_inherit_TYPE_descriptor(td);
|
|
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
extendedPHR_r10_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) {
|
|
extendedPHR_r10_88_inherit_TYPE_descriptor(td);
|
|
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
extendedPHR_r10_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) {
|
|
extendedPHR_r10_88_inherit_TYPE_descriptor(td);
|
|
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
extendedPHR_r10_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) {
|
|
extendedPHR_r10_88_inherit_TYPE_descriptor(td);
|
|
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
extendedPHR_r10_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) {
|
|
extendedPHR_r10_88_inherit_TYPE_descriptor(td);
|
|
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
|
}
|
|
|
|
static asn_dec_rval_t
|
|
extendedPHR_r10_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) {
|
|
extendedPHR_r10_88_inherit_TYPE_descriptor(td);
|
|
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
|
|
}
|
|
|
|
static asn_enc_rval_t
|
|
extendedPHR_r10_88_encode_uper(asn_TYPE_descriptor_t *td,
|
|
asn_per_constraints_t *constraints,
|
|
void *structure, asn_per_outp_t *per_out) {
|
|
extendedPHR_r10_88_inherit_TYPE_descriptor(td);
|
|
return td->uper_encoder(td, constraints, structure, per_out);
|
|
}
|
|
|
|
static int
|
|
memb_sr_ProhibitTimer_r9_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 >= 0 && value <= 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 asn_per_constraints_t asn_PER_type_maxHARQ_Tx_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_periodicBSR_Timer_constr_20 = {
|
|
{ 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_retxBSR_Timer_constr_37 = {
|
|
{ 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_periodicPHR_Timer_constr_52 = {
|
|
{ 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_prohibitPHR_Timer_constr_61 = {
|
|
{ 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_dl_PathlossChange_constr_70 = {
|
|
{ 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_phr_Config_constr_49 = {
|
|
{ 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_sCellDeactivationTimer_r10_constr_77 = {
|
|
{ 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_extendedBSR_Sizes_r10_constr_86 = {
|
|
{ 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_extendedPHR_r10_constr_88 = {
|
|
{ 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_memb_sr_ProhibitTimer_r9_constr_75 = {
|
|
{ APC_CONSTRAINED, 3, 3, 0, 7 } /* (0..7) */,
|
|
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
|
0, 0 /* No PER value map */
|
|
};
|
|
static asn_INTEGER_enum_map_t asn_MAP_maxHARQ_Tx_value2enum_3[] = {
|
|
{ 0, 2, "n1" },
|
|
{ 1, 2, "n2" },
|
|
{ 2, 2, "n3" },
|
|
{ 3, 2, "n4" },
|
|
{ 4, 2, "n5" },
|
|
{ 5, 2, "n6" },
|
|
{ 6, 2, "n7" },
|
|
{ 7, 2, "n8" },
|
|
{ 8, 3, "n10" },
|
|
{ 9, 3, "n12" },
|
|
{ 10, 3, "n16" },
|
|
{ 11, 3, "n20" },
|
|
{ 12, 3, "n24" },
|
|
{ 13, 3, "n28" },
|
|
{ 14, 6, "spare2" },
|
|
{ 15, 6, "spare1" }
|
|
};
|
|
static unsigned int asn_MAP_maxHARQ_Tx_enum2value_3[] = {
|
|
0, /* n1(0) */
|
|
8, /* n10(8) */
|
|
9, /* n12(9) */
|
|
10, /* n16(10) */
|
|
1, /* n2(1) */
|
|
11, /* n20(11) */
|
|
12, /* n24(12) */
|
|
13, /* n28(13) */
|
|
2, /* n3(2) */
|
|
3, /* n4(3) */
|
|
4, /* n5(4) */
|
|
5, /* n6(5) */
|
|
6, /* n7(6) */
|
|
7, /* n8(7) */
|
|
15, /* spare1(15) */
|
|
14 /* spare2(14) */
|
|
};
|
|
static asn_INTEGER_specifics_t asn_SPC_maxHARQ_Tx_specs_3 = {
|
|
asn_MAP_maxHARQ_Tx_value2enum_3, /* "tag" => N; sorted by tag */
|
|
asn_MAP_maxHARQ_Tx_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_maxHARQ_Tx_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_maxHARQ_Tx_3 = {
|
|
"maxHARQ-Tx",
|
|
"maxHARQ-Tx",
|
|
maxHARQ_Tx_3_free,
|
|
maxHARQ_Tx_3_print,
|
|
maxHARQ_Tx_3_constraint,
|
|
maxHARQ_Tx_3_decode_ber,
|
|
maxHARQ_Tx_3_encode_der,
|
|
maxHARQ_Tx_3_decode_xer,
|
|
maxHARQ_Tx_3_encode_xer,
|
|
maxHARQ_Tx_3_decode_uper,
|
|
maxHARQ_Tx_3_encode_uper,
|
|
0, /* Use generic outmost tag fetcher */
|
|
asn_DEF_maxHARQ_Tx_tags_3,
|
|
sizeof(asn_DEF_maxHARQ_Tx_tags_3)
|
|
/sizeof(asn_DEF_maxHARQ_Tx_tags_3[0]) - 1, /* 1 */
|
|
asn_DEF_maxHARQ_Tx_tags_3, /* Same as above */
|
|
sizeof(asn_DEF_maxHARQ_Tx_tags_3)
|
|
/sizeof(asn_DEF_maxHARQ_Tx_tags_3[0]), /* 2 */
|
|
&asn_PER_type_maxHARQ_Tx_constr_3,
|
|
0, 0, /* Defined elsewhere */
|
|
&asn_SPC_maxHARQ_Tx_specs_3 /* Additional specs */
|
|
};
|
|
|
|
static asn_INTEGER_enum_map_t asn_MAP_periodicBSR_Timer_value2enum_20[] = {
|
|
{ 0, 3, "sf5" },
|
|
{ 1, 4, "sf10" },
|
|
{ 2, 4, "sf16" },
|
|
{ 3, 4, "sf20" },
|
|
{ 4, 4, "sf32" },
|
|
{ 5, 4, "sf40" },
|
|
{ 6, 4, "sf64" },
|
|
{ 7, 4, "sf80" },
|
|
{ 8, 5, "sf128" },
|
|
{ 9, 5, "sf160" },
|
|
{ 10, 5, "sf320" },
|
|
{ 11, 5, "sf640" },
|
|
{ 12, 6, "sf1280" },
|
|
{ 13, 6, "sf2560" },
|
|
{ 14, 8, "infinity" },
|
|
{ 15, 6, "spare1" }
|
|
};
|
|
static unsigned int asn_MAP_periodicBSR_Timer_enum2value_20[] = {
|
|
14, /* infinity(14) */
|
|
1, /* sf10(1) */
|
|
8, /* sf128(8) */
|
|
12, /* sf1280(12) */
|
|
2, /* sf16(2) */
|
|
9, /* sf160(9) */
|
|
3, /* sf20(3) */
|
|
13, /* sf2560(13) */
|
|
4, /* sf32(4) */
|
|
10, /* sf320(10) */
|
|
5, /* sf40(5) */
|
|
0, /* sf5(0) */
|
|
6, /* sf64(6) */
|
|
11, /* sf640(11) */
|
|
7, /* sf80(7) */
|
|
15 /* spare1(15) */
|
|
};
|
|
static asn_INTEGER_specifics_t asn_SPC_periodicBSR_Timer_specs_20 = {
|
|
asn_MAP_periodicBSR_Timer_value2enum_20, /* "tag" => N; sorted by tag */
|
|
asn_MAP_periodicBSR_Timer_enum2value_20, /* 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_periodicBSR_Timer_tags_20[] = {
|
|
(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_periodicBSR_Timer_20 = {
|
|
"periodicBSR-Timer",
|
|
"periodicBSR-Timer",
|
|
periodicBSR_Timer_20_free,
|
|
periodicBSR_Timer_20_print,
|
|
periodicBSR_Timer_20_constraint,
|
|
periodicBSR_Timer_20_decode_ber,
|
|
periodicBSR_Timer_20_encode_der,
|
|
periodicBSR_Timer_20_decode_xer,
|
|
periodicBSR_Timer_20_encode_xer,
|
|
periodicBSR_Timer_20_decode_uper,
|
|
periodicBSR_Timer_20_encode_uper,
|
|
0, /* Use generic outmost tag fetcher */
|
|
asn_DEF_periodicBSR_Timer_tags_20,
|
|
sizeof(asn_DEF_periodicBSR_Timer_tags_20)
|
|
/sizeof(asn_DEF_periodicBSR_Timer_tags_20[0]) - 1, /* 1 */
|
|
asn_DEF_periodicBSR_Timer_tags_20, /* Same as above */
|
|
sizeof(asn_DEF_periodicBSR_Timer_tags_20)
|
|
/sizeof(asn_DEF_periodicBSR_Timer_tags_20[0]), /* 2 */
|
|
&asn_PER_type_periodicBSR_Timer_constr_20,
|
|
0, 0, /* Defined elsewhere */
|
|
&asn_SPC_periodicBSR_Timer_specs_20 /* Additional specs */
|
|
};
|
|
|
|
static asn_INTEGER_enum_map_t asn_MAP_retxBSR_Timer_value2enum_37[] = {
|
|
{ 0, 5, "sf320" },
|
|
{ 1, 5, "sf640" },
|
|
{ 2, 6, "sf1280" },
|
|
{ 3, 6, "sf2560" },
|
|
{ 4, 6, "sf5120" },
|
|
{ 5, 7, "sf10240" },
|
|
{ 6, 6, "spare2" },
|
|
{ 7, 6, "spare1" }
|
|
};
|
|
static unsigned int asn_MAP_retxBSR_Timer_enum2value_37[] = {
|
|
5, /* sf10240(5) */
|
|
2, /* sf1280(2) */
|
|
3, /* sf2560(3) */
|
|
0, /* sf320(0) */
|
|
4, /* sf5120(4) */
|
|
1, /* sf640(1) */
|
|
7, /* spare1(7) */
|
|
6 /* spare2(6) */
|
|
};
|
|
static asn_INTEGER_specifics_t asn_SPC_retxBSR_Timer_specs_37 = {
|
|
asn_MAP_retxBSR_Timer_value2enum_37, /* "tag" => N; sorted by tag */
|
|
asn_MAP_retxBSR_Timer_enum2value_37, /* 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_retxBSR_Timer_tags_37[] = {
|
|
(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_retxBSR_Timer_37 = {
|
|
"retxBSR-Timer",
|
|
"retxBSR-Timer",
|
|
retxBSR_Timer_37_free,
|
|
retxBSR_Timer_37_print,
|
|
retxBSR_Timer_37_constraint,
|
|
retxBSR_Timer_37_decode_ber,
|
|
retxBSR_Timer_37_encode_der,
|
|
retxBSR_Timer_37_decode_xer,
|
|
retxBSR_Timer_37_encode_xer,
|
|
retxBSR_Timer_37_decode_uper,
|
|
retxBSR_Timer_37_encode_uper,
|
|
0, /* Use generic outmost tag fetcher */
|
|
asn_DEF_retxBSR_Timer_tags_37,
|
|
sizeof(asn_DEF_retxBSR_Timer_tags_37)
|
|
/sizeof(asn_DEF_retxBSR_Timer_tags_37[0]) - 1, /* 1 */
|
|
asn_DEF_retxBSR_Timer_tags_37, /* Same as above */
|
|
sizeof(asn_DEF_retxBSR_Timer_tags_37)
|
|
/sizeof(asn_DEF_retxBSR_Timer_tags_37[0]), /* 2 */
|
|
&asn_PER_type_retxBSR_Timer_constr_37,
|
|
0, 0, /* Defined elsewhere */
|
|
&asn_SPC_retxBSR_Timer_specs_37 /* Additional specs */
|
|
};
|
|
|
|
static asn_TYPE_member_t asn_MBR_ul_SCH_Config_2[] = {
|
|
{ ATF_POINTER, 2, offsetof(struct MAC_MainConfig__ul_SCH_Config, maxHARQ_Tx),
|
|
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_maxHARQ_Tx_3,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"maxHARQ-Tx"
|
|
},
|
|
{ ATF_POINTER, 1, offsetof(struct MAC_MainConfig__ul_SCH_Config, periodicBSR_Timer),
|
|
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_periodicBSR_Timer_20,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"periodicBSR-Timer"
|
|
},
|
|
{ ATF_NOFLAGS, 0, offsetof(struct MAC_MainConfig__ul_SCH_Config, retxBSR_Timer),
|
|
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_retxBSR_Timer_37,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"retxBSR-Timer"
|
|
},
|
|
{ ATF_NOFLAGS, 0, offsetof(struct MAC_MainConfig__ul_SCH_Config, ttiBundling),
|
|
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_BOOLEAN,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"ttiBundling"
|
|
},
|
|
};
|
|
static int asn_MAP_ul_SCH_Config_oms_2[] = { 0, 1 };
|
|
static ber_tlv_tag_t asn_DEF_ul_SCH_Config_tags_2[] = {
|
|
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
|
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
|
};
|
|
static asn_TYPE_tag2member_t asn_MAP_ul_SCH_Config_tag2el_2[] = {
|
|
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* maxHARQ-Tx at 2001 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* periodicBSR-Timer at 2005 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* retxBSR-Timer at 2009 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* ttiBundling at 2011 */
|
|
};
|
|
static asn_SEQUENCE_specifics_t asn_SPC_ul_SCH_Config_specs_2 = {
|
|
sizeof(struct MAC_MainConfig__ul_SCH_Config),
|
|
offsetof(struct MAC_MainConfig__ul_SCH_Config, _asn_ctx),
|
|
asn_MAP_ul_SCH_Config_tag2el_2,
|
|
4, /* Count of tags in the map */
|
|
asn_MAP_ul_SCH_Config_oms_2, /* Optional members */
|
|
2, 0, /* Root/Additions */
|
|
-1, /* Start extensions */
|
|
-1 /* Stop extensions */
|
|
};
|
|
static /* Use -fall-defs-global to expose */
|
|
asn_TYPE_descriptor_t asn_DEF_ul_SCH_Config_2 = {
|
|
"ul-SCH-Config",
|
|
"ul-SCH-Config",
|
|
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_ul_SCH_Config_tags_2,
|
|
sizeof(asn_DEF_ul_SCH_Config_tags_2)
|
|
/sizeof(asn_DEF_ul_SCH_Config_tags_2[0]) - 1, /* 1 */
|
|
asn_DEF_ul_SCH_Config_tags_2, /* Same as above */
|
|
sizeof(asn_DEF_ul_SCH_Config_tags_2)
|
|
/sizeof(asn_DEF_ul_SCH_Config_tags_2[0]), /* 2 */
|
|
0, /* No PER visible constraints */
|
|
asn_MBR_ul_SCH_Config_2,
|
|
4, /* Elements count */
|
|
&asn_SPC_ul_SCH_Config_specs_2 /* Additional specs */
|
|
};
|
|
|
|
static asn_INTEGER_enum_map_t asn_MAP_periodicPHR_Timer_value2enum_52[] = {
|
|
{ 0, 4, "sf10" },
|
|
{ 1, 4, "sf20" },
|
|
{ 2, 4, "sf50" },
|
|
{ 3, 5, "sf100" },
|
|
{ 4, 5, "sf200" },
|
|
{ 5, 5, "sf500" },
|
|
{ 6, 6, "sf1000" },
|
|
{ 7, 8, "infinity" }
|
|
};
|
|
static unsigned int asn_MAP_periodicPHR_Timer_enum2value_52[] = {
|
|
7, /* infinity(7) */
|
|
0, /* sf10(0) */
|
|
3, /* sf100(3) */
|
|
6, /* sf1000(6) */
|
|
1, /* sf20(1) */
|
|
4, /* sf200(4) */
|
|
2, /* sf50(2) */
|
|
5 /* sf500(5) */
|
|
};
|
|
static asn_INTEGER_specifics_t asn_SPC_periodicPHR_Timer_specs_52 = {
|
|
asn_MAP_periodicPHR_Timer_value2enum_52, /* "tag" => N; sorted by tag */
|
|
asn_MAP_periodicPHR_Timer_enum2value_52, /* 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_periodicPHR_Timer_tags_52[] = {
|
|
(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_periodicPHR_Timer_52 = {
|
|
"periodicPHR-Timer",
|
|
"periodicPHR-Timer",
|
|
periodicPHR_Timer_52_free,
|
|
periodicPHR_Timer_52_print,
|
|
periodicPHR_Timer_52_constraint,
|
|
periodicPHR_Timer_52_decode_ber,
|
|
periodicPHR_Timer_52_encode_der,
|
|
periodicPHR_Timer_52_decode_xer,
|
|
periodicPHR_Timer_52_encode_xer,
|
|
periodicPHR_Timer_52_decode_uper,
|
|
periodicPHR_Timer_52_encode_uper,
|
|
0, /* Use generic outmost tag fetcher */
|
|
asn_DEF_periodicPHR_Timer_tags_52,
|
|
sizeof(asn_DEF_periodicPHR_Timer_tags_52)
|
|
/sizeof(asn_DEF_periodicPHR_Timer_tags_52[0]) - 1, /* 1 */
|
|
asn_DEF_periodicPHR_Timer_tags_52, /* Same as above */
|
|
sizeof(asn_DEF_periodicPHR_Timer_tags_52)
|
|
/sizeof(asn_DEF_periodicPHR_Timer_tags_52[0]), /* 2 */
|
|
&asn_PER_type_periodicPHR_Timer_constr_52,
|
|
0, 0, /* Defined elsewhere */
|
|
&asn_SPC_periodicPHR_Timer_specs_52 /* Additional specs */
|
|
};
|
|
|
|
static asn_INTEGER_enum_map_t asn_MAP_prohibitPHR_Timer_value2enum_61[] = {
|
|
{ 0, 3, "sf0" },
|
|
{ 1, 4, "sf10" },
|
|
{ 2, 4, "sf20" },
|
|
{ 3, 4, "sf50" },
|
|
{ 4, 5, "sf100" },
|
|
{ 5, 5, "sf200" },
|
|
{ 6, 5, "sf500" },
|
|
{ 7, 6, "sf1000" }
|
|
};
|
|
static unsigned int asn_MAP_prohibitPHR_Timer_enum2value_61[] = {
|
|
0, /* sf0(0) */
|
|
1, /* sf10(1) */
|
|
4, /* sf100(4) */
|
|
7, /* sf1000(7) */
|
|
2, /* sf20(2) */
|
|
5, /* sf200(5) */
|
|
3, /* sf50(3) */
|
|
6 /* sf500(6) */
|
|
};
|
|
static asn_INTEGER_specifics_t asn_SPC_prohibitPHR_Timer_specs_61 = {
|
|
asn_MAP_prohibitPHR_Timer_value2enum_61, /* "tag" => N; sorted by tag */
|
|
asn_MAP_prohibitPHR_Timer_enum2value_61, /* 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_prohibitPHR_Timer_tags_61[] = {
|
|
(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_prohibitPHR_Timer_61 = {
|
|
"prohibitPHR-Timer",
|
|
"prohibitPHR-Timer",
|
|
prohibitPHR_Timer_61_free,
|
|
prohibitPHR_Timer_61_print,
|
|
prohibitPHR_Timer_61_constraint,
|
|
prohibitPHR_Timer_61_decode_ber,
|
|
prohibitPHR_Timer_61_encode_der,
|
|
prohibitPHR_Timer_61_decode_xer,
|
|
prohibitPHR_Timer_61_encode_xer,
|
|
prohibitPHR_Timer_61_decode_uper,
|
|
prohibitPHR_Timer_61_encode_uper,
|
|
0, /* Use generic outmost tag fetcher */
|
|
asn_DEF_prohibitPHR_Timer_tags_61,
|
|
sizeof(asn_DEF_prohibitPHR_Timer_tags_61)
|
|
/sizeof(asn_DEF_prohibitPHR_Timer_tags_61[0]) - 1, /* 1 */
|
|
asn_DEF_prohibitPHR_Timer_tags_61, /* Same as above */
|
|
sizeof(asn_DEF_prohibitPHR_Timer_tags_61)
|
|
/sizeof(asn_DEF_prohibitPHR_Timer_tags_61[0]), /* 2 */
|
|
&asn_PER_type_prohibitPHR_Timer_constr_61,
|
|
0, 0, /* Defined elsewhere */
|
|
&asn_SPC_prohibitPHR_Timer_specs_61 /* Additional specs */
|
|
};
|
|
|
|
static asn_INTEGER_enum_map_t asn_MAP_dl_PathlossChange_value2enum_70[] = {
|
|
{ 0, 3, "dB1" },
|
|
{ 1, 3, "dB3" },
|
|
{ 2, 3, "dB6" },
|
|
{ 3, 8, "infinity" }
|
|
};
|
|
static unsigned int asn_MAP_dl_PathlossChange_enum2value_70[] = {
|
|
0, /* dB1(0) */
|
|
1, /* dB3(1) */
|
|
2, /* dB6(2) */
|
|
3 /* infinity(3) */
|
|
};
|
|
static asn_INTEGER_specifics_t asn_SPC_dl_PathlossChange_specs_70 = {
|
|
asn_MAP_dl_PathlossChange_value2enum_70, /* "tag" => N; sorted by tag */
|
|
asn_MAP_dl_PathlossChange_enum2value_70, /* 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_dl_PathlossChange_tags_70[] = {
|
|
(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_dl_PathlossChange_70 = {
|
|
"dl-PathlossChange",
|
|
"dl-PathlossChange",
|
|
dl_PathlossChange_70_free,
|
|
dl_PathlossChange_70_print,
|
|
dl_PathlossChange_70_constraint,
|
|
dl_PathlossChange_70_decode_ber,
|
|
dl_PathlossChange_70_encode_der,
|
|
dl_PathlossChange_70_decode_xer,
|
|
dl_PathlossChange_70_encode_xer,
|
|
dl_PathlossChange_70_decode_uper,
|
|
dl_PathlossChange_70_encode_uper,
|
|
0, /* Use generic outmost tag fetcher */
|
|
asn_DEF_dl_PathlossChange_tags_70,
|
|
sizeof(asn_DEF_dl_PathlossChange_tags_70)
|
|
/sizeof(asn_DEF_dl_PathlossChange_tags_70[0]) - 1, /* 1 */
|
|
asn_DEF_dl_PathlossChange_tags_70, /* Same as above */
|
|
sizeof(asn_DEF_dl_PathlossChange_tags_70)
|
|
/sizeof(asn_DEF_dl_PathlossChange_tags_70[0]), /* 2 */
|
|
&asn_PER_type_dl_PathlossChange_constr_70,
|
|
0, 0, /* Defined elsewhere */
|
|
&asn_SPC_dl_PathlossChange_specs_70 /* Additional specs */
|
|
};
|
|
|
|
static asn_TYPE_member_t asn_MBR_setup_51[] = {
|
|
{ ATF_NOFLAGS, 0, offsetof(struct MAC_MainConfig__phr_Config__setup, periodicPHR_Timer),
|
|
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_periodicPHR_Timer_52,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"periodicPHR-Timer"
|
|
},
|
|
{ ATF_NOFLAGS, 0, offsetof(struct MAC_MainConfig__phr_Config__setup, prohibitPHR_Timer),
|
|
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_prohibitPHR_Timer_61,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"prohibitPHR-Timer"
|
|
},
|
|
{ ATF_NOFLAGS, 0, offsetof(struct MAC_MainConfig__phr_Config__setup, dl_PathlossChange),
|
|
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_dl_PathlossChange_70,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"dl-PathlossChange"
|
|
},
|
|
};
|
|
static ber_tlv_tag_t asn_DEF_setup_tags_51[] = {
|
|
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
|
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
|
};
|
|
static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_51[] = {
|
|
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* periodicPHR-Timer at 2018 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* prohibitPHR-Timer at 2020 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* dl-PathlossChange at 2022 */
|
|
};
|
|
static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_51 = {
|
|
sizeof(struct MAC_MainConfig__phr_Config__setup),
|
|
offsetof(struct MAC_MainConfig__phr_Config__setup, _asn_ctx),
|
|
asn_MAP_setup_tag2el_51,
|
|
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_setup_51 = {
|
|
"setup",
|
|
"setup",
|
|
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_setup_tags_51,
|
|
sizeof(asn_DEF_setup_tags_51)
|
|
/sizeof(asn_DEF_setup_tags_51[0]) - 1, /* 1 */
|
|
asn_DEF_setup_tags_51, /* Same as above */
|
|
sizeof(asn_DEF_setup_tags_51)
|
|
/sizeof(asn_DEF_setup_tags_51[0]), /* 2 */
|
|
0, /* No PER visible constraints */
|
|
asn_MBR_setup_51,
|
|
3, /* Elements count */
|
|
&asn_SPC_setup_specs_51 /* Additional specs */
|
|
};
|
|
|
|
static asn_TYPE_member_t asn_MBR_phr_Config_49[] = {
|
|
{ ATF_NOFLAGS, 0, offsetof(struct MAC_MainConfig__phr_Config, choice.release),
|
|
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_NULL,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"release"
|
|
},
|
|
{ ATF_NOFLAGS, 0, offsetof(struct MAC_MainConfig__phr_Config, choice.setup),
|
|
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
|
0,
|
|
&asn_DEF_setup_51,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"setup"
|
|
},
|
|
};
|
|
static asn_TYPE_tag2member_t asn_MAP_phr_Config_tag2el_49[] = {
|
|
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 2016 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 2019 */
|
|
};
|
|
static asn_CHOICE_specifics_t asn_SPC_phr_Config_specs_49 = {
|
|
sizeof(struct MAC_MainConfig__phr_Config),
|
|
offsetof(struct MAC_MainConfig__phr_Config, _asn_ctx),
|
|
offsetof(struct MAC_MainConfig__phr_Config, present),
|
|
sizeof(((struct MAC_MainConfig__phr_Config *)0)->present),
|
|
asn_MAP_phr_Config_tag2el_49,
|
|
2, /* Count of tags in the map */
|
|
0,
|
|
-1 /* Extensions start */
|
|
};
|
|
static /* Use -fall-defs-global to expose */
|
|
asn_TYPE_descriptor_t asn_DEF_phr_Config_49 = {
|
|
"phr-Config",
|
|
"phr-Config",
|
|
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_phr_Config_constr_49,
|
|
asn_MBR_phr_Config_49,
|
|
2, /* Elements count */
|
|
&asn_SPC_phr_Config_specs_49 /* Additional specs */
|
|
};
|
|
|
|
static asn_INTEGER_enum_map_t asn_MAP_sCellDeactivationTimer_r10_value2enum_77[] = {
|
|
{ 0, 3, "rf2" },
|
|
{ 1, 3, "rf4" },
|
|
{ 2, 3, "rf8" },
|
|
{ 3, 4, "rf16" },
|
|
{ 4, 4, "rf32" },
|
|
{ 5, 4, "rf64" },
|
|
{ 6, 5, "rf128" },
|
|
{ 7, 5, "spare" }
|
|
};
|
|
static unsigned int asn_MAP_sCellDeactivationTimer_r10_enum2value_77[] = {
|
|
6, /* rf128(6) */
|
|
3, /* rf16(3) */
|
|
0, /* rf2(0) */
|
|
4, /* rf32(4) */
|
|
1, /* rf4(1) */
|
|
5, /* rf64(5) */
|
|
2, /* rf8(2) */
|
|
7 /* spare(7) */
|
|
};
|
|
static asn_INTEGER_specifics_t asn_SPC_sCellDeactivationTimer_r10_specs_77 = {
|
|
asn_MAP_sCellDeactivationTimer_r10_value2enum_77, /* "tag" => N; sorted by tag */
|
|
asn_MAP_sCellDeactivationTimer_r10_enum2value_77, /* 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_sCellDeactivationTimer_r10_tags_77[] = {
|
|
(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_sCellDeactivationTimer_r10_77 = {
|
|
"sCellDeactivationTimer-r10",
|
|
"sCellDeactivationTimer-r10",
|
|
sCellDeactivationTimer_r10_77_free,
|
|
sCellDeactivationTimer_r10_77_print,
|
|
sCellDeactivationTimer_r10_77_constraint,
|
|
sCellDeactivationTimer_r10_77_decode_ber,
|
|
sCellDeactivationTimer_r10_77_encode_der,
|
|
sCellDeactivationTimer_r10_77_decode_xer,
|
|
sCellDeactivationTimer_r10_77_encode_xer,
|
|
sCellDeactivationTimer_r10_77_decode_uper,
|
|
sCellDeactivationTimer_r10_77_encode_uper,
|
|
0, /* Use generic outmost tag fetcher */
|
|
asn_DEF_sCellDeactivationTimer_r10_tags_77,
|
|
sizeof(asn_DEF_sCellDeactivationTimer_r10_tags_77)
|
|
/sizeof(asn_DEF_sCellDeactivationTimer_r10_tags_77[0]) - 1, /* 1 */
|
|
asn_DEF_sCellDeactivationTimer_r10_tags_77, /* Same as above */
|
|
sizeof(asn_DEF_sCellDeactivationTimer_r10_tags_77)
|
|
/sizeof(asn_DEF_sCellDeactivationTimer_r10_tags_77[0]), /* 2 */
|
|
&asn_PER_type_sCellDeactivationTimer_r10_constr_77,
|
|
0, 0, /* Defined elsewhere */
|
|
&asn_SPC_sCellDeactivationTimer_r10_specs_77 /* Additional specs */
|
|
};
|
|
|
|
static asn_INTEGER_enum_map_t asn_MAP_extendedBSR_Sizes_r10_value2enum_86[] = {
|
|
{ 0, 5, "setup" }
|
|
};
|
|
static unsigned int asn_MAP_extendedBSR_Sizes_r10_enum2value_86[] = {
|
|
0 /* setup(0) */
|
|
};
|
|
static asn_INTEGER_specifics_t asn_SPC_extendedBSR_Sizes_r10_specs_86 = {
|
|
asn_MAP_extendedBSR_Sizes_r10_value2enum_86, /* "tag" => N; sorted by tag */
|
|
asn_MAP_extendedBSR_Sizes_r10_enum2value_86, /* 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_extendedBSR_Sizes_r10_tags_86[] = {
|
|
(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_extendedBSR_Sizes_r10_86 = {
|
|
"extendedBSR-Sizes-r10",
|
|
"extendedBSR-Sizes-r10",
|
|
extendedBSR_Sizes_r10_86_free,
|
|
extendedBSR_Sizes_r10_86_print,
|
|
extendedBSR_Sizes_r10_86_constraint,
|
|
extendedBSR_Sizes_r10_86_decode_ber,
|
|
extendedBSR_Sizes_r10_86_encode_der,
|
|
extendedBSR_Sizes_r10_86_decode_xer,
|
|
extendedBSR_Sizes_r10_86_encode_xer,
|
|
extendedBSR_Sizes_r10_86_decode_uper,
|
|
extendedBSR_Sizes_r10_86_encode_uper,
|
|
0, /* Use generic outmost tag fetcher */
|
|
asn_DEF_extendedBSR_Sizes_r10_tags_86,
|
|
sizeof(asn_DEF_extendedBSR_Sizes_r10_tags_86)
|
|
/sizeof(asn_DEF_extendedBSR_Sizes_r10_tags_86[0]) - 1, /* 1 */
|
|
asn_DEF_extendedBSR_Sizes_r10_tags_86, /* Same as above */
|
|
sizeof(asn_DEF_extendedBSR_Sizes_r10_tags_86)
|
|
/sizeof(asn_DEF_extendedBSR_Sizes_r10_tags_86[0]), /* 2 */
|
|
&asn_PER_type_extendedBSR_Sizes_r10_constr_86,
|
|
0, 0, /* Defined elsewhere */
|
|
&asn_SPC_extendedBSR_Sizes_r10_specs_86 /* Additional specs */
|
|
};
|
|
|
|
static asn_INTEGER_enum_map_t asn_MAP_extendedPHR_r10_value2enum_88[] = {
|
|
{ 0, 5, "setup" }
|
|
};
|
|
static unsigned int asn_MAP_extendedPHR_r10_enum2value_88[] = {
|
|
0 /* setup(0) */
|
|
};
|
|
static asn_INTEGER_specifics_t asn_SPC_extendedPHR_r10_specs_88 = {
|
|
asn_MAP_extendedPHR_r10_value2enum_88, /* "tag" => N; sorted by tag */
|
|
asn_MAP_extendedPHR_r10_enum2value_88, /* 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_extendedPHR_r10_tags_88[] = {
|
|
(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_extendedPHR_r10_88 = {
|
|
"extendedPHR-r10",
|
|
"extendedPHR-r10",
|
|
extendedPHR_r10_88_free,
|
|
extendedPHR_r10_88_print,
|
|
extendedPHR_r10_88_constraint,
|
|
extendedPHR_r10_88_decode_ber,
|
|
extendedPHR_r10_88_encode_der,
|
|
extendedPHR_r10_88_decode_xer,
|
|
extendedPHR_r10_88_encode_xer,
|
|
extendedPHR_r10_88_decode_uper,
|
|
extendedPHR_r10_88_encode_uper,
|
|
0, /* Use generic outmost tag fetcher */
|
|
asn_DEF_extendedPHR_r10_tags_88,
|
|
sizeof(asn_DEF_extendedPHR_r10_tags_88)
|
|
/sizeof(asn_DEF_extendedPHR_r10_tags_88[0]) - 1, /* 1 */
|
|
asn_DEF_extendedPHR_r10_tags_88, /* Same as above */
|
|
sizeof(asn_DEF_extendedPHR_r10_tags_88)
|
|
/sizeof(asn_DEF_extendedPHR_r10_tags_88[0]), /* 2 */
|
|
&asn_PER_type_extendedPHR_r10_constr_88,
|
|
0, 0, /* Defined elsewhere */
|
|
&asn_SPC_extendedPHR_r10_specs_88 /* Additional specs */
|
|
};
|
|
|
|
static asn_TYPE_member_t asn_MBR_mac_MainConfig_v1020_76[] = {
|
|
{ ATF_POINTER, 3, offsetof(struct MAC_MainConfig__mac_MainConfig_v1020, sCellDeactivationTimer_r10),
|
|
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_sCellDeactivationTimer_r10_77,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"sCellDeactivationTimer-r10"
|
|
},
|
|
{ ATF_POINTER, 2, offsetof(struct MAC_MainConfig__mac_MainConfig_v1020, extendedBSR_Sizes_r10),
|
|
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_extendedBSR_Sizes_r10_86,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"extendedBSR-Sizes-r10"
|
|
},
|
|
{ ATF_POINTER, 1, offsetof(struct MAC_MainConfig__mac_MainConfig_v1020, extendedPHR_r10),
|
|
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_extendedPHR_r10_88,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"extendedPHR-r10"
|
|
},
|
|
};
|
|
static int asn_MAP_mac_MainConfig_v1020_oms_76[] = { 0, 1, 2 };
|
|
static ber_tlv_tag_t asn_DEF_mac_MainConfig_v1020_tags_76[] = {
|
|
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
|
|
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
|
};
|
|
static asn_TYPE_tag2member_t asn_MAP_mac_MainConfig_v1020_tag2el_76[] = {
|
|
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sCellDeactivationTimer-r10 at 2028 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* extendedBSR-Sizes-r10 at 2030 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* extendedPHR-r10 at 2031 */
|
|
};
|
|
static asn_SEQUENCE_specifics_t asn_SPC_mac_MainConfig_v1020_specs_76 = {
|
|
sizeof(struct MAC_MainConfig__mac_MainConfig_v1020),
|
|
offsetof(struct MAC_MainConfig__mac_MainConfig_v1020, _asn_ctx),
|
|
asn_MAP_mac_MainConfig_v1020_tag2el_76,
|
|
3, /* Count of tags in the map */
|
|
asn_MAP_mac_MainConfig_v1020_oms_76, /* Optional members */
|
|
3, 0, /* Root/Additions */
|
|
-1, /* Start extensions */
|
|
-1 /* Stop extensions */
|
|
};
|
|
static /* Use -fall-defs-global to expose */
|
|
asn_TYPE_descriptor_t asn_DEF_mac_MainConfig_v1020_76 = {
|
|
"mac-MainConfig-v1020",
|
|
"mac-MainConfig-v1020",
|
|
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_mac_MainConfig_v1020_tags_76,
|
|
sizeof(asn_DEF_mac_MainConfig_v1020_tags_76)
|
|
/sizeof(asn_DEF_mac_MainConfig_v1020_tags_76[0]) - 1, /* 1 */
|
|
asn_DEF_mac_MainConfig_v1020_tags_76, /* Same as above */
|
|
sizeof(asn_DEF_mac_MainConfig_v1020_tags_76)
|
|
/sizeof(asn_DEF_mac_MainConfig_v1020_tags_76[0]), /* 2 */
|
|
0, /* No PER visible constraints */
|
|
asn_MBR_mac_MainConfig_v1020_76,
|
|
3, /* Elements count */
|
|
&asn_SPC_mac_MainConfig_v1020_specs_76 /* Additional specs */
|
|
};
|
|
|
|
static asn_TYPE_member_t asn_MBR_MAC_MainConfig_1[] = {
|
|
{ ATF_POINTER, 2, offsetof(struct MAC_MainConfig, ul_SCH_Config),
|
|
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
|
0,
|
|
&asn_DEF_ul_SCH_Config_2,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"ul-SCH-Config"
|
|
},
|
|
{ ATF_POINTER, 1, offsetof(struct MAC_MainConfig, drx_Config),
|
|
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
|
+1, /* EXPLICIT tag at current level */
|
|
&asn_DEF_DRX_Config,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"drx-Config"
|
|
},
|
|
{ ATF_NOFLAGS, 0, offsetof(struct MAC_MainConfig, timeAlignmentTimerDedicated),
|
|
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_TimeAlignmentTimer,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"timeAlignmentTimerDedicated"
|
|
},
|
|
{ ATF_POINTER, 3, offsetof(struct MAC_MainConfig, phr_Config),
|
|
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
|
+1, /* EXPLICIT tag at current level */
|
|
&asn_DEF_phr_Config_49,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"phr-Config"
|
|
},
|
|
{ ATF_POINTER, 2, offsetof(struct MAC_MainConfig, sr_ProhibitTimer_r9),
|
|
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_NativeInteger,
|
|
memb_sr_ProhibitTimer_r9_constraint_1,
|
|
&asn_PER_memb_sr_ProhibitTimer_r9_constr_75,
|
|
0,
|
|
"sr-ProhibitTimer-r9"
|
|
},
|
|
{ ATF_POINTER, 1, offsetof(struct MAC_MainConfig, mac_MainConfig_v1020),
|
|
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
|
|
0,
|
|
&asn_DEF_mac_MainConfig_v1020_76,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"mac-MainConfig-v1020"
|
|
},
|
|
};
|
|
static int asn_MAP_MAC_MainConfig_oms_1[] = { 0, 1, 3, 4, 5 };
|
|
static ber_tlv_tag_t asn_DEF_MAC_MainConfig_tags_1[] = {
|
|
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
|
};
|
|
static asn_TYPE_tag2member_t asn_MAP_MAC_MainConfig_tag2el_1[] = {
|
|
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ul-SCH-Config at 2003 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* drx-Config at 2013 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* timeAlignmentTimerDedicated at 2014 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* phr-Config at 2016 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* sr-ProhibitTimer-r9 at 2025 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* mac-MainConfig-v1020 at 2029 */
|
|
};
|
|
static asn_SEQUENCE_specifics_t asn_SPC_MAC_MainConfig_specs_1 = {
|
|
sizeof(struct MAC_MainConfig),
|
|
offsetof(struct MAC_MainConfig, _asn_ctx),
|
|
asn_MAP_MAC_MainConfig_tag2el_1,
|
|
6, /* Count of tags in the map */
|
|
asn_MAP_MAC_MainConfig_oms_1, /* Optional members */
|
|
5, 0, /* Root/Additions */
|
|
-1, /* Start extensions */
|
|
-1 /* Stop extensions */
|
|
};
|
|
asn_TYPE_descriptor_t asn_DEF_MAC_MainConfig = {
|
|
"MAC-MainConfig",
|
|
"MAC-MainConfig",
|
|
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_MAC_MainConfig_tags_1,
|
|
sizeof(asn_DEF_MAC_MainConfig_tags_1)
|
|
/sizeof(asn_DEF_MAC_MainConfig_tags_1[0]), /* 1 */
|
|
asn_DEF_MAC_MainConfig_tags_1, /* Same as above */
|
|
sizeof(asn_DEF_MAC_MainConfig_tags_1)
|
|
/sizeof(asn_DEF_MAC_MainConfig_tags_1[0]), /* 1 */
|
|
0, /* No PER visible constraints */
|
|
asn_MBR_MAC_MainConfig_1,
|
|
6, /* Elements count */
|
|
&asn_SPC_MAC_MainConfig_specs_1 /* Additional specs */
|
|
};
|
|
|