This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNURadio hardware abstraction block".
The branch, master has been updated
via 48045b597d3a605d2cb1cd2df62d07317009b9ea (commit)
from 46bb1ad1a08b44f9c06dd2bf099731aa3bc0e995 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/gr-osmosdr/commit/?id=48045b597d3a605d2cb1cd2df62d0…
commit 48045b597d3a605d2cb1cd2df62d07317009b9ea
Author: Dimitri Stolnikov <horiz0n(a)gmx.net>
Date: Sat Jan 10 14:01:09 2015 +0100
bladerf: include rxvga1 to the BB gain setting
Patch provided by Samu Laaja
-----------------------------------------------------------------------
Summary of changes:
lib/bladerf/bladerf_source_c.cc | 24 +++++++++++++++++++-----
1 file changed, 19 insertions(+), 5 deletions(-)
hooks/post-receive
--
GNURadio hardware abstraction block
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Osmocom BTS-side code (Abis, scheduling, ...)".
The branch, master has been updated
via 7e10bd6401916d1768f5b2caaaae1ee35db85735 (commit)
from 84e4dd92d454cd58e9cbe127c0d969e248f0e588 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-bts/commit/?id=7e10bd6401916d1768f5b2caaaae1ee…
commit 7e10bd6401916d1768f5b2caaaae1ee35db85735
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Sat Jan 10 13:07:49 2015 +0100
misc: Fix up testcase after 5a03e129a633637d0a6b57b3b5aa6d6596b938fe
In 5a03e129a633637d0a6b57b3b5aa6d6596b938fe we generalized the
structural parser so we need to update the expected behavior of
that routine.
-----------------------------------------------------------------------
Summary of changes:
tests/misc/misc_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
Osmocom BTS-side code (Abis, scheduling, ...)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
via bb06eb9d7c9c048b5297511b329f0029ecbfd9fc (commit)
from a67704753a6328f725d38d61af8bfbe29012fcbc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=bb06eb9d7c9c048b5297511b329f0029…
commit bb06eb9d7c9c048b5297511b329f0029ecbfd9fc
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Sat Jan 10 09:51:31 2015 +0100
meas: Unbreak the build once more
The code assumes that sqlite3.h is in the standard include
path. Maybe sqlite3 wasn't installed or resides in a non
standard (/usr/local) location? Fix the build as it has been
broken since 1st of January.
-----------------------------------------------------------------------
Summary of changes:
openbsc/configure.ac | 5 +++++
openbsc/src/utils/Makefile.am | 14 ++++++++------
2 files changed, 13 insertions(+), 6 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Osmocom BTS-side code (Abis, scheduling, ...)".
The branch, master has been updated
via 84e4dd92d454cd58e9cbe127c0d969e248f0e588 (commit)
via 55da9874c0306516b8f3bb6f1db486a3c9c51fb2 (commit)
via d8d5f5904fa83786b01dbf77593232eb6f6954bc (commit)
via 9acc82ce4a01d502db1be8cdf15d2328ae181c5c (commit)
via c017e309c4d73420a31c32e95aeae30f5e09c161 (commit)
via 2e59b20204e2ebcf5baff60774f0fd4ac707404f (commit)
via fd425b1484ceac900c02f7d8fcb5fb199ef2bbf6 (commit)
via 50131c125e2298cc4f71fa2b69881f6a40a7000a (commit)
via 5a03e129a633637d0a6b57b3b5aa6d6596b938fe (commit)
from b7ebf545e6cc5eee17df254815c7838fbea61db7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-bts/commit/?id=84e4dd92d454cd58e9cbe127c0d969e…
commit 84e4dd92d454cd58e9cbe127c0d969e248f0e588
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Fri Jan 9 22:06:28 2015 +0100
sysmobts: Improve some log messages for calib control
* Print the GPS FD that was opened (e.g. to see if it was
closed again)
* Print the state changes/expectations
* Print the correct to be applied. I wondered if I shouldo do
a cor = cor * -1.. cor = -cor.. or add CLOCK_CORR(err) macro
to use it inside the printf and correction and decided the
gain is not worth the risk.
http://cgit.osmocom.org/osmo-bts/commit/?id=55da9874c0306516b8f3bb6f1db486a…
commit 55da9874c0306516b8f3bb6f1db486a3c9c51fb2
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Tue Dec 23 11:47:28 2014 +0100
sysmobts: Create a calibration loop that will be run
Continously run the calibration process. Everytime we call the
reset function classify the outcome. In case of a failure schedule
the next command soon and otherwise wait several hours.
Remember if the process was started through the VTY or the run
loop. In case it can't be started immediately reset and schedule
a new run.
http://cgit.osmocom.org/osmo-bts/commit/?id=d8d5f5904fa83786b01dbf77593232e…
commit d8d5f5904fa83786b01dbf77593232eb6f6954bc
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Tue Dec 23 09:45:55 2014 +0100
sysmobts: Start the calibration the first time the link is up
After a reboot the system might have been off for a long time
and the currently used value might be wrong. Remember that we
never ran the calibration and execute it on start.
http://cgit.osmocom.org/osmo-bts/commit/?id=9acc82ce4a01d502db1be8cdf15d232…
commit 9acc82ce4a01d502db1be8cdf15d2328ae181c5c
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Mon Dec 22 18:24:57 2014 +0100
sysmobts: Initial version to use libgps to determine FIX state
We should only calibrate the clock if there is a GPS fix. Start
gpsd to determine if there is a fix or not. Work around trimble
decoding issues (sent an email upstream). We need to gain some
more experience to see if there memory leaks. We also need to
re-schedule the calibration depending on the outcome.
http://cgit.osmocom.org/osmo-bts/commit/?id=c017e309c4d73420a31c32e95aeae30…
commit c017e309c4d73420a31c32e95aeae30f5e09c161
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Tue Jan 6 19:11:49 2015 +0100
sysmobts: The correction for GPS is in the reverse direction
Change the sign before passing it as correction value. The error
is the difference between the TCXO and GPS. We need to correct by
the reverse of the error. This seems to be different depending on
the clock source we have.
This is a last minute untested change.
http://cgit.osmocom.org/osmo-bts/commit/?id=2e59b20204e2ebcf5baff60774f0fd4…
commit 2e59b20204e2ebcf5baff60774f0fd4ac707404f
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Fri Dec 12 21:54:43 2014 +0100
sysmobts: Use the ctrl interface for calibration
This runs the entire procedure for calibration with reasonable
error and success checking. It can be triggered from the VTY
of the sysmobts-mgr right now.
What is missing is to hook up with GPSD to check if the system
has a fix and provide a mode that will continously run the
calibration command.
http://cgit.osmocom.org/osmo-bts/commit/?id=fd425b1484ceac900c02f7d8fcb5fb1…
commit fd425b1484ceac900c02f7d8fcb5fb199ef2bbf6
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Fri Dec 12 19:20:17 2014 +0100
sysmobts: Copy more of l1if_rf_clock_info_reset into the CTRL code
The CTRL code should have used/extended the l1_if calibration
code. The sysmobts-mgr code first needs to determine if the
clock adjustment is necessary at all. This is done by first
resetting the counters, then waiting, then asking for the diff
and then applying the correction value. But the reference clock
is only set by the application comand.
Copy more code of l1if_rf_clock_info_reset to set the reference
clock as value. This is leaving some todos inside the code that
will be resolved as part of SYS#835.
Related: SYS#835
http://cgit.osmocom.org/osmo-bts/commit/?id=50131c125e2298cc4f71fa2b69881f6…
commit 50131c125e2298cc4f71fa2b69881f6a40a7000a
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Fri Dec 12 16:59:41 2014 +0100
sysmobts: Begin with calib control from the sysmobts manager
In the long run we will connect to GPSD and wait for a fix and
then run the calibration. The first step is to open (and re-open)
the control connection to the BTS.
As the connection is on localhost there should not be a computation
overhead to always have the connection open. When connecting assume
that the ASYNC connect worked directly as otherwise we get no
notification of the failure.
This looks like a "bug" of libosmo-abis that should check if the
socket has been connected or not.
http://cgit.osmocom.org/osmo-bts/commit/?id=5a03e129a633637d0a6b57b3b5aa6d6…
commit 5a03e129a633637d0a6b57b3b5aa6d6596b938fe
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Fri Dec 12 16:54:08 2014 +0100
msg: Generalize the message structure test
This was taken out of LaF0rge's OML router branch and is now
used by the extended calibration feature.
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 1 +
src/common/msg_utils.c | 18 +-
src/osmo-bts-sysmo/Makefile.am | 5 +-
src/osmo-bts-sysmo/misc/sysmobts_mgr.c | 9 +
src/osmo-bts-sysmo/misc/sysmobts_mgr.h | 36 ++
src/osmo-bts-sysmo/misc/sysmobts_mgr_calib.c | 538 +++++++++++++++++++++++++++
src/osmo-bts-sysmo/misc/sysmobts_mgr_vty.c | 16 +
src/osmo-bts-sysmo/sysmobts_ctrl.c | 17 +
8 files changed, 630 insertions(+), 10 deletions(-)
create mode 100644 src/osmo-bts-sysmo/misc/sysmobts_mgr_calib.c
hooks/post-receive
--
Osmocom BTS-side code (Abis, scheduling, ...)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OpenBTS' transceiver retro-fit".
The branch, staging has been deleted
was 93b7f373097f3b1563ff327ffa163846b8da0987
-----------------------------------------------------------------------
93b7f373097f3b1563ff327ffa163846b8da0987 b210: Lock dual-channel tuning access
-----------------------------------------------------------------------
hooks/post-receive
--
OpenBTS' transceiver retro-fit
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OpenBTS' transceiver retro-fit".
The branch, master has been updated
via 93b7f373097f3b1563ff327ffa163846b8da0987 (commit)
via 4ad9ea69aba4a556d105e55cc5b67c5b3fc78fca (commit)
via eb54bddf47e087cf340c8a65b36a03cebd4f174b (commit)
via a4d1a4124421473f5f92255e2f3bc44bfa3937ea (commit)
via b99975917585dc8973cc806a5da0aa3fc791b198 (commit)
from 1ae25561fa3f6fe8295526b28031686c1123a8b6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
CommonLibs/Threads.h | 9 +-
Transceiver52M/Transceiver.cpp | 244 +++++++++++++++++++++++---------------
Transceiver52M/Transceiver.h | 20 +++-
Transceiver52M/UHDDevice.cpp | 111 +++++++++++++----
Transceiver52M/osmo-trx.cpp | 2 -
Transceiver52M/radioClock.cpp | 13 +-
Transceiver52M/radioInterface.cpp | 44 +++++--
Transceiver52M/radioInterface.h | 5 +-
8 files changed, 303 insertions(+), 145 deletions(-)
hooks/post-receive
--
OpenBTS' transceiver retro-fit
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, jerlbeck/wip/gprs-patching has been updated
via e2e2ef39a05b6840b6670ca8e1f1d889bafffdb6 (commit)
from b706933bd9cdf89bbe5b12d1b2541c1893a6537e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=e2e2ef39a05b6840b6670ca8e1f1d889…
commit e2e2ef39a05b6840b6670ca8e1f1d889bafffdb6
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Jan 9 09:46:43 2015 +0100
sgsn/doc: Add message definitions for PURGE_MS responses
Currently the definitions of the message PURGE_MS_RES and
PURGE_MS_ERR are missing in the specification.
This patch adds those definitions.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
openbsc/doc/sgsn-remote-protocol.txt | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, jerlbeck/wip/gprs-patching has been updated
discards ea0536bf635e07db2f384781da98be7ab8827e5a (commit)
discards fcba963099af65e6f193eb6799ccac0a2efb86a9 (commit)
discards 769b6127cced3e611b9abd1b4ad82cb5be729c35 (commit)
discards a85733188e7ec86a88042004c033043f0b4ec8d9 (commit)
discards b316eb4edbd9abbc439796955d6a490bb179d3f7 (commit)
discards c586e0177e35c2ffde4ca8377be55703d6d0cf5d (commit)
discards bb25160f1b5e69957114d429279c3ba159b16215 (commit)
discards 8322ac6f11f4504add91c1a658c4103a5dedcf6b (commit)
discards a43e25b50c1ad30a597e336c8f47e274a9911186 (commit)
discards 6a3dab12333b610ca35622d943647b17585f8871 (commit)
discards f2cde608fc40b767e540073c575fbd0479c1c0a7 (commit)
discards 156c91bc2e564894aa09b5ebe7f2ff13923cd8da (commit)
discards 1e3bc33ed38ed2f9fca27f19e4197abb559b1cf8 (commit)
discards 76a917b02cff735d1bf7eaa4685462ab631dce76 (commit)
via b706933bd9cdf89bbe5b12d1b2541c1893a6537e (commit)
via b9f5f4df87870041fc9e986ab841b6221e0a77f2 (commit)
via 7ba4fa5066c39d03c6f760d0f1f618d92ef90b07 (commit)
via 38fa6bf2cec58ec5ef3be16ec14424ed5a96674c (commit)
via 3bf946c49d9a21dafca29b990a856e61cadaff91 (commit)
via 3d7b2e6a26c54ebf38f9b30e00a73ec1f040e245 (commit)
via 4872cdfa622889444854f76cc9bc4ddb97a6d0dc (commit)
via 18391a453805bc14748bbd313273bf2b585145c7 (commit)
via 515fdd662b120f5afc46345cd1be6592c852671b (commit)
via c87fa1b94435a51ade34ea99b5ef39135e309275 (commit)
via d39fe2f96d7cea3250be82abcdef6333e9422f67 (commit)
via 33de2ebc61bad4973f64e1dc07478393cf66f783 (commit)
via c52716e55d3ba88173c3feb47a3233c4aa69e92b (commit)
via 52a5229ca8b55ee804a7a911512af8617e21c5da (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (ea0536bf635e07db2f384781da98be7ab8827e5a)
\
N -- N -- N (b706933bd9cdf89bbe5b12d1b2541c1893a6537e)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=b706933bd9cdf89bbe5b12d1b2541c18…
commit b706933bd9cdf89bbe5b12d1b2541c1893a6537e
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Sep 30 13:53:26 2014 +0200
sgsn: Added TODOs (TODO)
TODO:
- fix and remove TODOs
- add test cases for Detach(reattach)
- add test cases for PDP context deletion (OW#1311)
- add test cases for Cancel pending timer in sgsn_mm_ctx_free
- remove this commit
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=b9f5f4df87870041fc9e986ab841b622…
commit b9f5f4df87870041fc9e986ab841b6221e0a77f2
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Oct 17 10:08:02 2014 +0200
sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO)
Currently an OSMO_ASSERT fails, if the message's and the mmctx's
TLLIs do not match.
This commit turns the assertion into an ERROR log message and uses
the default values for IMSI, DRX, and RA CAP instead of the MM
context values in this case.
TODO:
- find the real source for the problem
- add test cases derived from what is being described in the ticket
Ticket: OW#1322
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=7ba4fa5066c39d03c6f760d0f1f618d9…
commit 7ba4fa5066c39d03c6f760d0f1f618d92ef90b07
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Wed Dec 17 14:03:35 2014 +0100
sgsn: Add PDP info to subscriber data (TODO)
TODO:
- commit message
- raw binary representation ???
- tests
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=38fa6bf2cec58ec5ef3be16ec14424ed…
commit 38fa6bf2cec58ec5ef3be16ec14424ed5a96674c
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Fri Dec 19 19:11:20 2014 +0100
sgsn: Add logging to connect_timer_cb (TODO)
TODO:
- LOGLevel ?
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=3bf946c49d9a21dafca29b990a856e61…
commit 3bf946c49d9a21dafca29b990a856e61cadaff91
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jan 8 15:29:01 2015 +0100
gprs: Support the full cancellation procedure (TODO)
TODO:
- Commit message
- Reply to cancellation request (either with RES or ERR)
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=3d7b2e6a26c54ebf38f9b30e00a73ec1…
commit 3d7b2e6a26c54ebf38f9b30e00a73ec1f040e245
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jan 8 16:23:25 2015 +0100
gprs: Block other GSUP procedures during PURGE_MS (TODO)
TODO:
- commit message
- move LOGGSUBSCRP fix in gprs_subscr_purge to HEAD^^
- testing
Ticket: OW#????
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=4872cdfa622889444854f76cc9bc4ddb…
commit 4872cdfa622889444854f76cc9bc4ddb97a6d0dc
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jan 8 15:18:39 2015 +0100
gprs: Retry PURGE_MS procedure after timeout
Currently, when the PURGE_MS_REQ to the HLR gets lost (e.g. by a
connection or peer failure), the expired subscriber entry will not get
deleted.
This commit adds a retry mechanism then restarts the procedure after
a timeout (currently 10s). The maximum number of retries is limited
(currently to 3 PURGE_MS messages). If none of these procedures is
completed (either with success or error), the subscriber data is
deleted.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=18391a453805bc14748bbd313273bf2b…
commit 18391a453805bc14748bbd313273bf2b585145c7
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jan 6 16:32:41 2015 +0100
gprs: Support PURGE MS messages (TODO)
When a subscriber entry is going to be deleted by SGSN and when the
subscriber info has been optained from a remote peer via GSUP, the
peer should be informed before the entry is really deleted. For this
purpose, MAP defines the PURGE MS procedure (see GSM 09.02, 19.1.4).
This patch adds support for the PURGE_MS_REQ/_ERR/_RES messages and
invokes the procedure when the subscriber entry is going to be
removed. This only applies, if GSUP is being used, the Update
Location procedure has been completed successfully, and the
subscriber has not been cancelled. The removal of the entry is
delayed until a PURGE_MS_RES or PURGE_MS_ERR message is received.
TODO:
- commit message
- expire ununsed MM contexts (other commit)
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=515fdd662b120f5afc46345cd1be6592…
commit 515fdd662b120f5afc46345cd1be6592c852671b
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jan 6 16:32:41 2015 +0100
gprs: Add expiry timeout for subscriber entries (TODO)
Set the expiry delay after the subscriber has been deleted (e.g. by
freeing the MM context). If cancelled, the subscriber will be deleted
immediately and no timeout will be set. If the expiry time is set to
SGSN_TIMEOUT_NEVER, no timer will be started and the subscriber entry
will be kept until it is cancelled.
The following VTY command is added to the sgsn node:
- subscriber-expiry-time <0-999999> set expiry time in seconds
- no subscriber-expiry-time set to SGSN_TIMEOUT_NEVER
The default is an expiry time of 0 seconds, which means that the
subscriber entries are wiped out immediately after an MM context is
destroyed.
TODO:
- tests
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=c87fa1b94435a51ade34ea99b5ef3913…
commit c87fa1b94435a51ade34ea99b5ef39135e309275
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jan 8 14:13:46 2015 +0100
sgsn/test: Fix subscriber cleanup
Currently the subscribers are not really deleted by
cleanup_subscr_by_imsi, but kept in RAM instead.
This patch fixes this and adds a test to verify, that the subscriber
is really deleted afterwards.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=d39fe2f96d7cea3250be82abcdef6333…
commit d39fe2f96d7cea3250be82abcdef6333e9422f67
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jan 8 14:08:16 2015 +0100
gprs/test: Move subscr cleanup code into a separate function
Refactor several occurences of the same subscriber cleanup code into
a seperate cleanup_subscr_by_imsi function.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=33de2ebc61bad4973f64e1dc07478393…
commit 33de2ebc61bad4973f64e1dc07478393cf66f783
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Jan 5 16:20:47 2015 +0100
gprs: Pass GMM causes related to the MSC connection
Currently the error causes MSC_TEMP_NOTREACH, NET_FAIL, and
CONGESTION are silently dropped to force the MS to continue. On the
other hand, GSM 04.08/24.008, 4.7.3.1.4 in combination with 4.7.3.1.5,
require the MS to retry the attachment procedure for cause codes
above 15 instead of disabling GPRS. All of the mentioned GMM causes
have codes above 15, so using a REJECT message including the cause
code is a better choice. This way, the retry algorithm based on T3311
(15s, 5 times) and T3302 (default 12min) could be used.
This patch modifies gprs_subscr_handle_gsup_auth_err and
gprs_subscr_handle_gsup_upd_loc_err to proceed like when the access
has beed denied, except that the corresponding subscriber's
information fields are not cleared.
This has been successfully tested which an iphone which enters a
retry loop as it is being described in the specification.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=c52716e55d3ba88173c3feb47a3233c4…
commit c52716e55d3ba88173c3feb47a3233c4aa69e92b
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Dec 23 14:24:16 2014 +0100
gprs: Use LOGGSUBSCRP and LOGMMCTX for logging in gprs_susbcriber.c
To unify the layout of the logging messages in gprs_subscriber.c,
this patch replaces each LOGP by LOGGSUBSCRP, unless a non-NULL
pointer to a subscr is not available. In those cases, it uses
LOGMMCTXP if a pointer to an MM context is available or LOGP
otherwise.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=52a5229ca8b55ee804a7a911512af861…
commit 52a5229ca8b55ee804a7a911512af8617e21c5da
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jan 8 12:02:12 2015 +0100
gprs: Add LOGGSUBSCRP macro to log subscriber info
This patch adds a new logging macro, that logs to DGPRS and provides
a uniform prefix containing the IMSI without using the mm reference.
This is an improvement over using LOGMMCTXP, since the new macro also
provides an IMSI if no MM context is attached.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
openbsc/include/openbsc/gprs_sgsn.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, jerlbeck/wip/gprs-patching has been updated
discards ab5820d6dbbe322de617aaf8a5ccaf0ad0a2bffc (commit)
via ea0536bf635e07db2f384781da98be7ab8827e5a (commit)
via fcba963099af65e6f193eb6799ccac0a2efb86a9 (commit)
via 769b6127cced3e611b9abd1b4ad82cb5be729c35 (commit)
via a85733188e7ec86a88042004c033043f0b4ec8d9 (commit)
via b316eb4edbd9abbc439796955d6a490bb179d3f7 (commit)
via c586e0177e35c2ffde4ca8377be55703d6d0cf5d (commit)
via bb25160f1b5e69957114d429279c3ba159b16215 (commit)
via 8322ac6f11f4504add91c1a658c4103a5dedcf6b (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (ab5820d6dbbe322de617aaf8a5ccaf0ad0a2bffc)
\
N -- N -- N (ea0536bf635e07db2f384781da98be7ab8827e5a)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=ea0536bf635e07db2f384781da98be7a…
commit ea0536bf635e07db2f384781da98be7ab8827e5a
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jan 8 15:29:01 2015 +0100
gprs: Support the full cancellation procedure (TODO)
TODO:
- Commit message
- Reply to cancellation request (either with RES or ERR)
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=fcba963099af65e6f193eb6799ccac0a…
commit fcba963099af65e6f193eb6799ccac0a2efb86a9
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jan 8 16:23:25 2015 +0100
gprs: Block other GSUP procedures during PURGE_MS (TODO)
TODO:
- commit message
- move LOGGSUBSCRP fix in gprs_subscr_purge to HEAD^^
- testing
Ticket: OW#????
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=769b6127cced3e611b9abd1b4ad82cb5…
commit 769b6127cced3e611b9abd1b4ad82cb5be729c35
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jan 8 15:18:39 2015 +0100
gprs: Retry PURGE_MS procedure after timeout
Currently, when the PURGE_MS_REQ to the HLR gets lost (e.g. by a
connection or peer failure), the expired subscriber entry will not get
deleted.
This commit adds a retry mechanism then restarts the procedure after
a timeout (currently 10s). The maximum number of retries is limited
(currently to 3 PURGE_MS messages). If none of these procedures is
completed (either with success or error), the subscriber data is
deleted.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=a85733188e7ec86a88042004c033043f…
commit a85733188e7ec86a88042004c033043f0b4ec8d9
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jan 6 16:32:41 2015 +0100
gprs: Support PURGE MS messages (TODO)
When a subscriber entry is going to be deleted by SGSN and when the
subscriber info has been optained from a remote peer via GSUP, the
peer should be informed before the entry is really deleted. For this
purpose, MAP defines the PURGE MS procedure (see GSM 09.02, 19.1.4).
This patch adds support for the PURGE_MS_REQ/_ERR/_RES messages and
invokes the procedure when the subscriber entry is going to be
removed. This only applies, if GSUP is being used, the Update
Location procedure has been completed successfully, and the
subscriber has not been cancelled. The removal of the entry is
delayed until a PURGE_MS_RES or PURGE_MS_ERR message is received.
TODO:
- commit message
- expire ununsed MM contexts (other commit)
- blocking (see spec)?
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=b316eb4edbd9abbc439796955d6a490b…
commit b316eb4edbd9abbc439796955d6a490bb179d3f7
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Tue Jan 6 16:32:41 2015 +0100
gprs: Add expiry timeout for subscriber entries (TODO)
Set the expiry delay after the subscriber has been deleted (e.g. by
freeing the MM context). If cancelled, the subscriber will be deleted
immediately and no timeout will be set. If the expiry time is set to
SGSN_TIMEOUT_NEVER, no timer will be started and the subscriber entry
will be kept until it is cancelled.
The following VTY command is added to the sgsn node:
- subscriber-expiry-time <0-999999> set expiry time in seconds
- no subscriber-expiry-time set to SGSN_TIMEOUT_NEVER
The default is an expiry time of 0 seconds, which means that the
subscriber entries are wiped out immediately after an MM context is
destroyed.
TODO:
- tests
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=c586e0177e35c2ffde4ca8377be55703…
commit c586e0177e35c2ffde4ca8377be55703d6d0cf5d
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jan 8 14:13:46 2015 +0100
sgsn/test: Fix subscriber cleanup
Currently the subscribers are not really deleted by
cleanup_subscr_by_imsi, but kept in RAM instead.
This patch fixes this and adds a test to verify, that the subscriber
is really deleted afterwards.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=bb25160f1b5e69957114d429279c3ba1…
commit bb25160f1b5e69957114d429279c3ba159b16215
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jan 8 14:08:16 2015 +0100
gprs/test: Move subscr cleanup code into a separate function
Refactor several occurences of the same subscriber cleanup code into
a seperate cleanup_subscr_by_imsi function.
Sponsored-by: On-Waves ehf
http://cgit.osmocom.org/openbsc/commit/?id=8322ac6f11f4504add91c1a658c4103a…
commit 8322ac6f11f4504add91c1a658c4103a5dedcf6b
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Thu Jan 8 12:02:12 2015 +0100
gprs: Add and use LOGGSUBSCRP macro to log subscriber
Currently the LOGMMCTXP is used to log information related to
subscribers. This relies on subscr->mm being set to include the IMSI
in the output. This also means, that in doesn't show the IMSI in
subscr entries that are not attached to an MM context, albeit the
IMSI is stored in the gsm_subscriber object.
This patch adds a new logging macro, that logs subscrs to DGPRS
without using the mm reference. It also replaces all LOGMMCTXP and
most LOGP in gprs_subscriber.c by LOGGSUBSCRP.
Sponsored-by: On-Waves ehf
-----------------------------------------------------------------------
Summary of changes:
openbsc/include/openbsc/gprs_sgsn.h | 14 ++
openbsc/src/gprs/gprs_subscriber.c | 249 ++++++++++++++++++++++++++----------
openbsc/src/gprs/sgsn_vty.c | 4 +-
openbsc/tests/sgsn/sgsn_test.c | 28 ++--
4 files changed, 219 insertions(+), 76 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Osmocom BTS-side code (Abis, scheduling, ...)".
The branch, master has been updated
via b7ebf545e6cc5eee17df254815c7838fbea61db7 (commit)
from 8fc2630dd4884ffeb4c5fc93457c8c06e6dbf918 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-bts/commit/?id=b7ebf545e6cc5eee17df254815c7838…
commit b7ebf545e6cc5eee17df254815c7838fbea61db7
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Tue Jan 6 19:19:47 2015 +0100
cbch: Speculative change to not change CHAN ACK for CBCH
Use the rel_act_kind to not send RSL channel acks for the
CBCH to the BSC. This is similar to what we do for the BCCH
a couple of lines above.
-----------------------------------------------------------------------
Summary of changes:
src/osmo-bts-sysmo/oml.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
hooks/post-receive
--
Osmocom BTS-side code (Abis, scheduling, ...)