2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "./22April22_Paging/rrc_15.3_asn.asn1"
5 * `asn1c -D ./22April22_Paging -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "ReportConfigNR.h"
10 #include "PeriodicalReportConfig.h"
11 #include "EventTriggerConfig.h"
12 #include "ReportCGI.h"
13 static asn_oer_constraints_t asn_OER_type_reportType_constr_2 CC_NOTUSED = {
16 static asn_per_constraints_t asn_PER_type_reportType_constr_2 CC_NOTUSED = {
17 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
18 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
19 0, 0 /* No PER value map */
21 static asn_TYPE_member_t asn_MBR_reportType_2[] = {
22 { ATF_POINTER, 0, offsetof(struct ReportConfigNR__reportType, choice.periodical),
23 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
24 -1, /* IMPLICIT tag at current level */
25 &asn_DEF_PeriodicalReportConfig,
28 0, 0, /* No default value */
31 { ATF_POINTER, 0, offsetof(struct ReportConfigNR__reportType, choice.eventTriggered),
32 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
33 -1, /* IMPLICIT tag at current level */
34 &asn_DEF_EventTriggerConfig,
37 0, 0, /* No default value */
40 { ATF_POINTER, 0, offsetof(struct ReportConfigNR__reportType, choice.reportCGI),
41 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
42 -1, /* IMPLICIT tag at current level */
46 0, 0, /* No default value */
50 static const asn_TYPE_tag2member_t asn_MAP_reportType_tag2el_2[] = {
51 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* periodical */
52 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* eventTriggered */
53 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* reportCGI */
55 static asn_CHOICE_specifics_t asn_SPC_reportType_specs_2 = {
56 sizeof(struct ReportConfigNR__reportType),
57 offsetof(struct ReportConfigNR__reportType, _asn_ctx),
58 offsetof(struct ReportConfigNR__reportType, present),
59 sizeof(((struct ReportConfigNR__reportType *)0)->present),
60 asn_MAP_reportType_tag2el_2,
61 3, /* Count of tags in the map */
63 2 /* Extensions start */
65 static /* Use -fall-defs-global to expose */
66 asn_TYPE_descriptor_t asn_DEF_reportType_2 = {
70 0, /* No effective tags (pointer) */
71 0, /* No effective tags (count) */
72 0, /* No tags (pointer) */
73 0, /* No tags (count) */
74 { &asn_OER_type_reportType_constr_2, &asn_PER_type_reportType_constr_2, CHOICE_constraint },
76 3, /* Elements count */
77 &asn_SPC_reportType_specs_2 /* Additional specs */
80 asn_TYPE_member_t asn_MBR_ReportConfigNR_1[] = {
81 { ATF_NOFLAGS, 0, offsetof(struct ReportConfigNR, reportType),
82 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
83 +1, /* EXPLICIT tag at current level */
84 &asn_DEF_reportType_2,
87 0, 0, /* No default value */
91 static const ber_tlv_tag_t asn_DEF_ReportConfigNR_tags_1[] = {
92 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
94 static const asn_TYPE_tag2member_t asn_MAP_ReportConfigNR_tag2el_1[] = {
95 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* reportType */
97 asn_SEQUENCE_specifics_t asn_SPC_ReportConfigNR_specs_1 = {
98 sizeof(struct ReportConfigNR),
99 offsetof(struct ReportConfigNR, _asn_ctx),
100 asn_MAP_ReportConfigNR_tag2el_1,
101 1, /* Count of tags in the map */
102 0, 0, 0, /* Optional elements (not needed) */
103 -1, /* First extension addition */
105 asn_TYPE_descriptor_t asn_DEF_ReportConfigNR = {
109 asn_DEF_ReportConfigNR_tags_1,
110 sizeof(asn_DEF_ReportConfigNR_tags_1)
111 /sizeof(asn_DEF_ReportConfigNR_tags_1[0]), /* 1 */
112 asn_DEF_ReportConfigNR_tags_1, /* Same as above */
113 sizeof(asn_DEF_ReportConfigNR_tags_1)
114 /sizeof(asn_DEF_ReportConfigNR_tags_1[0]), /* 1 */
115 { 0, 0, SEQUENCE_constraint },
116 asn_MBR_ReportConfigNR_1,
117 1, /* Elements count */
118 &asn_SPC_ReportConfigNR_specs_1 /* Additional specs */