aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_rlcmac_ts_alloc.cpp
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-11-01 19:22:25 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-02-27 22:25:35 +0100
commit8f953fb4dff4c5a9a3bfd35b33993321792eddab (patch)
treebeb2f7336b84ec530669157a0ef2d1200a5b4daa /src/gprs_rlcmac_ts_alloc.cpp
parent6853c2241069531b1858b1f52ee2f6b1f0933747 (diff)
Add tests for find_multi_slots()
* make function public * add tests Change-Id: I4174703808335c19341cd5b5f4422496d958967f
Diffstat (limited to 'src/gprs_rlcmac_ts_alloc.cpp')
-rw-r--r--src/gprs_rlcmac_ts_alloc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gprs_rlcmac_ts_alloc.cpp b/src/gprs_rlcmac_ts_alloc.cpp
index 5e670d7e..471b601a 100644
--- a/src/gprs_rlcmac_ts_alloc.cpp
+++ b/src/gprs_rlcmac_ts_alloc.cpp
@@ -443,7 +443,7 @@ int alloc_algorithm_a(struct gprs_rlcmac_bts *bts,
return 0;
}
-static int find_multi_slots(struct gprs_rlcmac_trx *trx, uint8_t mslot_class, uint8_t *ul_slots, uint8_t *dl_slots)
+int find_multi_slots(struct gprs_rlcmac_trx *trx, uint8_t mslot_class, uint8_t *ul_slots, uint8_t *dl_slots)
{
uint8_t Tx, Sum; /* Maximum Number of Slots: RX, Tx, Sum Rx+Tx */
uint8_t Tta, Ttb, Tra, Trb; /* Minimum Number of Slots */