2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "../ASN1_Input/rrc_15_3_asn.asn1"
5 * `asn1c -D ../RRC_output_14Nov/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
8 #include "SCellConfig.h"
10 #include "ServingCellConfigCommon.h"
11 #include "ServingCellConfig.h"
13 static asn_TYPE_member_t asn_MBR_ext1_6[] = {
14 { ATF_POINTER, 1, offsetof(struct SCellConfig__ext1, smtc),
15 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
16 -1, /* IMPLICIT tag at current level */
20 0, 0, /* No default value */
24 static const int asn_MAP_ext1_oms_6[] = { 0 };
25 static const ber_tlv_tag_t asn_DEF_ext1_tags_6[] = {
26 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
27 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
29 static const asn_TYPE_tag2member_t asn_MAP_ext1_tag2el_6[] = {
30 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* smtc */
32 static asn_SEQUENCE_specifics_t asn_SPC_ext1_specs_6 = {
33 sizeof(struct SCellConfig__ext1),
34 offsetof(struct SCellConfig__ext1, _asn_ctx),
35 asn_MAP_ext1_tag2el_6,
36 1, /* Count of tags in the map */
37 asn_MAP_ext1_oms_6, /* Optional members */
38 1, 0, /* Root/Additions */
39 -1, /* First extension addition */
41 static /* Use -fall-defs-global to expose */
42 asn_TYPE_descriptor_t asn_DEF_ext1_6 = {
47 sizeof(asn_DEF_ext1_tags_6)
48 /sizeof(asn_DEF_ext1_tags_6[0]) - 1, /* 1 */
49 asn_DEF_ext1_tags_6, /* Same as above */
50 sizeof(asn_DEF_ext1_tags_6)
51 /sizeof(asn_DEF_ext1_tags_6[0]), /* 2 */
52 { 0, 0, SEQUENCE_constraint },
54 1, /* Elements count */
55 &asn_SPC_ext1_specs_6 /* Additional specs */
58 asn_TYPE_member_t asn_MBR_SCellConfig_1[] = {
59 { ATF_NOFLAGS, 0, offsetof(struct SCellConfig, sCellIndex),
60 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
61 -1, /* IMPLICIT tag at current level */
62 &asn_DEF_SCellIndexRrc,
65 0, 0, /* No default value */
68 { ATF_POINTER, 3, offsetof(struct SCellConfig, sCellConfigCommon),
69 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
70 -1, /* IMPLICIT tag at current level */
71 &asn_DEF_ServingCellConfigCommon,
74 0, 0, /* No default value */
77 { ATF_POINTER, 2, offsetof(struct SCellConfig, sCellConfigDedicated),
78 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
79 -1, /* IMPLICIT tag at current level */
80 &asn_DEF_ServingCellConfig,
83 0, 0, /* No default value */
84 "sCellConfigDedicated"
86 { ATF_POINTER, 1, offsetof(struct SCellConfig, ext1),
87 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
92 0, 0, /* No default value */
96 static const int asn_MAP_SCellConfig_oms_1[] = { 1, 2, 3 };
97 static const ber_tlv_tag_t asn_DEF_SCellConfig_tags_1[] = {
98 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
100 static const asn_TYPE_tag2member_t asn_MAP_SCellConfig_tag2el_1[] = {
101 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sCellIndex */
102 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* sCellConfigCommon */
103 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* sCellConfigDedicated */
104 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* ext1 */
106 asn_SEQUENCE_specifics_t asn_SPC_SCellConfig_specs_1 = {
107 sizeof(struct SCellConfig),
108 offsetof(struct SCellConfig, _asn_ctx),
109 asn_MAP_SCellConfig_tag2el_1,
110 4, /* Count of tags in the map */
111 asn_MAP_SCellConfig_oms_1, /* Optional members */
112 2, 1, /* Root/Additions */
113 3, /* First extension addition */
115 asn_TYPE_descriptor_t asn_DEF_SCellConfig = {
119 asn_DEF_SCellConfig_tags_1,
120 sizeof(asn_DEF_SCellConfig_tags_1)
121 /sizeof(asn_DEF_SCellConfig_tags_1[0]), /* 1 */
122 asn_DEF_SCellConfig_tags_1, /* Same as above */
123 sizeof(asn_DEF_SCellConfig_tags_1)
124 /sizeof(asn_DEF_SCellConfig_tags_1[0]), /* 1 */
125 { 0, 0, SEQUENCE_constraint },
126 asn_MBR_SCellConfig_1,
127 4, /* Elements count */
128 &asn_SPC_SCellConfig_specs_1 /* Additional specs */