Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-07-06 | aper fix for decoding constrained integer with lower boundary3G_2016_09aper-prefix-onto-upstream | Harald Welte | 1 | -12/+21 | |
When decoding a constrained integer with a lower boundary, we need to make sure the lower bound is added after decoding the raw offset inside the range. Before this change, RANAP_CauseMisc_unspecified_failure (115) would be encoded as 2 (115 - 113 = 2), but would be decoded as 2, rather than 113+2 = 115. Code for this was taken from openairinterface5g/openair3/S1AP/MESSAGES/ASN1/asn1cpatch.p0 which unfortunately doesn't carry much of a revision history :/ | |||||
2016-07-06 | automake: automake 1.11.1 does not have this macro, ignore it then | Holger Hans Peter Freyther | 1 | -1/+1 | |
2016-07-06 | prefixing of generated types using a ASN1C_PREFIX environment variable | Harald Welte | 3 | -8/+39 | |
When generating code for multiple ASN.1 syntaxes that have clashing names, we need to add a prefix in order to prevent clashes in the global C symbol namespace. Using the ASN1C_PREFIX environment variable and this patch serves as a work-around to that. All non-basic type names as well as references to that type and source code + header file names will be pre-fixed accordingly. | |||||
2016-07-06 | Fix a bug in asn1c PER code when skipping unknown extension | roux | 1 | -1/+1 | |
Basically when skiping an unknown extension, asn1c did read 24 bits per 24 bits and later on failed if the remaining bits (up to 23) were superior to 8. The patch reads 1 bit per 1 bit. (imported from openairinterface5g/openair2/RRC/LITE/MESSAGES/asn1c/asn1cpatch.p0) | |||||
2016-07-06 | fix APER encoding of integer (backport from openairinterface) | Harald Welte | 1 | -5/+22 | |
The number of bytes used by an APER encoded integer depends on its actually encoded value, not on the maximum value that could be possibly encoded. The old code would e.g. always use 24 bits if the maximum encoded value would require 24 bits. To give an example RANAP MaxBitrate (INTEER 1 .. 16000000) value 64000 was previously encoded as "80 00 f9 ff", while it is now the correct representation "40 f9 ff". Thanks to Dieter Spaar for detecting this problem in the Osmo-IUH generated RANAP output, and thanks to openairinterface for fixing the bug in their code (sadly not contributed to upstream asn1c, though). | |||||
2016-07-06 | APER: Fix encoding of INTEGER with lower_bound != 0 | Harald Welte | 1 | -7/+8 | |
When encoding an INTEGER, we need to subtract the lower bound before encoding the value. This is specified in Clause 10.5.7.x of X.691. The decoder already does this correct, but the encoder was wrong. | |||||
2016-07-06 | skeletons: Fix compiler warnings introduced by Eurecom aper patch | Harald Welte | 2 | -15/+20 | |
... some of which is related to the recent 'constification' of mainline asn1c. | |||||
2016-07-06 | skeletons: Print member's name in CHOICE print | Sylvain Munaut | 1 | -5/+3 | |
Sometimes, if the choice is a null or integer or ... it's not easy to know what has really been selected without the choice member name. Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | |||||
2016-07-06 | skeletons: Add verbose pretty print for enumerated types | Sylvain Munaut | 2 | -1/+29 | |
This is just much easier to read when reading the text dumps. | |||||
2016-07-06 | aper: fixup after port | Harald Welte | 1 | -2/+4 | |
2016-07-06 | Support automake-1.15 | Harald Welte | 1 | -1/+4 | |
Without this, autoreconf with automake-1.15 fails due to the "-Werror" | |||||
2016-07-06 | port/merge Eurecom APER support from OPENAIRMME | Harald Welte | 63 | -48/+2761 | |
Eurecom has developed APER support for asn1c as part of the OPENAIRMME softare (a LTE MME). This is too important to let it bit-rout out of asn1c. Let's forward-port and merge it. | |||||
2016-07-03 | oops; fixed argument substitutionvlm/master | Lev Walkin | 1 | -1/+1 | |
2016-07-03 | checked with shellcheck | Lev Walkin | 1 | -18/+18 | |
2016-07-02 | _BSD_SOURCE moved to a more global location | Lev Walkin | 2 | -4/+4 | |
2016-07-02 | _BSD_SOURCE might be defined in unber.c | Lev Walkin | 1 | -0/+2 | |
2016-07-02 | avoid too much verbosity | Lev Walkin | 1 | -2/+2 | |
2016-07-02 | avoid shifting negative value | Lev Walkin | 1 | -1/+1 | |
2016-07-02 | unlock snprintf on some systems | Lev Walkin | 1 | -0/+1 | |
2016-07-02 | make distcheck works now | Lev Walkin | 1 | -38/+38 | |
2016-07-02 | ignore autogenerated m4 stuff | Lev Walkin | 1 | -0/+1 | |
2016-07-02 | working better with new automake test suite driver | Lev Walkin | 3 | -15/+68 | |
2016-07-02 | alloca.h is not universally available | Lev Walkin | 2 | -1/+5 | |
2016-03-14 | try to move it around for travis | Lev Walkin | 1 | -1/+1 | |
2016-03-14 | EMIT_ASN_DEBUG is in skeletons flags | Lev Walkin | 1 | -1/+2 | |
2016-03-14 | leave only skeleton flags | Lev Walkin | 1 | -1/+1 | |
2016-03-14 | explicit stdio for snprintf | Lev Walkin | 1 | -0/+1 | |
2016-03-14 | check-src has its own extra_dist | Lev Walkin | 3 | -2/+7 | |
2016-03-14 | ignore makefiles | Lev Walkin | 1 | -24/+1 | |
2016-03-14 | DBL_TRUE_MIN is C11, make it portable | Lev Walkin | 1 | -0/+5 | |
2016-03-14 | alloca.h for alloca (c89) | Lev Walkin | 1 | -0/+1 | |
2016-03-14 | tests code uses C99 | Lev Walkin | 1 | -0/+2 | |
2016-03-14 | more verbose builds | Lev Walkin | 1 | -2/+2 | |
2016-03-14 | undo skeletons hierarchy detection | Lev Walkin | 1 | -12/+5 | |
2016-03-14 | try to fetch timegm from the environment | Lev Walkin | 1 | -1/+4 | |
2016-03-14 | Makefile is part of distribution | Lev Walkin | 1 | -0/+3 | |
2016-03-14 | more explicit test spec | Lev Walkin | 3 | -3/+4 | |
2016-03-14 | infer skeletons level | Lev Walkin | 1 | -6/+13 | |
2016-03-14 | go one dir deeper, still, if possible | Lev Walkin | 1 | -3/+1 | |
2016-03-14 | another attempt at travis debug | Lev Walkin | 1 | -1/+1 | |
2016-03-14 | do not use reserved identifiers, contd | Lev Walkin | 60 | -655/+656 | |
2016-03-14 | do not use reserved identifiers | Lev Walkin | 37 | -115/+115 | |
2016-03-14 | run autoupdate | Lev Walkin | 1 | -7/+7 | |
2016-03-14 | fixed https://github.com/vlm/asn1c/issues/78 | Lev Walkin | 1 | -2/+2 | |
2016-03-14 | no dereference before check | Lev Walkin | 2 | -6/+8 | |
2016-03-14 | error values check from printf, fprintf, fwrite | Lev Walkin | 2 | -215/+250 | |
2016-03-14 | more diagnostics if memory fails | Lev Walkin | 1 | -0/+1 | |
2016-03-14 | removed superfluous check before free | Lev Walkin | 2 | -4/+2 | |
2016-03-14 | removed unneeded check before free() | Lev Walkin | 8 | -18/+10 | |
2016-03-13 | another attempt at travis debug | Lev Walkin | 2 | -2/+2 | |