<p>Stefan Sperling <strong>uploaded patch set #6</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/10189">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">port rest octets encoding code from osmo-bsc<br><br>As part of fixing issue OS#3075, we want to migrate support<br>for encoding system information from osmo-bsc to libosmocore.<br><br>This change ports osmo-bsc code for encoding SI rest octets.<br><br>The conversion was a bit tricky in some places because some<br>functions receive a 'struct gsm_bts' parameter in osmo-bsc.<br>In this libosmocore version, such functions expect parameters<br>which correspond to the individual fields of 'struct gsm_bts'<br>which are used by these functions.<br><br>Several structs from osmo-bsc's system_information.h are now<br>also declared in libosmocore headers, with an added osmo_ prefix<br>to avoid collisions with existing definitions in osmo-bsc.<br><br>Some helpers were ported from osmo-bsc's system_information.c<br>to libosmocore's gsm48_rest_octets.c. Contrary to osmo-bsc's<br>implementation they are now only visible within this file.<br><br>Unfortunately, this code ported from osmo-bsc lacks unit tests.<br><br>Change-Id: I47888965ab11bba1186c21987f1365c9270abeab<br>Related: OS#3075<br>---<br>M include/Makefile.am<br>M include/osmocom/gprs/protocol/gsm_04_60.h<br>A include/osmocom/gsm/gsm48_rest_octets.h<br>A src/gsm/gsm48_rest_octets.c<br>M src/gsm/libosmogsm.map<br>5 files changed, 1,084 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/89/10189/6</pre><p>To view, visit <a href="https://gerrit.osmocom.org/10189">change 10189</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/10189"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I47888965ab11bba1186c21987f1365c9270abeab </div>
<div style="display:none"> Gerrit-Change-Number: 10189 </div>
<div style="display:none"> Gerrit-PatchSet: 6 </div>
<div style="display:none"> Gerrit-Owner: Stefan Sperling <stsp@stsp.name> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Stefan Sperling <stsp@stsp.name> </div>
<div style="display:none"> Gerrit-CC: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>