diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-09-03 15:41:12 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-09-03 15:41:12 +0200 |
commit | 526b0c62cf891cd728460260bf10a919e9e437d3 (patch) | |
tree | 1e38f673a7a79fe7bbd25fb872f37547b40dd1c9 /src/osmo-bts-sysmo/l1_if.h | |
parent | b7bec6d488ac3c36957a717358b91836ba9b2215 (diff) |
Add new ORTP based libosmo-trau based voice support
Using osmo-bts-sysmo and this code, it is now possible to do FR and AMR
based voice calls on TCH/F.
A lot of CPU is wasted in the conversion between the RTP formats and the
L1 specific formats for the codec frames. All data needs to be shifted
by four bits, and the order of bits needs to be reversed in every byte.
Diffstat (limited to 'src/osmo-bts-sysmo/l1_if.h')
-rw-r--r-- | src/osmo-bts-sysmo/l1_if.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/l1_if.h b/src/osmo-bts-sysmo/l1_if.h index c47fd1fa..a4b573b6 100644 --- a/src/osmo-bts-sysmo/l1_if.h +++ b/src/osmo-bts-sysmo/l1_if.h @@ -53,6 +53,8 @@ struct msgb *sysp_msgb_alloc(void); uint32_t l1if_lchan_to_hLayer2(struct gsm_lchan *lchan); struct gsm_lchan *l1if_hLayer2_to_lchan(struct gsm_bts_trx *trx, uint32_t hLayer2); +/* tch.c */ int l1if_tch_rx(struct gsm_lchan *lchan, struct msgb *l1p_msg); +int l1if_tch_fill(struct gsm_lchan *lchan, uint8_t *l1_buffer); #endif /* _FEMTO_L1_H */ |