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

916 lines
31 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 "RLF-TimersAndConstants-r9.h"
static int
t301_r9_4_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
t301_r9_4_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
t301_r9_4_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
t301_r9_4_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
static int
t301_r9_4_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
t301_r9_4_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
static asn_dec_rval_t
t301_r9_4_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) {
t301_r9_4_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
static asn_enc_rval_t
t301_r9_4_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) {
t301_r9_4_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
static asn_dec_rval_t
t301_r9_4_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) {
t301_r9_4_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
static asn_enc_rval_t
t301_r9_4_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) {
t301_r9_4_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
static asn_dec_rval_t
t301_r9_4_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) {
t301_r9_4_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
static asn_enc_rval_t
t301_r9_4_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
t301_r9_4_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
static int
t310_r9_13_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
t310_r9_13_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
t310_r9_13_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
t310_r9_13_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
static int
t310_r9_13_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
t310_r9_13_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
static asn_dec_rval_t
t310_r9_13_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) {
t310_r9_13_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
static asn_enc_rval_t
t310_r9_13_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) {
t310_r9_13_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
static asn_dec_rval_t
t310_r9_13_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) {
t310_r9_13_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
static asn_enc_rval_t
t310_r9_13_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) {
t310_r9_13_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
static asn_dec_rval_t
t310_r9_13_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) {
t310_r9_13_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
static asn_enc_rval_t
t310_r9_13_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
t310_r9_13_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
static int
n310_r9_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
n310_r9_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
n310_r9_21_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
n310_r9_21_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
static int
n310_r9_21_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
n310_r9_21_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
static asn_dec_rval_t
n310_r9_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) {
n310_r9_21_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
static asn_enc_rval_t
n310_r9_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) {
n310_r9_21_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
static asn_dec_rval_t
n310_r9_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) {
n310_r9_21_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
static asn_enc_rval_t
n310_r9_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) {
n310_r9_21_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
static asn_dec_rval_t
n310_r9_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) {
n310_r9_21_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
static asn_enc_rval_t
n310_r9_21_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
n310_r9_21_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
static int
t311_r9_30_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
t311_r9_30_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
t311_r9_30_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
t311_r9_30_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
static int
t311_r9_30_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
t311_r9_30_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
static asn_dec_rval_t
t311_r9_30_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) {
t311_r9_30_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
static asn_enc_rval_t
t311_r9_30_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) {
t311_r9_30_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
static asn_dec_rval_t
t311_r9_30_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) {
t311_r9_30_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
static asn_enc_rval_t
t311_r9_30_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) {
t311_r9_30_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
static asn_dec_rval_t
t311_r9_30_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) {
t311_r9_30_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
static asn_enc_rval_t
t311_r9_30_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
t311_r9_30_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
static int
n311_r9_38_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
n311_r9_38_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
n311_r9_38_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
n311_r9_38_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
static int
n311_r9_38_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
n311_r9_38_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
static asn_dec_rval_t
n311_r9_38_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) {
n311_r9_38_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
static asn_enc_rval_t
n311_r9_38_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) {
n311_r9_38_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
static asn_dec_rval_t
n311_r9_38_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) {
n311_r9_38_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
static asn_enc_rval_t
n311_r9_38_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) {
n311_r9_38_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
static asn_dec_rval_t
n311_r9_38_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) {
n311_r9_38_inherit_TYPE_descriptor(td);
return td->uper_decoder(opt_codec_ctx, td, constraints, structure, per_data);
}
static asn_enc_rval_t
n311_r9_38_encode_uper(asn_TYPE_descriptor_t *td,
asn_per_constraints_t *constraints,
void *structure, asn_per_outp_t *per_out) {
n311_r9_38_inherit_TYPE_descriptor(td);
return td->uper_encoder(td, constraints, structure, per_out);
}
static asn_per_constraints_t asn_PER_type_t301_r9_constr_4 = {
{ 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_t310_r9_constr_13 = {
{ APC_CONSTRAINED, 3, 3, 0, 6 } /* (0..6) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_type_n310_r9_constr_21 = {
{ 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_t311_r9_constr_30 = {
{ APC_CONSTRAINED, 3, 3, 0, 6 } /* (0..6) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static asn_per_constraints_t asn_PER_type_n311_r9_constr_38 = {
{ 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_RLF_TimersAndConstants_r9_constr_1 = {
{ APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
0, 0 /* No PER value map */
};
static asn_INTEGER_enum_map_t asn_MAP_t301_r9_value2enum_4[] = {
{ 0, 5, "ms100" },
{ 1, 5, "ms200" },
{ 2, 5, "ms300" },
{ 3, 5, "ms400" },
{ 4, 5, "ms600" },
{ 5, 6, "ms1000" },
{ 6, 6, "ms1500" },
{ 7, 6, "ms2000" }
};
static unsigned int asn_MAP_t301_r9_enum2value_4[] = {
0, /* ms100(0) */
5, /* ms1000(5) */
6, /* ms1500(6) */
1, /* ms200(1) */
7, /* ms2000(7) */
2, /* ms300(2) */
3, /* ms400(3) */
4 /* ms600(4) */
};
static asn_INTEGER_specifics_t asn_SPC_t301_r9_specs_4 = {
asn_MAP_t301_r9_value2enum_4, /* "tag" => N; sorted by tag */
asn_MAP_t301_r9_enum2value_4, /* 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_t301_r9_tags_4[] = {
(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_t301_r9_4 = {
"t301-r9",
"t301-r9",
t301_r9_4_free,
t301_r9_4_print,
t301_r9_4_constraint,
t301_r9_4_decode_ber,
t301_r9_4_encode_der,
t301_r9_4_decode_xer,
t301_r9_4_encode_xer,
t301_r9_4_decode_uper,
t301_r9_4_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_t301_r9_tags_4,
sizeof(asn_DEF_t301_r9_tags_4)
/sizeof(asn_DEF_t301_r9_tags_4[0]) - 1, /* 1 */
asn_DEF_t301_r9_tags_4, /* Same as above */
sizeof(asn_DEF_t301_r9_tags_4)
/sizeof(asn_DEF_t301_r9_tags_4[0]), /* 2 */
&asn_PER_type_t301_r9_constr_4,
0, 0, /* Defined elsewhere */
&asn_SPC_t301_r9_specs_4 /* Additional specs */
};
static asn_INTEGER_enum_map_t asn_MAP_t310_r9_value2enum_13[] = {
{ 0, 3, "ms0" },
{ 1, 4, "ms50" },
{ 2, 5, "ms100" },
{ 3, 5, "ms200" },
{ 4, 5, "ms500" },
{ 5, 6, "ms1000" },
{ 6, 6, "ms2000" }
};
static unsigned int asn_MAP_t310_r9_enum2value_13[] = {
0, /* ms0(0) */
2, /* ms100(2) */
5, /* ms1000(5) */
3, /* ms200(3) */
6, /* ms2000(6) */
1, /* ms50(1) */
4 /* ms500(4) */
};
static asn_INTEGER_specifics_t asn_SPC_t310_r9_specs_13 = {
asn_MAP_t310_r9_value2enum_13, /* "tag" => N; sorted by tag */
asn_MAP_t310_r9_enum2value_13, /* N => "tag"; sorted by N */
7, /* 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_t310_r9_tags_13[] = {
(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_t310_r9_13 = {
"t310-r9",
"t310-r9",
t310_r9_13_free,
t310_r9_13_print,
t310_r9_13_constraint,
t310_r9_13_decode_ber,
t310_r9_13_encode_der,
t310_r9_13_decode_xer,
t310_r9_13_encode_xer,
t310_r9_13_decode_uper,
t310_r9_13_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_t310_r9_tags_13,
sizeof(asn_DEF_t310_r9_tags_13)
/sizeof(asn_DEF_t310_r9_tags_13[0]) - 1, /* 1 */
asn_DEF_t310_r9_tags_13, /* Same as above */
sizeof(asn_DEF_t310_r9_tags_13)
/sizeof(asn_DEF_t310_r9_tags_13[0]), /* 2 */
&asn_PER_type_t310_r9_constr_13,
0, 0, /* Defined elsewhere */
&asn_SPC_t310_r9_specs_13 /* Additional specs */
};
static asn_INTEGER_enum_map_t asn_MAP_n310_r9_value2enum_21[] = {
{ 0, 2, "n1" },
{ 1, 2, "n2" },
{ 2, 2, "n3" },
{ 3, 2, "n4" },
{ 4, 2, "n6" },
{ 5, 2, "n8" },
{ 6, 3, "n10" },
{ 7, 3, "n20" }
};
static unsigned int asn_MAP_n310_r9_enum2value_21[] = {
0, /* n1(0) */
6, /* n10(6) */
1, /* n2(1) */
7, /* n20(7) */
2, /* n3(2) */
3, /* n4(3) */
4, /* n6(4) */
5 /* n8(5) */
};
static asn_INTEGER_specifics_t asn_SPC_n310_r9_specs_21 = {
asn_MAP_n310_r9_value2enum_21, /* "tag" => N; sorted by tag */
asn_MAP_n310_r9_enum2value_21, /* 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_n310_r9_tags_21[] = {
(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_n310_r9_21 = {
"n310-r9",
"n310-r9",
n310_r9_21_free,
n310_r9_21_print,
n310_r9_21_constraint,
n310_r9_21_decode_ber,
n310_r9_21_encode_der,
n310_r9_21_decode_xer,
n310_r9_21_encode_xer,
n310_r9_21_decode_uper,
n310_r9_21_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_n310_r9_tags_21,
sizeof(asn_DEF_n310_r9_tags_21)
/sizeof(asn_DEF_n310_r9_tags_21[0]) - 1, /* 1 */
asn_DEF_n310_r9_tags_21, /* Same as above */
sizeof(asn_DEF_n310_r9_tags_21)
/sizeof(asn_DEF_n310_r9_tags_21[0]), /* 2 */
&asn_PER_type_n310_r9_constr_21,
0, 0, /* Defined elsewhere */
&asn_SPC_n310_r9_specs_21 /* Additional specs */
};
static asn_INTEGER_enum_map_t asn_MAP_t311_r9_value2enum_30[] = {
{ 0, 6, "ms1000" },
{ 1, 6, "ms3000" },
{ 2, 6, "ms5000" },
{ 3, 7, "ms10000" },
{ 4, 7, "ms15000" },
{ 5, 7, "ms20000" },
{ 6, 7, "ms30000" }
};
static unsigned int asn_MAP_t311_r9_enum2value_30[] = {
0, /* ms1000(0) */
3, /* ms10000(3) */
4, /* ms15000(4) */
5, /* ms20000(5) */
1, /* ms3000(1) */
6, /* ms30000(6) */
2 /* ms5000(2) */
};
static asn_INTEGER_specifics_t asn_SPC_t311_r9_specs_30 = {
asn_MAP_t311_r9_value2enum_30, /* "tag" => N; sorted by tag */
asn_MAP_t311_r9_enum2value_30, /* N => "tag"; sorted by N */
7, /* 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_t311_r9_tags_30[] = {
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_t311_r9_30 = {
"t311-r9",
"t311-r9",
t311_r9_30_free,
t311_r9_30_print,
t311_r9_30_constraint,
t311_r9_30_decode_ber,
t311_r9_30_encode_der,
t311_r9_30_decode_xer,
t311_r9_30_encode_xer,
t311_r9_30_decode_uper,
t311_r9_30_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_t311_r9_tags_30,
sizeof(asn_DEF_t311_r9_tags_30)
/sizeof(asn_DEF_t311_r9_tags_30[0]) - 1, /* 1 */
asn_DEF_t311_r9_tags_30, /* Same as above */
sizeof(asn_DEF_t311_r9_tags_30)
/sizeof(asn_DEF_t311_r9_tags_30[0]), /* 2 */
&asn_PER_type_t311_r9_constr_30,
0, 0, /* Defined elsewhere */
&asn_SPC_t311_r9_specs_30 /* Additional specs */
};
static asn_INTEGER_enum_map_t asn_MAP_n311_r9_value2enum_38[] = {
{ 0, 2, "n1" },
{ 1, 2, "n2" },
{ 2, 2, "n3" },
{ 3, 2, "n4" },
{ 4, 2, "n5" },
{ 5, 2, "n6" },
{ 6, 2, "n8" },
{ 7, 3, "n10" }
};
static unsigned int asn_MAP_n311_r9_enum2value_38[] = {
0, /* n1(0) */
7, /* n10(7) */
1, /* n2(1) */
2, /* n3(2) */
3, /* n4(3) */
4, /* n5(4) */
5, /* n6(5) */
6 /* n8(6) */
};
static asn_INTEGER_specifics_t asn_SPC_n311_r9_specs_38 = {
asn_MAP_n311_r9_value2enum_38, /* "tag" => N; sorted by tag */
asn_MAP_n311_r9_enum2value_38, /* 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_n311_r9_tags_38[] = {
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_n311_r9_38 = {
"n311-r9",
"n311-r9",
n311_r9_38_free,
n311_r9_38_print,
n311_r9_38_constraint,
n311_r9_38_decode_ber,
n311_r9_38_encode_der,
n311_r9_38_decode_xer,
n311_r9_38_encode_xer,
n311_r9_38_decode_uper,
n311_r9_38_encode_uper,
0, /* Use generic outmost tag fetcher */
asn_DEF_n311_r9_tags_38,
sizeof(asn_DEF_n311_r9_tags_38)
/sizeof(asn_DEF_n311_r9_tags_38[0]) - 1, /* 1 */
asn_DEF_n311_r9_tags_38, /* Same as above */
sizeof(asn_DEF_n311_r9_tags_38)
/sizeof(asn_DEF_n311_r9_tags_38[0]), /* 2 */
&asn_PER_type_n311_r9_constr_38,
0, 0, /* Defined elsewhere */
&asn_SPC_n311_r9_specs_38 /* Additional specs */
};
static asn_TYPE_member_t asn_MBR_setup_3[] = {
{ ATF_NOFLAGS, 0, offsetof(struct RLF_TimersAndConstants_r9__setup, t301_r9),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_t301_r9_4,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"t301-r9"
},
{ ATF_NOFLAGS, 0, offsetof(struct RLF_TimersAndConstants_r9__setup, t310_r9),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_t310_r9_13,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"t310-r9"
},
{ ATF_NOFLAGS, 0, offsetof(struct RLF_TimersAndConstants_r9__setup, n310_r9),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_n310_r9_21,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"n310-r9"
},
{ ATF_NOFLAGS, 0, offsetof(struct RLF_TimersAndConstants_r9__setup, t311_r9),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_t311_r9_30,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"t311-r9"
},
{ ATF_NOFLAGS, 0, offsetof(struct RLF_TimersAndConstants_r9__setup, n311_r9),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_n311_r9_38,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"n311-r9"
},
};
static ber_tlv_tag_t asn_DEF_setup_tags_3[] = {
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_setup_tag2el_3[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* t301-r9 at 2599 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* t310-r9 at 2602 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* n310-r9 at 2604 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* t311-r9 at 2606 */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* n311-r9 at 2609 */
};
static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_3 = {
sizeof(struct RLF_TimersAndConstants_r9__setup),
offsetof(struct RLF_TimersAndConstants_r9__setup, _asn_ctx),
asn_MAP_setup_tag2el_3,
5, /* Count of tags in the map */
0, 0, 0, /* Optional elements (not needed) */
4, /* Start extensions */
6 /* Stop extensions */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_setup_3 = {
"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_3,
sizeof(asn_DEF_setup_tags_3)
/sizeof(asn_DEF_setup_tags_3[0]) - 1, /* 1 */
asn_DEF_setup_tags_3, /* Same as above */
sizeof(asn_DEF_setup_tags_3)
/sizeof(asn_DEF_setup_tags_3[0]), /* 2 */
0, /* No PER visible constraints */
asn_MBR_setup_3,
5, /* Elements count */
&asn_SPC_setup_specs_3 /* Additional specs */
};
static asn_TYPE_member_t asn_MBR_RLF_TimersAndConstants_r9_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct RLF_TimersAndConstants_r9, 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 RLF_TimersAndConstants_r9, choice.setup),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
0,
&asn_DEF_setup_3,
0, /* Defer constraints checking to the member type */
0, /* No PER visible constraints */
0,
"setup"
},
};
static asn_TYPE_tag2member_t asn_MAP_RLF_TimersAndConstants_r9_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release at 2596 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup at 2600 */
};
static asn_CHOICE_specifics_t asn_SPC_RLF_TimersAndConstants_r9_specs_1 = {
sizeof(struct RLF_TimersAndConstants_r9),
offsetof(struct RLF_TimersAndConstants_r9, _asn_ctx),
offsetof(struct RLF_TimersAndConstants_r9, present),
sizeof(((struct RLF_TimersAndConstants_r9 *)0)->present),
asn_MAP_RLF_TimersAndConstants_r9_tag2el_1,
2, /* Count of tags in the map */
0,
-1 /* Extensions start */
};
asn_TYPE_descriptor_t asn_DEF_RLF_TimersAndConstants_r9 = {
"RLF-TimersAndConstants-r9",
"RLF-TimersAndConstants-r9",
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_RLF_TimersAndConstants_r9_constr_1,
asn_MBR_RLF_TimersAndConstants_r9_1,
2, /* Elements count */
&asn_SPC_RLF_TimersAndConstants_r9_specs_1 /* Additional specs */
};