From e34a94054227bb8b21a6082f7954fea980e2fead Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 29 Jun 2010 22:31:21 +0200 Subject: [gsmtap] add new gsmtap_makemsg() function This generates a gsmtap message without actually enqueueing to a bsc_select style queue. --- include/osmocore/gsmtap_util.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/osmocore/gsmtap_util.h b/include/osmocore/gsmtap_util.h index 30fc1267..96449443 100644 --- a/include/osmocore/gsmtap_util.h +++ b/include/osmocore/gsmtap_util.h @@ -6,6 +6,11 @@ /* convert RSL channel number to GSMTAP channel type */ uint8_t chantype_rsl2gsmtap(uint8_t rsl_chantype, uint8_t rsl_link_id); +/* receive a message from L1/L2 and put it in GSMTAP */ +struct msgb *gsmtap_makemsg(uint16_t arfcn, uint8_t ts, uint8_t chan_type, + uint8_t ss, uint32_t fn, int8_t signal_dbm, + uint8_t snr, const uint8_t *data, unsigned int len); + /* receive a message from L1/L2 and put it in GSMTAP */ int gsmtap_sendmsg(uint16_t arfcn, uint8_t ts, uint8_t chan_type, uint8_t ss, uint32_t fn, int8_t signal_dbm, uint8_t snr, -- cgit v1.2.3