From 715ce1c59967b679fa0d15573e70fa6299960432 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Mon, 3 Oct 2011 13:21:45 +0200 Subject: [PATCH] Merged with master branch --- src/osmo-bts-bb/Makefile.am | 4 ++-- src/osmo-bts-bb/l1_if.c | 5 +++++ src/osmo-bts-bb/oml.c | 16 ++++++++++++++++ 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/src/osmo-bts-bb/Makefile.am b/src/osmo-bts-bb/Makefile.am index 5a707d831..a90894cb7 100644 --- a/src/osmo-bts-bb/Makefile.am +++ b/src/osmo-bts-bb/Makefile.am @@ -1,6 +1,6 @@ INCLUDES = $(all_includes) -I$(top_srcdir)/include -AM_CFLAGS = -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOVTY_CFLAGS) -LDADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(LIBOSMOVTY_LIBS) +AM_CFLAGS = -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOVTY_CFLAGS) $(LIBOSMOTRAU_CFLAGS) +LDADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(LIBOSMOVTY_LIBS) $(LIBOSMOTRAU_LIBS) -lortp bin_PROGRAMS = osmobts diff --git a/src/osmo-bts-bb/l1_if.c b/src/osmo-bts-bb/l1_if.c index c1149e3fc..3d8f1c638 100644 --- a/src/osmo-bts-bb/l1_if.c +++ b/src/osmo-bts-bb/l1_if.c @@ -234,6 +234,11 @@ int l1if_reset(struct gsm_bts_trx *trx) return 0; } +void bts_model_rtp_rx_cb(struct osmo_rtp_socket *rs, uint8_t *rtp_pl, + unsigned int rtp_pl_len) +{ +} + /* Receive incoming data from L1 using L1CTL format */ int l1if_recv(struct osmo_l1ctl *l1ctl, struct msgb *msg) { diff --git a/src/osmo-bts-bb/oml.c b/src/osmo-bts-bb/oml.c index 194ebc7f1..f119b3735 100644 --- a/src/osmo-bts-bb/oml.c +++ b/src/osmo-bts-bb/oml.c @@ -280,4 +280,20 @@ int lchan_deactivate_sacch(struct gsm_lchan *lchan) #endif } +int bts_model_rsl_mode_modify(struct gsm_lchan *lchan) +{ +#if 0 + struct femtol1_hdl *fl1h = trx_femtol1_hdl(lchan->ts->trx); + + /* channel mode, encryption and/or multirate have changed */ + + /* update multi-rate config */ + tx_confreq_logchpar(lchan, GsmL1_Dir_RxUplink); + tx_confreq_logchpar(lchan, GsmL1_Dir_TxDownlink); + + /* FIXME: update encryption */ +#endif + return 0; +} +