osmocom-bb.git
14 years agoRemoved the code from gsm48-andreas.
Andreas Eversberg [Sun, 25 Apr 2010 16:15:53 +0000 (18:15 +0200)]
Removed the code from gsm48-andreas.

14 years agoChanges to layer23:
Andreas Eversberg [Sun, 25 Apr 2010 16:10:59 +0000 (18:10 +0200)]
Changes to layer23:

Added name to osmocom_ms structure.

l2_ctx is now named l23_ctx, because it is also used there.

A work-handler is usefull for applications that need to check queues.

14 years agoAdded new IE definitions to gsm_04_08.h of libosmocore.
Andreas Eversberg [Sun, 25 Apr 2010 16:01:32 +0000 (18:01 +0200)]
Added new IE definitions to gsm_04_08.h of libosmocore.

Also added RR and MM TLV tables to gsm48.c

14 years agoAdded single octet TV (type + value) to libosmocore.
Andreas Eversberg [Sun, 25 Apr 2010 15:53:16 +0000 (17:53 +0200)]
Added single octet TV (type + value) to libosmocore.

In case of a single octet, the upper nibble is the type, the lower nibble
carries the value.

14 years agol1ctl_tx_ccch_req() now uses arfcn as parameter.
Andreas Eversberg [Sun, 25 Apr 2010 15:31:35 +0000 (17:31 +0200)]
l1ctl_tx_ccch_req() now uses arfcn as parameter.

The arfcn variable is renamed to test_arfcn.

I think that arfcn and other frequency parameters should be stored at
the process which sets it and using it when calling l1ctl_tx_ccch_req().

14 years agoWrapper for file access.
Andreas Eversberg [Sun, 25 Apr 2010 15:11:47 +0000 (17:11 +0200)]
Wrapper for file access.

If file access is used to store network informations and user settings in the
/etc/ directory. Later it can be used to store them in the EEPROM of the
target.

14 years agoMerge remote branch 'origin/prom/pending'
Harald Welte [Sat, 24 Apr 2010 11:27:00 +0000 (13:27 +0200)]
Merge remote branch 'origin/prom/pending'

14 years agosercomm: implemented a trivial echo dlci.
Ingo Albrecht [Tue, 13 Apr 2010 02:45:17 +0000 (04:45 +0200)]
sercomm: implemented a trivial echo dlci.

14 years agoosmocom: Fix serial init (CSIZE field)
Sylvain Munaut [Wed, 21 Apr 2010 17:27:21 +0000 (19:27 +0200)]
osmocom: Fix serial init (CSIZE field)

Since we clear the whole CSIZE, we need to set CS8 _after_ the clearing
or it'll just get erased ...

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
14 years agosercomm: implemented a trivial echo dlci.
Ingo Albrecht [Tue, 13 Apr 2010 02:45:17 +0000 (04:45 +0200)]
sercomm: implemented a trivial echo dlci.

14 years agoUART initialisation, serial port errors
Christian Vogel [Mon, 12 Apr 2010 10:29:00 +0000 (12:29 +0200)]
UART initialisation, serial port errors

Additional initialisations for the UART to make the data corruption
from the PC to the Phone go away.

I've seen a lot of systematic character swaps on the serial port,
especially in the vincinity of 0-bytes. As the XON/XOFF registers
are the only thing in the UART that look like they would consider
the actual data sent, I've added this initialisation to uart.c
This makes the problem go away completely on my C123.

To check for it I've added CRCs to the HDLC protocol and checked
for bad frames, and also compared them in a (patched) osmocon
that just sends random garbate in a special DLCI. The bad
frames I observed always looked like this (number in
parenthesis define number of omitted bytes, for brevity):

<------ good bytes ---------->  <-recvd|sent->  <----- identical again
------>

d0 e0 00 00..(107)..f7 ce 17 c4 < 0c 00|00 0c > db 70 ba cb..(67)..d8 6d 3a 1f
31 e1 00 00..(47)..38 ca 2f e5 < 0c 00|00 0c > f8 a3 77 5f..(127)..5b 72 ff 4a

<-- good -> <--- bad -----> <---- good again ------------->
dc e1 00 00 < 0c 00|00 0c > 87 cb 24 83..(178)..2f 69 b3 51

ae e2 00 00..(167)..bd 18 6f a1 < 0c 00|00 0c > 2f 53 d2 b2..(7)..da c7 1b 63
dc e3 00 00..(131)..8e 2c b0 a8 < 0c 00|00 0c > 40 62 56 5f..(43)..f0 3a 47 f7

Formerly I was observing about 10 packets for every 2000 sent (with 192
bytes of payload each). Now, with the added initialisation, I see
(as the time of writing this email) 12000 packets with 192 bytes each
sent, with 0 bytes missing, corrupted, flipped).

14 years agofix disabling of the calypso bootrom on targets with nIBOOT tied to low:
Steve Markgraf [Sat, 10 Apr 2010 00:09:33 +0000 (02:09 +0200)]
fix disabling of the calypso bootrom on targets with nIBOOT tied to low:
* bit 8 always needs to be 1 when overriding the setting of the nIBOOT pin, so now we set both bits (9 and 8) to 1, and clear bit 9 if we want to enable the romloader
* to be sure, this was tested on a target with nIBOOT high (C155) and a Alcatel VLE5 pulled to low, and works fine

Signed-off-by: Steve Markgraf <steve@steve-m.de>
14 years agolayer1: move FB and SB detection into prim_fbsb.c
Harald Welte [Fri, 9 Apr 2010 19:32:56 +0000 (21:32 +0200)]
layer1: move FB and SB detection into prim_fbsb.c

14 years agolayer1: move normal burst receive code to prim_rx_nb.c
Harald Welte [Fri, 9 Apr 2010 19:25:13 +0000 (21:25 +0200)]
layer1: move normal burst receive code to prim_rx_nb.c

14 years agolayer1: move transmit normal burst routines to prim_tx_nb.c
Harald Welte [Fri, 9 Apr 2010 18:02:16 +0000 (20:02 +0200)]
layer1: move transmit normal burst routines to prim_tx_nb.c

14 years agolayer1: reorganize code, introduce prim_{pm,rach}.c
Harald Welte [Fri, 9 Apr 2010 17:56:12 +0000 (19:56 +0200)]
layer1: reorganize code, introduce prim_{pm,rach}.c

The new plan for layer1 is to structure the source code not based on
whether it is part of l1s/l1a or other parts, but based on 'primitives'.

All code that relates to transmitting a RACH burst should be in one
file, same for all code related to power management.  Those files are
called layer1/prim_*.c

14 years agolayer1: fix off-by-one error when transmitting bursts in the uplink
Harald Welte [Fri, 9 Apr 2010 08:51:38 +0000 (10:51 +0200)]
layer1: fix off-by-one error when transmitting bursts in the uplink

Prior to this fix, only 3 out of 4 bursts of every mac block were
received by the BTS at all.

Thanks to Dieter Spaar for spending so much time to debug this issue!

14 years agolayer23: fix building against user-defined LIBOSMOCORE
Harald Welte [Fri, 9 Apr 2010 06:09:46 +0000 (08:09 +0200)]
layer23: fix building against user-defined LIBOSMOCORE

14 years agoMerge commit '163d0ea85b99a2c581b1f861bf9445a9a14bfc6f'
Harald Welte [Fri, 9 Apr 2010 05:58:44 +0000 (07:58 +0200)]
Merge commit '163d0ea85b99a2c581b1f861bf9445a9a14bfc6f'

14 years agoremove references to u_int*_t and use uint*_t instead
Harald Welte [Fri, 9 Apr 2010 05:57:40 +0000 (07:57 +0200)]
remove references to u_int*_t and use uint*_t instead

14 years agoMerge commit '1ef041ff1e390adcd0f97075f1ed52177b7ed3e0'
Harald Welte [Fri, 9 Apr 2010 05:54:34 +0000 (07:54 +0200)]
Merge commit '1ef041ff1e390adcd0f97075f1ed52177b7ed3e0'

14 years agolibosmocore: don't make local changes in this repository
Harald Welte [Fri, 9 Apr 2010 05:53:23 +0000 (07:53 +0200)]
libosmocore: don't make local changes in this repository

All changes to libosmocore need to be committed to
git://git.osmocom.org/libosmocore.git first, and then imported by means
of git-subtree.

14 years agogsm48: introduce MM_CONNECTION_PEND state
Andreas Eversberg [Fri, 9 Apr 2010 05:52:12 +0000 (07:52 +0200)]
gsm48: introduce MM_CONNECTION_PEND state

14 years agogsm48-ie.c: Fix year in copyright message
Harald Welte [Fri, 9 Apr 2010 05:50:18 +0000 (07:50 +0200)]
gsm48-ie.c: Fix year in copyright message

14 years agowrite_queue: Add callback for exceptions as well.
Holger Hans Peter Freyther [Thu, 8 Apr 2010 08:58:20 +0000 (10:58 +0200)]
write_queue: Add callback for exceptions as well.

14 years agofirmware: whitespace fixes in calypso_uart.S
Harald Welte [Thu, 8 Apr 2010 08:40:14 +0000 (10:40 +0200)]
firmware: whitespace fixes in calypso_uart.S

14 years agofirmware: proper namespace in manifest.
Ingo Albrecht [Wed, 24 Mar 2010 02:30:23 +0000 (03:30 +0100)]
firmware: proper namespace in manifest.

14 years agofirmware: simplified makefile a little, fixing a dependency bug on the way.
Ingo Albrecht [Wed, 24 Mar 2010 02:30:00 +0000 (03:30 +0100)]
firmware: simplified makefile a little, fixing a dependency bug on the way.

14 years agofirmware: Allow for selective board and environment builds.
Ingo Albrecht [Wed, 24 Mar 2010 02:11:32 +0000 (03:11 +0100)]
firmware: Allow for selective board and environment builds.

14 years agofirmware: section symbols.
Ingo Albrecht [Sat, 13 Mar 2010 22:01:23 +0000 (23:01 +0100)]
firmware: section symbols.

14 years agofirmware: correct linker scripts, more commonplace section naming, reorganized start...
Ingo Albrecht [Sat, 13 Mar 2010 20:14:31 +0000 (21:14 +0100)]
firmware: correct linker scripts, more commonplace section naming, reorganized start code.

14 years agofirmware: linker script indentation and comments.
Ingo Albrecht [Thu, 11 Mar 2010 22:09:29 +0000 (23:09 +0100)]
firmware: linker script indentation and comments.

14 years agofirmware: make dependencies for linker scripts
Ingo Albrecht [Tue, 9 Mar 2010 05:46:16 +0000 (06:46 +0100)]
firmware: make dependencies for linker scripts

14 years agofirmware: removed old board.c
Ingo Albrecht [Mon, 8 Mar 2010 22:28:45 +0000 (23:28 +0100)]
firmware: removed old board.c

14 years agofirmware: Fixed osmoload linker script so it works in some situations.
Ingo Albrecht [Sun, 7 Mar 2010 18:02:07 +0000 (19:02 +0100)]
firmware: Fixed osmoload linker script so it works in some situations.

14 years agofirmware: Fixed ramload linker script to include additional rodata sections.
Ingo Albrecht [Sun, 7 Mar 2010 18:01:06 +0000 (19:01 +0100)]
firmware: Fixed ramload linker script to include additional rodata sections.

14 years agofirmware: Introduced a build manifest.
Ingo Albrecht [Sun, 7 Mar 2010 17:59:53 +0000 (18:59 +0100)]
firmware: Introduced a build manifest.

14 years agofirmware: Support for building for multiple target environments.
Ingo Albrecht [Sun, 7 Mar 2010 17:03:09 +0000 (18:03 +0100)]
firmware: Support for building for multiple target environments.

14 years agoAdded queue to messages from RSL to RR.
Andreas Eversberg [Wed, 7 Apr 2010 06:02:00 +0000 (08:02 +0200)]
Added queue to messages from RSL to RR.

14 years agolayer1: bsic should be uint8_t, not uint32_t
Harald Welte [Wed, 7 Apr 2010 06:49:51 +0000 (08:49 +0200)]
layer1: bsic should be uint8_t, not uint32_t

14 years agoosmocon: fix c140xor, fix compiler warnings due to unhandled cases, cleanup
Steve Markgraf [Tue, 6 Apr 2010 22:01:26 +0000 (00:01 +0200)]
osmocon: fix c140xor, fix compiler warnings due to unhandled cases, cleanup

Signed-off-by: Steve Markgraf <steve@steve-m.de>
14 years agolayer1: add 'struct mon_state' argument to read_{fb,sb}_result()
Harald Welte [Wed, 7 Apr 2010 02:43:01 +0000 (10:43 +0800)]
layer1: add 'struct mon_state' argument to read_{fb,sb}_result()

rather than operating on a global variable.

14 years agolayer1: coding style cleanup
Harald Welte [Wed, 7 Apr 2010 02:28:03 +0000 (10:28 +0800)]
layer1: coding style cleanup

I didn't touch the TX side, as it is still very fragile...

14 years agolayer1: reset l1s.sb.count to 0 in l1s_rest()
Harald Welte [Wed, 7 Apr 2010 02:16:54 +0000 (10:16 +0800)]
layer1: reset l1s.sb.count to 0 in l1s_rest()

When we reset layer1, the SB counter should be set to 0 again to
correctly perform multiple SB l1 tasks without rebooting.

14 years agolayer1: remove sb_cnt and sb_once static global variables
Harald Welte [Wed, 7 Apr 2010 02:16:06 +0000 (10:16 +0800)]
layer1: remove sb_cnt and sb_once static global variables

and instead move them into the l1s data structure

14 years agolayer1: remove static global variable last_task_fnr
Harald Welte [Wed, 7 Apr 2010 02:11:04 +0000 (10:11 +0800)]
layer1: remove static global variable last_task_fnr

14 years agolayer1: cosmetic cleanup
Harald Welte [Wed, 7 Apr 2010 02:07:58 +0000 (10:07 +0800)]
layer1: cosmetic cleanup

14 years agolayer1: replace fb_once with l1s.fb.mode
Harald Welte [Wed, 7 Apr 2010 02:04:28 +0000 (10:04 +0800)]
layer1: replace fb_once with l1s.fb.mode

It's time to get rid of some of the old global static variables.

14 years agoMinor correction of issues.txt. I wrote the opposite of what I wanted to say...
Andreas Eversberg [Tue, 6 Apr 2010 14:25:38 +0000 (16:25 +0200)]
Minor correction of issues.txt. I wrote the opposite of what I wanted to say...

14 years agolayer1: add l1s_cell_info (sync info) for neighbor cells
Harald Welte [Tue, 6 Apr 2010 09:39:36 +0000 (17:39 +0800)]
layer1: add l1s_cell_info (sync info) for neighbor cells

We don't actually use this information array yet... but hopefully
we'll start filling it soon.

14 years agolayer1: more comments about l1s data structure fields
Harald Welte [Tue, 6 Apr 2010 09:37:08 +0000 (17:37 +0800)]
layer1: more comments about l1s data structure fields

also, change fn_offset from unsigned to signed.

14 years agoosmocon: use git-version-gen and PACKAGE_VERSION for 'osmocon -v'
Harald Welte [Tue, 6 Apr 2010 02:58:24 +0000 (10:58 +0800)]
osmocon: use git-version-gen and PACKAGE_VERSION for 'osmocon -v'

14 years agoosmocon: cosmetic cleanup (mostly 80character line length)
Harald Welte [Tue, 6 Apr 2010 02:38:56 +0000 (10:38 +0800)]
osmocon: cosmetic cleanup (mostly 80character line length)

14 years agoosmocon: * introduce support for "non-secure" romloader inside Calypso/Calypso lite...
Steve Markgraf [Mon, 5 Apr 2010 21:14:15 +0000 (23:14 +0200)]
osmocon: * introduce support for "non-secure" romloader inside Calypso/Calypso lite, "-m romload", tested on the BenQ Siemens A38
* automatically add the required 1003 magic for the C139, C140 and J100i "-m c140/c140xor", intended for loading loader.ramload.bin, and loading the application itself with "osmoload memload" on these targets
* replace null-terminated string "ftmtool" with uint8_t (length was 8, so the ftmtool message was only recognized when the byte following to our allocated buffer memory was 0x00)
* fix minor compiler warnings
* add copyright message

Signed-off-by: Steve Markgraf <steve@steve-m.de>
14 years agolayer1: properly reset fb_once and sb_once when syncing to new cell
Harald Welte [Tue, 6 Apr 2010 02:00:16 +0000 (10:00 +0800)]
layer1: properly reset fb_once and sb_once when syncing to new cell

14 years agolayer1: deactivate all mframe tasks at L1CTL_DM_EST_REQ time
Harald Welte [Tue, 6 Apr 2010 01:52:23 +0000 (09:52 +0800)]
layer1: deactivate all mframe tasks at L1CTL_DM_EST_REQ time

When we process a L1CTL_DM_EST_REQ (try FCCH/SCH recognition),
we need to deactivate all scheduled multiframe tasks.

14 years agolayer23: first version of a 'scan all BCCHs' application
Harald Welte [Mon, 5 Apr 2010 14:39:13 +0000 (22:39 +0800)]
layer23: first version of a 'scan all BCCHs' application

bcch_scan first iterates over all GSM900/EGSM900/GSM1800 channels and
performs a power measurement.  Based on this, it tries to look for
BCCH data on those ARFCNs.  Currently, they are simply written to
the pcap file and not analyzed/processed in layer23 yet.

14 years agolayer23: signal the L1CTL DONE flag at the end of a power measurement
Harald Welte [Mon, 5 Apr 2010 14:21:36 +0000 (22:21 +0800)]
layer23: signal the L1CTL DONE flag at the end of a power measurement

14 years agol1ctl protocol: Introduce multi-part message DONE flag
Harald Welte [Mon, 5 Apr 2010 14:19:49 +0000 (22:19 +0800)]
l1ctl protocol: Introduce multi-part message DONE flag

In case a single request from L2 triggers multiple response messages
from L1, we need a way to signal via L1CTL if the response is the
final or some intermediate response.

14 years agolayer23: Introduce signals to indicate PM RES and L1 RESET to app
Harald Welte [Mon, 5 Apr 2010 13:28:59 +0000 (21:28 +0800)]
layer23: Introduce signals to indicate PM RES and L1 RESET to app

14 years agolayer23: split into liblayer23 and 'apps'
Harald Welte [Mon, 5 Apr 2010 11:26:09 +0000 (19:26 +0800)]
layer23: split into liblayer23 and 'apps'

similar to the concept of having 'apps' in the firmware build process,
I'm now building the common code as liblayer23 and we have three apps
that use this library:
 layer23 - the old layer23 program
 bcch_scan - a passive bcch scanner under development
 echo_test - a test program sending large msgb's containing zero bytes

14 years agoWork on Radio Ressource: RSL-SAP interface on L3 side.
Andreas Eversberg [Mon, 5 Apr 2010 13:26:34 +0000 (15:26 +0200)]
Work on Radio Ressource: RSL-SAP interface on L3 side.

14 years agoRR:
Andreas Eversberg [Mon, 5 Apr 2010 10:38:39 +0000 (12:38 +0200)]
RR:
- Whenever a RACH burst is sent or resent, a new random value is generated.
- STATUS message is sent, if an unsupported message is received.

14 years agoMobility Management: Corrected some issues about RR abort timer (T3240).
Andreas Eversberg [Sun, 4 Apr 2010 20:26:58 +0000 (22:26 +0200)]
Mobility Management: Corrected some issues about RR abort timer (T3240).

14 years agoWork on layer 3: finished Call Control layer
Andreas Eversberg [Sun, 4 Apr 2010 17:42:43 +0000 (19:42 +0200)]
Work on layer 3: finished Call Control layer

14 years agoAdopted transaction.c and transaction.h from OpenBSC.
Andreas Eversberg [Sun, 4 Apr 2010 13:34:53 +0000 (15:34 +0200)]
Adopted transaction.c and transaction.h from OpenBSC.

Pointers and structure is modified for the mobile station environment. The transactions are required to handle calls and SMS.

14 years agoAdded minimal call application as required in GSM 04.08.
Andreas Eversberg [Sun, 4 Apr 2010 12:15:23 +0000 (14:15 +0200)]
Added minimal call application as required in GSM 04.08.

It represents the application ontop of layer 3 Call Control. It will reject any incomming call using appropiate cause value.

Since there is no real interface between call application and call control, I introduced MNCC for mobile side. (MNCCms) Applications can be:

- normal telephony application, implemented in the MS
- remote applications like PBX (MS as external line)
- "application-in-the-middle" (no comment ;-)

14 years agoWork on layer 3, finished Mobility Management part.
Andreas Eversberg [Sun, 4 Apr 2010 09:44:18 +0000 (11:44 +0200)]
Work on layer 3, finished Mobility Management part.

14 years agoWork on layer 3 process, finished Location updating procedure (including IMSI attach).
Andreas Eversberg [Sat, 3 Apr 2010 08:48:50 +0000 (10:48 +0200)]
Work on layer 3 process, finished Location updating procedure (including IMSI attach).

14 years agoWork on message handling of layer 3.
Andreas Eversberg [Fri, 2 Apr 2010 06:28:08 +0000 (08:28 +0200)]
Work on message handling of layer 3.

14 years agoWork on message handling of layer 3.
Andreas Eversberg [Thu, 1 Apr 2010 17:53:32 +0000 (19:53 +0200)]
Work on message handling of layer 3.

14 years agoAdded README for informing about the current development process.
Andreas Eversberg [Wed, 31 Mar 2010 18:47:41 +0000 (20:47 +0200)]
Added README for informing about the current development process.

14 years agoWork on Mobility Management: MM information procedure
Andreas Eversberg [Wed, 31 Mar 2010 18:42:38 +0000 (20:42 +0200)]
Work on Mobility Management: MM information procedure

14 years agoWork on Mobility Management: Abort process
Andreas Eversberg [Wed, 31 Mar 2010 18:34:16 +0000 (20:34 +0200)]
Work on Mobility Management: Abort process

14 years agoWork on Mobility Management: IMSI detach process
Andreas Eversberg [Tue, 30 Mar 2010 16:57:58 +0000 (18:57 +0200)]
Work on Mobility Management: IMSI detach process

14 years agoosmocon: use serial port initialization code from openbsc/src/rs232.c
Harald Welte [Tue, 30 Mar 2010 02:05:41 +0000 (10:05 +0800)]
osmocon: use serial port initialization code from openbsc/src/rs232.c

Both have the same goal: put the RS232 port into a completely raw,
binary-transparent mode.  So there's no point in keeping two completely
different functions for this.

14 years agoosmocon: calcluate unix domain socket length in a portable way
Harald Welte [Tue, 30 Mar 2010 01:50:32 +0000 (09:50 +0800)]
osmocon: calcluate unix domain socket length in a portable way

Let's hope this concept (as seen in Xorg sources) is portable enough
to calculate the length of the sockaddr_un properly on all
architectures.

14 years agogsm48-andreas: fix typo utnt -> uint
Harald Welte [Sun, 28 Mar 2010 05:03:25 +0000 (13:03 +0800)]
gsm48-andreas: fix typo utnt -> uint

14 years agoWork on various L3 processes.
Andreas Eversberg [Sun, 28 Mar 2010 14:29:04 +0000 (16:29 +0200)]
Work on various L3 processes.

14 years agoimport gsm48_mi_to_string() from OpenBSC
Harald Welte [Sun, 28 Mar 2010 10:14:50 +0000 (18:14 +0800)]
import gsm48_mi_to_string() from OpenBSC

14 years agogsm48-andreas: s/clamp/camp/g
Harald Welte [Sun, 28 Mar 2010 05:00:43 +0000 (13:00 +0800)]
gsm48-andreas: s/clamp/camp/g

14 years agoWork on Radio Ressource.
Andreas Eversberg [Sat, 27 Mar 2010 16:23:32 +0000 (17:23 +0100)]
Work on Radio Ressource.

14 years agolayer1: include last ARFCN of PM range in report
Harald Welte [Sat, 27 Mar 2010 11:20:22 +0000 (19:20 +0800)]
layer1: include last ARFCN of PM range in report

14 years agoImplement L23-triggered L1 power measurement scan
Harald Welte [Sat, 27 Mar 2010 10:40:21 +0000 (18:40 +0800)]
Implement L23-triggered L1 power measurement scan

Now layer23 can ask L1 to scan an entire range of ARFCN's and do power
measurements.  This is the first step in the cell (re)selection process.

14 years agoAdded process of link control in idle mode.
Andreas Eversberg [Sat, 27 Mar 2010 10:05:16 +0000 (11:05 +0100)]
Added process of link control in idle mode.

The process is described in GSM 05.08 and will search and select BCCH.
The process is partly complete.

14 years agoAdded process of selecting PLMN and serving cell.
Andreas Eversberg [Sat, 27 Mar 2010 10:02:54 +0000 (11:02 +0100)]
Added process of selecting PLMN and serving cell.

The process is described in GSM 03.22.
The process is partly complete.

14 years agoAdded subscriber data. It is very uncomplete yet.
Andreas Eversberg [Sat, 27 Mar 2010 10:00:57 +0000 (11:00 +0100)]
Added subscriber data. It is very uncomplete yet.

14 years agoWork on Radio Ressource.
Andreas Eversberg [Sat, 27 Mar 2010 09:51:58 +0000 (10:51 +0100)]
Work on Radio Ressource.

14 years agolayer23: cosmetic fixes in log output
Harald Welte [Sat, 27 Mar 2010 04:51:45 +0000 (12:51 +0800)]
layer23: cosmetic fixes in log output

14 years agolayer23: convert main.c to use libosmocore/logging.c
Harald Welte [Sat, 27 Mar 2010 04:51:30 +0000 (12:51 +0800)]
layer23: convert main.c to use libosmocore/logging.c

14 years agointroduce (unused) code to regularly transmit L1CTL ECHO REQ to phone
Harald Welte [Sat, 27 Mar 2010 04:34:29 +0000 (12:34 +0800)]
introduce (unused) code to regularly transmit L1CTL ECHO REQ to phone

this helped in debugging the strange NUL byte related data corruption

14 years agoadd L1CTL ECHO REQUEST code
Harald Welte [Sat, 27 Mar 2010 04:32:10 +0000 (12:32 +0800)]
add L1CTL ECHO REQUEST code

14 years agosercomm: ESCAPE every NUL (0x00) byte in the data stream
Harald Welte [Sat, 27 Mar 2010 04:22:21 +0000 (12:22 +0800)]
sercomm: ESCAPE every NUL (0x00) byte in the data stream

For some reason, at least on the C123, a sequence of multiple NUL bytes
seems to get corrupted somewhere in the Rx side on the phone itself (the
NUL plus the following character get dropped).

We now simply work around this issue by having our sercomm/HDLC layer
escape all NUL octets in the stream.

14 years agosercomm: Fix ESCAPE'd character at end of buffer
Harald Welte [Sat, 27 Mar 2010 04:18:26 +0000 (12:18 +0800)]
sercomm: Fix ESCAPE'd character at end of buffer

If we're transmitting a to-be-escaped character as the last byte of the
buffer, the code generated the sequence ESCAPE FLAG rather than
ESCAPE last_byte FLAG.

This fixes the bug.

14 years agosercomm: avoid overflow of sercomm msgb on PC RX side
Harald Welte [Sat, 27 Mar 2010 04:14:20 +0000 (12:14 +0800)]
sercomm: avoid overflow of sercomm msgb on PC RX side

14 years agoapps/hello_world: cosmetic fix
Harald Welte [Sat, 27 Mar 2010 04:11:39 +0000 (12:11 +0800)]
apps/hello_world: cosmetic fix

14 years agolayer23: convert to libosmocore logging API
Harald Welte [Sat, 27 Mar 2010 00:56:05 +0000 (08:56 +0800)]
layer23: convert to libosmocore logging API

14 years agoremove remaining bits of libosmocom. It's all in libosmocore now
Harald Welte [Fri, 26 Mar 2010 16:10:03 +0000 (00:10 +0800)]
remove remaining bits of libosmocom.  It's all in libosmocore now

14 years agolayer23: remove debug.c and thus last remnants of libosmocom
Harald Welte [Fri, 26 Mar 2010 16:07:46 +0000 (00:07 +0800)]
layer23: remove debug.c and thus last remnants of libosmocom

14 years agoMerge commit 'a3b844cf45dc4d6a6a3686e8ce6e2447643b878e'
Harald Welte [Fri, 26 Mar 2010 16:05:41 +0000 (00:05 +0800)]
Merge commit 'a3b844cf45dc4d6a6a3686e8ce6e2447643b878e'