summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2023-01-19Depend on libosmo-gprs-{llc,sndcp}Pau Espin Pedrol1-0/+2
These will be needed for the MS to speak SNDCP and LLC. Change-Id: I80811f73b798151257107bc94aedabe71fee0300
2023-01-17layer23: generate config.hPau Espin Pedrol1-0/+3
Follow-up commits will add some extra checks we want to have in config.h Include config.h in files using PACKAGE_VERSION. Change-Id: Ic779a3168012780feef8d173371387d09d383bfd
2023-01-05host/*/configure.ac: set -std=gnu11Vadim Yanitskiy1-0/+2
Avoid using different dialects by accident (and resulting compiler errors if compiler assumes a different dialect), like in [1]. Related: https://lists.osmocom.org/pipermail/openbsc/2019-September/013030.html Related: https://lists.osmocom.org/pipermail/openbsc/2021-January/013360.html Related: [1] libosmocore.git I72310886bef4db635078b75715c9d98ee45391cc Change-Id: I48ec1703de04f40ea530f4b4442084fdc94dc966
2023-01-03layer23: make all apps depend on libosmo-gprs-rlcmacVadim Yanitskiy1-0/+1
This will be needed for the modem application, and is also used in a follow-up commit adding support for parsing SI13 Rest Octets. Change-Id: I8e0f826c9b2a886f94624176e34e7d197e93d25f Related: OS#5500
2022-12-01mobile: integrate GAPK based audio (voice) I/O supportVadim Yanitskiy1-0/+14
This change introduces a new feature to the mobile application - audio I/O support, which allows the user to speak right from the host side running mobile through its ordinary mic and speakers. The audio I/O is based on libosmogapk [1][2], which in its turn uses the ALSA sound system for the playback and capture. This is a new optional dependency of mobile, which is automatically picked up if available during the build configuration. Whether to depend on it or not can be controlled using '--with-gapk-io'. The API offered by libosmogapk implies to use the processing chains, which generally consist of a source block, several processing blocks, and a sink block. The mobile app implements the following chains: - 'pq_audio_source' (voice capture -> frame encoding), - 'pq_audio_sink' (frame decoding -> voice playback). both taking/storing TCH frames from/to the following two buffers: - 'tch_fb_ul' - a buffer for to be played DL TCH frames, - 'tch_fb_dl' - a buffer for encoded UL TCH frames. The buffers are served by a new function gapk_io_dequeue(). [1] https://gitea.osmocom.org/osmocom/gapk/ [1] https://osmocom.org/projects/gapk Change-Id: Ib86b0746606c191573cc773f01172afbb52f33a9 Related: OS#5599
2022-11-29mobile: make LUA support configurable via --with-lua53Vadim Yanitskiy1-5/+13
Change-Id: If440cee52410421034823a3749709e28c4136b95
2022-11-21host/layer23: Add modem appPau Espin Pedrol1-0/+2
This app will allow setting up a tun device to transmit/receive data as a GPRS MS against a GSM network. This is just the initial skeleton so that people can work on it further in follow-up commits. Related: OS#5503 Change-Id: I8a1121b3287da7d7330c30e3118affa8fd1da61b
2022-11-05layer23: add -Werror={implicit-int,int-conversion,old-style-definition}Vadim Yanitskiy1-0/+1
Change-Id: Ia6e0c717c782ea000f1d40ad11af2ee725f9c309
2022-11-05layer23: configure.ac: print CFLAGS/CPPFLAGS using AC_MSG_RESULT()Vadim Yanitskiy1-0/+3
Change-Id: Ib8d7138f7d5504176156ea5349336f5994c8fa80
2021-10-16layer23/osmocon: require libosmocore >= 1.5.0 in configure.acHarald Welte1-1/+1
This should give a meaningful error message if people use too old libosmocore. Change-Id: I7d9950b5eaa836ed1ac86045bd5364fed221e369
2018-08-11layer23: Add --enable-sanitize and --enable-werror configure flagsHarald Welte1-0/+27
We use this in the network-side Osmocom projects (CNI) and it's useful to have the same flags also for the OsmocomBB host software. Change-Id: I45800c937d665fdbd2dd6b0cee38408f587f1a9f
2017-12-03mobile: Search for lua5.3 and link to itHolger Hans Peter Freyther1-0/+7
I will be adding a high-level async scripting interface to the mobile application. The initial implementation will use Lua 5.3. This version was released in January 2015 and is the latest version at the time the commit was made. Lua as extension and extensible language seems well suited for scripting. The plan is to attach a script to a ms and be able to trigger high level operations (send SMS, attach to network, detach). Change-Id: Ic649e49a22c878585a6c20b5b80108909f2374eb
2017-10-29mobile: register the talloc context introspection commandVadim Yanitskiy1-1/+1
This change registers the command, which is now implemented in libosmocore since the 463deef8c209dd7eb023ac70bf41fa9893ad35ed and allows to introspect mobile application's talloc context directly from the VTY interface. Change-Id: I979d64ae63d385f4fd082a4e3f981cbf5ab28338
2015-12-31modernize AM_INit_AUTOMAKEHarald Welte1-3/+2
according to http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
2012-09-17Fix linking with GNU ld 2.22 and libgpsKevin Redon1-1/+4
Error: gcc -Wall -I/home/kevredon/osmocom-bb/src/shared/libosmocore/include -I/home/kevredon/osmocom-bb/src/shared/libosmocore/include -g -O2 -D_HAVE_GPSD -lgps -o cell_log main.o app_cell_log.o cell_log.o geo.o ../common/liblayer23.a /home/kevredon/osmocom-bb/src/shared/libosmocore/build-host/src/.libs/libosmocore.a /home/kevredon/osmocom-bb/src/shared/libosmocore/build-host/src/gsm/.libs/libosmogsm.a /home/kevredon/osmocom-bb/src/shared/libosmocore/build-host/src/codec/.libs/libosmocodec.a -lm ../common/liblayer23.a(gps.o): In function `osmo_gpsd_cb': /home/kevredon/osmocom-bb/src/host/layer23/src/common/gps.c:79: undefined reference to `gps_waiting' Fix: Holger told me to do so (he knows better then me about autoconf) - set CFLAGS and LIBS for LIBGPS in layer23 - add libgps CFLAGS and LIBS in Makefile.am for common, misc, mobile I would have done the following (which also works): -AC_CHECK_LIB(gps, gps_waiting, CFLAGS+=" -D_HAVE_GPSD" LDFLAGS+=" -lgps",,) +AC_CHECK_LIB(gps, gps_waiting, CFLAGS+=" -D_HAVE_GPSD" LDFLAGS+=" -lgps" LIBS+=" -lgps",,)
2011-07-28layer23: Add mobile support for sending / receiving voice frame through MNCCAndreas.Eversberg1-0/+1
Support GSM FR codec only so far. Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-04-26src: use new libosmogsm and include/osmocom/[gsm|core] path to headersPablo Neira Ayuso1-0/+1
This patch changes include paths to get osmocom-bb working with the current libosmocore tree. Among all these renames, you can notice several tweaks that I added on purpose, and that require some explanation, they are: * hexdump() in osmocon.c and osmoload.c has been renamed to avoid clashing with hexdump() defined in libosmocore. * gsmmap now depends on libosmogsm. Actually I had to cleanup Makefile.am because I was experiencing weird linking problems, probably due to a bug in the autotools. With the change included in this patch, I got it compiled and linked here correctly. This patch has been tested with the phone Motorola C123 and the following images files: * firmware/board/compal_e88/hello_world.compalram.bin * firmware/board/compal_e88/layer1.compalram.bin Using the osmocon, bcch_scan and mobile tools. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2011-03-09[PATCH] Added runtime selection of gps device.Dario Lombardo1-1/+1
2011-02-16Added gpsd support.Dario Lombardo1-0/+1
2010-07-27layer23: Split [2/2] -> The header filesSylvain Munaut1-0/+4
This split the headers and adapt the source. We use osmocom/bb as a prefix because libosomore also uses osmocom and generic names such as misc & common could conflict in the future. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-07-27layer23: Split [1/2] -> The source codeSylvain Munaut1-0/+3
We split into : - common: Everything that can be shared - mobile: The real spec compliant mobile phones - misc: Different test stuff Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-06-26[layer23] Removed cloned VTY and replaced it by libosmovty.Andreas.Eversberg1-0/+1
2010-03-03Rename 'layer2' program to 'layer23' programHarald Welte1-0/+27