Commit Graph

34 Commits

Author SHA1 Message Date
Dario Lombardo aa2f2fdfa1 [PATCH] Added runtime selection of gps device. 2011-03-09 16:27:20 +00:00
Dario Lombardo b7a4d8d912 Added gpsd support. 2011-02-16 15:15:12 +01:00
Dario Lombardo 26ff2ee880 Renamed gps_* functions to osmo_gps_* functions to avoid overlap with libgps functions. 2011-02-16 15:15:07 +01:00
Dario Lombardo e112a24223 cell_log: Added command line switches to change default gps device and baud rate. 2011-01-26 14:39:00 +01:00
Holger Hans Peter Freyther 66de91f3a8 ccch: Print paging of tyep2 2011-01-23 14:29:44 +01:00
Holger Hans Peter Freyther d1790b9940 ccch: Decode the paging1 type paging requests
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-23 14:29:44 +01:00
Holger Hans Peter Freyther 9d90193dee ccch: Print the decoded immediate assignment again, ignore two messages
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-23 14:29:44 +01:00
Holger Hans Peter Freyther f9a699e682 ccch: Stop using fprintf for the SI
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-23 14:29:44 +01:00
Holger Hans Peter Freyther 5c49b44653 ccch: Stop following assignment requests and sending LUs
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-23 11:36:30 +01:00
Holger Hans Peter Freyther 84bde8f7fb ccch: Fix the cast of the frequency list 2011-01-23 11:36:30 +01:00
Holger Hans Peter Freyther a31f742a94 ccch: Remove the app_phone.c, move it to the app_ccch_scan file 2011-01-23 11:36:30 +01:00
Holger Hans Peter Freyther d97f0f2681 ccch: Add a copyright header to that file. 2011-01-23 11:36:30 +01:00
Holger Hans Peter Freyther 88eb926637 layer23: Rename layer23 to ccch_scan as discussed on the ml 2011-01-23 11:36:30 +01:00
Holger Hans Peter Freyther 2281ec1a65 layer2: Make it possible to disable or increase the number of RA bursts 2010-12-27 20:04:09 +01:00
Holger Hans Peter Freyther ace267cfc2 layer23: Enable combining the long options
Combine the long options from the base and the application. Provide
the long option for the cell log application.
2010-12-27 19:01:37 +01:00
Holger Hans Peter Freyther 63c0e6d199 layer23: Make the logfile configurable with cell_log
Be able to add extra (short) options from the 'applet' to
the main application. Use this to print the help mentioning
app specific options, pass the getopt string and handle the
command line parsing for it.

Change cell_log to keep the logname in the app_cell_log.c
and then access it from the cell_log.c implementation.
2010-12-27 19:01:37 +01:00
Holger Hans Peter Freyther 738f9d892a layer23: Not every application supports every option add enum
Allow each application to specify the options it is supporting.
2010-12-27 19:01:37 +01:00
Holger Hans Peter Freyther 2934d0a4f4 layer23: Create an l23_app_info for various information and cb's
Make it possible that each l23 app can inject the copyright string,
also prepare to have callbacks for the config handling and other
places. This will be useful to add app specific config options.
2010-12-27 19:01:37 +01:00
Andreas.Eversberg 000066110a [cell_log] Use GPS signal, even if it becomes valid during scanning 2010-12-27 17:11:28 +00:00
Alex Badea 689c0e5f8d host layer23: add a small cbch_sniff application
Tune to the ARFCN specified on the commandline (-a).  Then, if
a CBCH Channel Description IE is found in System Information Type 4,
switch to dedicated mode on that particular channel to receive
the CBCH.
2010-11-21 23:33:27 +01:00
Andreas.Eversberg a0246e07ff layer23: Use the new rach_req format in l1ctl and update l23 apps to use it
This removes an old hack

Written-by: Andreas Eversberg <jolly@eversberg.eu>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-10-30 17:32:09 +02:00
Andreas.Eversberg 33ad399e21 [layer23] cell_log's scanning depth now depends on movement speed 2010-10-30 12:30:00 +00:00
Steve Markgraf 4dea28252c layer23: typo/cosmetic fixes in cell_log.c and mnccms.c
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2010-10-27 20:26:05 +02:00
Andreas.Eversberg 462015a91e [layer23] Adding application to scan/receive and log SYSTEM INFORMATIONS 2010-10-24 13:39:37 +00:00
Sylvain Munaut 9257fe53bf l1ctl: Add initial tch_mode value in DM_EST_REQ
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-09-28 08:04:18 +02:00
Sylvain Munaut 6c6b073f54 Remove the various checks for high TS as those should now work
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-09-26 20:05:23 +02:00
Sylvain Munaut 54b77bc07e fw & layer23: Remove limitation about the SDCCH subchannel 4..8
This is now supported :)

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-09-17 20:52:41 +02:00
Sylvain Munaut a268e3ce05 layer23: Add support for SI1 decoding and imm.ass hopping
The gsm48_decode_freq_list should ideally become something
shared between this app and mobile but it has incompatibilities
for now ... need to sort that out with Andreas to unify in the
future.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-09-14 21:21:42 +02:00
Sylvain Munaut 02c4650af1 layer23: Move app logic in layer3.c with state struct.
It's far from perfect but at least it's not split in two file and
makes it easier to expand the logic.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-09-14 21:21:42 +02:00
Steve Markgraf 5e81ff0351 [layer23] request a layer1 reset on startup of layer2 applications
This omits the need for starting layer23 applications before
loading layer1 (which still works).

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2010-07-29 11:12:31 +02:00
Sylvain Munaut 0cbd5d0139 layer23: Unify the prefix of l1ctl TX functions
Some had tx_ph_XX, others l1ctl_tx_XXX and some l1ctl_tx_ph_XXX

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-07-27 20:51:52 +02:00
Sylvain Munaut c382fbf943 include: Rename l1a_l23_interface.h to l1ctl_proto.h
The interface between l1 and upper layer is called by several
name. IMHO l1ctl is shorted and sounds good so try to unify
using that.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-07-27 20:51:29 +02:00
Sylvain Munaut 9e9f99c0a0 layer23: Split [2/2] -> The header files
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-27 20:49:27 +02:00
Sylvain Munaut de21ca4aaf layer23: Split [1/2] -> The source code
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-07-27 20:49:04 +02:00