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.
238 lines
7.5 KiB
C
238 lines
7.5 KiB
C
/*
|
|
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
|
* From ASN.1 module "EUTRA-UE-Variables"
|
|
* found in "EUTRA-UE-Variables.asn"
|
|
*/
|
|
|
|
#include "VarMeasConfig.h"
|
|
|
|
static asn_per_constraints_t asn_PER_type_speedStatePars_constr_7 GCC_NOTUSED = {
|
|
{ APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
|
|
{ APC_UNCONSTRAINED, -1, -1, 0, 0 },
|
|
0, 0 /* No PER value map */
|
|
};
|
|
static asn_TYPE_member_t asn_MBR_setup_9[] = {
|
|
{ ATF_NOFLAGS, 0, offsetof(struct setup, mobilityStateParameters),
|
|
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_MobilityStateParameters,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"mobilityStateParameters"
|
|
},
|
|
{ ATF_NOFLAGS, 0, offsetof(struct setup, timeToTrigger_SF),
|
|
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_SpeedStateScaleFactors,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"timeToTrigger-SF"
|
|
},
|
|
};
|
|
static const ber_tlv_tag_t asn_DEF_setup_tags_9[] = {
|
|
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
|
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
|
};
|
|
static const asn_TYPE_tag2member_t asn_MAP_setup_tag2el_9[] = {
|
|
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* mobilityStateParameters */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* timeToTrigger-SF */
|
|
};
|
|
static asn_SEQUENCE_specifics_t asn_SPC_setup_specs_9 = {
|
|
sizeof(struct setup),
|
|
offsetof(struct setup, _asn_ctx),
|
|
asn_MAP_setup_tag2el_9,
|
|
2, /* Count of tags in the map */
|
|
0, 0, 0, /* Optional elements (not needed) */
|
|
-1, /* Start extensions */
|
|
-1 /* Stop extensions */
|
|
};
|
|
static /* Use -fall-defs-global to expose */
|
|
asn_TYPE_descriptor_t asn_DEF_setup_9 = {
|
|
"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_9,
|
|
sizeof(asn_DEF_setup_tags_9)
|
|
/sizeof(asn_DEF_setup_tags_9[0]) - 1, /* 1 */
|
|
asn_DEF_setup_tags_9, /* Same as above */
|
|
sizeof(asn_DEF_setup_tags_9)
|
|
/sizeof(asn_DEF_setup_tags_9[0]), /* 2 */
|
|
0, /* No PER visible constraints */
|
|
asn_MBR_setup_9,
|
|
2, /* Elements count */
|
|
&asn_SPC_setup_specs_9 /* Additional specs */
|
|
};
|
|
|
|
static asn_TYPE_member_t asn_MBR_speedStatePars_7[] = {
|
|
{ ATF_NOFLAGS, 0, offsetof(struct speedStatePars, 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 speedStatePars, choice.setup),
|
|
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
|
0,
|
|
&asn_DEF_setup_9,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"setup"
|
|
},
|
|
};
|
|
static const asn_TYPE_tag2member_t asn_MAP_speedStatePars_tag2el_7[] = {
|
|
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* release */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* setup */
|
|
};
|
|
static asn_CHOICE_specifics_t asn_SPC_speedStatePars_specs_7 = {
|
|
sizeof(struct speedStatePars),
|
|
offsetof(struct speedStatePars, _asn_ctx),
|
|
offsetof(struct speedStatePars, present),
|
|
sizeof(((struct speedStatePars *)0)->present),
|
|
asn_MAP_speedStatePars_tag2el_7,
|
|
2, /* Count of tags in the map */
|
|
0,
|
|
-1 /* Extensions start */
|
|
};
|
|
static /* Use -fall-defs-global to expose */
|
|
asn_TYPE_descriptor_t asn_DEF_speedStatePars_7 = {
|
|
"speedStatePars",
|
|
"speedStatePars",
|
|
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_speedStatePars_constr_7,
|
|
asn_MBR_speedStatePars_7,
|
|
2, /* Elements count */
|
|
&asn_SPC_speedStatePars_specs_7 /* Additional specs */
|
|
};
|
|
|
|
static asn_TYPE_member_t asn_MBR_VarMeasConfig_1[] = {
|
|
{ ATF_POINTER, 6, offsetof(struct VarMeasConfig, measIdList),
|
|
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_MeasIdToAddModList,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"measIdList"
|
|
},
|
|
{ ATF_POINTER, 5, offsetof(struct VarMeasConfig, measObjectList),
|
|
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_MeasObjectToAddModList,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"measObjectList"
|
|
},
|
|
{ ATF_POINTER, 4, offsetof(struct VarMeasConfig, reportConfigList),
|
|
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_ReportConfigToAddModList,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"reportConfigList"
|
|
},
|
|
{ ATF_POINTER, 3, offsetof(struct VarMeasConfig, quantityConfig),
|
|
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_QuantityConfig,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"quantityConfig"
|
|
},
|
|
{ ATF_POINTER, 2, offsetof(struct VarMeasConfig, s_Measure),
|
|
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
|
|
-1, /* IMPLICIT tag at current level */
|
|
&asn_DEF_RSRP_Range,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"s-Measure"
|
|
},
|
|
{ ATF_POINTER, 1, offsetof(struct VarMeasConfig, speedStatePars),
|
|
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
|
|
+1, /* EXPLICIT tag at current level */
|
|
&asn_DEF_speedStatePars_7,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* No PER visible constraints */
|
|
0,
|
|
"speedStatePars"
|
|
},
|
|
};
|
|
static const int asn_MAP_VarMeasConfig_oms_1[] = { 0, 1, 2, 3, 4, 5 };
|
|
static const ber_tlv_tag_t asn_DEF_VarMeasConfig_tags_1[] = {
|
|
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
|
};
|
|
static const asn_TYPE_tag2member_t asn_MAP_VarMeasConfig_tag2el_1[] = {
|
|
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* measIdList */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* measObjectList */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* reportConfigList */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* quantityConfig */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* s-Measure */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* speedStatePars */
|
|
};
|
|
static asn_SEQUENCE_specifics_t asn_SPC_VarMeasConfig_specs_1 = {
|
|
sizeof(struct VarMeasConfig),
|
|
offsetof(struct VarMeasConfig, _asn_ctx),
|
|
asn_MAP_VarMeasConfig_tag2el_1,
|
|
6, /* Count of tags in the map */
|
|
asn_MAP_VarMeasConfig_oms_1, /* Optional members */
|
|
6, 0, /* Root/Additions */
|
|
-1, /* Start extensions */
|
|
-1 /* Stop extensions */
|
|
};
|
|
asn_TYPE_descriptor_t asn_DEF_VarMeasConfig = {
|
|
"VarMeasConfig",
|
|
"VarMeasConfig",
|
|
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_VarMeasConfig_tags_1,
|
|
sizeof(asn_DEF_VarMeasConfig_tags_1)
|
|
/sizeof(asn_DEF_VarMeasConfig_tags_1[0]), /* 1 */
|
|
asn_DEF_VarMeasConfig_tags_1, /* Same as above */
|
|
sizeof(asn_DEF_VarMeasConfig_tags_1)
|
|
/sizeof(asn_DEF_VarMeasConfig_tags_1[0]), /* 1 */
|
|
0, /* No PER visible constraints */
|
|
asn_MBR_VarMeasConfig_1,
|
|
6, /* Elements count */
|
|
&asn_SPC_VarMeasConfig_specs_1 /* Additional specs */
|
|
};
|
|
|