osmocom-bb.git
14 years agoThis commit belongs to the last one.
Andreas.Eversberg [Wed, 16 Jun 2010 17:19:40 +0000 (17:19 +0000)]
This commit belongs to the last one.

14 years agolayer23: Added VTY command to display current states.
Andreas.Eversberg [Wed, 16 Jun 2010 17:17:29 +0000 (17:17 +0000)]
layer23: Added VTY command to display current states.

Also rejecting ASSIGNMENT COMMAND.

14 years agolayer23 VTY: "end" now ends configuration in all config subnodes.
Andreas.Eversberg [Wed, 16 Jun 2010 17:13:52 +0000 (17:13 +0000)]
layer23 VTY: "end" now ends configuration in all config subnodes.

14 years agolayer23: Added some more detailed debugging parameters.
Andreas.Eversberg [Tue, 15 Jun 2010 20:16:52 +0000 (20:16 +0000)]
layer23: Added some more detailed debugging parameters.

14 years agolayer23: Fixed release problems of call control.
Andreas.Eversberg [Tue, 15 Jun 2010 20:15:03 +0000 (20:15 +0000)]
layer23: Fixed release problems of call control.

Now hangup command from mobile station results in a clean release of
CC and MM.

14 years agolayer23 call control: Fixed sending of RELEASE COMPLETE.
Andreas.Eversberg [Mon, 14 Jun 2010 19:45:30 +0000 (19:45 +0000)]
layer23 call control: Fixed sending of RELEASE COMPLETE.

This had caused a crash due to double free of transaction instance.

14 years agolayer23 cell selection: Fix in cell selection after leaving dedicated mode.
Andreas.Eversberg [Mon, 14 Jun 2010 19:38:06 +0000 (19:38 +0000)]
layer23 cell selection: Fix in cell selection after leaving dedicated mode.

Only the known BA (band allocation) is used to check for the cell to camp
on. If there is no BA or if nothing is found, the process triggers normal
cell selection.

After location update (for example), the mobile switches to the strongest
cell in the current band allocation.

14 years agolayer23: Added more logging to transaction.c
Andreas.Eversberg [Sun, 13 Jun 2010 22:35:45 +0000 (22:35 +0000)]
layer23: Added more logging to transaction.c

14 years agolayer23: Added more logging to call control.
Andreas.Eversberg [Sun, 13 Jun 2010 22:34:36 +0000 (22:34 +0000)]
layer23: Added more logging to call control.

14 years agolapdm: Minor fix.
Andreas.Eversberg [Sun, 13 Jun 2010 18:44:50 +0000 (18:44 +0000)]
lapdm: Minor fix.

14 years agolayer23: IMSI detach works now.
Andreas.Eversberg [Sun, 13 Jun 2010 18:41:07 +0000 (18:41 +0000)]
layer23: IMSI detach works now.

Pressing CTRL+c causes the detach process to run, then the mobile exits.
This procedure only runs after attachment (location update) and if detach
is required.

The SABM with the detach message is confirmed by a DISC message. the BS11
says that this is caused by sequence error or N200+1 error. Maybe someone
can trace that.

14 years agolayer23: Added VTY messages to call application.
Andreas.Eversberg [Sun, 13 Jun 2010 17:18:15 +0000 (17:18 +0000)]
layer23: Added VTY messages to call application.

VTY now shows the process of call establishment, incomming call, and release.

14 years agolayer23: Added feature to do emergency calls without a SIM card.
Andreas.Eversberg [Sun, 13 Jun 2010 14:41:55 +0000 (14:41 +0000)]
layer23: Added feature to do emergency calls without a SIM card.

While testing, you may find out that making an emergency call is rejected
with cause 5 (illegal ME), because emergency facilities in some countries
like to reject calls without knowing the subscriber.

An emergency IMSI can be defined via VTY, so it is possible to make calls
with that IMSI, even without the SIM, because authentication is not
applicable during emergency call establishment.

All the information above, I received from the freely available 3GPP TS 04.08.
See NOTE at sub clause 4.5.1.5.

14 years agolayer23: Fixed issues about location update and it's result.
Andreas.Eversberg [Sun, 13 Jun 2010 13:51:30 +0000 (13:51 +0000)]
layer23: Fixed issues about location update and it's result.

Now location update reject works. The rejected network/cell is stored in
an appropriate list. The lists can be dumped from the VTY.

A fake authentication response is generated until the SIM interface is
available. If the network rejects the test SIM, due to authentication
failure, it is removed and limited service state is entered. This currenlty
works on networks with SDCCH on the TS0 only.

14 years agolapdm: Fixed length check for SABM frame.
Andreas.Eversberg [Sun, 13 Jun 2010 13:50:27 +0000 (13:50 +0000)]
lapdm: Fixed length check for SABM frame.

14 years agocell selection: Added temporary hack to sync multiple times until the sync
Andreas.Eversberg [Sun, 13 Jun 2010 12:09:30 +0000 (12:09 +0000)]
cell selection: Added temporary hack to sync multiple times until the sync
failure is accepted.

14 years agoMNCCms: Added missing return value.
Andreas.Eversberg [Sun, 13 Jun 2010 12:08:35 +0000 (12:08 +0000)]
MNCCms: Added missing return value.

14 years agoradio ressource: After loosing signal, the process must return to IDLE state and...
Andreas.Eversberg [Sun, 13 Jun 2010 12:07:31 +0000 (12:07 +0000)]
radio ressource: After loosing signal, the process must return to IDLE state and trigger cell re-selection.

14 years agomobility management: Fixes.
Andreas.Eversberg [Sun, 13 Jun 2010 12:03:17 +0000 (12:03 +0000)]
mobility management: Fixes.

In case of registration not possible / requried, the appropriate result
message (REG_FAILED / REG_SUCCESS) must be returned to PLMN process.

Location updating message fix.

14 years agolapdm: Fixed double free issues. (segfaults)
Andreas.Eversberg [Sun, 13 Jun 2010 12:01:37 +0000 (12:01 +0000)]
lapdm: Fixed double free issues. (segfaults)

14 years agoAdded more release cases between RR and MM layer.
Andreas.Eversberg [Sat, 12 Jun 2010 18:44:21 +0000 (18:44 +0000)]
Added more release cases between RR and MM layer.

14 years agoFixed ARFCN output on sysinfo dumping.
Andreas.Eversberg [Sat, 12 Jun 2010 17:45:47 +0000 (17:45 +0000)]
Fixed ARFCN output on sysinfo dumping.

14 years agoRadio ressources now has functions for release of radio link.
Andreas.Eversberg [Sat, 12 Jun 2010 16:16:54 +0000 (16:16 +0000)]
Radio ressources now has functions for release of radio link.
The "BA range" is used for cell re-selection.

Due to layer 1 issues, the process gets stuck very often or looses
synchronization.

After location update, I can now make a call via VTY on SDCCH:
Call control sends SETUP request after requesting an MM connection.
My phone on the network side rang!! Call control fails and requires
further debugging...

14 years agoFixed CM SERVICE REQUEST message.
Andreas.Eversberg [Sat, 12 Jun 2010 16:14:28 +0000 (16:14 +0000)]
Fixed CM SERVICE REQUEST message.

14 years agoAdded missing proto_descr content filling in call control.
Andreas.Eversberg [Sat, 12 Jun 2010 16:13:01 +0000 (16:13 +0000)]
Added missing proto_descr content filling in call control.

14 years agoAdded ARFCN to system information dump.
Andreas.Eversberg [Sat, 12 Jun 2010 16:11:35 +0000 (16:11 +0000)]
Added ARFCN to system information dump.

14 years agoUpdated description of buffers and queues in lapdm.c, changed queue name.
Andreas.Eversberg [Sat, 12 Jun 2010 16:07:49 +0000 (16:07 +0000)]
Updated description of buffers and queues in lapdm.c, changed queue name.

14 years agoFixes and improvements of RR, MM, CC processes.
Andreas.Eversberg [Sun, 6 Jun 2010 18:19:46 +0000 (18:19 +0000)]
Fixes and improvements of RR, MM, CC processes.

14 years agoAdded call application to mnccms.c and added commands to dial/answer/hangup to VTY.
Andreas.Eversberg [Sun, 6 Jun 2010 18:17:15 +0000 (18:17 +0000)]
Added call application to mnccms.c and added commands to dial/answer/hangup to VTY.

14 years agoAdded new logging category for summary of process.
Andreas.Eversberg [Sun, 6 Jun 2010 18:16:01 +0000 (18:16 +0000)]
Added new logging category for summary of process.

14 years agoFixed descriptions of VTY interface commands.
Andreas.Eversberg [Sun, 6 Jun 2010 10:37:55 +0000 (10:37 +0000)]
Fixed descriptions of VTY interface commands.

14 years agoCompleted layer 2 process. (LAPDm)
Andreas.Eversberg [Sat, 5 Jun 2010 19:47:25 +0000 (19:47 +0000)]
Completed layer 2 process. (LAPDm)

Not actually complete but most of it. Location update works now!

14 years agoFixed of bugs while testing layer 2.
Andreas.Eversberg [Sat, 5 Jun 2010 19:46:10 +0000 (19:46 +0000)]
Fixed of bugs while testing layer 2.

14 years agoAdded special RSL message types for mobile side:
Andreas.Eversberg [Sat, 5 Jun 2010 19:43:55 +0000 (19:43 +0000)]
Added special RSL message types for mobile side:

- suspension DL
- resume DL
- re-establish DL

14 years ago[mobile] Enable GSM-R / E-GSM900 and DCS1800 bands
Harald Welte [Sat, 29 May 2010 11:06:32 +0000 (13:06 +0200)]
[mobile] Enable GSM-R / E-GSM900 and DCS1800 bands

14 years agol1ctl: Drop frames where L1 indicates they have bit errors
Harald Welte [Sat, 29 May 2010 11:06:10 +0000 (13:06 +0200)]
l1ctl: Drop frames where L1 indicates they have bit errors

14 years agolayer1: remove second memory copy on normal burst receive
Harald Welte [Sat, 29 May 2010 10:57:48 +0000 (12:57 +0200)]
layer1: remove second memory copy on normal burst receive

Rather than copying everythin from DSP to the global/static rxnb data structure
only to copy it later into the L1CTL message, we can allocate the L1CTL message
in advance and directly fill it.

14 years agoL1CTL: Include num_biterr/fire_crc in downlink info + proper alignment/padding
Harald Welte [Sat, 29 May 2010 10:47:07 +0000 (12:47 +0200)]
L1CTL: Include num_biterr/fire_crc in downlink info + proper alignment/padding

14 years agolayer1: disable FB0/FB1 SNR thresholds for now
Harald Welte [Sat, 29 May 2010 10:02:02 +0000 (12:02 +0200)]
layer1: disable FB0/FB1 SNR thresholds for now

they have caused more problems than they solve (i.e. we didn't
properly find many cells anymore)

14 years agoFixes on cell selection process.
Andreas.Eversberg [Mon, 24 May 2010 23:15:15 +0000 (23:15 +0000)]
Fixes on cell selection process.

14 years agoFixes during testing of location update with.
Andreas.Eversberg [Mon, 24 May 2010 14:46:11 +0000 (14:46 +0000)]
Fixes during testing of location update with.

The location update is now performed after the channel is assigned.
In dedicated mode the network receives the LOCATION UPDATING REQUEST.
The reply (IDENTITY REQUEST and LOCATION UPDATING REJECT) is received.
But subsequent message like the IDENTITY RESPONSE is not transmitted
by lapdm.c.

14 years agoFixed header offset in lapdm.c.
Andreas.Eversberg [Mon, 24 May 2010 14:45:00 +0000 (14:45 +0000)]
Fixed header offset in lapdm.c.

14 years agoFixed output format of osmocom.cfg.
Andreas.Eversberg [Mon, 24 May 2010 14:43:49 +0000 (14:43 +0000)]
Fixed output format of osmocom.cfg.

14 years agoMoved some spreaded settings of layer23 into settings.h.
root [Mon, 24 May 2010 16:15:21 +0000 (18:15 +0200)]
Moved some spreaded settings of layer23 into settings.h.

The IMEI can now be set or generated randomly.

14 years agoFixes on cell selection.
root [Mon, 24 May 2010 03:38:24 +0000 (05:38 +0200)]
Fixes on cell selection.

I hope that it fixes the crash issues. If a sysinfo was received when no cell is
selected, it was written to a NULL-pointer.

Also after selecting a cell (dedicated mode), it was not good to "continue"
an already stopped search process, if the sync fails.

14 years agoAdded more commands to VTY, especially selecting test SIM and configure it.
Andreas.Eversberg [Sun, 23 May 2010 20:53:32 +0000 (20:53 +0000)]
Added more commands to VTY, especially selecting test SIM and configure it.

The test card can now be configured, as if it is already registered to a
network. So it will directly select the strongest cell of last scan.

14 years agoFixes of layer23 processes during tests of MNCC interface.
root [Mon, 24 May 2010 00:21:24 +0000 (02:21 +0200)]
Fixes of layer23 processes during tests of MNCC interface.
-> Emergency calls will now trigger channel request.
-> Normal calls will be rejected due to limited/no service.

14 years agoMoved layer 1 <-> layer 2 interface from main.c to a seperate file of
Andreas.Eversberg [Sat, 22 May 2010 10:46:20 +0000 (10:46 +0000)]
Moved layer 1 <-> layer 2 interface from main.c to a seperate file of
liblayer23. Other applications using liblayer23 don't need to re-implement it.

Messages from layer 1 are not freed in layer2_read() anymore. They will be
freed by the upper layers. The layers may also decide to queue or to forward
the messages. In general: A message is always discarded by the message handler
and not after calling the message handler.

14 years agoFixing cell selection, so it works with the current layer 1 API.
Andreas.Eversberg [Sat, 22 May 2010 09:27:33 +0000 (09:27 +0000)]
Fixing cell selection, so it works with the current layer 1 API.

14 years agoFixed list of maximum frequencies to scan for a range.
Andreas.Eversberg [Sat, 22 May 2010 08:37:42 +0000 (08:37 +0000)]
Fixed list of maximum frequencies to scan for a range.

14 years agoNetwork selection results can now be shown explicitly by "network show" VTY command...
Andreas.Eversberg [Fri, 21 May 2010 15:54:42 +0000 (15:54 +0000)]
Network selection results can now be shown explicitly by "network show" VTY command. When selecting the network, the selection is checked, if in list.

14 years agoSummary list of scanned cells now contains LAC and cell ID, rather than (uninterestin...
Andreas.Eversberg [Fri, 21 May 2010 15:52:11 +0000 (15:52 +0000)]
Summary list of scanned cells now contains LAC and cell ID, rather than (uninteresting) access classes.

14 years agocorrect endian conversion of arfcn in tx_ph_dm_ext_req()
Harald Welte [Thu, 20 May 2010 21:48:19 +0000 (23:48 +0200)]
correct endian conversion of arfcn in tx_ph_dm_ext_req()

14 years agoMake new L1CTL_FBSB_REQ work reliably
Harald Welte [Thu, 20 May 2010 21:26:42 +0000 (23:26 +0200)]
Make new L1CTL_FBSB_REQ work reliably

* port 'mobile' application to new l1ctl_tx_fbsb_req()
* make sure we have a proper downlinke header in front of l1ctl_fbsb_resp
* remove duplicate band_arfcn member of struct l1ctl_fbsb_resp
* reset the AFC to its default value when starting new FBSB task
* remove bogus l1s.sb.{synced.count} variables
* allocate msg and send l1ctl_fbsb_resp() only from process context, not FIQ
* properly report SNR and BSIC in fbsb_resp
* introduce arbitrary SNR thresholds for FB0->FB1 and FB1->SB switching

14 years agoL1: don't hexdump every packet we receive from L1CTL to console
Harald Welte [Thu, 20 May 2010 21:08:29 +0000 (23:08 +0200)]
L1: don't hexdump every packet we receive from L1CTL to console

14 years agoL1 PM: move printf to printd to disable PM task debug output
Harald Welte [Thu, 20 May 2010 21:07:33 +0000 (23:07 +0200)]
L1 PM: move printf to printd to disable PM task debug output

14 years agoAFC: Add afc_reset() function to re-set AFCDAC to default value
Harald Welte [Thu, 20 May 2010 21:06:53 +0000 (23:06 +0200)]
AFC: Add afc_reset() function to re-set AFCDAC to default value

14 years agolayer1/l1ctl: Split L1CTL_NEW_CCCH_REQ in FBSB_REQ nad SYNC_REQ
Harald Welte [Wed, 19 May 2010 19:41:24 +0000 (21:41 +0200)]
layer1/l1ctl: Split L1CTL_NEW_CCCH_REQ in FBSB_REQ nad SYNC_REQ

We really want to have those two as distinct operations - and we
want proper state machines in L1 to quickly return if they've
managed to acquire a FB or SB or not.  Otherwise scanning will
take ages...

This code now introduces a new l1ctl_fbsb_req that is sent via
L1CTL to ask for a bitmask of FB0/FB1/SB operations.  The actual
FB0/FB1 detection now no longer runs for 500 TDMA interrupts
but completes as soon as we either know there is no FCCH,
or that our frequency error is smaller than a caller-specified
threshold.

FB0/FB1 are already working, SB is not yet, sorry.

14 years agoosmocon: extend hexdump to show all printable characters
Jan Luebbe [Sun, 16 May 2010 15:31:21 +0000 (17:31 +0200)]
osmocon: extend hexdump to show all printable characters

14 years agoosmocon: change mtk load address for MT6223 romloader
Steve Markgraf [Wed, 19 May 2010 16:02:44 +0000 (18:02 +0200)]
osmocon: change mtk load address for MT6223 romloader

The romloader of the MT6223 uses more of the internal SRAM
than the loader of the MT6227, thus we need to change the load
address.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
14 years agossd1783: make driver work on Motorola V171
Steve Markgraf [Tue, 18 May 2010 16:04:55 +0000 (18:04 +0200)]
ssd1783: make driver work on Motorola V171

Signed-off-by: Steve Markgraf <steve@steve-m.de>
14 years agoosmocon: Add experimental support for the MTK romloader
Steve Markgraf [Mon, 17 May 2010 17:51:28 +0000 (19:51 +0200)]
osmocon: Add experimental support for the MTK romloader

Currently the switch to a higher baudrate is missing, which has
to be done by a direct UART autobaud register write, plus sending
an autobaud sample.
As a result, the maximum download speed is currently 19.200 Baud.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
14 years agoosmocon: use a global load address
Steve Markgraf [Mon, 17 May 2010 16:54:59 +0000 (18:54 +0200)]
osmocon: use a global load address

Signed-off-by: Steve Markgraf <steve@steve-m.de>
14 years agoosmocon: cosmetic cleanup
Steve Markgraf [Mon, 17 May 2010 16:41:00 +0000 (18:41 +0200)]
osmocon: cosmetic cleanup

Signed-off-by: Steve Markgraf <steve@steve-m.de>
14 years agoosmocon: use osmocore timers, minor fixes
Steve Markgraf [Mon, 17 May 2010 16:26:37 +0000 (18:26 +0200)]
osmocon: use osmocore timers, minor fixes

Signed-off-by: Steve Markgraf <steve@steve-m.de>
14 years agogta02x: fix compile error due to wrong definition
Steve Markgraf [Mon, 17 May 2010 15:27:52 +0000 (17:27 +0200)]
gta02x: fix compile error due to wrong definition

Signed-off-by: Steve Markgraf <steve@steve-m.de>
14 years agoAdd new board gta0x (for Openmoko Freerunner devices) and build it
Daniel Willmann [Sun, 16 May 2010 23:37:03 +0000 (01:37 +0200)]
Add new board gta0x (for Openmoko Freerunner devices) and build it

For now just copied over the compal_e88 init.c and adapted the RF
frontend functions. For osmocon to work with the GSM download cable
SERCOMM_UART_NR and CONS_UART_NR need to be switched.

14 years agoosmocon.c: Fix serial_set_baudrate function
Daniel Willmann [Sun, 16 May 2010 23:37:02 +0000 (01:37 +0200)]
osmocon.c: Fix serial_set_baudrate function

We have to call tcgetattr prior to changing the baudrate and writing the
struct again.

14 years agolayer1: Disable FIQ as well as IRQ for locking between L1S and L1A
Harald Welte [Mon, 10 May 2010 09:08:28 +0000 (11:08 +0200)]
layer1: Disable FIQ as well as IRQ for locking between L1S and L1A

14 years agolayer1: add missing header includes for local_irq_save()
Harald Welte [Mon, 10 May 2010 08:57:38 +0000 (10:57 +0200)]
layer1: add missing header includes for local_irq_save()

14 years agolayer1: Use measured VCTCXO AFC DAC slope as AFC_SLOPE
Harald Welte [Sun, 9 May 2010 20:17:34 +0000 (22:17 +0200)]
layer1: Use measured VCTCXO AFC DAC slope as AFC_SLOPE

14 years agolayer1: remove 'l1s_cb' and l1_signal mechanism
Harald Welte [Fri, 7 May 2010 14:56:09 +0000 (16:56 +0200)]
layer1: remove 'l1s_cb' and l1_signal mechanism

the l1s signal was an old mechanism between l1test and the layer1
before we introduced the L1CTL protocol.  This commit removes all
leftover references to it.

It also disables the l1test app, as it would no longer work without
major modifications (using l1ctl from within the phone).

14 years agolayer1: introduce concept of a 'l1 completion'
Harald Welte [Fri, 7 May 2010 14:46:47 +0000 (16:46 +0200)]
layer1: introduce concept of a 'l1 completion'

The idea is that the L1S part can schedule a completion handler which
will then execute in the asynchronous L1A part.  This should keep the
FIQ priority L1S extremely short, deferring most of the work into
the L1A part that runs in regular process context.

14 years agocosmetic/whitespace change
Harald Welte [Fri, 7 May 2010 14:21:43 +0000 (16:21 +0200)]
cosmetic/whitespace change

14 years agoWork on VTY interface:
Andreas.Eversberg [Thu, 13 May 2010 12:51:22 +0000 (12:51 +0000)]
Work on VTY interface:

- Load and save of config now works.
- Network search is displayed on VTY and the result can be selected there.
- Manual/auto mode can be selected via VTY and saved.

14 years agoBugfix in IMEI type selection.
Andreas Eversberg [Tue, 11 May 2010 09:38:07 +0000 (11:38 +0200)]
Bugfix in IMEI type selection.

14 years agoFixed broken sysinfo.c
Andreas.Eversberg [Mon, 10 May 2010 22:11:48 +0000 (22:11 +0000)]
Fixed broken sysinfo.c

14 years agoMinor fixes and improvements to L3 and VTY.
Andreas.Eversberg [Mon, 10 May 2010 22:06:37 +0000 (22:06 +0000)]
Minor fixes and improvements to L3 and VTY.

14 years agoadd MNC of DB Systel to network list
Steve Markgraf [Mon, 10 May 2010 12:06:32 +0000 (14:06 +0200)]
add MNC of DB Systel to network list

Signed-off-by: Steve Markgraf <steve@steve-m.de>
14 years agoAdded "show ba 1" to view BA lists via VTY interface.
Andreas.Eversberg [Sun, 9 May 2010 17:31:49 +0000 (17:31 +0000)]
Added "show ba 1" to view BA lists via VTY interface.

14 years agoAdded vty interface (taken from OpenBSC project).
Andreas.Eversberg [Sun, 9 May 2010 16:01:49 +0000 (16:01 +0000)]
Added vty interface (taken from OpenBSC project).
It is now possible to show informations about:
- mobile
- subscriber
- received cell informations

Later it can be used to do configurations (phone's menu)
and trigger events, like dialing a phone number.

14 years agoAdded SI3 rest octets to RR layer. Now a cell can be qualified:
Andreas.Eversberg [Sun, 9 May 2010 09:40:41 +0000 (09:40 +0000)]
Added SI3 rest octets to RR layer. Now a cell can be qualified:

- Low prio
- High prio
- Barred

14 years agoAdded some "get"-functions to bitvec of libosmocore.
Andreas.Eversberg [Sun, 9 May 2010 09:36:54 +0000 (09:36 +0000)]
Added some "get"-functions to bitvec of libosmocore.

- Getting Low or High value from current postion
- Getting unsigned interger from current postion

14 years agoAdded BCCH timeout timer for detecting loss of radio link (layer23).
Andreas.Eversberg [Sat, 8 May 2010 14:31:27 +0000 (14:31 +0000)]
Added BCCH timeout timer for detecting loss of radio link (layer23).

14 years agoMinor condition fix in radio resource.
Andreas.Eversberg [Fri, 7 May 2010 23:07:30 +0000 (23:07 +0000)]
Minor condition fix in radio resource.

14 years agoFixes for layer 3 processes:
Andreas.Eversberg [Fri, 7 May 2010 21:41:54 +0000 (21:41 +0000)]
Fixes for layer 3 processes:

- CCCH connection state variable
- The complete BAND is now searched prio selecting PLMN

14 years ago- Fixes on MM, RR, cell selection, plmn search processes.
Andreas.Eversberg [Thu, 6 May 2010 08:48:24 +0000 (08:48 +0000)]
- Fixes on MM, RR, cell selection, plmn search processes.
-> Cell selection now requires only one frequency to be scanned, if BA list
   of that PLMN is known.

14 years agoWork on layer 3 processes:
Andreas.Eversberg [Wed, 5 May 2010 08:40:10 +0000 (08:40 +0000)]
Work on layer 3 processes:

- Fixes on PLMN search and cell selection process.
- Fixes on radio ressource.
- ^C will cause IMSI detach when pressed the first time.
  Pressing ^C again will cause termination of process at any time.

14 years agoWork on layer 3 processes:
Andreas.Eversberg [Tue, 4 May 2010 09:48:51 +0000 (09:48 +0000)]
Work on layer 3 processes:

- Fixed reference to system informations. (did crash when re-selecting).
- Fix in cell selection state machine. (any re-selection).
- MCC, MNC, LAC change of cell now triggers re-selection.
- Fixed some paging issues. Empty pagings are not displayed anymore. Also paging is now possible when 'camping on any cell'.

14 years agoMore fixes on layer3.
Andreas.Eversberg [Sun, 2 May 2010 17:40:52 +0000 (17:40 +0000)]
More fixes on layer3.

The current code will scan frequencies, select a cell and camps on it.
No SIM is inserted. Paging requests and Immediate assginments can be seen.

When inserting a SIM card (uncomment it in app_mobile.c), location update
is triggered after selecting a cell. The RACH request is sent, an
Immediate assignment is received, the dedicated mode is requested.
Nothing happens then, because no confirm / abort of layer 2 is received.

14 years agoMany fixes in layer 3:
Andreas.Eversberg [Sun, 2 May 2010 17:13:47 +0000 (17:13 +0000)]
Many fixes in layer 3:

- Sysinfo storage
- Cell/Network selection process
- Channel request / Paging

14 years agoFixed many issues in MM IDLE mode process.
Andreas.Eversberg [Sat, 1 May 2010 18:21:03 +0000 (18:21 +0000)]
Fixed many issues in MM IDLE mode process.

14 years agoFixes, especially frequency list parsing.
Andreas.Eversberg [Fri, 30 Apr 2010 18:51:41 +0000 (18:51 +0000)]
Fixes, especially frequency list parsing.

14 years agodon't enable TX by default!!!
Harald Welte [Thu, 29 Apr 2010 20:06:54 +0000 (22:06 +0200)]
don't enable TX by default!!!

14 years agoMerge branch 'master' of gitosis@git.osmocom.org:osmocom-bb
Andreas Eversberg [Thu, 29 Apr 2010 18:47:28 +0000 (20:47 +0200)]
Merge branch 'master' of gitosis@git.osmocom.org:osmocom-bb

14 years agoFixes and improvements of layer23.
Andreas Eversberg [Thu, 29 Apr 2010 18:46:11 +0000 (20:46 +0200)]
Fixes and improvements of layer23.

14 years agoMerge remote branch 'origin/sylvain/pending'
Harald Welte [Wed, 28 Apr 2010 09:43:50 +0000 (11:43 +0200)]
Merge remote branch 'origin/sylvain/pending'

14 years agoMerge commit '100224df0b711c7bf6c1150ce18cf595350cf0bd'
Harald Welte [Wed, 28 Apr 2010 09:43:37 +0000 (11:43 +0200)]
Merge commit '100224df0b711c7bf6c1150ce18cf595350cf0bd'

14 years agolayer1/mframe_sched: Make task update safer
Sylvain Munaut [Tue, 27 Apr 2010 20:25:54 +0000 (22:25 +0200)]
layer1/mframe_sched: Make task update safer

We try to prevent switching task at a bad time. The algorithm
just tries to find the first fn at which it's safe to activate
a previously disabled task.

tasks     -> Running tasks
tasks_tgt -> What we aim to run

Since tasks_tgt is still only read, it's safe for the l1a to
modify it without locking.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
14 years agofw/layer1: Encapsulate mframe scheduler function better
Sylvain Munaut [Mon, 26 Apr 2010 19:33:26 +0000 (21:33 +0200)]
fw/layer1: Encapsulate mframe scheduler function better

There was some code meddling with mf_tasks directly. This is
fine if it's just setting/clearing a bit but since we're
gonna need some 'cleverness' into when to activate what to prevent
conflict, it's better to abstract that logic.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>