summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStefan Sperling <ssperling@sysmocom.de>2018-07-27 15:17:09 +0200
committerHarald Welte <laforge@gnumonks.org>2019-01-12 09:51:08 +0000
commitbd6e7a9f2dd5d4e881a0a21ebdb29b7a76ebdc9a (patch)
tree601573b5f19fd67030a3958217bd383d2ff958c3 /tests
parentfdf8b7b1beeb0cda262c5fb060a933aa7edb5e9a (diff)
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
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions