blob: e4b5683e37467b2f3b2fbdf08b28b890bf31affb [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/CGI.h>
Harald Welted523a692015-08-30 23:11:19 +02009
10static asn_TYPE_member_t asn_MBR_CGI_1[] = {
11 { ATF_NOFLAGS, 0, offsetof(struct CGI, pLMNidentity),
12 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
13 -1, /* IMPLICIT tag at current level */
14 &asn_DEF_PLMNidentity,
15 0, /* Defer constraints checking to the member type */
16 0, /* No PER visible constraints */
17 0,
18 "pLMNidentity"
19 },
20 { ATF_NOFLAGS, 0, offsetof(struct CGI, lAC),
21 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
22 -1, /* IMPLICIT tag at current level */
23 &asn_DEF_LAC,
24 0, /* Defer constraints checking to the member type */
25 0, /* No PER visible constraints */
26 0,
27 "lAC"
28 },
29 { ATF_NOFLAGS, 0, offsetof(struct CGI, cI),
30 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
31 -1, /* IMPLICIT tag at current level */
32 &asn_DEF_CI,
33 0, /* Defer constraints checking to the member type */
34 0, /* No PER visible constraints */
35 0,
36 "cI"
37 },
38 { ATF_POINTER, 1, offsetof(struct CGI, iE_Extensions),
39 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
40 -1, /* IMPLICIT tag at current level */
41 &asn_DEF_IE_Extensions,
42 0, /* Defer constraints checking to the member type */
43 0, /* No PER visible constraints */
44 0,
45 "iE-Extensions"
46 },
47};
48static const int asn_MAP_CGI_oms_1[] = { 3 };
49static const ber_tlv_tag_t asn_DEF_CGI_tags_1[] = {
50 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
51};
52static const asn_TYPE_tag2member_t asn_MAP_CGI_tag2el_1[] = {
53 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pLMNidentity */
54 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* lAC */
55 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* cI */
56 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* iE-Extensions */
57};
58static asn_SEQUENCE_specifics_t asn_SPC_CGI_specs_1 = {
59 sizeof(struct CGI),
60 offsetof(struct CGI, _asn_ctx),
61 asn_MAP_CGI_tag2el_1,
62 4, /* Count of tags in the map */
63 asn_MAP_CGI_oms_1, /* Optional members */
64 1, 0, /* Root/Additions */
65 -1, /* Start extensions */
66 -1 /* Stop extensions */
67};
68asn_TYPE_descriptor_t asn_DEF_CGI = {
69 "CGI",
70 "CGI",
71 SEQUENCE_free,
72 SEQUENCE_print,
73 SEQUENCE_constraint,
74 SEQUENCE_decode_ber,
75 SEQUENCE_encode_der,
76 SEQUENCE_decode_xer,
77 SEQUENCE_encode_xer,
78 SEQUENCE_decode_uper,
79 SEQUENCE_encode_uper,
80 SEQUENCE_decode_aper,
81 SEQUENCE_encode_aper,
82 0, /* Use generic outmost tag fetcher */
83 asn_DEF_CGI_tags_1,
84 sizeof(asn_DEF_CGI_tags_1)
85 /sizeof(asn_DEF_CGI_tags_1[0]), /* 1 */
86 asn_DEF_CGI_tags_1, /* Same as above */
87 sizeof(asn_DEF_CGI_tags_1)
88 /sizeof(asn_DEF_CGI_tags_1[0]), /* 1 */
89 0, /* No PER visible constraints */
90 asn_MBR_CGI_1,
91 4, /* Elements count */
92 &asn_SPC_CGI_specs_1 /* Additional specs */
93};
94