summaryrefslogtreecommitdiffstats
path: root/src/host
AgeCommit message (Collapse)AuthorFilesLines
2011-06-25lapdm: properly set the msg->l3h to the contents of the RSL L3_INFO IEHarald Welte1-0/+3
2011-06-24lapdm: introduce a new lapdm_phsap_dequeue_prim()Harald Welte2-31/+56
This function can be called by a TDMA-driven L1 which will never actually want to receive unsolicited/asynchronous PH-DATA.req primitives, but who will simply directly poll the LAPDm transmit queue by calling the abovementioned function
2011-06-24lapdm: Don't try to send data using a PH-RACH.req, use PH-DATA.reqHarald Welte1-5/+5
2011-06-24lapdm: some more error reporting in case strange primitives arrive from L1Harald Welte1-6/+12
2011-06-24L1CTL is sending PH-DATA.ind, not PH-DATA.req up to LAPDmHarald Welte1-1/+1
2011-06-24introduce LAPDM entity flags for PH-EMPTY_FRAME.req and polllingHarald Welte2-20/+48
polling means that we never try to proactively generate a PH-DATA.req unless there was a PH-RTS.ind first.
2011-06-24lapdm: Introduce LAPDM_MODE_{BTS,MS} to run on both sidesHarald Welte4-37/+137
We also introduce some related functions like lapdm_{entity,channel}_set_mode() lapdm_{entity,channel}_reset() This is all in preparation for the Osmo-BTS Work.
2011-06-24lapdm: implement RSL CHAN RQD generation from PH-RA.indHarald Welte2-2/+30
2011-06-24lapdm: use msgb_tlv_put instead of manual equivalentHarald Welte1-6/+2
2011-06-24fix some spillage from recent conversionHarald Welte2-2/+3
2011-06-24lapdm: remove dependency to osmocom_data.hHarald Welte1-1/+1
2011-06-23lapdm: remove get_rsl_name() and use libosmogsm:gsm_rsl_name() insteadHarald Welte3-32/+4
2011-06-23further decouple lapdm code from osmocom_ms and l1ctlHarald Welte11-54/+239
we introduce a new primitive layer betwen PH and DL, enabling the use of the LAPDm code in applications that are not based on L1CTL
2011-06-22add l1ctl_proto.h #includes to lots of filesHarald Welte7-0/+14
this is apparently a result of no longer including it indirectly via lapdm.h
2011-06-22remove l1ctl data structure form l2_ph_chan_conf()Harald Welte3-8/+6
This brings us one step closer to de-couple LAPDm from L1CTL
2011-06-22remove l1ctl data structure from l2_ph_data_ind()Harald Welte3-11/+8
2011-06-21lapdm.c: remove unneeded header file #includesHarald Welte1-3/+0
2011-06-21layer23: make LAPDm code mostly independent of 'struct osmocom_ms'Harald Welte10-84/+104
This is one step in the direction of re-using the lapdm code in osmo-bts.
2011-06-21remove osmocom_ms reference from lapdm_init()Harald Welte4-10/+16
... yet another step in making lapdm code independent of osmocom_ms
2011-06-21remove 'osmocom_ms' from struct lapdm_enetityHarald Welte2-10/+11
and replace it with more general l1_ctx nad l3_ctx.
2011-05-29[layer23] Adding Quadband support and GSM 4x0 supportAndreas.Eversberg14-300/+790
This makes it possible to use GSM 850 and PCS 1900 bands, as used in the US. The support relies on the phone hardware. Each band (900, DCS, 850, PCS, 480 and 450) can be enabled and disabled individually for each setting.
2011-05-22layer23: update to new GSMTAP API in libosmocore >= 0.3.1Harald Welte3-23/+23
2011-05-15src: use namespace prefix osmo_* for crc16 functionsPablo Neira Ayuso1-4/+4
Summary of changes: s/crc16_table/osmo_crc16_table/g s/crc16/osmo_crc16/g s/crc16_byte/osmo_crc16_byte/g
2011-05-15src: use namespace prefix osmo_* for utilsPablo Neira Ayuso7-17/+17
Summary of changes: s/bcd2char/osmo_bcd2char/g s/char2bcd/osmo_char2bcd/g s/hexparse/osmo_hexparse/g s/hexdump/osmo_hexdump/g s/hexdump_nospc/osmo_hexdump_nospc/g s/ubit_dump/osmo_ubit_dump/g s/static_assert/osmo_static_assert/g
2011-05-15src: use namespace prefix osmo_wqueue*Pablo Neira Ayuso3-5/+5
Summary of changes: s/struct write_queue/struct osmo_wqueue/g s/write_queue_init/osmo_wqueue_init/g s/write_queue_clear/osmo_wqueue_clear/g s/write_queue_enqueue/osmo_wqueue_enqueue/g s/write_queue_bfd_cb/osmo_wqueue_bfd_cb/g
2011-05-15src: use namespace prefix osmo_signal*Pablo Neira Ayuso9-23/+23
Summary of changes: s/signal_cbfn/osmo_signal_cbfn/g s/register_signal_handler/osmo_signal_register_handler/g s/unregister_signal_handler/osmo_signal_unregister_handler/g s/dispatch_signal/osmo_signal_dispatch/g
2011-05-15src: use namespace prefix osmo_fd* and osmo_select*Pablo Neira Ayuso7-34/+34
Summary of changes: s/struct bsc_fd/struct osmo_fd/g s/bsc_register_fd/osmo_fd_register/g s/bsc_unregister_fd/osmo_fd_unregister/g s/bsc_select_main/osmo_select_main/g
2011-05-15src: use namespace prefix osmo_timer*Pablo Neira Ayuso17-120/+120
Summary of changes: s/struct timer_list/struct osmo_timer_list/g s/bsc_add_timer/osmo_timer_add/g s/bsc_schedule_timer/osmo_timer_schedule/g s/bsc_del_timer/osmo_timer_del/g s/bsc_timer_pending/osmo_timer_pending/g s/bsc_nearest_timer/osmo_timers_nearest/g s/bsc_prepare_timers/osmo_timers_prepare/g s/bsc_update_timers/osmo_timers_update/g s/bsc_timer_check/osmo_timers_check/g
2011-05-02[sim] Fixed path handling in sim client and mobile app.Nico Golde2-2/+2
2011-04-26src: use new libosmogsm and include/osmocom/[gsm|core] path to headersPablo Neira Ayuso47-152/+153
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 Lombardo6-132/+177
2011-03-02mobile: Store N.ba files in same directory as config fileHarald Welte3-7/+13
This should remove the last dependency to hard-coded system-wide /etc/osmocom
2011-03-02mobile: Use config file in ~/.osmocom/bb/mobile.cfgHarald Welte2-10/+25
We don't need root permission and a system-wide config file in /etc/osmocom Based on a patch by Pierre Pronchery <khorben@defora.org>
2011-02-16Added gpsd support.Dario Lombardo5-4/+182
2011-02-16Renamed gps_* functions to osmo_gps_* functions to avoid overlap with libgps ↵Dario Lombardo5-24/+24
functions.
2011-01-27[l1ctl] Adding missing msgb_free()Andreas.Eversberg1-0/+1
When a corrupt frame cannot be delivered, it is dropped. Also it must be freed.
2011-01-26cell_log: Added command line switches to change default gps device and baud ↵Dario Lombardo1-1/+16
rate.
2011-01-23ccch: Print paging of tyep2Holger Hans Peter Freyther1-1/+46
2011-01-23ccch: Decode the paging1 type paging requestsHolger Hans Peter Freyther1-1/+112
Th size checks are a bit messy and I have not seen an optional MI yet. So this code path is not tested at all.
2011-01-23ccch: Print the decoded immediate assignment again, ignore two messagesHolger Hans Peter Freyther1-5/+11
Decode the immediate assignment and print the messages as a notice, ignore the Notification for voice group services and use a magic number for SI 2quater that I could not find in my version of the spec.
2011-01-23ccch: Stop using fprintf for the SIHolger Hans Peter Freyther1-30/+13
Stop using fprintf to print the System Information number of the data we get. For the check use LOGP with LOGL_ERROR. There is little use in this information.
2011-01-23logging: Move DRSL, DLAPDM, DL1C to LOGL_NOTICE as defaultHolger Hans Peter Freyther1-3/+3
All these layers are mostly stable, increase the default log level to LOGL_NOTICE.
2011-01-23misc: Ignore two misc application binariesHolger Hans Peter Freyther1-0/+2
2011-01-23ccch: Stop following assignment requests and sending LUsHolger Hans Peter Freyther1-41/+8
Make the ccch_scan only look at the immediate assignment but do not follow it. The old behavior was dangerous as it could interfere with the real receiver of the channel.
2011-01-23ccch: Fix the cast of the frequency listHolger Hans Peter Freyther1-1/+1
2011-01-23ccch: Remove the app_phone.c, move it to the app_ccch_scan fileHolger Hans Peter Freyther3-73/+41
2011-01-23ccch: Add a copyright header to that file.Holger Hans Peter Freyther1-0/+22
2011-01-23layer23: Rename layer23 to ccch_scan as discussed on the mlHolger Hans Peter Freyther2-4/+3
2011-01-18update .gitignoreSteve Markgraf1-0/+1
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2010-12-28[layer23] Enable half rate support in support.cAndreas.Eversberg1-2/+2