2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "NR-RRC-Definitions"
4 * found in "02_Aug/rrc_15_3_asn.asn1"
5 * `asn1c -D ./Aug02 -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "BWP-Downlink.h"
10 #include "BWP-DownlinkCommon.h"
11 #include "BWP-DownlinkDedicated.h"
12 asn_TYPE_member_t asn_MBR_BWP_Downlink_1[] = {
13 { ATF_NOFLAGS, 0, offsetof(struct BWP_Downlink, bwp_Id),
14 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
15 -1, /* IMPLICIT tag at current level */
19 0, 0, /* No default value */
22 { ATF_POINTER, 2, offsetof(struct BWP_Downlink, bwp_Common),
23 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
24 -1, /* IMPLICIT tag at current level */
25 &asn_DEF_BWP_DownlinkCommon,
28 0, 0, /* No default value */
31 { ATF_POINTER, 1, offsetof(struct BWP_Downlink, bwp_Dedicated),
32 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
33 -1, /* IMPLICIT tag at current level */
34 &asn_DEF_BWP_DownlinkDedicated,
37 0, 0, /* No default value */
41 static const int asn_MAP_BWP_Downlink_oms_1[] = { 1, 2 };
42 static const ber_tlv_tag_t asn_DEF_BWP_Downlink_tags_1[] = {
43 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
45 static const asn_TYPE_tag2member_t asn_MAP_BWP_Downlink_tag2el_1[] = {
46 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* bwp-Id */
47 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* bwp-Common */
48 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* bwp-Dedicated */
50 asn_SEQUENCE_specifics_t asn_SPC_BWP_Downlink_specs_1 = {
51 sizeof(struct BWP_Downlink),
52 offsetof(struct BWP_Downlink, _asn_ctx),
53 asn_MAP_BWP_Downlink_tag2el_1,
54 3, /* Count of tags in the map */
55 asn_MAP_BWP_Downlink_oms_1, /* Optional members */
56 2, 0, /* Root/Additions */
57 3, /* First extension addition */
59 asn_TYPE_descriptor_t asn_DEF_BWP_Downlink = {
63 asn_DEF_BWP_Downlink_tags_1,
64 sizeof(asn_DEF_BWP_Downlink_tags_1)
65 /sizeof(asn_DEF_BWP_Downlink_tags_1[0]), /* 1 */
66 asn_DEF_BWP_Downlink_tags_1, /* Same as above */
67 sizeof(asn_DEF_BWP_Downlink_tags_1)
68 /sizeof(asn_DEF_BWP_Downlink_tags_1[0]), /* 1 */
69 { 0, 0, SEQUENCE_constraint },
70 asn_MBR_BWP_Downlink_1,
71 3, /* Elements count */
72 &asn_SPC_BWP_Downlink_specs_1 /* Additional specs */