blob: c6b964c10b6361adb92b86ca1993e55e8f198df7 [file] [log] [blame]
Harald Welted523a692015-08-30 23:11:19 +02001/*
2 * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
3 * From ASN.1 module "HNBAP-IEs"
4 * found in "../../asn1/hnbap/HNBAP-IEs.asn"
Harald Welteff4750f2015-08-31 09:55:28 +02005 * `asn1c -gen-PER`
Harald Welted523a692015-08-30 23:11:19 +02006 */
7
Neels Hofmeyrf1f2d7c2016-01-05 12:00:06 +01008#include <osmocom/hnbap/UTRANCellID.h>
Harald Welted523a692015-08-30 23:11:19 +02009
10static asn_TYPE_member_t asn_MBR_UTRANCellID_1[] = {
11 { ATF_NOFLAGS, 0, offsetof(struct UTRANCellID, lAC),
12 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
13 -1, /* IMPLICIT tag at current level */
14 &asn_DEF_LAC,
15 0, /* Defer constraints checking to the member type */
16 0, /* No PER visible constraints */
17 0,
18 "lAC"
19 },
20 { ATF_NOFLAGS, 0, offsetof(struct UTRANCellID, rAC),
21 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
22 -1, /* IMPLICIT tag at current level */
23 &asn_DEF_RAC,
24 0, /* Defer constraints checking to the member type */
25 0, /* No PER visible constraints */
26 0,
27 "rAC"
28 },
29 { ATF_NOFLAGS, 0, offsetof(struct UTRANCellID, pLMNidentity),
30 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
31 -1, /* IMPLICIT tag at current level */
32 &asn_DEF_PLMNidentity,
33 0, /* Defer constraints checking to the member type */
34 0, /* No PER visible constraints */
35 0,
36 "pLMNidentity"
37 },
38 { ATF_NOFLAGS, 0, offsetof(struct UTRANCellID, uTRANcellID),
39 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
40 -1, /* IMPLICIT tag at current level */
41 &asn_DEF_CellIdentity,
42 0, /* Defer constraints checking to the member type */
43 0, /* No PER visible constraints */
44 0,
45 "uTRANcellID"
46 },
47 { ATF_POINTER, 1, offsetof(struct UTRANCellID, iE_Extensions),
48 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
49 -1, /* IMPLICIT tag at current level */
50 &asn_DEF_IE_Extensions,
51 0, /* Defer constraints checking to the member type */
52 0, /* No PER visible constraints */
53 0,
54 "iE-Extensions"
55 },
56};
57static const int asn_MAP_UTRANCellID_oms_1[] = { 4 };
58static const ber_tlv_tag_t asn_DEF_UTRANCellID_tags_1[] = {
59 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
60};
61static const asn_TYPE_tag2member_t asn_MAP_UTRANCellID_tag2el_1[] = {
62 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lAC */
63 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* rAC */
64 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* pLMNidentity */
65 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* uTRANcellID */
66 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iE-Extensions */
67};
68static asn_SEQUENCE_specifics_t asn_SPC_UTRANCellID_specs_1 = {
69 sizeof(struct UTRANCellID),
70 offsetof(struct UTRANCellID, _asn_ctx),
71 asn_MAP_UTRANCellID_tag2el_1,
72 5, /* Count of tags in the map */
73 asn_MAP_UTRANCellID_oms_1, /* Optional members */
74 1, 0, /* Root/Additions */
75 -1, /* Start extensions */
76 -1 /* Stop extensions */
77};
78asn_TYPE_descriptor_t asn_DEF_UTRANCellID = {
79 "UTRANCellID",
80 "UTRANCellID",
81 SEQUENCE_free,
82 SEQUENCE_print,
83 SEQUENCE_constraint,
84 SEQUENCE_decode_ber,
85 SEQUENCE_encode_der,
86 SEQUENCE_decode_xer,
87 SEQUENCE_encode_xer,
88 SEQUENCE_decode_uper,
89 SEQUENCE_encode_uper,
90 SEQUENCE_decode_aper,
91 SEQUENCE_encode_aper,
92 0, /* Use generic outmost tag fetcher */
93 asn_DEF_UTRANCellID_tags_1,
94 sizeof(asn_DEF_UTRANCellID_tags_1)
95 /sizeof(asn_DEF_UTRANCellID_tags_1[0]), /* 1 */
96 asn_DEF_UTRANCellID_tags_1, /* Same as above */
97 sizeof(asn_DEF_UTRANCellID_tags_1)
98 /sizeof(asn_DEF_UTRANCellID_tags_1[0]), /* 1 */
99 0, /* No PER visible constraints */
100 asn_MBR_UTRANCellID_1,
101 5, /* Elements count */
102 &asn_SPC_UTRANCellID_specs_1 /* Additional specs */
103};
104