aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tbf
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2017-02-04 03:10:08 +0100
committerHarald Welte <laforge@gnumonks.org>2017-05-15 12:46:33 +0000
commitccde5c9557382f56a40e0c94fc29eca8bd886c1c (patch)
treee95b2f38979060d05161d7b5f0470a2e8b233669 /tests/tbf
parent3de6d0602f4c0c70b87d303161e154746a74b50d (diff)
remove pcu own bitvector implementation
The osmocore bitvec is exact the same, but use a pointer instead of a reference. Change-Id: Id8f797631d89aa12b6e48efb2dc153a3e2f059f7
Diffstat (limited to 'tests/tbf')
-rw-r--r--tests/tbf/TbfTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tbf/TbfTest.cpp b/tests/tbf/TbfTest.cpp
index 00aa4a81..496437d2 100644
--- a/tests/tbf/TbfTest.cpp
+++ b/tests/tbf/TbfTest.cpp
@@ -595,7 +595,7 @@ static void send_ul_mac_block(BTS *the_bts, unsigned trx_no, unsigned ts_no,
meas.set_rssi(31);
- rlc_block = bitvec_alloc(23);
+ rlc_block = bitvec_alloc(23, tall_pcu_ctx);
encode_gsm_rlcmac_uplink(rlc_block, ulreq);
num_bytes = bitvec_pack(rlc_block, &buf[0]);
@@ -2555,7 +2555,7 @@ static void test_tbf_epdan_out_of_rx_window(void)
OSMO_ASSERT(dl_tbf->state_is(GPRS_RLCMAC_FLOW));
- block = bitvec_alloc(23);
+ block = bitvec_alloc(23, tall_pcu_ctx);
bitvec_unpack(block, data_msg);