aboutsummaryrefslogtreecommitdiffstats
path: root/src/mslot_class.h
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-01-31 17:00:06 +0100
committerHarald Welte <laforge@gnumonks.org>2018-02-19 09:00:20 +0000
commit0cc7212cfdfd40e87b531ecf14e76356185f4036 (patch)
tree3c1549b1df2c2491ff92d628ae272794799e1894 /src/mslot_class.h
parentadca67bcbbc461bb8ff9c860ded8e8fa23e74aab (diff)
Simplify TS alloc: split allocation
* generalize TS allocation and move it into separate function * move single-slot allocation into separate function * use common functions for TS allocation on both UL and DL Change-Id: Ied45ae380c345bc76fe9d6fd9a6184d1109f83f2 Related: OS#2282
Diffstat (limited to 'src/mslot_class.h')
-rw-r--r--src/mslot_class.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mslot_class.h b/src/mslot_class.h
index d2485262..c274337a 100644
--- a/src/mslot_class.h
+++ b/src/mslot_class.h
@@ -49,5 +49,7 @@ uint8_t mslot_class_get_sum(uint8_t ms_cl);
uint8_t mslot_class_get_type(uint8_t ms_cl);
uint8_t mslot_class_max();
+/* multislot allocation helper routines */
void mslot_fill_rx_mask(uint8_t mslot_class, uint8_t num_tx, uint8_t *rx_mask);
int8_t find_free_usf(uint8_t usf_map);
+void masked_override_with(char *buf, uint8_t mask, char set_char);