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.
163 lines
6.3 KiB
C
163 lines
6.3 KiB
C
10 years ago
|
/*
|
||
|
* 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 "RadioResourceConfigCommonSIB.h"
|
||
|
|
||
|
static asn_TYPE_member_t asn_MBR_RadioResourceConfigCommonSIB_1[] = {
|
||
|
{ ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSIB, rach_ConfigCommon),
|
||
|
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||
|
-1, /* IMPLICIT tag at current level */
|
||
|
&asn_DEF_RACH_ConfigCommon,
|
||
|
0, /* Defer constraints checking to the member type */
|
||
|
0, /* No PER visible constraints */
|
||
|
0,
|
||
|
"rach-ConfigCommon"
|
||
|
},
|
||
|
{ ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSIB, bcch_Config),
|
||
|
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||
|
-1, /* IMPLICIT tag at current level */
|
||
|
&asn_DEF_BCCH_Config,
|
||
|
0, /* Defer constraints checking to the member type */
|
||
|
0, /* No PER visible constraints */
|
||
|
0,
|
||
|
"bcch-Config"
|
||
|
},
|
||
|
{ ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSIB, pcch_Config),
|
||
|
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
||
|
-1, /* IMPLICIT tag at current level */
|
||
|
&asn_DEF_PCCH_Config,
|
||
|
0, /* Defer constraints checking to the member type */
|
||
|
0, /* No PER visible constraints */
|
||
|
0,
|
||
|
"pcch-Config"
|
||
|
},
|
||
|
{ ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSIB, prach_Config),
|
||
|
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
|
||
|
-1, /* IMPLICIT tag at current level */
|
||
|
&asn_DEF_PRACH_ConfigSIB,
|
||
|
0, /* Defer constraints checking to the member type */
|
||
|
0, /* No PER visible constraints */
|
||
|
0,
|
||
|
"prach-Config"
|
||
|
},
|
||
|
{ ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSIB, pdsch_ConfigCommon),
|
||
|
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
|
||
|
-1, /* IMPLICIT tag at current level */
|
||
|
&asn_DEF_PDSCH_ConfigCommon,
|
||
|
0, /* Defer constraints checking to the member type */
|
||
|
0, /* No PER visible constraints */
|
||
|
0,
|
||
|
"pdsch-ConfigCommon"
|
||
|
},
|
||
|
{ ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSIB, pusch_ConfigCommon),
|
||
|
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
|
||
|
-1, /* IMPLICIT tag at current level */
|
||
|
&asn_DEF_PUSCH_ConfigCommon,
|
||
|
0, /* Defer constraints checking to the member type */
|
||
|
0, /* No PER visible constraints */
|
||
|
0,
|
||
|
"pusch-ConfigCommon"
|
||
|
},
|
||
|
{ ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSIB, pucch_ConfigCommon),
|
||
|
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
|
||
|
-1, /* IMPLICIT tag at current level */
|
||
|
&asn_DEF_PUCCH_ConfigCommon,
|
||
|
0, /* Defer constraints checking to the member type */
|
||
|
0, /* No PER visible constraints */
|
||
|
0,
|
||
|
"pucch-ConfigCommon"
|
||
|
},
|
||
|
{ ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSIB, soundingRS_UL_ConfigCommon),
|
||
|
(ASN_TAG_CLASS_CONTEXT | (7 << 2)),
|
||
|
+1, /* EXPLICIT tag at current level */
|
||
|
&asn_DEF_SoundingRS_UL_ConfigCommon,
|
||
|
0, /* Defer constraints checking to the member type */
|
||
|
0, /* No PER visible constraints */
|
||
|
0,
|
||
|
"soundingRS-UL-ConfigCommon"
|
||
|
},
|
||
|
{ ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSIB, uplinkPowerControlCommon),
|
||
|
(ASN_TAG_CLASS_CONTEXT | (8 << 2)),
|
||
|
-1, /* IMPLICIT tag at current level */
|
||
|
&asn_DEF_UplinkPowerControlCommon,
|
||
|
0, /* Defer constraints checking to the member type */
|
||
|
0, /* No PER visible constraints */
|
||
|
0,
|
||
|
"uplinkPowerControlCommon"
|
||
|
},
|
||
|
{ ATF_NOFLAGS, 0, offsetof(struct RadioResourceConfigCommonSIB, ul_CyclicPrefixLength),
|
||
|
(ASN_TAG_CLASS_CONTEXT | (9 << 2)),
|
||
|
-1, /* IMPLICIT tag at current level */
|
||
|
&asn_DEF_UL_CyclicPrefixLength,
|
||
|
0, /* Defer constraints checking to the member type */
|
||
|
0, /* No PER visible constraints */
|
||
|
0,
|
||
|
"ul-CyclicPrefixLength"
|
||
|
},
|
||
|
{ ATF_POINTER, 1, offsetof(struct RadioResourceConfigCommonSIB, uplinkPowerControlCommon_v1020),
|
||
|
(ASN_TAG_CLASS_CONTEXT | (10 << 2)),
|
||
|
-1, /* IMPLICIT tag at current level */
|
||
|
&asn_DEF_UplinkPowerControlCommon_v1020,
|
||
|
0, /* Defer constraints checking to the member type */
|
||
|
0, /* No PER visible constraints */
|
||
|
0,
|
||
|
"uplinkPowerControlCommon-v1020"
|
||
|
},
|
||
|
};
|
||
|
static int asn_MAP_RadioResourceConfigCommonSIB_oms_1[] = { 10 };
|
||
|
static ber_tlv_tag_t asn_DEF_RadioResourceConfigCommonSIB_tags_1[] = {
|
||
|
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||
|
};
|
||
|
static asn_TYPE_tag2member_t asn_MAP_RadioResourceConfigCommonSIB_tag2el_1[] = {
|
||
|
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rach-ConfigCommon at 2363 */
|
||
|
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* bcch-Config at 2364 */
|
||
|
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* pcch-Config at 2365 */
|
||
|
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* prach-Config at 2366 */
|
||
|
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* pdsch-ConfigCommon at 2367 */
|
||
|
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* pusch-ConfigCommon at 2368 */
|
||
|
{ (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* pucch-ConfigCommon at 2369 */
|
||
|
{ (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* soundingRS-UL-ConfigCommon at 2370 */
|
||
|
{ (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* uplinkPowerControlCommon at 2371 */
|
||
|
{ (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* ul-CyclicPrefixLength at 2372 */
|
||
|
{ (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 } /* uplinkPowerControlCommon-v1020 at 2373 */
|
||
|
};
|
||
|
static asn_SEQUENCE_specifics_t asn_SPC_RadioResourceConfigCommonSIB_specs_1 = {
|
||
|
sizeof(struct RadioResourceConfigCommonSIB),
|
||
|
offsetof(struct RadioResourceConfigCommonSIB, _asn_ctx),
|
||
|
asn_MAP_RadioResourceConfigCommonSIB_tag2el_1,
|
||
|
11, /* Count of tags in the map */
|
||
|
asn_MAP_RadioResourceConfigCommonSIB_oms_1, /* Optional members */
|
||
|
1, 0, /* Root/Additions */
|
||
|
-1, /* Start extensions */
|
||
|
-1 /* Stop extensions */
|
||
|
};
|
||
|
asn_TYPE_descriptor_t asn_DEF_RadioResourceConfigCommonSIB = {
|
||
|
"RadioResourceConfigCommonSIB",
|
||
|
"RadioResourceConfigCommonSIB",
|
||
|
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_RadioResourceConfigCommonSIB_tags_1,
|
||
|
sizeof(asn_DEF_RadioResourceConfigCommonSIB_tags_1)
|
||
|
/sizeof(asn_DEF_RadioResourceConfigCommonSIB_tags_1[0]), /* 1 */
|
||
|
asn_DEF_RadioResourceConfigCommonSIB_tags_1, /* Same as above */
|
||
|
sizeof(asn_DEF_RadioResourceConfigCommonSIB_tags_1)
|
||
|
/sizeof(asn_DEF_RadioResourceConfigCommonSIB_tags_1[0]), /* 1 */
|
||
|
0, /* No PER visible constraints */
|
||
|
asn_MBR_RadioResourceConfigCommonSIB_1,
|
||
|
11, /* Elements count */
|
||
|
&asn_SPC_RadioResourceConfigCommonSIB_specs_1 /* Additional specs */
|
||
|
};
|
||
|
|