aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-09-04 13:53:26 +0200
committerHarald Welte <laforge@gnumonks.org>2011-09-04 13:53:26 +0200
commit135a6bd3c66a827a5481cc35e05234081ec3b46b (patch)
treea902c1e643df23aaa276c5a7743b5aa32a071436 /openbsc
parentab386e6120559ef2deb6a27f4455539cba920c9d (diff)
gsm_data_shared: add some fields for voice support of sysmo-bts
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/include/openbsc/gsm_data_shared.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h
index ca88fed27..63978e6b4 100644
--- a/openbsc/include/openbsc/gsm_data_shared.h
+++ b/openbsc/include/openbsc/gsm_data_shared.h
@@ -77,6 +77,7 @@ enum bts_gprs_mode {
struct gsm_lchan;
struct gsm_subscriber;
struct gsm_mncc;
+struct osmo_rtp_socket;
struct rtp_socket;
struct bsc_api;
@@ -176,7 +177,11 @@ struct gsm_lchan {
uint8_t rtp_payload;
uint8_t rtp_payload2;
uint8_t speech_mode;
+#ifdef ROLE_BSC
struct rtp_socket *rtp_socket;
+#else
+ struct osmo_rtp_socket *rtp_socket;
+#endif
} abis_ip;
uint8_t rqd_ta;
@@ -200,6 +205,7 @@ struct gsm_lchan {
struct gsm_subscriber_connection *conn;
#else
struct lapdm_channel lapdm_ch;
+ struct llist_head dl_tch_queue;
struct {
/* bitmask of all SI that are present/valid in si_buf */
uint32_t valid;