openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-815-gcbfe8ef

gitosis at gitosis at
Mon Dec 22 11:22:37 UTC 2014

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  35aa453126a061ad6fa06e0ea86969529de9cd28 (commit)
  discards  b26e659a088ad866c56eb3397bc8aff0a7350640 (commit)
  discards  318bcda0c07c4bc3c3be6d622ce312faa1b5a6a5 (commit)
  discards  392c4754e2ddd572ac1d1c2ed80cf481b1c63ee8 (commit)
  discards  34887ace4d92eed6c478c44add5056e93e695d2e (commit)
  discards  b3116782778dc8125e232fb2808a523782ab30af (commit)
  discards  637ba7592e37ffe1bf8053bd7e56ad48b1347fb7 (commit)
  discards  b908f5b672827402e59af33a03e9df1350e0453b (commit)
  discards  407bff0c6e0c607f8e7d5ec6e0a093df57284707 (commit)
  discards  c1b63debaa95506b9e0ca066c0f93d6d00b07967 (commit)
  discards  4a73b1aed68590370fbeb9bc0ec5b7bf7daa8300 (commit)
  discards  4e8f42720a530fca0a44f761990b64bb77446ddb (commit)
  discards  5b4c44f4f0f902fa3762793b9a10b3392031f140 (commit)
  discards  b26b9383507a0b11db0f97c6e6e3f3b1cb403f37 (commit)
  discards  52678bb8dcd0da85496e6351afe6f068fe94e0b6 (commit)
  discards  16a158c64e65b0361888b6cc00e77c6e5e6afeed (commit)
       via  cbfe8ef90a319af5d79b9daf71d2b9b7724b6b8e (commit)
       via  f3c47fa3d806c03ded03db2df066d99d02746eb6 (commit)
       via  27615b08821ce28274781c0fdeb3b346790f48f9 (commit)
       via  de8cc00347b8a7a6f84a118061ff12f692e13c6b (commit)
       via  64565a42bd0671a0a76ff52067b3f89e84580f88 (commit)
       via  d3d8ad8fb942a09b9181d4af4fd1b253228f016a (commit)
       via  ca4cd173b7c5967d07f54361516431391c6ec246 (commit)
       via  a53f256fc4c60ddc248c706ac78937fdc4bb4626 (commit)
       via  ea14a214ce3d0113eb2568d5c1b25c36b43a4c52 (commit)
       via  afdd20dfb0dfc744ce36a36bb701ff7e5292886c (commit)
       via  c88796ae5543f4ef44cffd818abec4e357606737 (commit)
       via  fac8bf97e1efb4edabcd7d216d2077a8e7860517 (commit)
       via  5276257deb22cbb21d9412c5f4314f852dd22e64 (commit)
       via  53031a102b78d5d24ee0bb533062fe35bdf5fd7b (commit)
       via  1ede9ba708b25479c3d339d3275a33996f032ae4 (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 (35aa453126a061ad6fa06e0ea86969529de9cd28)
             N -- N -- N (cbfe8ef90a319af5d79b9daf71d2b9b7724b6b8e)

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 -----------------------------------------------------------------

commit cbfe8ef90a319af5d79b9daf71d2b9b7724b6b8e
Author: Jacob Erlbeck <jerlbeck at>
Date:   Tue Sep 30 13:53:26 2014 +0200

    sgsn: Added TODOs (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

commit f3c47fa3d806c03ded03db2df066d99d02746eb6
Author: Jacob Erlbeck <jerlbeck at>
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.
      - 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

commit 27615b08821ce28274781c0fdeb3b346790f48f9
Author: Jacob Erlbeck <jerlbeck at>
Date:   Wed Dec 17 14:03:35 2014 +0100

    sgsn: Add PDP info to subscriber data (TODO)
      - commit message
      - raw binary representation ???
      - tests
    Sponsored-by: On-Waves ehf

commit de8cc00347b8a7a6f84a118061ff12f692e13c6b
Author: Jacob Erlbeck <jerlbeck at>
Date:   Fri Dec 19 19:11:20 2014 +0100

    sgsn: Add logging to connect_timer_cb (TODO)
      - LOGLevel ?
    Sponsored-by: On-Waves ehf

commit 64565a42bd0671a0a76ff52067b3f89e84580f88
Author: Jacob Erlbeck <jerlbeck at>
Date:   Fri Dec 19 19:19:46 2014 +0100

    sgsn: Show GSUP client info on 'show sgsn'
    This commit adds a line to the output of 'show sgsn' if the GSUP
    client has been initialized:
      - Remote authorization: [not] connected to HOST:PORT via GSUP
    Sponsored-by: On-Waves ehf

commit d3d8ad8fb942a09b9181d4af4fd1b253228f016a
Author: Jacob Erlbeck <jerlbeck at>
Date:   Fri Dec 19 19:18:54 2014 +0100

    sgsn: Send PING and eventually reconnect
    Currently, the reconnect mechanism relies on gsup_client_updown_cb
    which in turn gets called based on the OS' view of connection state.
    This patch adds a timer based PING mechanism that regularly sends
    PING messages and forces a reconnect if a PONG message won't be
    received until the next PING message is scheduled. The current ping
    interval is 20s.
    Sponsored-by: On-Waves ehf

commit ca4cd173b7c5967d07f54361516431391c6ec246
Author: Jacob Erlbeck <jerlbeck at>
Date:   Fri Dec 19 19:15:55 2014 +0100

    sgsn: Handle incoming IPA CCM message in gsup_client_read_cb
    Currently the IPA CCM messages are not handled by the GSUP client.
    This means, that the client doesn't answer to PING and ID_GET and
    logs notices when receiving PONG or ID_ACK. At least the PING
    functionality (remotely originated PING) shall be supported.
    This patch extends gsup_client_read_cb by a call to
    ipaccess_bts_handle_ccm. Only when the return code is 0, the message
    is processed further and checked for an OSMO/GSUP message. ID_GET
    messages are answered by a dummy description, where only the
    unit_name is set to 'SGSN'.
    Sponsored-by: On-Waves ehf

commit a53f256fc4c60ddc248c706ac78937fdc4bb4626
Author: Jacob Erlbeck <jerlbeck at>
Date:   Fri Dec 19 19:00:56 2014 +0100

    sgsn: Handle return code of ipa_client_conn_open correctly
    The ipa_client_conn_open function does not distinguish between a
    connection being already established or waiting for establishment.
    In either case, the application gets informed about the connection
    state via the updown_cb. The 'up' parameter is only set, if
    poll/select consider the socket as writable.
    This patch handles both cases equally and fully relies on the
    updown_cb to adjust the gsupc obejct state.
    Sponsored-by: On-Waves ehf

commit ea14a214ce3d0113eb2568d5c1b25c36b43a4c52
Author: Jacob Erlbeck <jerlbeck at>
Date:   Fri Dec 19 18:50:05 2014 +0100

    sgsn: Avoid sending stale GSUP requests after reconnect
    Currently, messages are added to the tx queue even if the connection
    is down for some reason and all of these messages are eventually sent
    after a re-connect.  The MS has probably sent several Attach Requests
    while the connection was down and will continue doing so. Therefore
    these stored messages could be dropped.
    This patch clears the queue before re-connecting and also extends
    gprs_gsup_client_send to return immediately, when the connection is
    not established instead of calling ipa_client_conn_send.
    Sponsored-by: On-Waves ehf

commit afdd20dfb0dfc744ce36a36bb701ff7e5292886c
Author: Jacob Erlbeck <jerlbeck at>
Date:   Thu Dec 18 15:00:29 2014 +0100

    sgsn: Add automatic re-connect if the GSUP connection is down
    Currently the GSUP connection to a server is not restarted if the
    connection cannot be established or is terminated during operation.
    This commit adds a timer based connection mechanism, basically
    consisting of a timer callback that calls gsup_client_connect. The
    timer is eventually triggered (up == 0) or cleared (up != 0) by
    gsup_client_updown_cb. It adds calls to osmo_timer_del() to
    gsup_client_connect and gprs_gsup_client_destroy. The latter is now
    called instead of talloc_free in gprs_gsup_client_create on error to
    be on the safe side.
    Sponsored-by: On-Waves ehf

commit c88796ae5543f4ef44cffd818abec4e357606737
Author: Jacob Erlbeck <jerlbeck at>
Date:   Fri Dec 19 18:30:41 2014 +0100

    sgsn/test: Extend tests to simulate lost GSUP requests
    This patch extends test_gmm_attach to optionally resend Attach
    Requests until the SGSN responds to it instead of calling
    OSMO_ASSERT at a few places. The test_gmm_attach_subscr_gsup_auth
    test optionally uses this feature. It is called once in either mode.
    Sponsored-by: On-Waves ehf

commit fac8bf97e1efb4edabcd7d216d2077a8e7860517
Author: Jacob Erlbeck <jerlbeck at>
Date:   Fri Dec 19 18:26:09 2014 +0100

    sgsn/test: Add GMM test for a GSUP based attach procedure
    This test calls test_gmm_attach() where the mocked subscriber
    functions insert GSUP messages instead of manipulating the
    subscriber structure directly.
    Sponsored-by: On-Waves ehf

commit 5276257deb22cbb21d9412c5f4314f852dd22e64
Author: Jacob Erlbeck <jerlbeck at>
Date:   Fri Dec 19 18:19:50 2014 +0100

    sgsn/test: Add wrapper for gprs_subscr_rx_gsup_message
    Currently, several lines of boiler plate are needed around a call to
    This patch puts all of this (including the call to
    gprs_subscr_rx_gsup_message) into a separate function.
    Sponsored-by: On-Waves ehf

commit 53031a102b78d5d24ee0bb533062fe35bdf5fd7b
Author: Jacob Erlbeck <jerlbeck at>
Date:   Fri Dec 19 18:17:10 2014 +0100

    sgsn: Log requested state change in sgsn_auth_update
    Sponsored-by: On-Waves ehf

commit 1ede9ba708b25479c3d339d3275a33996f032ae4
Author: Jacob Erlbeck <jerlbeck at>
Date:   Fri Dec 19 18:08:48 2014 +0100

    sgsn: Add global require_update_location flag
    This flag is used to determine, whether the Update Location procedure
    shall be invoked. This is currently only set, when the 'remote'
    authorization policy is set. When the flag is set, sgsn_auth_update
    will not never be called directly by sgsn_auth_request, if an Attach
    Request procedure is pending, even if the remote connection fails for
    some reason.
    Sponsored-by: On-Waves ehf


Summary of changes:
 openbsc/tests/sgsn/sgsn_test.ok | 2 ++
 1 file changed, 2 insertions(+)

The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)

More information about the osmocom-commitlog mailing list