summaryrefslogtreecommitdiffstats
path: root/include/osmocore
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-03-02 21:59:20 +0100
committerHarald Welte <laforge@gnumonks.org>2010-03-02 21:59:20 +0100
commitf08eabf2341de43993918246e89ce30c3651f378 (patch)
tree2d9b4d9acbee1ff20be66c9f3cbf520bb217946d /include/osmocore
parentfdd0a700930bdd04bc8827ef88dc5039ecc5b6ce (diff)
add two new RSL utility functions
Diffstat (limited to 'include/osmocore')
-rw-r--r--include/osmocore/rsl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/osmocore/rsl.h b/include/osmocore/rsl.h
index 3a2b04d4..250c6ea5 100644
--- a/include/osmocore/rsl.h
+++ b/include/osmocore/rsl.h
@@ -21,4 +21,11 @@ const char *rsl_err_name(uint8_t err);
/* Section 3.3.2.3 TS 05.02. I think this looks like a table */
int rsl_ccch_conf_to_bs_cc_chans(int ccch_conf);
+/* Push a RSL RLL header with L3_INFO IE */
+int rsl_rll_push_l3(struct msgb *msg, uint8_t msg_type,
+ uint8_t chan_nr, uint8_t link_id);
+
+/* Allocate msgb and fill with simple RSL RLL header */
+struct msgb *rsl_rll_simple(uint8_t msg_type, uint8_t chan_nr,
+ uint8_t link_id);
#endif /* _OSMOCORE_RSL_H */