libosmocore/include/osmocom
Stefan Sperling bd6e7a9f2d port rest octets encoding code from osmo-bsc
As part of fixing issue OS#3075, we want to migrate support
for encoding system information from osmo-bsc to libosmocore.

This change ports osmo-bsc code for encoding SI rest octets.

The conversion was a bit tricky in some places because some
functions receive a 'struct gsm_bts' parameter in osmo-bsc.
In this libosmocore version, such functions expect parameters
which correspond to the individual fields of 'struct gsm_bts'
which are used by these functions.

Several structs from osmo-bsc's system_information.h are now
also declared in libosmocore headers, with an added osmo_ prefix
to avoid collisions with existing definitions in osmo-bsc.

Some helpers were ported from osmo-bsc's system_information.c
to libosmocore's gsm48_rest_octets.c. Contrary to osmo-bsc's
implementation they are now only visible within this file.

Unfortunately, this code ported from osmo-bsc lacks unit tests.

Change-Id: I47888965ab11bba1186c21987f1365c9270abeab
Related: OS#3075
2019-01-12 09:51:08 +00:00
..
codec libosmocodec: implement ECU (Error Concealment Unit) for FR 2018-01-15 20:12:03 +00:00
coding coding: Add BER-reporting RACH decode functions 2018-02-26 12:26:38 +01:00
core add LOGPFSMSL(), LOGPFSMSLSRC() 2019-01-03 00:11:49 +01:00
crypt Use define for key buffers 2018-12-20 09:51:02 +00:00
ctrl ctrl: use #define for TRAP id 2018-12-03 21:42:51 +00:00
gprs port rest octets encoding code from osmo-bsc 2019-01-12 09:51:08 +00:00
gsm port rest octets encoding code from osmo-bsc 2019-01-12 09:51:08 +00:00
sim doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
vty vty: Make TCP port configurable and introduce telnet_init_default 2018-12-23 04:20:08 +00:00