Harald Welte | d523a69 | 2015-08-30 23:11:19 +0200 | [diff] [blame] | 1 | /* |
| 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 Welte | ff4750f | 2015-08-31 09:55:28 +0200 | [diff] [blame] | 5 | * `asn1c -gen-PER` |
Harald Welte | d523a69 | 2015-08-30 23:11:19 +0200 | [diff] [blame] | 6 | */ |
| 7 | |
Neels Hofmeyr | b042937 | 2016-01-04 15:30:51 +0100 | [diff] [blame] | 8 | #include <osmocom/osmo-iuh/hnbap/HNB-GWResponse.h> |
Harald Welte | d523a69 | 2015-08-30 23:11:19 +0200 | [diff] [blame] | 9 | |
| 10 | static asn_per_constraints_t asn_PER_type_HNB_GWResponse_constr_1 GCC_NOTUSED = { |
| 11 | { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0l, 2l } /* (0..2,...) */, |
| 12 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 13 | 0, 0 /* No PER value map */ |
| 14 | }; |
| 15 | static asn_TYPE_member_t asn_MBR_HNB_GWResponse_1[] = { |
| 16 | { ATF_NOFLAGS, 0, offsetof(struct HNB_GWResponse, choice.hNB), |
| 17 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 18 | -1, /* IMPLICIT tag at current level */ |
| 19 | &asn_DEF_HNBConfigInfo, |
| 20 | 0, /* Defer constraints checking to the member type */ |
| 21 | 0, /* No PER visible constraints */ |
| 22 | 0, |
| 23 | "hNB" |
| 24 | }, |
| 25 | { ATF_NOFLAGS, 0, offsetof(struct HNB_GWResponse, choice.macroRNC), |
| 26 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 27 | -1, /* IMPLICIT tag at current level */ |
| 28 | &asn_DEF_RNC_ID, |
| 29 | 0, /* Defer constraints checking to the member type */ |
| 30 | 0, /* No PER visible constraints */ |
| 31 | 0, |
| 32 | "macroRNC" |
| 33 | }, |
| 34 | { ATF_NOFLAGS, 0, offsetof(struct HNB_GWResponse, choice.unknownU_RNTIIndication), |
| 35 | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 36 | -1, /* IMPLICIT tag at current level */ |
| 37 | &asn_DEF_UnknownU_RNTIIndication, |
| 38 | 0, /* Defer constraints checking to the member type */ |
| 39 | 0, /* No PER visible constraints */ |
| 40 | 0, |
| 41 | "unknownU-RNTIIndication" |
| 42 | }, |
| 43 | }; |
| 44 | static const asn_TYPE_tag2member_t asn_MAP_HNB_GWResponse_tag2el_1[] = { |
| 45 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* hNB */ |
| 46 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* macroRNC */ |
| 47 | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* unknownU-RNTIIndication */ |
| 48 | }; |
| 49 | static asn_CHOICE_specifics_t asn_SPC_HNB_GWResponse_specs_1 = { |
| 50 | sizeof(struct HNB_GWResponse), |
| 51 | offsetof(struct HNB_GWResponse, _asn_ctx), |
| 52 | offsetof(struct HNB_GWResponse, present), |
| 53 | sizeof(((struct HNB_GWResponse *)0)->present), |
| 54 | asn_MAP_HNB_GWResponse_tag2el_1, |
| 55 | 3, /* Count of tags in the map */ |
| 56 | 0, |
| 57 | 3 /* Extensions start */ |
| 58 | }; |
| 59 | asn_TYPE_descriptor_t asn_DEF_HNB_GWResponse = { |
| 60 | "HNB-GWResponse", |
| 61 | "HNB-GWResponse", |
| 62 | CHOICE_free, |
| 63 | CHOICE_print, |
| 64 | CHOICE_constraint, |
| 65 | CHOICE_decode_ber, |
| 66 | CHOICE_encode_der, |
| 67 | CHOICE_decode_xer, |
| 68 | CHOICE_encode_xer, |
| 69 | CHOICE_decode_uper, |
| 70 | CHOICE_encode_uper, |
| 71 | CHOICE_decode_aper, |
| 72 | CHOICE_encode_aper, |
| 73 | CHOICE_outmost_tag, |
| 74 | 0, /* No effective tags (pointer) */ |
| 75 | 0, /* No effective tags (count) */ |
| 76 | 0, /* No tags (pointer) */ |
| 77 | 0, /* No tags (count) */ |
| 78 | &asn_PER_type_HNB_GWResponse_constr_1, |
| 79 | asn_MBR_HNB_GWResponse_1, |
| 80 | 3, /* Elements count */ |
| 81 | &asn_SPC_HNB_GWResponse_specs_1 /* Additional specs */ |
| 82 | }; |
| 83 | |