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/UE-Identity.h> |
Harald Welte | d523a69 | 2015-08-30 23:11:19 +0200 | [diff] [blame] | 9 | |
| 10 | static asn_per_constraints_t asn_PER_type_UE_Identity_constr_1 GCC_NOTUSED = { |
| 11 | { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0l, 7l } /* (0..7,...) */, |
| 12 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 13 | 0, 0 /* No PER value map */ |
| 14 | }; |
| 15 | static asn_TYPE_member_t asn_MBR_UE_Identity_1[] = { |
| 16 | { ATF_NOFLAGS, 0, offsetof(struct UE_Identity, choice.iMSI), |
| 17 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 18 | -1, /* IMPLICIT tag at current level */ |
| 19 | &asn_DEF_IMSI, |
| 20 | 0, /* Defer constraints checking to the member type */ |
| 21 | 0, /* No PER visible constraints */ |
| 22 | 0, |
| 23 | "iMSI" |
| 24 | }, |
| 25 | { ATF_NOFLAGS, 0, offsetof(struct UE_Identity, choice.tMSILAI), |
| 26 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 27 | -1, /* IMPLICIT tag at current level */ |
| 28 | &asn_DEF_TMSILAI, |
| 29 | 0, /* Defer constraints checking to the member type */ |
| 30 | 0, /* No PER visible constraints */ |
| 31 | 0, |
| 32 | "tMSILAI" |
| 33 | }, |
| 34 | { ATF_NOFLAGS, 0, offsetof(struct UE_Identity, choice.pTMSIRAI), |
| 35 | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 36 | -1, /* IMPLICIT tag at current level */ |
| 37 | &asn_DEF_PTMSIRAI, |
| 38 | 0, /* Defer constraints checking to the member type */ |
| 39 | 0, /* No PER visible constraints */ |
| 40 | 0, |
| 41 | "pTMSIRAI" |
| 42 | }, |
| 43 | { ATF_NOFLAGS, 0, offsetof(struct UE_Identity, choice.iMEI), |
| 44 | (ASN_TAG_CLASS_CONTEXT | (3 << 2)), |
| 45 | -1, /* IMPLICIT tag at current level */ |
| 46 | &asn_DEF_IMEI, |
| 47 | 0, /* Defer constraints checking to the member type */ |
| 48 | 0, /* No PER visible constraints */ |
| 49 | 0, |
| 50 | "iMEI" |
| 51 | }, |
| 52 | { ATF_NOFLAGS, 0, offsetof(struct UE_Identity, choice.eSN), |
| 53 | (ASN_TAG_CLASS_CONTEXT | (4 << 2)), |
| 54 | -1, /* IMPLICIT tag at current level */ |
| 55 | &asn_DEF_ESN, |
| 56 | 0, /* Defer constraints checking to the member type */ |
| 57 | 0, /* No PER visible constraints */ |
| 58 | 0, |
| 59 | "eSN" |
| 60 | }, |
| 61 | { ATF_NOFLAGS, 0, offsetof(struct UE_Identity, choice.iMSIDS41), |
| 62 | (ASN_TAG_CLASS_CONTEXT | (5 << 2)), |
| 63 | -1, /* IMPLICIT tag at current level */ |
| 64 | &asn_DEF_IMSIDS41, |
| 65 | 0, /* Defer constraints checking to the member type */ |
| 66 | 0, /* No PER visible constraints */ |
| 67 | 0, |
| 68 | "iMSIDS41" |
| 69 | }, |
| 70 | { ATF_NOFLAGS, 0, offsetof(struct UE_Identity, choice.iMSIESN), |
| 71 | (ASN_TAG_CLASS_CONTEXT | (6 << 2)), |
| 72 | -1, /* IMPLICIT tag at current level */ |
| 73 | &asn_DEF_IMSIESN, |
| 74 | 0, /* Defer constraints checking to the member type */ |
| 75 | 0, /* No PER visible constraints */ |
| 76 | 0, |
| 77 | "iMSIESN" |
| 78 | }, |
| 79 | { ATF_NOFLAGS, 0, offsetof(struct UE_Identity, choice.tMSIDS41), |
| 80 | (ASN_TAG_CLASS_CONTEXT | (7 << 2)), |
| 81 | -1, /* IMPLICIT tag at current level */ |
| 82 | &asn_DEF_TMSIDS41, |
| 83 | 0, /* Defer constraints checking to the member type */ |
| 84 | 0, /* No PER visible constraints */ |
| 85 | 0, |
| 86 | "tMSIDS41" |
| 87 | }, |
| 88 | }; |
| 89 | static const asn_TYPE_tag2member_t asn_MAP_UE_Identity_tag2el_1[] = { |
| 90 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* iMSI */ |
| 91 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* tMSILAI */ |
| 92 | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* pTMSIRAI */ |
| 93 | { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* iMEI */ |
| 94 | { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* eSN */ |
| 95 | { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* iMSIDS41 */ |
| 96 | { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* iMSIESN */ |
| 97 | { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 } /* tMSIDS41 */ |
| 98 | }; |
| 99 | static asn_CHOICE_specifics_t asn_SPC_UE_Identity_specs_1 = { |
| 100 | sizeof(struct UE_Identity), |
| 101 | offsetof(struct UE_Identity, _asn_ctx), |
| 102 | offsetof(struct UE_Identity, present), |
| 103 | sizeof(((struct UE_Identity *)0)->present), |
| 104 | asn_MAP_UE_Identity_tag2el_1, |
| 105 | 8, /* Count of tags in the map */ |
| 106 | 0, |
| 107 | 8 /* Extensions start */ |
| 108 | }; |
| 109 | asn_TYPE_descriptor_t asn_DEF_UE_Identity = { |
| 110 | "UE-Identity", |
| 111 | "UE-Identity", |
| 112 | CHOICE_free, |
| 113 | CHOICE_print, |
| 114 | CHOICE_constraint, |
| 115 | CHOICE_decode_ber, |
| 116 | CHOICE_encode_der, |
| 117 | CHOICE_decode_xer, |
| 118 | CHOICE_encode_xer, |
| 119 | CHOICE_decode_uper, |
| 120 | CHOICE_encode_uper, |
| 121 | CHOICE_decode_aper, |
| 122 | CHOICE_encode_aper, |
| 123 | CHOICE_outmost_tag, |
| 124 | 0, /* No effective tags (pointer) */ |
| 125 | 0, /* No effective tags (count) */ |
| 126 | 0, /* No tags (pointer) */ |
| 127 | 0, /* No tags (count) */ |
| 128 | &asn_PER_type_UE_Identity_constr_1, |
| 129 | asn_MBR_UE_Identity_1, |
| 130 | 8, /* Elements count */ |
| 131 | &asn_SPC_UE_Identity_specs_1 /* Additional specs */ |
| 132 | }; |
| 133 | |