[Epic-ID: ODUHIGH-464][Task-ID: ODUHIGH-483] Memeory related fix in FDD and TDD mode
[o-du/l2.git] / src / codec_utils / RRC / CarrierInfoNR.c
1 /*
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`
6  */
7
8 #include "CarrierInfoNR.h"
9
10 #include "SSB-MTC.h"
11 asn_TYPE_member_t asn_MBR_CarrierInfoNR_1[] = {
12         { ATF_NOFLAGS, 0, offsetof(struct CarrierInfoNR, carrierFreq),
13                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
14                 -1,     /* IMPLICIT tag at current level */
15                 &asn_DEF_ARFCN_ValueNR,
16                 0,
17                 { 0, 0, 0 },
18                 0, 0, /* No default value */
19                 "carrierFreq"
20                 },
21         { ATF_NOFLAGS, 0, offsetof(struct CarrierInfoNR, ssbSubcarrierSpacing),
22                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
23                 -1,     /* IMPLICIT tag at current level */
24                 &asn_DEF_SubcarrierSpacing,
25                 0,
26                 { 0, 0, 0 },
27                 0, 0, /* No default value */
28                 "ssbSubcarrierSpacing"
29                 },
30         { ATF_POINTER, 1, offsetof(struct CarrierInfoNR, smtc),
31                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
32                 -1,     /* IMPLICIT tag at current level */
33                 &asn_DEF_SSB_MTC,
34                 0,
35                 { 0, 0, 0 },
36                 0, 0, /* No default value */
37                 "smtc"
38                 },
39 };
40 static const int asn_MAP_CarrierInfoNR_oms_1[] = { 2 };
41 static const ber_tlv_tag_t asn_DEF_CarrierInfoNR_tags_1[] = {
42         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
43 };
44 static const asn_TYPE_tag2member_t asn_MAP_CarrierInfoNR_tag2el_1[] = {
45     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* carrierFreq */
46     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ssbSubcarrierSpacing */
47     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* smtc */
48 };
49 asn_SEQUENCE_specifics_t asn_SPC_CarrierInfoNR_specs_1 = {
50         sizeof(struct CarrierInfoNR),
51         offsetof(struct CarrierInfoNR, _asn_ctx),
52         asn_MAP_CarrierInfoNR_tag2el_1,
53         3,      /* Count of tags in the map */
54         asn_MAP_CarrierInfoNR_oms_1,    /* Optional members */
55         1, 0,   /* Root/Additions */
56         3,      /* First extension addition */
57 };
58 asn_TYPE_descriptor_t asn_DEF_CarrierInfoNR = {
59         "CarrierInfoNR",
60         "CarrierInfoNR",
61         &asn_OP_SEQUENCE,
62         asn_DEF_CarrierInfoNR_tags_1,
63         sizeof(asn_DEF_CarrierInfoNR_tags_1)
64                 /sizeof(asn_DEF_CarrierInfoNR_tags_1[0]), /* 1 */
65         asn_DEF_CarrierInfoNR_tags_1,   /* Same as above */
66         sizeof(asn_DEF_CarrierInfoNR_tags_1)
67                 /sizeof(asn_DEF_CarrierInfoNR_tags_1[0]), /* 1 */
68         { 0, 0, SEQUENCE_constraint },
69         asn_MBR_CarrierInfoNR_1,
70         3,      /* Elements count */
71         &asn_SPC_CarrierInfoNR_specs_1  /* Additional specs */
72 };
73