<p>pespin <strong>uploaded patch set #7</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/22196">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Unify BTS into a C usable structure<br><br>Previous work on BTS class started to get stuff out of the C++ struct<br> into a C struct (BTS -> struct gprs_glcmac_bts) so that some parts of<br>it were accessible from C code. Doing so, however, ended up being messy<br>too, since all code needs to be switching from one object to another,<br>which actually refer to the same logical component.<br><br>Let's instead rejoin the structures and make sure the struct is<br>accessible and usable from both C and C++ code by rewriting all methods<br>to be C compatible and converting 3 allocated suboject as pointers.<br>This way BTS can internally still use those C++ objects while providing<br>a clean APi to both C and C++ code.<br><br>Change-Id: I7d12c896c5ded659ca9d3bff4cf3a3fc857db9dd<br>---<br>M src/bts.cpp<br>M src/bts.h<br>M src/encoding.cpp<br>M src/gprs_bssgp_pcu.cpp<br>M src/gprs_ms.c<br>M src/gprs_ms.h<br>M src/gprs_ms_storage.cpp<br>M src/gprs_ms_storage.h<br>M src/gprs_pcu.c<br>M src/gprs_pcu.h<br>M src/gprs_rlcmac_sched.cpp<br>M src/gprs_rlcmac_ts_alloc.cpp<br>M src/gsm_timer.cpp<br>M src/llc.cpp<br>M src/llc.h<br>M src/pcu_l1_if.cpp<br>M src/pcu_main.cpp<br>M src/pcu_vty_functions.cpp<br>M src/pdch.cpp<br>M src/pdch.h<br>M src/poll_controller.cpp<br>M src/poll_controller.h<br>M src/rlc.cpp<br>M src/rlc.h<br>M src/sba.cpp<br>M src/sba.h<br>M src/tbf.cpp<br>M src/tbf.h<br>M src/tbf_dl.cpp<br>M src/tbf_dl.h<br>M src/tbf_ul.cpp<br>M src/tbf_ul.h<br>M tests/alloc/AllocTest.cpp<br>M tests/alloc/MslotTest.cpp<br>M tests/app_info/AppInfoTest.cpp<br>M tests/edge/EdgeTest.cpp<br>M tests/emu/pcu_emu.cpp<br>M tests/fn/FnTest.cpp<br>M tests/ms/MsTest.cpp<br>M tests/tbf/TbfTest.cpp<br>M tests/types/TypesTest.cpp<br>41 files changed, 1,048 insertions(+), 1,194 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/96/22196/7</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcu/+/22196">change 22196</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/c/osmo-pcu/+/22196"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-pcu </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I7d12c896c5ded659ca9d3bff4cf3a3fc857db9dd </div>
<div style="display:none"> Gerrit-Change-Number: 22196 </div>
<div style="display:none"> Gerrit-PatchSet: 7 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>