osmo-pcu/tests
Pau Espin Pedrol da971ee502 Convert GprsMS and helpers classes to C
As we integrate osmo-pcu more and more with libosmocore features, it
becomes really hard to use them since libosmocore relies heavily on C
specific compilation features, which are not available in old C++
compilers (such as designated initializers for complex types in FSMs).

GprsMs is right now a quite simple object since initial design of
osmo-pcu made it optional and most of the logic was placed and stored
duplicated in TBF objects. However, that's changing as we introduce more
features, with the GprsMS class getting more weight. Hence, let's move
it now to be a C struct in order to be able to easily use libosmocore
features there, such as FSMs.

Some helper classes which GprsMs uses are also mostly move to C since
they are mostly structs with methods, so there's no point in having
duplicated APIs for C++ and C for such simple cases.

For some more complex classes, like (ul_,dl_)tbf, C API bindings are
added where needed so that GprsMs can use functionalitites from that
class. Most of those APIs can be kept afterwards and drop the C++ ones
since they provide no benefit in general.

Change-Id: I0b50e3367aaad9dcada76da97b438e452c8b230c
2021-01-05 10:34:25 +00:00
..
alloc Convert GprsMS and helpers classes to C 2021-01-05 10:34:25 +00:00
app_info Convert GprsMS and helpers classes to C 2021-01-05 10:34:25 +00:00
bitcomp decompress_crbb: add length argument for search_runlen 2019-06-24 13:51:06 +00:00
codel Use clock_gettime(CLOCK_MONOTONIC) and timespec everywhere 2020-03-16 10:31:56 +00:00
edge Convert GprsMS and helpers classes to C 2021-01-05 10:34:25 +00:00
emu pcuif: Improve BTS-supported CS/MCS handling 2020-11-04 21:39:42 +01:00
fn use osmo_init_logging2() with proper talloc ctx 2018-04-01 16:57:42 +02:00
llc Convert GprsMS and helpers classes to C 2021-01-05 10:34:25 +00:00
llist llist: Add missing const qualifier in llist cast method 2015-08-24 12:23:50 +02:00
ms Convert GprsMS and helpers classes to C 2021-01-05 10:34:25 +00:00
rlcmac csn1: Log CSN_VARIABLE_ARRAY values as hex 2020-11-24 11:24:11 +01:00
tbf Convert GprsMS and helpers classes to C 2021-01-05 10:34:25 +00:00
types Convert GprsMS and helpers classes to C 2021-01-05 10:34:25 +00:00
Makefile.am tests/rlcmac: additionally match debug output of the CSN.1 codec 2020-02-17 02:30:58 +07:00
testsuite.at tests/rlcmac: additionally match debug output of the CSN.1 codec 2020-02-17 02:30:58 +07:00