Andreas.Eversberg
acbe0f858d
[layer23] Minor fix of debugging message in call control
2010-10-13 18:28:57 +00:00
Andreas.Eversberg
a5a60bcab8
[layer23] Fixed cell monitoring output (RR idle mode)
2010-10-13 18:27:15 +00:00
Andreas.Eversberg
2278ba6e78
[layer23] Minor change in paging debugging
2010-10-13 18:26:04 +00:00
Andreas.Eversberg
f2ff800a4d
[layer23] Give ARFCN together with "show states <MS_NAME>"
2010-10-13 18:23:20 +00:00
Andreas.Eversberg
d95eddadb7
[layer23] Fixed CAUSE information element
...
Coding standard must be 0x3 = GSM. Otherwise it may generate a protocol error
at the network.
2010-10-12 17:41:49 +00:00
Andreas.Eversberg
ba3c45f1f3
[layer23] Fixed ASSIGNMENT / HANDOVER failure handling
2010-10-12 11:26:51 +00:00
Andreas.Eversberg
6a1ab2dab5
[layer23] Reconnect of layer 2 link must be performed in idle mode also
2010-10-12 11:19:06 +00:00
Andreas.Eversberg
651698abca
[layer23] Call control is disabled when mobile is set to SDCCH only
...
On SDCCH only mobiles, incomming calls must be rejected by a minimal call
control implementation, even if basic calls are not supported.
2010-10-12 09:40:05 +00:00
Andreas.Eversberg
2a5e0f3cb7
[layer23] Fixed resume of datalink (after assignment or handover)
...
In order to resume correctly, the first message (ASSIGNMENT COMPLETE or
HANDOVER COMPLETE) must be sent after the link is resumed. Therefore it
must be given with the resume command. Unacknowledged messages are
transmitted afterwards, if any.
2010-10-12 09:03:34 +00:00
Andreas.Eversberg
16a5b93a19
[layer23] FACILITY message is handled now, but not decoded
2010-10-12 08:53:40 +00:00
Andreas.Eversberg
218303d6ed
[layer23] Bugfix: Loosing CCCH signal must cause unselection of cell.
2010-10-12 08:48:08 +00:00
Andreas.Eversberg
4e9656c819
[layer23] Adding some debugging output
2010-10-12 08:44:18 +00:00
Andreas.Eversberg
6d4915b91b
[layer23] Implementation of signal loss criteria as defined in TS 05.08
...
There are two criterions for lossing a signal, idle mode and dedicated mode.
A counter counts down when a frame is dropped, and counts up when a valid
frame is received on certain channel. The loss criterion is reached, if the
counter reaches 0. The values added to / removed from the counter and the
limits depend on the process.
2010-10-12 08:26:48 +00:00
Andreas.Eversberg
86f4d80b7f
[layer23] Increase sync tollerance by increasing freq_err_thresh1
...
This is a quick workarround to make synchronizing to a cell more reliable.
Without it, just a few cells will sync. When network search is restarted, no
more sync happens. By increasing the freq_err_thresh1 to 10000, many cells
sync, even after the first network search.
2010-10-05 15:42:29 +00:00
Andreas.Eversberg
6dafb958ba
[layer23] Fixed ACCH reception of TCH channels
...
Without it, the indicated TA and power never get received by layer23.
This may cause a release duing TCH on certain networks. Also it
is required to apply timing advance and transmit power during movement.
2010-10-03 21:53:24 +00:00
Andreas.Eversberg
6981756950
[layer23] Fixed emergency call setup
2010-10-03 21:52:56 +00:00
Andreas.Eversberg
f0c807a682
[layer23] Rework of "support"-features, features can be disabled now
...
Supported features of hardware (support.c) can be disabled by config.
This way the full featured mobile can be downgraded to indicate less
features to the network, like disabling speech support or crypto support.
2010-10-03 10:51:31 +00:00
Holger Hans Peter Freyther
813c098ebd
misc: Fix the name of the header file for the hexdump...
2010-10-03 03:22:55 +08:00
Holger Hans Peter Freyther
ca5e51df44
gsm48_rr.c: Move the access below the parsing (found by clang
2010-10-03 02:45:28 +08:00
Holger Hans Peter Freyther
50d47aeb72
msic: Include osmocom/util.h for the hexdump definition
2010-10-03 02:39:29 +08:00
Holger Hans Peter Freyther
87ef8ec74e
sim.c: Fix NULL pointer dereference found by clang.
2010-10-03 02:39:06 +08:00
Holger Hans Peter Freyther
bc1e9354f7
osmoload.c: Cast to uint8_t from char* to fix a compiler warning
2010-10-03 02:29:58 +08:00
Holger Hans Peter Freyther
ef365cc9ad
osmocom.c: rc is not assigned and contains garbage, return 0.
2010-10-03 02:20:32 +08:00
Holger Hans Peter Freyther
ef9298d915
osmocon.c: Use C99 inttypes instead of u_intX_t.
2010-10-03 02:16:32 +08:00
Andreas.Eversberg
fe353f1b9f
[layer23] Notify user when config change requires restart to take effect
2010-10-02 16:34:04 +00:00
Andreas.Eversberg
66ff1cb347
[layer23] Minimum RX-level is now a configuratio option
...
The default (if config not yet created/updated), is still taken from
settings.c.
2010-10-01 19:24:34 +00:00
Andreas.Eversberg
f867cd2077
[layer23] Remove obsolete function from header file
2010-10-01 19:22:31 +00:00
Andreas.Eversberg
bb6ff927da
[layer23] Using loglevel to disable heavy debugging on cell selection
2010-10-01 19:21:33 +00:00
Andreas.Eversberg
0da908f3f1
[layer23] Disabled display of SYSINFO message at message handlers
...
This way the SYSINFO is logged once and not three times.
2010-09-29 13:29:31 +00:00
Andreas.Eversberg
6d2625ce0c
[layer23] Added a workarround to ignore the first (invalid) PM result
2010-09-29 13:28:04 +00:00
Andreas.Eversberg
2926896143
[layer23] Disabled the scanning of maximum cells per band
...
This way all frequencies are scanned, in case they meat the minimum
receive level.
2010-09-29 13:26:34 +00:00
Andreas.Eversberg
d2c862a849
[layer23] Disabled may debugging in cell selection process
...
This way the syncing and cell selection can be reviewed much better.
2010-09-29 13:24:12 +00:00
Andreas.Eversberg
53d8bf0faa
[layer23] Added missing state change, if location update is not required.
2010-09-29 13:18:46 +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
Andreas.Eversberg
167648f2a5
[layer23] Fixed incorrect use of memcpy for frequency list IEs
2010-09-28 06:15:39 +00:00
Andreas.Eversberg
bd9cc54ad6
[layer23] Fixed parsing of ASSIGNMENT / HANDOVER (type-value) IEs
2010-09-27 19:46:26 +00:00
Andreas.Eversberg
86c1392af9
[layer23] Fixed debug output in gsm48_rr.c
2010-09-27 18:55:57 +00:00
Andreas.Eversberg
e97b7c418c
[layer23] Alter simulated-delay via VTY on the fly (active channel)
2010-09-27 18:53:03 +00:00
Andreas.Eversberg
e326e81728
[layer23] Handle invalidation of TMSI correctly
2010-09-26 22:30:15 +00:00
Andreas.Eversberg
942bfeab18
[layer23] Cleanup of various 'printf' debugging
2010-09-26 22:02:32 +00:00
Andreas.Eversberg
7e4f54c4ee
[layer23] VTY command for changing LAI on SIM card
...
This speed up network selection process, because no manual network search
is required to change a network.
2010-09-26 21:08:53 +00:00
Andreas.Eversberg
ed342e1673
[layer23] Use correct IE for timing advance
...
This patch has no effect, only the definition for timing advance IE is
changed to RSL_IE_TIMING_ADVACE.
2010-09-26 20:14:58 +00: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
1e75e61001
layer23/lapdm: Fix typos SAMB -> SABM
...
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-09-26 20:05:22 +02:00
Andreas.Eversberg
beccb356d5
[layer23] Do not reject mobile terminated calls with no codec given
...
Send the list of supported codecs instead.
2010-09-26 18:39:01 +00:00
Andreas.Eversberg
b0336cd484
[layer23] Speech codec selection and negotiation with network
2010-09-26 17:08:10 +00:00
Andreas.Eversberg
602dcf4d0d
[layer23] Added support for changing TCH mode via L1CTL messages
2010-09-26 17:06:06 +00:00
Andreas.Eversberg
88a578f6c9
[layer23] Minor fixes in lapdm.c
...
For single burst messages, the length is set from layer2 header.
2010-09-26 17:02:36 +00:00
Andreas.Eversberg
4ed601ae4e
[layer23] Adding application generated measurement report
...
The cell provides SYSTEM INFORMATION 5* and 6. These are used to create a
list of neighbor cells to monitor. Because there is no neighbor cell
monitoring supported by layer1, the list has no valid results yet.
Currently the average RX level of received frames are used to generate a new
report every second. The report is transmitted to layer1 and used there
whenever a measurement report has to be transmitted.
The timing advance and the current transmit power (as requested by network),
is included with every report.
2010-09-26 10:35:46 +00:00
Andreas.Eversberg
4c11da7790
[layer23] LAPDm handles UNIT DATA requests correctly
...
Optionally RSL_IE_ACCESS_DELAY and RSL_IE_MS_POWER can be given with a
message. They will be used to fill the first two bytes of the SACCH uplink
frame. The format equals to the UNIT DATA indication.
2010-09-26 10:28:03 +00:00