Harald Welte
25cf824edc
handover: Not finding a HO record on CHAN ACT NACK is not an error
...
... it might well a completely non-ho-related establishment
2012-07-12 01:14:28 +02:00
Holger Hans Peter Freyther
153b13b02e
msc: Attempt to release the lchan immediately on IMSI Detach
...
The Nokia E71 sends a "IMSI Detach" this msc code does not immediately
send the "RR Channel Release", the E71 is impatient and sends a DISC,
the "RELEASE INDICATION" is handled by starting the channel release
procedure. OpenBSC sends a "RR Channel Release" which will never be
answered, during the early release there is no timer and the lchan will
be in "RELEASE REQUESTED" forever.
This commit removes the anchor operation and checks if the channel can
be released immediately. Regarding the channel release handling there
is already a branch that needs to be tested.
2012-07-10 08:57:41 +02:00
Harald Welte
8c00496e42
GPRS LLC: fix segfault when transmitting downlink unit-data without mmctx
2012-07-04 21:53:12 +02:00
Harald Welte
ad66a2d150
BSC VTY: Allow encryption to be set to A5/3
...
We are currently not checking if the BTS actually suports that cipher,
and we particularly don't have any hack for ip.access which apparently
seems to re-use the RSL algorithm identifier for A5/2.
2012-07-04 21:39:27 +02:00
Harald Welte
f383aa11a5
BSC: introduce new "sysmobts" BTS model
...
so far, osmo-bts/sysmobts used to be entered as "sysmobts" type in the
configuration file. However, there are some differences in the
protocol/behaviour and we should reflect that by a new BTS plugin (with
lots of code reuse from the nanobts driver).
2012-07-02 20:13:08 +02:00
Harald Welte
0c1bd61bb3
pre-fix measurement reports with subscriber identity
...
... otherwise it's impossible to distinguish them from each other.
2012-07-02 20:13:02 +02:00
Harald Welte
019f913ca3
gsm_data_shared: add structure for decoded parameters of RLC config
...
this is primarily needed on the BTS side, but we should also use it on
the BSC side and make the parameters VTY-configurable.
2012-06-28 09:03:07 +02:00
Harald Welte
c95175fb88
ipaccess: some more comments on timer values
2012-06-28 09:03:00 +02:00
Harald Welte
edcba4e307
use new external libosmogb (part of libosmocore.git)
...
This removes the libgb (GPRS NS/BSSGP) code from the openbsc.git
repository and uses the new version from libosmocore.git instead.
2012-06-17 23:34:34 +08:00
Harald Welte
b46d566559
index on master: d24566a
libgb: separate header files related to spec and implementation
2012-06-17 13:13:52 +08:00
Harald Welte
d24566ac6e
libgb: separate header files related to spec and implementation
...
like in libosmogsm, we separate between header files that are just
reflecting information in the respective specs, and header files that
related to our specific implementation.
2012-06-17 13:12:51 +08:00
Harald Welte
ce95b27b68
libgb: make sure all BSSGP functions have bssgp_ prefix
...
We change the minority of functions employing the gprs_bssgp_ prefix to
match with the majority without gprs_ in front.
2012-06-17 13:05:48 +08:00
Harald Welte
11461a6457
libgb/gprs: don't use log_info from libcommon anymore
2012-06-17 12:58:46 +08:00
Harald Welte
e6599ee180
libgb: prefix all NS related functions with gprs_
2012-06-17 12:38:07 +08:00
Harald Welte
b1fd9022eb
libgb: don't call directly into GMM / LLC layer
...
Instead of direct function calls to individual functions, we now
generate primitives (osmo_prim) and send them to one
application-provided function "bssgp_prim_cb()"
2012-06-17 12:17:22 +08:00
Harald Welte
faa70ff2c6
libgb: remove dependency of BSSGP to include sgsn/gmm internal structs
2012-06-17 09:31:16 +08:00
Harald Welte
0d5e8e0b56
update .gitignore
2012-06-17 09:05:43 +08:00
Harald Welte
68d85d5610
libgb: Remove dependency to openbsc/debug.h
2012-06-16 17:53:38 +08:00
Harald Welte
fdd8b3b40d
libgb: remove dependencies to openbsc/vty.h and openbsc/gsm_data.h
...
Rather than using openbsc internal data/functions, we now use only
internal and libosmocore-provided ones.
2012-06-16 16:59:50 +08:00
Harald Welte
a6a20b4ff6
libgb: Use library SS_L_NS instead lf local SS_NS
...
which removes some further dependencies of libgb to openbsc internal
code and data.
2012-06-16 16:40:42 +08:00
Harald Welte
8645e101da
libgb: move GPRS specific msgb CB definitions to separate header
2012-06-16 16:09:52 +08:00
Harald Welte
ea34a4e3a7
split libgb into a separate library for outside use
...
This also removes the dependency to osmo_sock() inside libcommon and
replaces it with osmo_sock_* from libosmocore
2012-06-16 15:14:00 +08:00
Harald Welte
704cb8680b
gsm_data_shared: add handover related bits for osmo-bts
2012-06-16 15:02:13 +08:00
Harald Welte
67161f27d1
Allow VTY-based configuration of T3105
...
This timer will only be forwarded to BS11 and Ericsson Abis so far,
not to Nokia and ip.access BTS yet.
2012-06-03 16:58:18 +02:00
Harald Welte
66d360661a
update year in copyright string
2012-06-03 16:58:09 +02:00
Harald Welte
f25b55ec71
abis_rsl_rcvmsg(): Fix msgb memory leak in error path
...
Thanks to Andreas Eversberg for spotting this one.
2012-05-31 20:22:34 +02:00
Harald Welte
c513ded578
vty / cfg_bts_tsc: TSC range is 0..7, not 0..255
2012-05-31 10:57:40 +02:00
Holger Hans Peter Freyther
3fab3fdd24
rtp: Add a smalltalk script that can replay the state file.
2012-05-18 18:54:11 +02:00
Holger Hans Peter Freyther
bea9a1206b
rtp: Add lua script to split a trace by SSRC/streams
...
This can be used to replay RTP streams with more or less the
same timing as the original one.
2012-05-18 10:48:02 +02:00
Holger Hans Peter Freyther
2c9ea91317
nitb: Enable the external RF Control interface for the nitb application
...
Add argument handling for the nitb application and create the RF
ctrl interface for being able to control the TRX using an external
socket.
2012-05-17 09:38:24 +02:00
Holger Hans Peter Freyther
41a93dc2f0
bsc: Move the osmo_bsc_rf file into the libbsc code and rename
...
The nitb will provide the RF interface as well.
2012-05-17 09:37:22 +02:00
Holger Hans Peter Freyther
a8090d54d6
mgcp: Make it possible to drop RTCP packets coming from the BTS/Net
...
The ip.access nanoBTS appears to send quite broken NTP timestamps in
the RTCP messages might confuse equipment that uses the sender report
of the BTS. Make it easy to experiment by adding an option to drop RTCP.
2012-05-11 13:09:30 +02:00
Holger Hans Peter Freyther
c50e04a409
bsc vty: Provide a show mscs command to show the state of each MSC
2012-05-11 12:41:13 +02:00
Sylvain Munaut
5e80cc4adc
libmsc/db: Fix max value of ainfo->a3a8_ki_len in db_get_authinfo_for_subscr
...
Thanks to Robert Ingr for pointing this out
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-05-07 22:09:15 +02:00
Harald Welte
fda74ee055
RSL add debug statements when sending RSL EST REQ and RSL REL REQ.
2012-04-26 19:43:36 +02:00
Harald Welte
6e8dcf304c
bsc_api: Fix wrong order of log category and level arguments
2012-04-26 19:35:58 +02:00
Harald Welte
0e9311df40
bsc_api: log RR STATUS from MS as NOTICE, not DEBUG level
2012-04-26 19:35:27 +02:00
Harald Welte
46cb8514a5
add loopback flag to lchan (for osmo-bts)
2012-04-19 23:14:28 +02:00
Holger Hans Peter Freyther
afa0ad1723
lchan: Fix the name of the SACCH in the variable names
...
Call the channel by the right name.
2012-04-18 18:58:36 +02:00
Holger Hans Peter Freyther
cc7b22a53b
bsc_api: Send RR Release and de-activate the SACCH on error
...
In case the connection should not be created/accepted release
the channel by sending a RR Release and de-activating the
SACCH. Phones should deal better with that behavior.
2012-04-17 21:54:24 +02:00
Holger Hans Peter Freyther
ec2542627e
mgcp: Catch up with the renaming of the MGCP GW binary
2012-04-13 18:06:26 +02:00
Holger Hans Peter Freyther
a5dcdd9a9a
bsc: Allow to run a mixed TCH/H, TCH/F configuration
...
In case the call handling starts on a TCH/H switch to a TCH/F
if fullrate is requested. Add a method that is used to determine
if the mode and current channel are compatible with each other.
2012-04-11 20:15:54 +02:00
Harald Welte
5d52c97cff
add 'ciph_state' member to BTS-side lchan definition
2012-04-08 20:23:28 +02:00
Harald Welte
9c3dc90d16
introduce HAVE_TM_GMTOFF_IN_TM
...
Not all architectures have the tm.tm_gmtoff member. This fixes cygwin
builds.
2012-04-08 16:59:24 +02:00
Harald Welte
a334c296e0
make sure we still build on systems that don't have IPPROTO_GRE
2012-04-08 15:56:00 +02:00
Holger Hans Peter Freyther
09db1a44bc
nat: Add another test case for TP-SRR clearing and number rewrite
2012-03-26 16:22:08 +02:00
Holger Hans Peter Freyther
2f2be578cb
misc: Use other size modifiers to fix compiler warnings
...
control_if.c:521:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat]
osmo_bsc_bssap.c:473:3: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘unsigned int’ [-Wformat]
mgcp_main.c:162:4: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Wformatt]
2012-03-16 12:18:39 +01:00
Holger Hans Peter Freyther
20fea24515
bsc: Prepare to have multiple MSC connections
...
We now have a list of MSCs but in the code we will
try to access the MSC with the nr 0.
2012-03-16 11:56:21 +01:00
Holger Hans Peter Freyther
44e5dad3e2
bsc: Use the right connection for outgoing packets
...
This is needed for simple UDT messages where we do not have
a SCCP connection.
2012-03-16 11:56:10 +01:00
Holger Hans Peter Freyther
abd668a68d
bsc: Move more things to use osmo_msc_data* directly
2012-03-16 11:56:10 +01:00