diff options
author | Max <msuraev@sysmocom.de> | 2017-11-01 19:22:25 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-02-27 22:25:35 +0100 |
commit | 8f953fb4dff4c5a9a3bfd35b33993321792eddab (patch) | |
tree | beb2f7336b84ec530669157a0ef2d1200a5b4daa /src/gprs_rlcmac.h | |
parent | 6853c2241069531b1858b1f52ee2f6b1f0933747 (diff) |
Add tests for find_multi_slots()
* make function public
* add tests
Change-Id: I4174703808335c19341cd5b5f4422496d958967f
Diffstat (limited to 'src/gprs_rlcmac.h')
-rw-r--r-- | src/gprs_rlcmac.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gprs_rlcmac.h b/src/gprs_rlcmac.h index aa773fc5..64b6d6c8 100644 --- a/src/gprs_rlcmac.h +++ b/src/gprs_rlcmac.h @@ -62,6 +62,9 @@ struct gprs_rlcmac_cs { uint8_t block_payload; }; +/* TS allocation internal functions */ +int find_multi_slots(struct gprs_rlcmac_trx *trx, uint8_t mslot_class, uint8_t *ul_slots, uint8_t *dl_slots); + int gprs_rlcmac_received_lost(struct gprs_rlcmac_dl_tbf *tbf, uint16_t received, uint16_t lost); |