diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-01-18 17:14:14 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-01-19 16:28:13 +0100 |
commit | 8a35e640a33373ea137125a5654bd9ae445b3769 (patch) | |
tree | 911a67d8c10f28d14c964cd582fcbf2d91377337 /tests/rlcmac | |
parent | 4a5209d8bc21940264754ca1c72f082e8f9052c0 (diff) |
Convert gprs_bssgp_pcu.cpp to C
There's no real use of C++ in that file, and it causes problems when
using llist_head entry macros in future patches adding initial support
for multiple BTS in PCU object, so let's move it to plain C.
Change-Id: Ic771a89fd78b5e66151a5384f0ff6a8895589466
Diffstat (limited to 'tests/rlcmac')
-rw-r--r-- | tests/rlcmac/RLCMACTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/rlcmac/RLCMACTest.cpp b/tests/rlcmac/RLCMACTest.cpp index 140b2f28..c6ad1925 100644 --- a/tests/rlcmac/RLCMACTest.cpp +++ b/tests/rlcmac/RLCMACTest.cpp @@ -259,8 +259,8 @@ MS RA capability 1 OSMO_ASSERT(data.Count_MS_RA_capability_value == 1); /* Make sure GPRS / EGPRS multislot class is parsed correctly */ - printf("GPRS multislot class = %u\n", Decoding::get_ms_class_by_capability(&data)); - printf("EGPRS multislot class = %u\n", Decoding::get_egprs_ms_class_by_capability(&data)); + printf("GPRS multislot class = %u\n", get_ms_class_by_capability(&data)); + printf("EGPRS multislot class = %u\n", get_egprs_ms_class_by_capability(&data)); /* Test encoding of decoded MS RA Capability */ printf("=== Test encoding of MS RA Capability ===\n"); @@ -466,8 +466,8 @@ MS Radio Access Capability OSMO_ASSERT(data.Count_MS_RA_capability_value == 3); /* Make sure GPRS / EGPRS multislot class is parsed correctly */ - printf("GPRS multislot class = %u\n", Decoding::get_ms_class_by_capability(&data)); - printf("EGPRS multislot class = %u\n", Decoding::get_egprs_ms_class_by_capability(&data)); + printf("GPRS multislot class = %u\n", get_ms_class_by_capability(&data)); + printf("EGPRS multislot class = %u\n", get_egprs_ms_class_by_capability(&data)); bitvec_free(bv_dec); } |