Commit Graph

6 Commits

Author SHA1 Message Date
Vadim Yanitskiy c43d4183f5 gprsdecode: Makefile.am: drop -Wno-missing-braces and -O3
Do not hard-code these CFLAGs, let the user decide on them.

Change-Id: I3a946b853029cc4cff9c2b15aa7339f84b2cb6c9
2023-03-13 02:52:34 +07:00
Oliver Smith 65957cf877 Run struct_endianness.py
Ensure there is no diff to prepare to run this in CI.

Related: OS#5884
Change-Id: I617c967c5f34c0be2cf6fd43ceb1af17897f2bf1
2023-02-20 11:18:43 +01:00
Vadim Yanitskiy eee91ab17d host/*/configure.ac: set -std=gnu11
Avoid using different dialects by accident (and resulting compiler
errors if compiler assumes a different dialect), like in [1].

Related: https://lists.osmocom.org/pipermail/openbsc/2019-September/013030.html
Related: https://lists.osmocom.org/pipermail/openbsc/2021-January/013360.html
Related: [1] libosmocore.git I72310886bef4db635078b75715c9d98ee45391cc
Change-Id: I48ec1703de04f40ea530f4b4442084fdc94dc966
2023-01-05 22:24:37 +07:00
Oliver Smith 1741372556 treewide: remove FSF address
Remove the paragraph about writing to the Free Software Foundation's
mailing address. The FSF has changed addresses in the past, and may do
so again. In 2021 this is not useful, let's rather have a bit less
boilerplate at the start of source files.

Change-Id: I73be012c01c0108fb6951dbff91d50eb19b40c51
2021-12-14 12:52:04 +00:00
Harald Welte da2793a216 gprsdecode: Don't leak memory in gsmtap_sendmsg()
Change-Id: Ib9e439ad6f24c573abb6da1523713a669898d23f
Depends: libosmocore I106b09f2a49bf24ce0e8d11fd4d4ee93e9cafdf5
Related: OS#5329
2021-11-25 15:40:02 +01:00
Luca Melette e357646ed7 Import gprsdecode utility from SRLabs
This change introduces a modified version of gprsdecode utility,
which is intended to decode the GPRS burst captures and forward
decoded packets to the GSMTAP sink.

The following modifications were made:

  - use shared libosmocoding library for GSM 05.03 coding;
  - use optget for command line options parsing;
  - use a single application select loop;
  - use GNU automake as the build system;
  - add regression tests (GNU autotest);
  - clean up and comment the code;
  - add license headers;

The code is based on work of SRLabs:

  https://srlabs.de/
  git://git.srlabs.de/gprsdecode.git

Related: OS#1672
Change-Id: I12234d37c66b83b8abd60f7511fa1d7837db1856
2018-02-06 14:05:17 +07:00