2749e5976dd5ec46b54b72625bd2f8128ae965cf
[o-du/l2.git] / src / codec_utils / RRC / SecurityModeCommand-IEs.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "NR-RRC-Definitions"
4  *      found in "/home/labadmin/hlal/rrc_15.3_asn.asn1"
5  *      `asn1c -D ./15_3_rrc/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "SecurityModeCommand-IEs.h"
9
10 static const ber_tlv_tag_t asn_DEF_nonCriticalExtension_tags_4[] = {
11         (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
12         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
13 };
14 static asn_SEQUENCE_specifics_t asn_SPC_nonCriticalExtension_specs_4 = {
15         sizeof(struct SecurityModeCommand_IEs__nonCriticalExtension),
16         offsetof(struct SecurityModeCommand_IEs__nonCriticalExtension, _asn_ctx),
17         0,      /* No top level tags */
18         0,      /* No tags in the map */
19         0, 0, 0,        /* Optional elements (not needed) */
20         -1,     /* First extension addition */
21 };
22 static /* Use -fall-defs-global to expose */
23 asn_TYPE_descriptor_t asn_DEF_nonCriticalExtension_4 = {
24         "nonCriticalExtension",
25         "nonCriticalExtension",
26         &asn_OP_SEQUENCE,
27         asn_DEF_nonCriticalExtension_tags_4,
28         sizeof(asn_DEF_nonCriticalExtension_tags_4)
29                 /sizeof(asn_DEF_nonCriticalExtension_tags_4[0]) - 1, /* 1 */
30         asn_DEF_nonCriticalExtension_tags_4,    /* Same as above */
31         sizeof(asn_DEF_nonCriticalExtension_tags_4)
32                 /sizeof(asn_DEF_nonCriticalExtension_tags_4[0]), /* 2 */
33         { 0, 0, SEQUENCE_constraint },
34         0, 0,   /* No members */
35         &asn_SPC_nonCriticalExtension_specs_4   /* Additional specs */
36 };
37
38 asn_TYPE_member_t asn_MBR_SecurityModeCommand_IEs_1[] = {
39         { ATF_NOFLAGS, 0, offsetof(struct SecurityModeCommand_IEs, securityConfigSMC),
40                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
41                 -1,     /* IMPLICIT tag at current level */
42                 &asn_DEF_SecurityConfigSMC,
43                 0,
44                 { 0, 0, 0 },
45                 0, 0, /* No default value */
46                 "securityConfigSMC"
47                 },
48         { ATF_POINTER, 2, offsetof(struct SecurityModeCommand_IEs, lateNonCriticalExtension),
49                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
50                 -1,     /* IMPLICIT tag at current level */
51                 &asn_DEF_OCTET_STRING,
52                 0,
53                 { 0, 0, 0 },
54                 0, 0, /* No default value */
55                 "lateNonCriticalExtension"
56                 },
57         { ATF_POINTER, 1, offsetof(struct SecurityModeCommand_IEs, nonCriticalExtension),
58                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
59                 0,
60                 &asn_DEF_nonCriticalExtension_4,
61                 0,
62                 { 0, 0, 0 },
63                 0, 0, /* No default value */
64                 "nonCriticalExtension"
65                 },
66 };
67 static const int asn_MAP_SecurityModeCommand_IEs_oms_1[] = { 1, 2 };
68 static const ber_tlv_tag_t asn_DEF_SecurityModeCommand_IEs_tags_1[] = {
69         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
70 };
71 static const asn_TYPE_tag2member_t asn_MAP_SecurityModeCommand_IEs_tag2el_1[] = {
72     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* securityConfigSMC */
73     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* lateNonCriticalExtension */
74     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* nonCriticalExtension */
75 };
76 asn_SEQUENCE_specifics_t asn_SPC_SecurityModeCommand_IEs_specs_1 = {
77         sizeof(struct SecurityModeCommand_IEs),
78         offsetof(struct SecurityModeCommand_IEs, _asn_ctx),
79         asn_MAP_SecurityModeCommand_IEs_tag2el_1,
80         3,      /* Count of tags in the map */
81         asn_MAP_SecurityModeCommand_IEs_oms_1,  /* Optional members */
82         2, 0,   /* Root/Additions */
83         -1,     /* First extension addition */
84 };
85 asn_TYPE_descriptor_t asn_DEF_SecurityModeCommand_IEs = {
86         "SecurityModeCommand-IEs",
87         "SecurityModeCommand-IEs",
88         &asn_OP_SEQUENCE,
89         asn_DEF_SecurityModeCommand_IEs_tags_1,
90         sizeof(asn_DEF_SecurityModeCommand_IEs_tags_1)
91                 /sizeof(asn_DEF_SecurityModeCommand_IEs_tags_1[0]), /* 1 */
92         asn_DEF_SecurityModeCommand_IEs_tags_1, /* Same as above */
93         sizeof(asn_DEF_SecurityModeCommand_IEs_tags_1)
94                 /sizeof(asn_DEF_SecurityModeCommand_IEs_tags_1[0]), /* 1 */
95         { 0, 0, SEQUENCE_constraint },
96         asn_MBR_SecurityModeCommand_IEs_1,
97         3,      /* Elements count */
98         &asn_SPC_SecurityModeCommand_IEs_specs_1        /* Additional specs */
99 };
100