Andreas Eversberg [Sun, 4 Apr 2010 20:26:58 +0000 (22:26 +0200)]
Mobility Management: Corrected some issues about RR abort timer (T3240).
Andreas Eversberg [Sun, 4 Apr 2010 17:42:43 +0000 (19:42 +0200)]
Work on layer 3: finished Call Control layer
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.
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 ;-)
Andreas Eversberg [Sun, 4 Apr 2010 09:44:18 +0000 (11:44 +0200)]
Work on layer 3, finished Mobility Management part.
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).
Andreas Eversberg [Fri, 2 Apr 2010 06:28:08 +0000 (08:28 +0200)]
Work 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.
Andreas Eversberg [Wed, 31 Mar 2010 18:47:41 +0000 (20:47 +0200)]
Added README for informing about the current development process.
Andreas Eversberg [Wed, 31 Mar 2010 18:42:38 +0000 (20:42 +0200)]
Work on Mobility Management: MM information procedure
Andreas Eversberg [Wed, 31 Mar 2010 18:34:16 +0000 (20:34 +0200)]
Work on Mobility Management: Abort process
Andreas Eversberg [Tue, 30 Mar 2010 16:57:58 +0000 (18:57 +0200)]
Work on Mobility Management: IMSI detach process
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.
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.
Harald Welte [Sun, 28 Mar 2010 05:03:25 +0000 (13:03 +0800)]
gsm48-andreas: fix typo utnt -> uint
Andreas Eversberg [Sun, 28 Mar 2010 14:29:04 +0000 (16:29 +0200)]
Work on various L3 processes.
Harald Welte [Sun, 28 Mar 2010 05:00:43 +0000 (13:00 +0800)]
gsm48-andreas: s/clamp/camp/g
Andreas Eversberg [Sat, 27 Mar 2010 16:23:32 +0000 (17:23 +0100)]
Work on Radio Ressource.
Harald Welte [Sat, 27 Mar 2010 11:20:22 +0000 (19:20 +0800)]
layer1: include last ARFCN of PM range in report
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.
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.
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.
Andreas Eversberg [Sat, 27 Mar 2010 10:00:57 +0000 (11:00 +0100)]
Added subscriber data. It is very uncomplete yet.
Andreas Eversberg [Sat, 27 Mar 2010 09:51:58 +0000 (10:51 +0100)]
Work on Radio Ressource.
Harald Welte [Sat, 27 Mar 2010 04:51:45 +0000 (12:51 +0800)]
layer23: cosmetic fixes in log output
Harald Welte [Sat, 27 Mar 2010 04:51:30 +0000 (12:51 +0800)]
layer23: convert main.c to use libosmocore/logging.c
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
Harald Welte [Sat, 27 Mar 2010 04:32:10 +0000 (12:32 +0800)]
add L1CTL ECHO REQUEST code
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.
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.
Harald Welte [Sat, 27 Mar 2010 04:14:20 +0000 (12:14 +0800)]
sercomm: avoid overflow of sercomm msgb on PC RX side
Harald Welte [Sat, 27 Mar 2010 04:11:39 +0000 (12:11 +0800)]
apps/hello_world: cosmetic fix
Harald Welte [Sat, 27 Mar 2010 00:56:05 +0000 (08:56 +0800)]
layer23: convert to libosmocore logging API
Harald Welte [Fri, 26 Mar 2010 16:10:03 +0000 (00:10 +0800)]
remove remaining bits of libosmocom. It's all in libosmocore now
Harald Welte [Fri, 26 Mar 2010 16:07:46 +0000 (00:07 +0800)]
layer23: remove debug.c and thus last remnants of libosmocom
Harald Welte [Fri, 26 Mar 2010 16:05:41 +0000 (00:05 +0800)]
Harald Welte [Fri, 26 Mar 2010 16:04:40 +0000 (00:04 +0800)]
logging: only compile stderr target if we actualy have stderr
Harald Welte [Fri, 26 Mar 2010 15:53:12 +0000 (23:53 +0800)]
Harald Welte [Fri, 26 Mar 2010 15:51:31 +0000 (23:51 +0800)]
only include strings.h if it is actually preent
Harald Welte [Fri, 26 Mar 2010 15:41:34 +0000 (23:41 +0800)]
Harald Welte [Fri, 26 Mar 2010 14:04:03 +0000 (22:04 +0800)]
logging: fix default initialization of per-category loglevels
Before this patch, there was a bug in the code caused by a memcpy
from one data structure to another. unfortuantely the data structures
were not the same, so we have to explicitly iterate over the array
and assign the structure members manually.
Harald Welte [Fri, 26 Mar 2010 13:24:24 +0000 (21:24 +0800)]
rename 'debug' interface to 'logging' interface
It's not really about debugging, but about generic logging...
Harald Welte [Fri, 26 Mar 2010 13:05:43 +0000 (21:05 +0800)]
debug: remove unneeded 'number' member of 'struct debug_info_cat'
As the debug subsystem number is used as index into the debug_info_cat
array, there is no need to store the number explicitly inside the
structure again.
Harald Welte [Fri, 26 Mar 2010 01:45:03 +0000 (09:45 +0800)]
debug.c: fix no-color-printing in case .color = NULL
Harald Welte [Fri, 26 Mar 2010 01:33:40 +0000 (09:33 +0800)]
Import 'debug' support from OpenBSC into libosmocore
Holger Hans Peter Freyther [Fri, 26 Mar 2010 08:20:22 +0000 (09:20 +0100)]
write_queue: Add a method to clear the queue.
Harald Welte [Thu, 25 Mar 2010 04:43:07 +0000 (12:43 +0800)]
gsm48-andreas: Use value_string wherever possible
The point of this is to not replicate functionality that already exists
in libosmocore (get_value_string()/get_string_value()).
Harald Welte [Thu, 25 Mar 2010 04:18:14 +0000 (12:18 +0800)]
Merge commit '
52b4abdcb351830f5493a50c4181ef3947f3feab'
Conflicts:
src/shared/libosmocore/src/utils.c
Harald Welte [Thu, 25 Mar 2010 04:11:38 +0000 (12:11 +0800)]
replace rsl_rlm_cause_strs with rsl_rlm_cause_name()
Harald Welte [Thu, 25 Mar 2010 04:00:54 +0000 (12:00 +0800)]
replace gsm48_cc_msg_names[] with gsm48_cc_msg_name()
and implement the backend using value_string
Harald Welte [Thu, 25 Mar 2010 03:44:57 +0000 (11:44 +0800)]
use more value_string in gsm48 and rsl
Harald Welte [Thu, 25 Mar 2010 03:37:04 +0000 (11:37 +0800)]
get_value_string(): return "unknown 0x..." instead of "unknown"
Holger Hans Peter Freyther [Wed, 24 Mar 2010 01:55:33 +0000 (02:55 +0100)]
Create a dummy m4 directory to make autoreconf --install --force work
Even when removing AC_CONFIG_MACRO_DIR aclocal insisted that it
needs to have a m4 directory. Make it happy by providing one. As git
is not tracking directories I needed to add a dummy file.
Harald Welte [Mon, 22 Mar 2010 16:30:19 +0000 (00:30 +0800)]
add git-version-gen magic to automatically generate package version
Harald Welte [Mon, 22 Mar 2010 16:23:23 +0000 (00:23 +0800)]
bump version to 0.1.0
Holger Hans Peter Freyther [Mon, 22 Mar 2010 02:11:10 +0000 (03:11 +0100)]
osmocore: Add a direct l4h to the union of l4h pointers
This is needed for the BSSAP code of the On Waves/BSC master branch
Harald Welte [Mon, 22 Mar 2010 00:30:11 +0000 (08:30 +0800)]
Harald Welte [Mon, 22 Mar 2010 00:28:44 +0000 (08:28 +0800)]
fix compiler warnings (itsme <itsme@xs4all.nl>)
* added several 'const' for strings.
* added 'extern' to declarations of rsl_rlm_cause_strs
Harald Welte [Mon, 22 Mar 2010 00:26:04 +0000 (08:26 +0800)]
misc compiler warning fixes
* added missing param in call to gsm48_rx_bcch
* added 'extern' to declarations of rsl_rlm_cause_strs and target_board
* added several 'const' for strings
* removed useless 'bufptr,' from hexdump
(From: itsme <itsme@xs4all.nl>)
Harald Welte [Sun, 21 Mar 2010 15:46:35 +0000 (23:46 +0800)]
calypsu UART: add additional debug output in UART RX error case
Harald Welte [Sun, 21 Mar 2010 15:45:27 +0000 (23:45 +0800)]
hello_world app: print L1CTL messages as hexdump to console
Harald Welte [Sun, 21 Mar 2010 04:57:28 +0000 (12:57 +0800)]
L1A/L23 interface (L1CTL) cleanup
* introduce a new 'l1ctl_hdr' structure common to all messages
on this interface
* use struct l1ctl_hdr in both the firmware and layer23
* add a new L1CTL_PM_REQ request for performing layer23-initiated
power measurements (firmware does not implement them yet)
Harald Welte [Fri, 19 Mar 2010 10:45:42 +0000 (18:45 +0800)]
Merge remote branch 'origin/master'
Erik Ekman [Thu, 18 Mar 2010 22:21:27 +0000 (23:21 +0100)]
Two more small patches
Hi
Found a spelling error while testing my C139, and also fixed the
warning discussed in my earlier patch.
/Erik
From
9d8a7454367f3d095e6d4c046e84a22126ff887a Mon Sep 17 00:00:00 2001
From: Erik Ekman <yarrick@kryo.se>
Date: Wed, 17 Mar 2010 22:48:57 +0100
Subject: [PATCH 1/2] Remove operand which has no effect
Signed-off-by: Ingo Albrecht <prom@berlin.ccc.de>
Harald Welte [Wed, 17 Mar 2010 11:21:46 +0000 (19:21 +0800)]
remove 'l1s.task' value for local DSP task checking
As the check no longer works with our higher-levle schedulers,
we can remove this field from the l1s structure and all references
to it.
Andreas Eversberg [Tue, 16 Mar 2010 19:18:45 +0000 (20:18 +0100)]
Work on Radio Ressource
Andreas Eversberg [Mon, 15 Mar 2010 19:15:40 +0000 (20:15 +0100)]
Work on Radio Ressource
- SI 5, 5bis, 5ter
Andreas Eversberg [Mon, 15 Mar 2010 17:57:52 +0000 (18:57 +0100)]
Work on Radio Ressource.
- Decode of Mobile Allocation for frequency hopping list
Andreas Eversberg [Sun, 14 Mar 2010 19:51:55 +0000 (20:51 +0100)]
Classmark 3 encoding (Radio Ressource) now uses bit-vector API.
Andreas Eversberg [Sun, 14 Mar 2010 18:23:45 +0000 (19:23 +0100)]
Work on Radio Ressource layer.
Andreas Eversberg [Sun, 14 Mar 2010 17:10:46 +0000 (18:10 +0100)]
Merge branch 'master' of gitosis@git.osmocom.org:osmocom-bb
Andreas Eversberg [Sun, 14 Mar 2010 17:08:16 +0000 (18:08 +0100)]
Work on Radio Ressource layer.
- SI 1-4 parsing
- decoding of all frequency list types
Ingo Albrecht [Tue, 9 Mar 2010 04:35:27 +0000 (05:35 +0100)]
firmware: fixed bootrom disabling
Ingo Albrecht [Sun, 7 Mar 2010 08:34:36 +0000 (09:34 +0100)]
firmware: watchdog-based system reset
Holger Hans Peter Freyther [Sun, 14 Mar 2010 15:01:07 +0000 (16:01 +0100)]
Makefile.inc: Use the right $(AR) command for the target
Reported on the mailinglist, proposed by Sylvain Munaut.
Andreas Eversberg [Sat, 13 Mar 2010 14:42:56 +0000 (15:42 +0100)]
Merge branch 'master' of gitosis@git.osmocom.org:osmocom-bb
Andreas Eversberg [Sat, 13 Mar 2010 14:40:35 +0000 (15:40 +0100)]
Work on Radio Ressource layer.
Added MS support structure for classmark messages.
Harald Welte [Fri, 12 Mar 2010 04:18:17 +0000 (12:18 +0800)]
Introduce LCD display_driver infrastructure
* introduce display_driver layer
* port st7558 and ssd1783 drivers to display_driver
* allow for run-time selection of display driver from board/init.c
* replace st7558_puts() calls with display_puts() calls
Steve Markgraf [Thu, 11 Mar 2010 21:16:22 +0000 (22:16 +0100)]
uwire: add a chip-select for CS0, needed by the J100i display
Signed-off-by: Steve Markgraf <steve@steve-m.de>
Harald Welte [Thu, 11 Mar 2010 23:18:23 +0000 (07:18 +0800)]
remove bogus source files in top level src directory
Harald Welte [Thu, 11 Mar 2010 20:15:07 +0000 (04:15 +0800)]
apps/loader: remove #include reference to file that doesn't exist
Holger Hans Peter Freyther [Thu, 11 Mar 2010 13:42:41 +0000 (14:42 +0100)]
gsm48.h: Make the array extern to a silence a linker warning
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld:
Warning: size of symbol `rsl_rlm_cause_strs' changed from 8 in ./openbsc/src/libbsc.a(abis_rsl.o)
to 120 in /usr/local/lib/libosmocore.so
spotted and sent to the list by Andreas
Harald Welte [Tue, 9 Mar 2010 22:05:58 +0000 (23:05 +0100)]
layer23: fill in signal level and dBm fields of gsmtap
Andreas Eversberg [Tue, 9 Mar 2010 18:31:30 +0000 (19:31 +0100)]
some work on radio ressource
root [Mon, 8 Mar 2010 19:27:31 +0000 (20:27 +0100)]
Work on radio ressource: basics of channel assignment procedure
Holger Hans Peter Freyther [Fri, 5 Mar 2010 18:42:09 +0000 (19:42 +0100)]
write_queue: Make the bfd cb public so it can be used in a different context
* I'm doing a nonblocking connect and for this I need to select
on writable and the first thing I need to do is to check the
SOL_SOCKET SO_ERROR state. I realize this by setting a different
cb on the embedded bfd during setup and then go back to the real
implementation.
Holger Hans Peter Freyther [Mon, 8 Mar 2010 10:08:23 +0000 (11:08 +0100)]
layer23: Use the write_queue instead of directly writing data to the socket
Holger Hans Peter Freyther [Mon, 8 Mar 2010 09:59:47 +0000 (10:59 +0100)]
layer23: Remove inacucrate comment as this was addresses in osmocom
Harald Welte [Mon, 8 Mar 2010 10:50:37 +0000 (11:50 +0100)]
disable TX by default again
Harald Welte [Mon, 8 Mar 2010 09:18:57 +0000 (10:18 +0100)]
readme update
Harald Welte [Mon, 8 Mar 2010 08:37:41 +0000 (09:37 +0100)]
use gsm48_ie code which is now in libosmocore
Holger Hans Peter Freyther [Mon, 8 Mar 2010 04:02:38 +0000 (05:02 +0100)]
Make it compile on my toolchain...
Include stdlib.h to introduce NULL to the compiler.
Holger Hans Peter Freyther [Fri, 5 Mar 2010 18:27:40 +0000 (19:27 +0100)]
Fix some compiler warnings...
Some real issues are still left and we need to act on them.
Holger Hans Peter Freyther [Fri, 5 Mar 2010 17:41:29 +0000 (18:41 +0100)]
stdint.h: Make it work with my GCC 4.3.3/GLIBC 2.9 toolchain
The compiler complains about seing two conflicting definitions
for int32_t and the compile will stop. One definitions comes from
here and the other is coming from sys/types.h.
One option would be to try to use unsigned int and signed int
instead of using a long and see if that is matching, the other
option is to include the real libc stdint.h header and see if
it has defined a uint32_t for us.
Harald Welte [Sun, 7 Mar 2010 22:39:54 +0000 (23:39 +0100)]
import GSM04.08 encode/decode functions and mncc.h from openbsc
Harald Welte [Sun, 7 Mar 2010 21:48:52 +0000 (22:48 +0100)]
import alpha3 code from andreas eversberg as of 2010-03-07
Harald Welte [Sun, 7 Mar 2010 20:17:24 +0000 (21:17 +0100)]
fix framenumber byte-ordering
Harald Welte [Sun, 7 Mar 2010 20:04:36 +0000 (21:04 +0100)]
add missing inet.h
Harald Welte [Sun, 7 Mar 2010 19:42:17 +0000 (20:42 +0100)]
start to use libosmocore within the firmware
* remove linuxlist.h copy and use osmocore
* don't put 'struct gsm_time' into l1ctl packets
* include rx_level and snr for each burst in l1ctl
* properly build libosmocore.a for target
* move gsmtime functions into libosmocore
* move ctype.h to standard location
Harald Welte [Sun, 7 Mar 2010 19:34:24 +0000 (20:34 +0100)]