diff options
author | Stefan Sperling <ssperling@sysmocom.de> | 2018-07-27 15:17:09 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-01-12 09:51:08 +0000 |
commit | bd6e7a9f2dd5d4e881a0a21ebdb29b7a76ebdc9a (patch) | |
tree | 601573b5f19fd67030a3958217bd383d2ff958c3 /src/gsm/libosmogsm.map | |
parent | fdf8b7b1beeb0cda262c5fb060a933aa7edb5e9a (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 'src/gsm/libosmogsm.map')
-rw-r--r-- | src/gsm/libosmogsm.map | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gsm/libosmogsm.map b/src/gsm/libosmogsm.map index 922ac01f..a9037870 100644 --- a/src/gsm/libosmogsm.map +++ b/src/gsm/libosmogsm.map @@ -273,6 +273,14 @@ gsm414_msgt_names; gsm48_push_l3hdr; gsm48_att_tlvdef; gsm48_cc_msg_name; +gsm48_rest_octets_si1; +gsm48_rest_octets_si2quater; +gsm48_rest_octets_si2ter; +gsm48_rest_octets_si2bis; +gsm48_rest_octets_si6; +gsm48_rest_octets_si3; +gsm48_rest_octets_si4; +gsm48_rest_octets_si13; gsm48_rr_msg_name; gsm48_cc_state_name; gsm48_construct_ra; |