706760302b2c452ff387859760a691380dbb390d
[ric-plt/submgr.git] / e2ap / lib / UE-ContextInformation.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "X2AP-PDU-Contents"
4  *      found in "X2AP-15-4-0.asn1"
5  *      `asn1c -D ./asn1_n1 -pdu=auto -fno-include-deps -fcompound-names -findirect-choice -gen-PER -gen-OER -no-gen-example`
6  */
7
8 #include "UE-ContextInformation.h"
9
10 #include "HandoverRestrictionList.h"
11 #include "LocationReportingInformation.h"
12 #include "ProtocolExtensionContainer.h"
13 static asn_TYPE_member_t asn_MBR_UE_ContextInformation_1[] = {
14         { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformation, mME_UE_S1AP_ID),
15                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
16                 -1,     /* IMPLICIT tag at current level */
17                 &asn_DEF_UE_S1AP_ID,
18                 0,
19                 { 0, 0, 0 },
20                 0, 0, /* No default value */
21                 "mME-UE-S1AP-ID"
22                 },
23         { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformation, uESecurityCapabilities),
24                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
25                 -1,     /* IMPLICIT tag at current level */
26                 &asn_DEF_UESecurityCapabilities,
27                 0,
28                 { 0, 0, 0 },
29                 0, 0, /* No default value */
30                 "uESecurityCapabilities"
31                 },
32         { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformation, aS_SecurityInformation),
33                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
34                 -1,     /* IMPLICIT tag at current level */
35                 &asn_DEF_AS_SecurityInformation,
36                 0,
37                 { 0, 0, 0 },
38                 0, 0, /* No default value */
39                 "aS-SecurityInformation"
40                 },
41         { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformation, uEaggregateMaximumBitRate),
42                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
43                 -1,     /* IMPLICIT tag at current level */
44                 &asn_DEF_UEAggregateMaximumBitRate,
45                 0,
46                 { 0, 0, 0 },
47                 0, 0, /* No default value */
48                 "uEaggregateMaximumBitRate"
49                 },
50         { ATF_POINTER, 1, offsetof(struct UE_ContextInformation, subscriberProfileIDforRFP),
51                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
52                 -1,     /* IMPLICIT tag at current level */
53                 &asn_DEF_SubscriberProfileIDforRFP,
54                 0,
55                 { 0, 0, 0 },
56                 0, 0, /* No default value */
57                 "subscriberProfileIDforRFP"
58                 },
59         { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformation, e_RABs_ToBeSetup_List),
60                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
61                 -1,     /* IMPLICIT tag at current level */
62                 &asn_DEF_E_RABs_ToBeSetup_List,
63                 0,
64                 { 0, 0, 0 },
65                 0, 0, /* No default value */
66                 "e-RABs-ToBeSetup-List"
67                 },
68         { ATF_NOFLAGS, 0, offsetof(struct UE_ContextInformation, rRC_Context),
69                 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
70                 -1,     /* IMPLICIT tag at current level */
71                 &asn_DEF_RRC_Context,
72                 0,
73                 { 0, 0, 0 },
74                 0, 0, /* No default value */
75                 "rRC-Context"
76                 },
77         { ATF_POINTER, 3, offsetof(struct UE_ContextInformation, handoverRestrictionList),
78                 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
79                 -1,     /* IMPLICIT tag at current level */
80                 &asn_DEF_HandoverRestrictionList,
81                 0,
82                 { 0, 0, 0 },
83                 0, 0, /* No default value */
84                 "handoverRestrictionList"
85                 },
86         { ATF_POINTER, 2, offsetof(struct UE_ContextInformation, locationReportingInformation),
87                 (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
88                 -1,     /* IMPLICIT tag at current level */
89                 &asn_DEF_LocationReportingInformation,
90                 0,
91                 { 0, 0, 0 },
92                 0, 0, /* No default value */
93                 "locationReportingInformation"
94                 },
95         { ATF_POINTER, 1, offsetof(struct UE_ContextInformation, iE_Extensions),
96                 (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
97                 -1,     /* IMPLICIT tag at current level */
98                 &asn_DEF_ProtocolExtensionContainer_7683P0,
99                 0,
100                 { 0, 0, 0 },
101                 0, 0, /* No default value */
102                 "iE-Extensions"
103                 },
104 };
105 static const int asn_MAP_UE_ContextInformation_oms_1[] = { 4, 7, 8, 9 };
106 static const ber_tlv_tag_t asn_DEF_UE_ContextInformation_tags_1[] = {
107         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
108 };
109 static const asn_TYPE_tag2member_t asn_MAP_UE_ContextInformation_tag2el_1[] = {
110     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* mME-UE-S1AP-ID */
111     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* uESecurityCapabilities */
112     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* aS-SecurityInformation */
113     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* uEaggregateMaximumBitRate */
114     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* subscriberProfileIDforRFP */
115     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* e-RABs-ToBeSetup-List */
116     { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* rRC-Context */
117     { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* handoverRestrictionList */
118     { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* locationReportingInformation */
119     { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 } /* iE-Extensions */
120 };
121 static asn_SEQUENCE_specifics_t asn_SPC_UE_ContextInformation_specs_1 = {
122         sizeof(struct UE_ContextInformation),
123         offsetof(struct UE_ContextInformation, _asn_ctx),
124         asn_MAP_UE_ContextInformation_tag2el_1,
125         10,     /* Count of tags in the map */
126         asn_MAP_UE_ContextInformation_oms_1,    /* Optional members */
127         4, 0,   /* Root/Additions */
128         10,     /* First extension addition */
129 };
130 asn_TYPE_descriptor_t asn_DEF_UE_ContextInformation = {
131         "UE-ContextInformation",
132         "UE-ContextInformation",
133         &asn_OP_SEQUENCE,
134         asn_DEF_UE_ContextInformation_tags_1,
135         sizeof(asn_DEF_UE_ContextInformation_tags_1)
136                 /sizeof(asn_DEF_UE_ContextInformation_tags_1[0]), /* 1 */
137         asn_DEF_UE_ContextInformation_tags_1,   /* Same as above */
138         sizeof(asn_DEF_UE_ContextInformation_tags_1)
139                 /sizeof(asn_DEF_UE_ContextInformation_tags_1[0]), /* 1 */
140         { 0, 0, SEQUENCE_constraint },
141         asn_MBR_UE_ContextInformation_1,
142         10,     /* Elements count */
143         &asn_SPC_UE_ContextInformation_specs_1  /* Additional specs */
144 };
145