From a23c7eee151c1e92dacaadb823b26d426a904564 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Tue, 18 Dec 2012 10:47:28 +0100 Subject: Adding direct access to DSP of sysmoBTS for PDTCH traffice In order to use this feature, sysmoBTS requires option "-M", otherwise the traffic is forwarded through socket interface. This is essential, if PCU runs on processor of sysmoBTS. The reaction time and delay of PDTCH frames could heavily degrade proper packet flow. --- src/Makefile.am | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index e52a597b..b4dcfed9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -19,6 +19,11 @@ # AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGB_CFLAGS) $(LIBOSMOGSM_CFLAGS) + +if ENABLE_SYSMODSP +AM_CPPFLAGS += -DENABLE_SYSMODSP +endif + AM_CXXFLAGS = -Wall -ldl -pthread noinst_LTLIBRARIES = libgprs.la @@ -50,6 +55,11 @@ noinst_PROGRAMS = \ bin_PROGRAMS = \ osmo-pcu +if ENABLE_SYSMODSP +noinst_PROGRAMS += \ + osmo-pcu-remote +endif + noinst_HEADERS = \ gprs_debug.h \ csn1.h \ @@ -60,7 +70,9 @@ noinst_HEADERS = \ pcu_l1_if.h \ gsm_timer.h \ bitvector.h \ - pcu_vty.h + pcu_vty.h \ + sysmo_l1_if.h \ + femtobts.h RLCMACTest_SOURCES = RLCMACTest.cpp RLCMACTest_LDADD = \ @@ -69,6 +81,18 @@ RLCMACTest_LDADD = \ $(COMMON_LA) osmo_pcu_SOURCES = pcu_main.cpp + +if ENABLE_SYSMODSP +osmo_pcu_SOURCES += sysmo_l1_if.c \ + sysmo_l1_hw.c \ + femtobts.c + +osmo_pcu_remote_SOURCES = pcu_main.cpp \ + sysmo_l1_if.c \ + sysmo_l1_fwd.c \ + femtobts.c +endif + osmo_pcu_LDADD = \ libgprs.la \ $(LIBOSMOGB_LIBS) \ @@ -76,4 +100,13 @@ osmo_pcu_LDADD = \ $(LIBOSMOGSM_LIBS) \ $(COMMON_LA) +if ENABLE_SYSMODSP +osmo_pcu_remote_LDADD = \ + libgprs.la \ + $(LIBOSMOGB_LIBS) \ + $(LIBOSMOCORE_LIBS) \ + $(LIBOSMOGSM_LIBS) \ + $(COMMON_LA) +endif + #MOSTLYCLEANFILES += testSource testDestination -- cgit v1.2.3