libosmocore/include/osmocom/gprs
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
..
protocol port rest octets encoding code from osmo-bsc 2019-01-12 09:51:08 +00:00
gprs_bssgp.h bssgp: introduce flush queue functions 2018-08-10 06:55:43 +00:00
gprs_bssgp_bss.h Add function to properly encode RAI 2018-01-08 13:02:07 +00:00
gprs_msgb.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gprs_ns.h gprs_ns.h: Declare gprs_ns_cause_str() which already existed in c file 2018-07-22 15:14:58 +02:00
gprs_ns_frgre.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gprs_rlc.h Add osmo_gprs_{ul,dl}_block_size_{bits,bytes} functions 2017-08-09 19:02:12 +02:00