2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "../../../rrc_15.5.1_asn.asn1"
5 * `asn1c -D ./rrc_out_hlal -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "ZP-CSI-RS-Resource.h"
10 #include "CSI-ResourcePeriodicityAndOffset.h"
11 asn_TYPE_member_t asn_MBR_ZP_CSI_RS_Resource_1[] = {
12 { ATF_NOFLAGS, 0, offsetof(struct ZP_CSI_RS_Resource, zp_CSI_RS_ResourceId),
13 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
14 -1, /* IMPLICIT tag at current level */
15 &asn_DEF_ZP_CSI_RS_ResourceId,
18 0, 0, /* No default value */
19 "zp-CSI-RS-ResourceId"
21 { ATF_NOFLAGS, 0, offsetof(struct ZP_CSI_RS_Resource, resourceMapping),
22 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
23 -1, /* IMPLICIT tag at current level */
24 &asn_DEF_CSI_RS_ResourceMapping,
27 0, 0, /* No default value */
30 { ATF_POINTER, 1, offsetof(struct ZP_CSI_RS_Resource, periodicityAndOffset),
31 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
32 +1, /* EXPLICIT tag at current level */
33 &asn_DEF_CSI_ResourcePeriodicityAndOffset,
36 0, 0, /* No default value */
37 "periodicityAndOffset"
40 static const int asn_MAP_ZP_CSI_RS_Resource_oms_1[] = { 2 };
41 static const ber_tlv_tag_t asn_DEF_ZP_CSI_RS_Resource_tags_1[] = {
42 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
44 static const asn_TYPE_tag2member_t asn_MAP_ZP_CSI_RS_Resource_tag2el_1[] = {
45 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* zp-CSI-RS-ResourceId */
46 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* resourceMapping */
47 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* periodicityAndOffset */
49 asn_SEQUENCE_specifics_t asn_SPC_ZP_CSI_RS_Resource_specs_1 = {
50 sizeof(struct ZP_CSI_RS_Resource),
51 offsetof(struct ZP_CSI_RS_Resource, _asn_ctx),
52 asn_MAP_ZP_CSI_RS_Resource_tag2el_1,
53 3, /* Count of tags in the map */
54 asn_MAP_ZP_CSI_RS_Resource_oms_1, /* Optional members */
55 1, 0, /* Root/Additions */
56 3, /* First extension addition */
58 asn_TYPE_descriptor_t asn_DEF_ZP_CSI_RS_Resource = {
62 asn_DEF_ZP_CSI_RS_Resource_tags_1,
63 sizeof(asn_DEF_ZP_CSI_RS_Resource_tags_1)
64 /sizeof(asn_DEF_ZP_CSI_RS_Resource_tags_1[0]), /* 1 */
65 asn_DEF_ZP_CSI_RS_Resource_tags_1, /* Same as above */
66 sizeof(asn_DEF_ZP_CSI_RS_Resource_tags_1)
67 /sizeof(asn_DEF_ZP_CSI_RS_Resource_tags_1[0]), /* 1 */
68 { 0, 0, SEQUENCE_constraint },
69 asn_MBR_ZP_CSI_RS_Resource_1,
70 3, /* Elements count */
71 &asn_SPC_ZP_CSI_RS_Resource_specs_1 /* Additional specs */