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-Capabilities.h> |
Harald Welte | d523a69 | 2015-08-30 23:11:19 +0200 | [diff] [blame] | 9 | |
| 10 | static asn_TYPE_member_t asn_MBR_UE_Capabilities_1[] = { |
| 11 | { ATF_NOFLAGS, 0, offsetof(struct UE_Capabilities, access_stratum_release_indicator), |
| 12 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 13 | -1, /* IMPLICIT tag at current level */ |
| 14 | &asn_DEF_Access_stratum_release_indicator, |
| 15 | 0, /* Defer constraints checking to the member type */ |
| 16 | 0, /* No PER visible constraints */ |
| 17 | 0, |
| 18 | "access-stratum-release-indicator" |
| 19 | }, |
| 20 | { ATF_NOFLAGS, 0, offsetof(struct UE_Capabilities, csg_capability), |
| 21 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 22 | -1, /* IMPLICIT tag at current level */ |
| 23 | &asn_DEF_CSG_Capability, |
| 24 | 0, /* Defer constraints checking to the member type */ |
| 25 | 0, /* No PER visible constraints */ |
| 26 | 0, |
| 27 | "csg-capability" |
| 28 | }, |
| 29 | { ATF_POINTER, 1, offsetof(struct UE_Capabilities, iE_Extensions), |
| 30 | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 31 | -1, /* IMPLICIT tag at current level */ |
| 32 | &asn_DEF_IE_Extensions, |
| 33 | 0, /* Defer constraints checking to the member type */ |
| 34 | 0, /* No PER visible constraints */ |
| 35 | 0, |
| 36 | "iE-Extensions" |
| 37 | }, |
| 38 | }; |
| 39 | static const int asn_MAP_UE_Capabilities_oms_1[] = { 2 }; |
| 40 | static const ber_tlv_tag_t asn_DEF_UE_Capabilities_tags_1[] = { |
| 41 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 42 | }; |
| 43 | static const asn_TYPE_tag2member_t asn_MAP_UE_Capabilities_tag2el_1[] = { |
| 44 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* access-stratum-release-indicator */ |
| 45 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* csg-capability */ |
| 46 | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */ |
| 47 | }; |
| 48 | static asn_SEQUENCE_specifics_t asn_SPC_UE_Capabilities_specs_1 = { |
| 49 | sizeof(struct UE_Capabilities), |
| 50 | offsetof(struct UE_Capabilities, _asn_ctx), |
| 51 | asn_MAP_UE_Capabilities_tag2el_1, |
| 52 | 3, /* Count of tags in the map */ |
| 53 | asn_MAP_UE_Capabilities_oms_1, /* Optional members */ |
| 54 | 1, 0, /* Root/Additions */ |
| 55 | 2, /* Start extensions */ |
| 56 | 4 /* Stop extensions */ |
| 57 | }; |
| 58 | asn_TYPE_descriptor_t asn_DEF_UE_Capabilities = { |
| 59 | "UE-Capabilities", |
| 60 | "UE-Capabilities", |
| 61 | SEQUENCE_free, |
| 62 | SEQUENCE_print, |
| 63 | SEQUENCE_constraint, |
| 64 | SEQUENCE_decode_ber, |
| 65 | SEQUENCE_encode_der, |
| 66 | SEQUENCE_decode_xer, |
| 67 | SEQUENCE_encode_xer, |
| 68 | SEQUENCE_decode_uper, |
| 69 | SEQUENCE_encode_uper, |
| 70 | SEQUENCE_decode_aper, |
| 71 | SEQUENCE_encode_aper, |
| 72 | 0, /* Use generic outmost tag fetcher */ |
| 73 | asn_DEF_UE_Capabilities_tags_1, |
| 74 | sizeof(asn_DEF_UE_Capabilities_tags_1) |
| 75 | /sizeof(asn_DEF_UE_Capabilities_tags_1[0]), /* 1 */ |
| 76 | asn_DEF_UE_Capabilities_tags_1, /* Same as above */ |
| 77 | sizeof(asn_DEF_UE_Capabilities_tags_1) |
| 78 | /sizeof(asn_DEF_UE_Capabilities_tags_1[0]), /* 1 */ |
| 79 | 0, /* No PER visible constraints */ |
| 80 | asn_MBR_UE_Capabilities_1, |
| 81 | 3, /* Elements count */ |
| 82 | &asn_SPC_UE_Capabilities_specs_1 /* Additional specs */ |
| 83 | }; |
| 84 | |