Subject: osmo-pcu.git branch zecke/features/emulator updated. 0.2-36-ga727a2e
From: [email-masked]
To: [email-masked]
Date: Wed, 31 Jul 2013 20:10:44 GMT

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 "UNNAMED PROJECT".

The branch, zecke/features/emulator has been updated
  discards  fa719661f894db4f5e077b6dcd9c4a1b7aaca434 (commit)
  discards  ac6c7ed5e4052ecf53a13f0a1e23f42494e897c6 (commit)
  discards  85e1e0787d0b1b24abf83e90166f50c0917c5a2c (commit)
  discards  c051cb6a5b8f9e0b680730ab73cf4af66e7d8d90 (commit)
  discards  f2d6c186a9d7153f56abf8917c0d1620b1350c99 (commit)
  discards  310d104f7e61fe54d6f29ba483dc667dde2c29b2 (commit)
  discards  cbf6c034a499c0278b2820d6b6d688c102da6310 (commit)
  discards  ad25c1bf27d431fff0fb2114345ed1afa4f114c9 (commit)
  discards  a7cd8e77e42ff90cdb583ed17394d7c5c9004016 (commit)
  discards  d226e3431c1cda67f41b41f59b918a106af19361 (commit)
  discards  0c3c120f06c4b61076f4d8bce682341c12584b5f (commit)
  discards  ed7f7377769d832623689d8ffbdc42c207b3562d (commit)
  discards  664fece72e42b7e79ba06c791a517eeecdc419c9 (commit)
  discards  a7e4539f56a0f1bab186398b8a4404dc3d2f3770 (commit)
  discards  578a5851343ba66ae9b445233a672904aa5f8512 (commit)
  discards  55de8bc4704486d64268acf41bf3fedc5accf8c8 (commit)
  discards  be32c80ad6c23b50c7bc6b70bf092f4f91f45e5f (commit)
  discards  d5b43450f83e65c876126a79ff4ad4d96db29c53 (commit)
  discards  5d328cd304d16b53af9f1cd6bc8577fcd75ef63e (commit)
  discards  f356b86640c64129298651386614ce1657c84c82 (commit)
  discards  395009fe719aa84e2fedf12bff18542fe7e3e2ee (commit)
  discards  3f00405181215c146f0fb38b9bbd2c51ceebf78d (commit)
  discards  73f9122fba85d4a4ea4b780b0df0db112cafaf7e (commit)
       via  a727a2e59e5590df01625ae5396e7c8a268c009c (commit)
       via  198b6b7778aae7e05ad4378565bbee5218c63105 (commit)
       via  ef98d4c4d2aa19477f6e86a5bc93715ddeff4351 (commit)
       via  32f4de5e5cdde76879d594a9c6bd0c9f34c3a509 (commit)
       via  db3844347cdfc024ce69969afefa28d016a474a8 (commit)
       via  99158e84f5bee606f336d1942e207a9f62f048e1 (commit)
       via  f4b2ef427353f32874243cc046a6973357bc67e7 (commit)
       via  ce392fecbbbdf642c12f16133cd5150056745ad5 (commit)
       via  a8d822eb4f91ae585f92d57cc469bab87163931f (commit)
       via  91f038459c0c87d48d7fdbaabd5d85e4b10e0084 (commit)
       via  a83dc397c5a3b3d3deead06725ce04fbb1810122 (commit)
       via  631a4eabd881246000a5aafae003f06f27ea6586 (commit)
       via  9897c52c330ce9003d5f2b544d4ee04ee8d47a2d (commit)
       via  62db520cc5d00d17a351c8e024ccd333ac87d8b6 (commit)
       via  a49e1a2e844ae28dffc28a5d99c0151e5019efd0 (commit)
       via  1972328147a4660dce137a1be2e59bf1849828cb (commit)
       via  f96541a3ac094509f521cd4106e01c51eadd7d5b (commit)
       via  1b75d6776d86a2d4d4d480e3524dd6a77ba26ae1 (commit)
       via  5828282ff1ca9c67cc17ea381745bbe7d9250114 (commit)
       via  98fe945a0d54fcce20f99ad3f02f36fdd178d044 (commit)
       via  249c7e943129de9192a0102cfbd8d6263166e11b (commit)
       via  40bd0c4b57167975425e4f79c28cab5255d9d774 (commit)
       via  4b984b14a31e9606a26529d4452310f7d9fbdf21 (commit)
       via  ed70cb733cd3c27f77d95d84e70aee74f0b0efc5 (commit)
       via  d8157c07df5e89fd40c4f3e7e6ecca542815a40f (commit)
       via  90692f93cf48e7c3e3ce2ebb0718a0ad0a53d950 (commit)
       via  90f08efe58935d7c08f407ba95921ca022a2edd6 (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 (fa719661f894db4f5e077b6dcd9c4a1b7aaca434)
            \
             N -- N -- N (a727a2e59e5590df01625ae5396e7c8a268c009c)

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/osmo-pcu/commit/?id=a727a2e59e5590df01625ae5396e7c8a268c009c

commit a727a2e59e5590df01625ae5396e7c8a268c009c
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Wed Jul 31 21:59:29 2013 +0200

    emu: Introduce the concepts of tests/tasks and create a second test
    
    This one sends static messages that should open up a PDP context. It
    is intended to re-produce a SGSN crash. After the PDP context has been
    established one can:
    
    1.) Stop/Suspend the emulation process so the NS Alive times out
    2.) Use ping IP -s 2048
    
    This will create a double free...
    
     #4  0xb7bb2646 in talloc_abort_double_free () at talloc.c:175
     #5  0xb7bbd41a in talloc_chunk_from_ptr (ptr=0x8091208) at talloc.c:190
     #6  _talloc_free (ptr=0x8091208) at talloc.c:517
     #7  talloc_free (ptr=ptr@entry=0x8091208) at talloc.c:990
     #8  0xb7bb319b in msgb_free (m=m@entry=0x8091208) at msgb.c:72
     #9  0x0804db54 in sndcp_send_ud_frag (fs=0xbfffcc6c) at gprs_sndcp.c:423
     #10 sndcp_unitdata_req (msg=msg@entry=0x808eed8, lle=0x808fbc8, nsapi=5 '\005',
        mmcontext=mmcontext@entry=0x80903e8) at gprs_sndcp.c:471

http://cgit.osmocom.org/osmo-pcu/commit/?id=198b6b7778aae7e05ad4378565bbee5218c63105

commit 198b6b7778aae7e05ad4378565bbee5218c63105
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Tue Jul 30 22:24:04 2013 +0200

    tests: Look at some data...

http://cgit.osmocom.org/osmo-pcu/commit/?id=ef98d4c4d2aa19477f6e86a5bc93715ddeff4351

commit ef98d4c4d2aa19477f6e86a5bc93715ddeff4351
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Tue Jul 30 22:03:03 2013 +0200

    wip... bla...

http://cgit.osmocom.org/osmo-pcu/commit/?id=32f4de5e5cdde76879d594a9c6bd0c9f34c3a509

commit 32f4de5e5cdde76879d594a9c6bd0c9f34c3a509
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Tue Jul 30 21:32:11 2013 +0200

    wip.. callback docs

http://cgit.osmocom.org/osmo-pcu/commit/?id=db3844347cdfc024ce69969afefa28d016a474a8

commit db3844347cdfc024ce69969afefa28d016a474a8
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sun Jul 28 21:14:51 2013 +0200

    emu: Send a a static GPRS ATTACH request...

http://cgit.osmocom.org/osmo-pcu/commit/?id=99158e84f5bee606f336d1942e207a9f62f048e1

commit 99158e84f5bee606f336d1942e207a9f62f048e1
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sun Jul 28 21:14:15 2013 +0200

    bssgp: These routines are not public API.. make them static for now

http://cgit.osmocom.org/osmo-pcu/commit/?id=f4b2ef427353f32874243cc046a6973357bc67e7

commit f4b2ef427353f32874243cc046a6973357bc67e7
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sun Jul 28 19:11:20 2013 +0200

    bssgp: Return the gprs_bssgp_pcu instance from create/connect
    
    This can be used to install handlers/testcases to register
    callbacks and other data.

http://cgit.osmocom.org/osmo-pcu/commit/?id=ce392fecbbbdf642c12f16133cd5150056745ad5

commit ce392fecbbbdf642c12f16133cd5150056745ad5
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sun Jul 28 19:01:20 2013 +0200

    bssgp: Re-indent the switch/case statement

http://cgit.osmocom.org/osmo-pcu/commit/?id=a8d822eb4f91ae585f92d57cc469bab87163931f

commit a8d822eb4f91ae585f92d57cc469bab87163931f
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sun Jul 28 18:55:14 2013 +0200

    rlcmac: Reduce the depedency on the global gprs_rlcmac_bts variable
    
    For mocking/unit-testing/emulation (and a dual trx-systems) having
    global state is quite bad. Cut back on the usage of the global
    struct gprs_rlcmac_bts. It also makes the complexity of certain
    routines more clear.

http://cgit.osmocom.org/osmo-pcu/commit/?id=91f038459c0c87d48d7fdbaabd5d85e4b10e0084

commit 91f038459c0c87d48d7fdbaabd5d85e4b10e0084
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sun Jul 28 18:34:49 2013 +0200

    emu: Create an app that allows to create a BSSGP connection
    
    This can open a BSSGP connection toward the SGSN and initiates
    the unblocking... Most work is still ahead..

http://cgit.osmocom.org/osmo-pcu/commit/?id=a83dc397c5a3b3d3deead06725ce04fbb1810122

commit a83dc397c5a3b3d3deead06725ce04fbb1810122
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sun Jul 28 17:37:40 2013 +0200

    bssgp: The method creates and the connects.. reflect that in the name
    
    Call things by what they do. This method is creating and then connecting
    a BSSGP..

http://cgit.osmocom.org/osmo-pcu/commit/?id=631a4eabd881246000a5aafae003f06f27ea6586

commit 631a4eabd881246000a5aafae003f06f27ea6586
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sun Jul 28 16:45:54 2013 +0200

    tests: Move the RLCMACTest into the test directory and setup autotest

http://cgit.osmocom.org/osmo-pcu/commit/?id=9897c52c330ce9003d5f2b544d4ee04ee8d47a2d

commit 9897c52c330ce9003d5f2b544d4ee04ee8d47a2d
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sun Jul 28 16:16:51 2013 +0200

    misc: Ignore the two osmo-pcu binaries and files created by vim

http://cgit.osmocom.org/osmo-pcu/commit/?id=62db520cc5d00d17a351c8e024ccd333ac87d8b6

commit 62db520cc5d00d17a351c8e024ccd333ac87d8b6
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sun Jul 28 16:15:41 2013 +0200

    tests: Create tests directory and move the VTY testing into there

http://cgit.osmocom.org/osmo-pcu/commit/?id=a49e1a2e844ae28dffc28a5d99c0151e5019efd0

commit a49e1a2e844ae28dffc28a5d99c0151e5019efd0
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sun Jul 28 16:04:35 2013 +0200

    bitvector: Address compiler warnings about unsigned/signed
    
    Fixes:
    bitvector.cpp: In function 'int bitvec_pack(bitvec*, uint8_t*)':
    bitvector.cpp:53:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    bitvector.cpp: In function 'int bitvec_unpack(bitvec*, uint8_t*)':
    bitvector.cpp:63:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    bitvector.cpp: In function 'uint64_t bitvec_read_field(bitvec*, unsigned int&, unsigned int)':
    bitvector.cpp:91:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    bitvector.cpp: In function 'int bitvec_write_field(bitvec*, unsigned int&, uint64_t, unsigned int)':
    bitvector.cpp:108:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

http://cgit.osmocom.org/osmo-pcu/commit/?id=1972328147a4660dce137a1be2e59bf1849828cb

commit 1972328147a4660dce137a1be2e59bf1849828cb
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sun Jul 28 15:59:46 2013 +0200

    pcu_l1_if.cpp: Remove unused method and comment
    
    pcu_l1_if.cpp:195:13: warning: 'void pcu_l1if_tx_bcch(uint8_t*, int)' defined but not used [-Wunused-function]

http://cgit.osmocom.org/osmo-pcu/commit/?id=f96541a3ac094509f521cd4106e01c51eadd7d5b

commit f96541a3ac094509f521cd4106e01c51eadd7d5b
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sun Jul 28 15:57:20 2013 +0200

    csn1: Fix various printf/format issues pointed out by gcc
    
    Fixes:
    csn1.cpp: In function 'gint16 csnStreamDecoder(csnStream_t*, const CSN_DESCR*, bitvec*, unsigned int&, void*)':
    csn1.cpp:864:17: warning: format '%d' expects argument of type 'int', but argument 8 has type 'guint64 {aka long unsigned int}' [-Wformat]
    csn1.cpp:1144:15: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'uint64_t {aka long long unsigned int}' [-Wformat]
    csn1.cpp:1150:15: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'uint64_t {aka long long unsigned int}' [-Wformat]
    csn1.cpp: In function 'gint16 csnStreamEncoder(csnStream_t*, const CSN_DESCR*, bitvec*, unsigned int&, void*)':
    csn1.cpp:2119:17: warning: format '%d' expects argument of type 'int', but argument 8 has type 'guint64 {aka long unsigned int}' [-Wformat]

http://cgit.osmocom.org/osmo-pcu/commit/?id=1b75d6776d86a2d4d4d480e3524dd6a77ba26ae1

commit 1b75d6776d86a2d4d4d480e3524dd6a77ba26ae1
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sun Jul 28 15:55:42 2013 +0200

    csn: Remove unused code from the file
    
    Fixes:
    csn1.cpp:124:20: warning: 'CSN_DESCR_type' defined but not used [-Wunused-variable]

http://cgit.osmocom.org/osmo-pcu/commit/?id=5828282ff1ca9c67cc17ea381745bbe7d9250114

commit 5828282ff1ca9c67cc17ea381745bbe7d9250114
Author: Holger Hans Peter Freyther <[email-masked]>
Date:   Sun Jul 28 15:48:44 2013 +0200

    femtobts: Remove code that is causing warnings with GCC 4.8
    
    femtobts.c:250:2: warning: excess elements in array initializer [enabled by default]
      { SuperFemto_ClkSrcId_NetList, "nwl" },
      ^
    femtobts.c:250:2: warning: (near initialization for ���femtobts_clksrc_names���) [enabled by default]
    femtobts.c:251:2: warning: excess elements in array initializer [enabled by default]
      { 0, NULL }
      ^
    femtobts.c:251:2: warning: (near initialization for ���femtobts_clksrc_names���) [enabled by default]

-----------------------------------------------------------------------

Summary of changes:
 src/gprs_bssgp_pcu.cpp                             |   3 +
 src/gprs_bssgp_pcu.h                               |   9 +-
 tests/Makefile.am                                  |   4 +-
 .../{test_replay_gprs_attach.cpp => gprs_tests.h}  |  42 ++--
 tests/emu/openbsc_clone.c                          | 235 +++++++++++++++++++++
 tests/emu/openbsc_clone.h                          |  96 +++++++++
 tests/emu/pcu_emu.cpp                              |  52 ++++-
 tests/emu/test_pdp_activation.cpp                  | 172 +++++++++++++++
 tests/emu/test_replay_gprs_attach.cpp              |  46 +++-
 9 files changed, 628 insertions(+), 31 deletions(-)
 copy tests/emu/{test_replay_gprs_attach.cpp => gprs_tests.h} (56%)
 create mode 100644 tests/emu/openbsc_clone.c
 create mode 100644 tests/emu/openbsc_clone.h
 create mode 100644 tests/emu/test_pdp_activation.cpp

hooks/post-receive
-- 
UNNAMED PROJECT