dfa897858dd07a28be68255a891498b69dcc3250
[o-du/l2.git] / src / codec_utils / F1AP / DRXCycle.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "F1AP-IEs"
4  *      found in "F1.asn1"
5  *      `asn1c -D ./out -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "DRXCycle.h"
9
10 #include "ProtocolExtensionContainer.h"
11 static asn_TYPE_member_t asn_MBR_DRXCycle_1[] = {
12         { ATF_NOFLAGS, 0, offsetof(struct DRXCycle, longDRXCycleLength),
13                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
14                 -1,     /* IMPLICIT tag at current level */
15                 &asn_DEF_LongDRXCycleLength,
16                 0,
17                 { 0, 0, 0 },
18                 0, 0, /* No default value */
19                 "longDRXCycleLength"
20                 },
21         { ATF_POINTER, 3, offsetof(struct DRXCycle, shortDRXCycleLength),
22                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
23                 -1,     /* IMPLICIT tag at current level */
24                 &asn_DEF_ShortDRXCycleLength,
25                 0,
26                 { 0, 0, 0 },
27                 0, 0, /* No default value */
28                 "shortDRXCycleLength"
29                 },
30         { ATF_POINTER, 2, offsetof(struct DRXCycle, shortDRXCycleTimer),
31                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
32                 -1,     /* IMPLICIT tag at current level */
33                 &asn_DEF_ShortDRXCycleTimer,
34                 0,
35                 { 0, 0, 0 },
36                 0, 0, /* No default value */
37                 "shortDRXCycleTimer"
38                 },
39         { ATF_POINTER, 1, offsetof(struct DRXCycle, iE_Extensions),
40                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
41                 -1,     /* IMPLICIT tag at current level */
42                 &asn_DEF_ProtocolExtensionContainer_4624P35,
43                 0,
44                 { 0, 0, 0 },
45                 0, 0, /* No default value */
46                 "iE-Extensions"
47                 },
48 };
49 static const int asn_MAP_DRXCycle_oms_1[] = { 1, 2, 3 };
50 static const ber_tlv_tag_t asn_DEF_DRXCycle_tags_1[] = {
51         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
52 };
53 static const asn_TYPE_tag2member_t asn_MAP_DRXCycle_tag2el_1[] = {
54     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* longDRXCycleLength */
55     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* shortDRXCycleLength */
56     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* shortDRXCycleTimer */
57     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* iE-Extensions */
58 };
59 static asn_SEQUENCE_specifics_t asn_SPC_DRXCycle_specs_1 = {
60         sizeof(struct DRXCycle),
61         offsetof(struct DRXCycle, _asn_ctx),
62         asn_MAP_DRXCycle_tag2el_1,
63         4,      /* Count of tags in the map */
64         asn_MAP_DRXCycle_oms_1, /* Optional members */
65         3, 0,   /* Root/Additions */
66         4,      /* First extension addition */
67 };
68 asn_TYPE_descriptor_t asn_DEF_DRXCycle = {
69         "DRXCycle",
70         "DRXCycle",
71         &asn_OP_SEQUENCE,
72         asn_DEF_DRXCycle_tags_1,
73         sizeof(asn_DEF_DRXCycle_tags_1)
74                 /sizeof(asn_DEF_DRXCycle_tags_1[0]), /* 1 */
75         asn_DEF_DRXCycle_tags_1,        /* Same as above */
76         sizeof(asn_DEF_DRXCycle_tags_1)
77                 /sizeof(asn_DEF_DRXCycle_tags_1[0]), /* 1 */
78         { 0, 0, SEQUENCE_constraint },
79         asn_MBR_DRXCycle_1,
80         4,      /* Elements count */
81         &asn_SPC_DRXCycle_specs_1       /* Additional specs */
82 };
83