remark release date
[Net-Radio-Location-SUPL-Test.git] / asn1 / FrequencyInfo.c
blob5556d8c0cc97e0abaf8c80e11876d4c3eff7d7ca
1 /*
2 * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
3 * From ASN.1 module "ULP-Components"
4 * found in "../asn1src/ULP-Components.asn"
5 * `asn1c -gen-PER -fskeletons-copy -fnative-types`
6 */
8 #include "FrequencyInfo.h"
10 static asn_per_constraints_t asn_PER_type_modeSpecificInfo_constr_2 = {
11 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
12 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
13 0, 0 /* No PER value map */
15 static asn_TYPE_member_t asn_MBR_modeSpecificInfo_2[] = {
16 { ATF_NOFLAGS, 0, offsetof(struct FrequencyInfo__modeSpecificInfo, choice.fdd),
17 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
18 -1, /* IMPLICIT tag at current level */
19 &asn_DEF_FrequencyInfoFDD,
20 0, /* Defer constraints checking to the member type */
21 0, /* No PER visible constraints */
23 "fdd"
25 { ATF_NOFLAGS, 0, offsetof(struct FrequencyInfo__modeSpecificInfo, choice.tdd),
26 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
27 -1, /* IMPLICIT tag at current level */
28 &asn_DEF_FrequencyInfoTDD,
29 0, /* Defer constraints checking to the member type */
30 0, /* No PER visible constraints */
32 "tdd"
35 static asn_TYPE_tag2member_t asn_MAP_modeSpecificInfo_tag2el_2[] = {
36 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* fdd at 118 */
37 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* tdd at 119 */
39 static asn_CHOICE_specifics_t asn_SPC_modeSpecificInfo_specs_2 = {
40 sizeof(struct FrequencyInfo__modeSpecificInfo),
41 offsetof(struct FrequencyInfo__modeSpecificInfo, _asn_ctx),
42 offsetof(struct FrequencyInfo__modeSpecificInfo, present),
43 sizeof(((struct FrequencyInfo__modeSpecificInfo *)0)->present),
44 asn_MAP_modeSpecificInfo_tag2el_2,
45 2, /* Count of tags in the map */
47 2 /* Extensions start */
49 static /* Use -fall-defs-global to expose */
50 asn_TYPE_descriptor_t asn_DEF_modeSpecificInfo_2 = {
51 "modeSpecificInfo",
52 "modeSpecificInfo",
53 CHOICE_free,
54 CHOICE_print,
55 CHOICE_constraint,
56 CHOICE_decode_ber,
57 CHOICE_encode_der,
58 CHOICE_decode_xer,
59 CHOICE_encode_xer,
60 CHOICE_decode_uper,
61 CHOICE_encode_uper,
62 CHOICE_outmost_tag,
63 0, /* No effective tags (pointer) */
64 0, /* No effective tags (count) */
65 0, /* No tags (pointer) */
66 0, /* No tags (count) */
67 &asn_PER_type_modeSpecificInfo_constr_2,
68 asn_MBR_modeSpecificInfo_2,
69 2, /* Elements count */
70 &asn_SPC_modeSpecificInfo_specs_2 /* Additional specs */
73 static asn_TYPE_member_t asn_MBR_FrequencyInfo_1[] = {
74 { ATF_NOFLAGS, 0, offsetof(struct FrequencyInfo, modeSpecificInfo),
75 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
76 +1, /* EXPLICIT tag at current level */
77 &asn_DEF_modeSpecificInfo_2,
78 0, /* Defer constraints checking to the member type */
79 0, /* No PER visible constraints */
81 "modeSpecificInfo"
84 static ber_tlv_tag_t asn_DEF_FrequencyInfo_tags_1[] = {
85 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
87 static asn_TYPE_tag2member_t asn_MAP_FrequencyInfo_tag2el_1[] = {
88 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* modeSpecificInfo at 118 */
90 static asn_SEQUENCE_specifics_t asn_SPC_FrequencyInfo_specs_1 = {
91 sizeof(struct FrequencyInfo),
92 offsetof(struct FrequencyInfo, _asn_ctx),
93 asn_MAP_FrequencyInfo_tag2el_1,
94 1, /* Count of tags in the map */
95 0, 0, 0, /* Optional elements (not needed) */
96 0, /* Start extensions */
97 2 /* Stop extensions */
99 asn_TYPE_descriptor_t asn_DEF_FrequencyInfo = {
100 "FrequencyInfo",
101 "FrequencyInfo",
102 SEQUENCE_free,
103 SEQUENCE_print,
104 SEQUENCE_constraint,
105 SEQUENCE_decode_ber,
106 SEQUENCE_encode_der,
107 SEQUENCE_decode_xer,
108 SEQUENCE_encode_xer,
109 SEQUENCE_decode_uper,
110 SEQUENCE_encode_uper,
111 0, /* Use generic outmost tag fetcher */
112 asn_DEF_FrequencyInfo_tags_1,
113 sizeof(asn_DEF_FrequencyInfo_tags_1)
114 /sizeof(asn_DEF_FrequencyInfo_tags_1[0]), /* 1 */
115 asn_DEF_FrequencyInfo_tags_1, /* Same as above */
116 sizeof(asn_DEF_FrequencyInfo_tags_1)
117 /sizeof(asn_DEF_FrequencyInfo_tags_1[0]), /* 1 */
118 0, /* No PER visible constraints */
119 asn_MBR_FrequencyInfo_1,
120 1, /* Elements count */
121 &asn_SPC_FrequencyInfo_specs_1 /* Additional specs */