From gitosis at osmocom.org Fri Sep 1 07:36:36 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 1 Sep 2017 07:36:36 GMT Subject: libosmo-sccp.git branch master updated. 0.0.6.3-307-gd8552d7 Message-ID: <201709010736.v817aaOV044042@git.osmocom.org> 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 "SCCP Library". The branch, master has been updated via d8552d70114cccce28aeffe5010eaf750a2277c5 (commit) from 02e029708a62cdac960947193c8f850c3fe5ad66 (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/libosmo-sccp/commit/?id=d8552d70114cccce28aeffe5010eaf750a2277c5 commit d8552d70114cccce28aeffe5010eaf750a2277c5 Author: Harald Welte Date: Thu Aug 31 20:25:52 2017 +0200 osmo-stp: Fix process termination on SIGINT+SIGTERM In commit eed8c1bfae1d151e135b574d83ed295d36ad8b44 we introduced some singal handling code for (among others) SIGINT and SIGTERM. This code causes the process to hang rather than terminate, as it only dispatches a signal that nobody handles yet in libosmo-sccp. Until a proper implementation is made, let's terminate the process as expected. Change-Id: Iff79c8ac0b347660333912c9258073a013ea799b ----------------------------------------------------------------------- Summary of changes: stp/stp_main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) hooks/post-receive -- SCCP Library From gitosis at osmocom.org Fri Sep 1 07:55:17 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 1 Sep 2017 07:55:17 GMT Subject: libosmocore.git branch master updated. 0.9.6-378-g272bd4fa Message-ID: <201709010755.v817tHB2059448@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, master has been updated via 272bd4fa6611bfb4f7a9fc9a46184709f984f3c1 (commit) from 483cdffeb8beab7d43c39e9d46a20bad03ff56ad (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/libosmocore/commit/?id=272bd4fa6611bfb4f7a9fc9a46184709f984f3c1 commit 272bd4fa6611bfb4f7a9fc9a46184709f984f3c1 Author: Vadim Yanitskiy Date: Thu Aug 31 17:53:04 2017 +0700 Makefile.am: fix missing LTLDFLAGS for libosmocoding Despite the libosmocoding.map is preset since the library release, one was not used in a proper way. The LTLDFLAGS were missing, so let's add them. Change-Id: Idf677825ff642d50bea43c7f970810783e864fdd ----------------------------------------------------------------------- Summary of changes: configure.ac | 1 + src/coding/Makefile.am | 1 + 2 files changed, 2 insertions(+) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Fri Sep 1 07:57:17 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 1 Sep 2017 07:57:17 GMT Subject: pysim.git branch master updated. 1d087efc974ed29d8f0802a7aba507ab56698283 Message-ID: <201709010757.v817vH9O061109@git.osmocom.org> 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 "A python tool to program magic SIMs". The branch, master has been updated via 1d087efc974ed29d8f0802a7aba507ab56698283 (commit) from e96048833868faf6167961199b882a0da28b62f9 (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/pysim/commit/?id=1d087efc974ed29d8f0802a7aba507ab56698283 commit 1d087efc974ed29d8f0802a7aba507ab56698283 Author: Daniel Willmann Date: Thu Aug 31 10:08:45 2017 +0200 Support writing SMSP for sysmoUSIM-SJS1 Closes: OS#1989 Change-Id: I6cbf69be3d410c18a509b98a63cb69bab74a528a ----------------------------------------------------------------------- Summary of changes: pySim/cards.py | 3 +++ 1 file changed, 3 insertions(+) hooks/post-receive -- A python tool to program magic SIMs From gitosis at osmocom.org Fri Sep 1 07:57:57 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 1 Sep 2017 07:57:57 GMT Subject: libosmocore.git branch master updated. 0.9.6-379-g99377c2d Message-ID: <201709010757.v817vv1S061637@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, master has been updated via 99377c2daab6e428194c92103a3a7c2d8a8b5551 (commit) from 272bd4fa6611bfb4f7a9fc9a46184709f984f3c1 (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/libosmocore/commit/?id=99377c2daab6e428194c92103a3a7c2d8a8b5551 commit 99377c2daab6e428194c92103a3a7c2d8a8b5551 Author: Max Date: Wed Aug 30 19:17:50 2017 +0200 libosmogsm: add Routing Area Identifier test Ensure that gsm48_parse_ra() and gsm48_construct_ra() behave properly. Change-Id: I27117fe728407dd10886459e89ba4ff9d5e53e6b ----------------------------------------------------------------------- Summary of changes: tests/gsm0408/gsm0408_test.c | 49 +++++++++++++++++++++++++++++++++++++++++++ tests/gsm0408/gsm0408_test.ok | 8 +++++++ 2 files changed, 57 insertions(+) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Fri Sep 1 07:59:13 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 1 Sep 2017 07:59:13 GMT Subject: osmo-gsm-manuals.git branch master updated. b1503f04bf109e28ea938b3a42d962d56d3fed6e Message-ID: <201709010759.v817xDuD062774@git.osmocom.org> 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 "Manuals for Osmocom GSM components". The branch, master has been updated via b1503f04bf109e28ea938b3a42d962d56d3fed6e (commit) from 79e1aa0a23301afa4bade36e9829fa0792de070f (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-gsm-manuals/commit/?id=b1503f04bf109e28ea938b3a42d962d56d3fed6e commit b1503f04bf109e28ea938b3a42d962d56d3fed6e Author: Pau Espin Pedrol Date: Thu Aug 31 16:32:40 2017 +0200 Allow easily disabling GFDL references All parts referencing GFDL can be easily disabled by removing the 'gfdl-enabled' attribute from the document. Change-Id: I2489726ad2e90301bceadfada926e31ae0f85986 ----------------------------------------------------------------------- Summary of changes: OsmoBSC/osmobsc-usermanual.adoc | 2 ++ OsmoBTS/osmobts-abis.adoc | 2 ++ OsmoBTS/osmobts-usermanual.adoc | 2 ++ OsmoNITB/osmonitb-usermanual.adoc | 2 ++ OsmoPCU/osmopcu-gb.adoc | 2 ++ OsmoPCU/osmopcu-usermanual.adoc | 2 ++ OsmoSGSN/osmosgsn-usermanual.adoc | 2 ++ common/chapters/glossary.adoc | 2 ++ common/chapters/preface.adoc | 5 ++++- 9 files changed, 20 insertions(+), 1 deletion(-) hooks/post-receive -- Manuals for Osmocom GSM components From gitosis at osmocom.org Fri Sep 1 08:08:48 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 1 Sep 2017 08:08:48 GMT Subject: osmo-bts.git branch master updated. 0.6.0-2-g6384c73 Message-ID: <201709010808.v8188muG072062@git.osmocom.org> 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 6384c73fbfd852d45a63b729389afa2f92e02fb2 (commit) from fab4efdaf56bfa3c6cb7391ccec7aeb6e52f9a3d (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=6384c73fbfd852d45a63b729389afa2f92e02fb2 commit 6384c73fbfd852d45a63b729389afa2f92e02fb2 Author: Max Date: Thu Aug 31 13:52:10 2017 +0200 Support sending SI13 to PCU * explicitly set SAPI when sending data_ind to PCU * drop unused receiving code for BCCH SAPI * send SI13 when PCU is connected * send SI13 when new SI is received Change-Id: I9e83ef792585aa962f99897d9973cef12f186bcf Related: OS#2400 ----------------------------------------------------------------------- Summary of changes: include/osmo-bts/pcu_if.h | 1 + src/common/l1sap.c | 5 +++-- src/common/pcu_sock.c | 39 ++++++++++++++++++++++++--------------- src/common/rsl.c | 4 ++++ 4 files changed, 32 insertions(+), 17 deletions(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Fri Sep 1 09:07:36 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 1 Sep 2017 09:07:36 GMT Subject: osmo-sip-connector.git branch master updated. 148df95d42adbabd6ddd87e28c5970b615b9b3cd Message-ID: <201709010907.v8197aka029023@git.osmocom.org> 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 "MNCC <-> SIP bridge". The branch, master has been updated via 148df95d42adbabd6ddd87e28c5970b615b9b3cd (commit) from 9d1ac29a48aa3347fbc0112c2baf595b629ab5f8 (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-sip-connector/commit/?id=148df95d42adbabd6ddd87e28c5970b615b9b3cd commit 148df95d42adbabd6ddd87e28c5970b615b9b3cd Author: Max Date: Fri Sep 1 10:19:18 2017 +0200 Fix build after recent libosmocore update Change-Id: Idd1eba7ed0c5454de29d86a8bb72beb24d03ef2a ----------------------------------------------------------------------- Summary of changes: contrib/jenkins.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- MNCC <-> SIP bridge From gitosis at osmocom.org Fri Sep 1 09:55:53 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 1 Sep 2017 09:55:53 GMT Subject: gapk.git branch fixeria/lib updated. v0.4-14-g293384f Message-ID: <201709010955.v819trsD071179@git.osmocom.org> 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 "GSM Audio Pocket Knife". The branch, fixeria/lib has been updated via 293384fd1b3d6c681d7f4862f98eb52977551e00 (commit) via aedbe9ad7a352b3fdd846aa6093b5cde29b0749b (commit) via d25004a98122d84039b8ce20932729189c8ae171 (commit) via 5f332917e1ce8fcaa67a8406e69df9a1e01b2b67 (commit) via 7d411284afeb9489a3fe0126396f094ad305c0f5 (commit) from 2b02f8ec27a15302f744bee4a3a0502233ff5e2e (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/gapk/commit/?id=293384fd1b3d6c681d7f4862f98eb52977551e00 commit 293384fd1b3d6c681d7f4862f98eb52977551e00 Author: Vadim Yanitskiy Date: Fri Sep 1 16:50:51 2017 +0700 Expose format / codec description structures To make external applications be able to 'play' with formats and codecs without usage of processing queue, this change adds an 'osmo_gapk' prefix to all format / codec description structures, and moves them to the corresponding headers. http://cgit.osmocom.org/gapk/commit/?id=aedbe9ad7a352b3fdd846aa6093b5cde29b0749b commit aedbe9ad7a352b3fdd846aa6093b5cde29b0749b Author: Vadim Yanitskiy Date: Fri Sep 1 16:19:40 2017 +0700 procqueue: use linuxlist to store queue items The usage of linuxlist is more flexible than having a limited array of pointers. This approach allows to have as much items in a processing queue as required. http://cgit.osmocom.org/gapk/commit/?id=d25004a98122d84039b8ce20932729189c8ae171 commit d25004a98122d84039b8ce20932729189c8ae171 Author: Vadim Yanitskiy Date: Fri Sep 1 15:22:32 2017 +0700 procqueue: use uint8_t as output buffer type http://cgit.osmocom.org/gapk/commit/?id=5f332917e1ce8fcaa67a8406e69df9a1e01b2b67 commit 5f332917e1ce8fcaa67a8406e69df9a1e01b2b67 Author: Vadim Yanitskiy Date: Fri Sep 1 15:15:45 2017 +0700 procqueue: store output buffers inside queue items An output buffer belongs to its queue item, so it will be more correctly to store its pointer inside the osmo_gapk_pq_item. http://cgit.osmocom.org/gapk/commit/?id=7d411284afeb9489a3fe0126396f094ad305c0f5 commit 7d411284afeb9489a3fe0126396f094ad305c0f5 Author: Vadim Yanitskiy Date: Fri Sep 1 14:33:19 2017 +0700 procqueue: use unsigned int for I/O frame size fields A frame size cannot be negative, so 'unsigned' is more suitable for frame size fields. ----------------------------------------------------------------------- Summary of changes: include/osmocom/gapk/codecs.h | 7 +++ include/osmocom/gapk/formats.h | 18 +++++++ include/osmocom/gapk/procqueue.h | 15 ++++-- src/codec_amr.c | 2 +- src/codec_efr.c | 2 +- src/codec_fr.c | 2 +- src/codec_hr.c | 2 +- src/codec_pcm.c | 2 +- src/codecs.c | 18 ++----- src/fmt_amr.c | 2 +- src/fmt_amr_opencore.c | 2 +- src/fmt_gsm.c | 2 +- src/fmt_hr_ref.c | 4 +- src/fmt_racal.c | 6 +-- src/fmt_rawpcm.c | 2 +- src/fmt_rtp_amr.c | 2 +- src/fmt_rtp_efr.c | 2 +- src/fmt_rtp_hr_etsi.c | 2 +- src/fmt_rtp_hr_ietf.c | 2 +- src/fmt_ti.c | 6 +-- src/formats.c | 50 ++++++----------- src/libosmogapk.map | 23 ++++++++ src/procqueue.c | 112 ++++++++++++++++++++++----------------- 23 files changed, 163 insertions(+), 122 deletions(-) hooks/post-receive -- GSM Audio Pocket Knife From gitosis at osmocom.org Fri Sep 1 17:15:11 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 1 Sep 2017 17:15:11 GMT Subject: meta-telephony.git branch user/max/nightly-fix created. d72158b75a8cb0267835015b2f65e97df0e65cd7 Message-ID: <201709011715.v81HFBfT041984@git.osmocom.org> 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 layer for OpenEmbedded". The branch, user/max/nightly-fix has been created at d72158b75a8cb0267835015b2f65e97df0e65cd7 (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/meta-telephony/commit/?id=d72158b75a8cb0267835015b2f65e97df0e65cd7 commit d72158b75a8cb0267835015b2f65e97df0e65cd7 Author: Max Date: Fri Sep 1 19:06:05 2017 +0200 libosmo-abis: modify PV to match recent release The upstream release commit is 7f17b8c45d094941292036143f3292a1d5789cf5. Hopefully this would fix the issue with recent nightly: /usr/bin/osmo-bts-sysmo /usr/bin/osmo-bts-sysmo: error while loading shared libraries: libosmotrau.so.1: cannot open shared object file: No such file or directory In future we should try to find a way to automatically set PV to the latest git tag. Change-Id: I9f27661d9e5241efe7725b7d1efcf4aef55e2efe ----------------------------------------------------------------------- hooks/post-receive -- Osmocom layer for OpenEmbedded From gitosis at osmocom.org Sat Sep 2 15:03:13 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sat, 2 Sep 2017 15:03:13 GMT Subject: gapk.git branch master updated. v0.4-3-gd5cfaa6 Message-ID: <201709021503.v82F3DRI047672@git.osmocom.org> 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 "GSM Audio Pocket Knife". The branch, master has been updated via d5cfaa6a52d09551661f2cc8ef7ffc24f809960a (commit) via 83aa99e7a9a1ff0d6949b4c71cd8817e2668b341 (commit) from 6c42261cd2b8075904e3df9ec987ffe52c6adb2b (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/gapk/commit/?id=d5cfaa6a52d09551661f2cc8ef7ffc24f809960a commit d5cfaa6a52d09551661f2cc8ef7ffc24f809960a Author: Vadim Yanitskiy Date: Sat Sep 2 21:34:03 2017 +0700 pq_alsa.c: print error message if device init fails http://cgit.osmocom.org/gapk/commit/?id=83aa99e7a9a1ff0d6949b4c71cd8817e2668b341 commit 83aa99e7a9a1ff0d6949b4c71cd8817e2668b341 Author: Vadim Yanitskiy Date: Sat Sep 2 21:34:02 2017 +0700 pq_alsa.c: handle output buffer underrun On some systems the ALSA output buffer is pretty big, and if the audio samples are not being passed into the buffer quickly enough, it becomes starved for data, resulting in an error called underrun. Previously, when it happenned, GAPK used to stop processing with the following message (where X is a random number): [+] PQ: Adding ALSA output (dev='default', blk_len=320) [!] pq_execute(): abort, item returned -1 [+] Processed X frames According to the ALSA documentation, the pcm_handle changes its state when the problem happens, and should be recovered using the snd_pcm_prepare() call. This change actually does that. ----------------------------------------------------------------------- Summary of changes: src/pq_alsa.c | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) hooks/post-receive -- GSM Audio Pocket Knife From gitosis at osmocom.org Sat Sep 2 16:47:08 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sat, 2 Sep 2017 16:47:08 GMT Subject: meta-telephony.git branch master updated. 9e50dbdd1ee672494758d29482444cf40a36d1ba Message-ID: <201709021647.v82Gl8OA019417@git.osmocom.org> 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 layer for OpenEmbedded". The branch, master has been updated via 9e50dbdd1ee672494758d29482444cf40a36d1ba (commit) from 3b2076a5563a27e114b02a1e41cf4f62330e9575 (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/meta-telephony/commit/?id=9e50dbdd1ee672494758d29482444cf40a36d1ba commit 9e50dbdd1ee672494758d29482444cf40a36d1ba Author: Max Date: Fri Sep 1 18:37:45 2017 +0200 Add git-review config Change-Id: I4178b4866078f20f7415772255e9c755dcb90efe ----------------------------------------------------------------------- Summary of changes: .gitreview | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitreview hooks/post-receive -- Osmocom layer for OpenEmbedded From gitosis at osmocom.org Sat Sep 2 19:42:43 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sat, 2 Sep 2017 19:42:43 GMT Subject: osmo-pcu.git branch master updated. 0.2-938-g84bf0fa Message-ID: <201709021942.v82Jgh4Q061888@git.osmocom.org> 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, master has been updated via 84bf0faed9912ba2b31e56299f5a0441973076eb (commit) via b216c6b1652454d01f10c376a16bae864b717a1e (commit) from 10e37a50893b2f452d9ddf8042e0e9b8c7368d94 (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-pcu/commit/?id=84bf0faed9912ba2b31e56299f5a0441973076eb commit 84bf0faed9912ba2b31e56299f5a0441973076eb Author: Max Date: Fri Sep 1 11:02:40 2017 +0200 Support receiving SI13 from BTS * store SI13 in BTS struct * check and handle BCCH SAPI Change-Id: I610a93ce23725b182ec14e3507331295bd542f74 Related: OS#2400 http://cgit.osmocom.org/osmo-pcu/commit/?id=b216c6b1652454d01f10c376a16bae864b717a1e commit b216c6b1652454d01f10c376a16bae864b717a1e Author: Max Date: Fri Sep 1 11:00:39 2017 +0200 cosmetic: tighten direct-phy related code * move the code to related SAPI case * get rid of 'unused variable' warning if direct-phy is not used Change-Id: If8cae6f3579cfdecc25bbe1d08fa88a4f664a03b ----------------------------------------------------------------------- Summary of changes: src/bts.h | 4 +++- src/osmo-bts-litecell15/lc15_l1_if.c | 2 ++ src/osmo-bts-sysmo/sysmo_l1_if.c | 2 ++ src/pcu_l1_if.cpp | 46 +++++++++++++++++++++++++++--------- src/pcu_main.cpp | 1 + src/pcu_vty.h | 1 + 6 files changed, 44 insertions(+), 12 deletions(-) hooks/post-receive -- UNNAMED PROJECT From gitosis at osmocom.org Sat Sep 2 19:43:06 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sat, 2 Sep 2017 19:43:06 GMT Subject: osmo-bts.git branch master updated. 0.6.0-3-gbbf6c43 Message-ID: <201709021943.v82Jh6AZ062378@git.osmocom.org> 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 bbf6c435f60083b3e964843a6461df5bdc04fd85 (commit) from 6384c73fbfd852d45a63b729389afa2f92e02fb2 (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=bbf6c435f60083b3e964843a6461df5bdc04fd85 commit bbf6c435f60083b3e964843a6461df5bdc04fd85 Author: Max Date: Fri Sep 1 16:13:02 2017 +0200 Support removing SI13 from PCU If SI13 becomes unavailable in runtime than send 0-length message with BCCH SAPI to PCU to indicate that SI13 have to be removed. Change-Id: I72aef8bd98f21c4b5ea6eed21fc56b30d85bfc1b Related: OS#2400 ----------------------------------------------------------------------- Summary of changes: include/osmo-bts/pcu_if.h | 2 +- src/common/pcu_sock.c | 10 +++++----- src/common/rsl.c | 4 +++- 3 files changed, 9 insertions(+), 7 deletions(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Sat Sep 2 19:43:15 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sat, 2 Sep 2017 19:43:15 GMT Subject: osmo-pcu.git branch master updated. 0.2-939-g8bfa659 Message-ID: <201709021943.v82JhFn3062588@git.osmocom.org> 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, master has been updated via 8bfa659087756056cc6c131d27c88807787f7c05 (commit) from 84bf0faed9912ba2b31e56299f5a0441973076eb (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-pcu/commit/?id=8bfa659087756056cc6c131d27c88807787f7c05 commit 8bfa659087756056cc6c131d27c88807787f7c05 Author: Max Date: Thu Aug 31 15:42:06 2017 +0200 Move gsmtap and accounting into separate function Change-Id: I3609da1850244f25bd4611c9d25795ca379d6325 ----------------------------------------------------------------------- Summary of changes: src/gprs_rlcmac_sched.cpp | 44 +++++++++++++++++++++++++++++++------------- 1 file changed, 31 insertions(+), 13 deletions(-) hooks/post-receive -- UNNAMED PROJECT From gitosis at osmocom.org Sat Sep 2 19:44:38 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sat, 2 Sep 2017 19:44:38 GMT Subject: libosmocore.git branch master updated. 0.9.6-380-gb9759dba Message-ID: <201709021944.v82JicBT064351@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, master has been updated via b9759dba9ecd2720aab1c91d6824a18e2c0ffbcd (commit) from 99377c2daab6e428194c92103a3a7c2d8a8b5551 (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/libosmocore/commit/?id=b9759dba9ecd2720aab1c91d6824a18e2c0ffbcd commit b9759dba9ecd2720aab1c91d6824a18e2c0ffbcd Author: Ivan Kluchnikov Date: Thu May 11 15:19:23 2017 +0300 lapd_core: Fix crash in lapd_est_req() function lapd_est_req() function could be called on uninitialized lapd link (before lapd_dl_init() and after lapd_dl_exit() functions) due to invalid usage on higher levels. In order to prevent using uninitialized lapd link, we should set LAPD_STATE_NULL state for lapd_datalink in lapd_dl_exit() function. So all messages for lapd_datalink in null state will be unhandled by lapd_recv_dlsap() function and lapd_est_req() function will not be called before lapd_dl_init() function where lapd link state is changed to idle. #0 0x00007f46ecd99aa5 in lapd_est_req (dp=, lctx=0x7f46ed80b8b8) at lapd_core.c:1769 #1 0x00007f46ecd9dda8 in rslms_rx_rll_est_req (msg=msg at entry=0x7f46eeab4940, dl=dl at entry=0x7f46ed80b888) at lapdm.c:845 #2 0x00007f46ecd9fc03 in rslms_rx_rll (lc=0x7f46ed80b398, msg=0x7f46eeab4940) at lapdm.c:1157 #3 lapdm_rslms_recvmsg (msg=0x7f46eeab4940, lc=0x7f46ed80b398) at lapdm.c:1223 #4 0x00007f46ed63773d in rsl_rx_rll (msg=, trx=) at rsl.c:2178 #5 down_rsl (trx=, msg=) at rsl.c:2541 #6 0x00007f46ed641529 in sign_link_cb (msg=) at abis.c:169 #7 0x00007f46ec54b111 in ipaccess_bts_read_cb (link=0x7f46eeab4940, msg=0x0) at input/ipaccess.c:807 #8 0x00007f46ec548a8e in ipa_client_read (link=0x7f46ee26ae30) at input/ipa.c:74 #9 ipa_client_fd_cb (ofd=, what=1) at input/ipa.c:137 #10 0x00007f46ecfc726f in osmo_fd_disp_fds (_eset=0x7ffe7a9fcd20, _wset=0x7ffe7a9fcca0, _rset=0x7ffe7a9fcc20) at select.c:167 #11 osmo_select_main (polling=polling at entry=0) at select.c:207 #12 0x00007f46ed63fc25 in bts_main (argc=5, argv=) at main.c:359 #13 0x00007f46ebd76f45 in __libc_start_main (main=0x7f46ed61b120
, argc=5, argv=0x7ffe7a9fcf18, init=, fini=, rtld_fini=, #14 0x00007f46ed61b14e in _start () Related: OS#1982 Change-Id: I306dad9b78e3becaef14c5305ec25c312feefe3c ----------------------------------------------------------------------- Summary of changes: src/gsm/lapd_core.c | 4 ++++ 1 file changed, 4 insertions(+) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Sat Sep 2 19:45:10 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sat, 2 Sep 2017 19:45:10 GMT Subject: osmo-bts.git branch master updated. 0.6.0-4-g9e36dca Message-ID: <201709021945.v82JjA70065169@git.osmocom.org> 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 9e36dca82aa139f10e25ca037cf4a7cc03eafea0 (commit) from bbf6c435f60083b3e964843a6461df5bdc04fd85 (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=9e36dca82aa139f10e25ca037cf4a7cc03eafea0 commit 9e36dca82aa139f10e25ca037cf4a7cc03eafea0 Author: Max Date: Tue Jun 27 10:02:59 2017 +0200 trx: avoid deactivating lchan on LCHAN_REL_ACT_REACT * do not deactivate lchan when called with LCHAN_REL_ACT_REACT * add fixme comment It's unclear yet if any special steps are required for osmo-bts-trx so let's just make it compatible with setups [1] using BS_AG_BLKS_RES != 1 for now. Background: CCCH is auto activated by some OsmoBTS - before we receive SI3, see 4a8582846281322e8d7dfc577b18767cf35c24d1. To accommodate for that we deactivate CCCH in common/rsl.c, which triggers BTS-model specific callback sapi_deactivate_cb() which updates parameters and activates it again. In case of osmo-bts-trx there is no auto-activation and (seems to be) no need in special interaction with hw to activate channel (no lchan_activate()) hence we can just skip entire deactivate/setup/activate again routine. [1] "channel-descrption bs-ag-blks-res N" in OpenBSC config file. Related: OS#1575 Change-Id: I20b89ba1e43d1414180b083cd1e085eeffe5d513 ----------------------------------------------------------------------- Summary of changes: include/osmo-bts/rsl.h | 2 +- src/osmo-bts-trx/l1_if.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Sat Sep 2 22:56:58 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sat, 2 Sep 2017 22:56:58 GMT Subject: osmo-ci.git branch master updated. 7b58ee99857c2961bd66a89dd74f3820a4d6813c Message-ID: <201709022256.v82Muwko046257@git.osmocom.org> 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 "CI scripts". The branch, master has been updated via 7b58ee99857c2961bd66a89dd74f3820a4d6813c (commit) from ff6ea23be5610386c645a165f01c1c0972357e88 (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-ci/commit/?id=7b58ee99857c2961bd66a89dd74f3820a4d6813c commit 7b58ee99857c2961bd66a89dd74f3820a4d6813c Author: Neels Hofmeyr Date: Sun Sep 3 00:54:44 2017 +0200 debian nightly: don't use pre_release branches, use master Related: OS#2297 Change-Id: I15e114389095af381978201c1bb3aad2a51fbaaa ----------------------------------------------------------------------- Summary of changes: scripts/osmocom-nightly-nitb-split.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) hooks/post-receive -- CI scripts From gitosis at osmocom.org Sun Sep 3 17:39:40 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 3 Sep 2017 17:39:40 GMT Subject: osmocom-analog.git branch master updated. c6875ea41233090cd244d32e12855db7f58a6689 Message-ID: <201709031739.v83Hde85073508@git.osmocom.org> 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 "A/B/C Netz". The branch, master has been updated via c6875ea41233090cd244d32e12855db7f58a6689 (commit) via d28a5df024cc864edcedb4ac84c283938711146e (commit) via 9205767f9450fd4a792ee93d8db25b9cfe4109ca (commit) via 496aff5a7954111ddf3b64d1dde664164f344e40 (commit) via a52c89800c9826634bcae3a635b71feb905b3641 (commit) via 94ed39f5e28520ba968a604c7eeabf2be0ca35d7 (commit) via 489ab9506ca597e36f0fe20ace34425709a313b1 (commit) via 05c516ca16671bd34692ca220879be7c0d344d11 (commit) via eb0c12343389228d69d5e9a4faf779098debeba9 (commit) via dfdad21e3f1c7c45c1ee3ec7f301e923ca5537c1 (commit) via 3bfba37ffff3f8efb11463435e03c8ea5f760189 (commit) via cff7622f5cd91bbb8e451831ad1e674d42d27c0b (commit) via 3c0bcce97b96b715e7e1d5ffff6f336989bac2c7 (commit) via d2472cfca6580ba4e59ece0acd229ee9c7012c59 (commit) via 743d147d1672837595ae1d6aa024522f4a011614 (commit) via 1c2e9180a2db989f26c5cff01eaa6ef12bb45011 (commit) via ae2b0cce0c45efead1ecd2f7f8fc1e536bffc5e4 (commit) via 064d95f37e2df6fcdd7b0ed9ecfa5f2e2e20c632 (commit) from ea7cbb867554197e1c1397a71c3b770068c05c76 (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/osmocom-analog/commit/?id=c6875ea41233090cd244d32e12855db7f58a6689 commit c6875ea41233090cd244d32e12855db7f58a6689 Author: Andreas Eversberg Date: Sun Sep 3 19:13:36 2017 +0200 work on docs http://cgit.osmocom.org/osmocom-analog/commit/?id=d28a5df024cc864edcedb4ac84c283938711146e commit d28a5df024cc864edcedb4ac84c283938711146e Author: Andreas Eversberg Date: Sun Sep 3 19:13:21 2017 +0200 R2000: Minor fix in channel description http://cgit.osmocom.org/osmocom-analog/commit/?id=9205767f9450fd4a792ee93d8db25b9cfe4109ca commit 9205767f9450fd4a792ee93d8db25b9cfe4109ca Author: Andreas Eversberg Date: Sat Sep 2 15:41:11 2017 +0200 SDR: Display spectrum graph together with channel numbers and position http://cgit.osmocom.org/osmocom-analog/commit/?id=496aff5a7954111ddf3b64d1dde664164f344e40 commit 496aff5a7954111ddf3b64d1dde664164f344e40 Author: Andreas Eversberg Date: Sun Aug 20 07:43:41 2017 +0200 Add implementation of analog TV signal generator (PAL so far) Quick and dirty Howto: make && tv/osmotv --sdr-soapy --sdr-tx-gain 60 -r 15000000 -c 21 tx-fubk --sdr-tune-args "OFFSET=-3000000" http://cgit.osmocom.org/osmocom-analog/commit/?id=a52c89800c9826634bcae3a635b71feb905b3641 commit a52c89800c9826634bcae3a635b71feb905b3641 Author: Andreas Eversberg Date: Wed Aug 30 17:42:49 2017 +0200 SDR: Split SDR config from main_mobile.c to sdr_config.c http://cgit.osmocom.org/osmocom-analog/commit/?id=94ed39f5e28520ba968a604c7eeabf2be0ca35d7 commit 94ed39f5e28520ba968a604c7eeabf2be0ca35d7 Author: Andreas Eversberg Date: Sun Aug 27 18:02:43 2017 +0200 JTACS: Implementation of the Japanese variant of TACS http://cgit.osmocom.org/osmocom-analog/commit/?id=489ab9506ca597e36f0fe20ace34425709a313b1 commit 489ab9506ca597e36f0fe20ace34425709a313b1 Author: Andreas Eversberg Date: Sun Aug 27 20:50:37 2017 +0200 TACS: Fix power levels http://cgit.osmocom.org/osmocom-analog/commit/?id=05c516ca16671bd34692ca220879be7c0d344d11 commit 05c516ca16671bd34692ca220879be7c0d344d11 Author: Andreas Eversberg Date: Sun Aug 27 10:49:19 2017 +0200 SDR: Fixed stack overflow by allocating memory instead of local buffers http://cgit.osmocom.org/osmocom-analog/commit/?id=eb0c12343389228d69d5e9a4faf779098debeba9 commit eb0c12343389228d69d5e9a4faf779098debeba9 Author: Andreas Eversberg Date: Sun Aug 27 09:35:46 2017 +0200 C-Netz: Fixed overflow bug http://cgit.osmocom.org/osmocom-analog/commit/?id=dfdad21e3f1c7c45c1ee3ec7f301e923ca5537c1 commit dfdad21e3f1c7c45c1ee3ec7f301e923ca5537c1 Author: Andreas Eversberg Date: Sat Aug 26 17:48:13 2017 +0200 C-Netz: Work on system informations, metering and call queues - Make system informations configurable - Simulate call mertering - Support for call queues on busy voice channels http://cgit.osmocom.org/osmocom-analog/commit/?id=3bfba37ffff3f8efb11463435e03c8ea5f760189 commit 3bfba37ffff3f8efb11463435e03c8ea5f760189 Author: Andreas Eversberg Date: Sun Aug 20 15:34:06 2017 +0200 Corrected print messages in wave file processing. http://cgit.osmocom.org/osmocom-analog/commit/?id=cff7622f5cd91bbb8e451831ad1e674d42d27c0b commit cff7622f5cd91bbb8e451831ad1e674d42d27c0b Author: Andreas Eversberg Date: Sun Aug 20 08:27:02 2017 +0200 Move mobile phone specific code from libcommon.a to libmobile.a http://cgit.osmocom.org/osmocom-analog/commit/?id=3c0bcce97b96b715e7e1d5ffff6f336989bac2c7 commit 3c0bcce97b96b715e7e1d5ffff6f336989bac2c7 Author: Andreas Eversberg Date: Sun Aug 20 08:09:35 2017 +0200 Move German tones from common code to individual implementation http://cgit.osmocom.org/osmocom-analog/commit/?id=d2472cfca6580ba4e59ece0acd229ee9c7012c59 commit d2472cfca6580ba4e59ece0acd229ee9c7012c59 Author: Andreas Eversberg Date: Sat Aug 19 12:33:45 2017 +0200 Emphasis: Add filter to prevent emphasis above 4000 Hz Remove obsolete filter from fsk.c. http://cgit.osmocom.org/osmocom-analog/commit/?id=743d147d1672837595ae1d6aa024522f4a011614 commit 743d147d1672837595ae1d6aa024522f4a011614 Author: Andreas Eversberg Date: Sat Aug 19 12:27:05 2017 +0200 SDR: Turn TX power off if requested by network The power level is ramped smoothly within 1 ms up or down. R2000, AMPS and C-Netz turn off power when voice channel is not i use. C-Netz turns off power between OgK timeslots. http://cgit.osmocom.org/osmocom-analog/commit/?id=1c2e9180a2db989f26c5cff01eaa6ef12bb45011 commit 1c2e9180a2db989f26c5cff01eaa6ef12bb45011 Author: Andreas Eversberg Date: Sat Aug 19 12:21:35 2017 +0200 Radiocom 2000: Use high-pass filter to remove supervisory signal http://cgit.osmocom.org/osmocom-analog/commit/?id=ae2b0cce0c45efead1ecd2f7f8fc1e536bffc5e4 commit ae2b0cce0c45efead1ecd2f7f8fc1e536bffc5e4 Author: Andreas Eversberg Date: Sat Aug 19 12:16:37 2017 +0200 B-Netz: Be more tollerant with quality of continuous tones http://cgit.osmocom.org/osmocom-analog/commit/?id=064d95f37e2df6fcdd7b0ed9ecfa5f2e2e20c632 commit 064d95f37e2df6fcdd7b0ed9ecfa5f2e2e20c632 Author: Andreas Eversberg Date: Fri Sep 1 18:37:42 2017 +0200 Fixup: SDR: Show IQ data with three colors Use correct threshold values to display colors ----------------------------------------------------------------------- Summary of changes: .gitignore | 4 + configure.ac | 40 +- docs/c-netz.html | 4 +- docs/index.html | 4 +- docs/nmt.html | 14 + docs/sdr.html | 40 +- docs/tacs.html | 4 +- src/Makefile.am | 2 +- src/amps/Makefile.am | 1 + src/amps/amps.c | 20 +- src/amps/amps.h | 2 - src/amps/amps_tacs_main.c | 23 +- src/amps/dsp.c | 33 +- src/amps/frame.c | 53 +- src/amps/main.c | 1 + src/amps/main.h | 1 + src/anetz/Makefile.am | 3 + src/anetz/anetz.c | 2 - src/{common => anetz}/besetztton.c | 0 src/{common => anetz}/besetztton.h | 0 src/anetz/dsp.c | 4 +- src/{common => anetz}/freiton.c | 0 src/{common => anetz}/freiton.h | 0 src/anetz/main.c | 18 +- src/bnetz/Makefile.am | 4 + src/bnetz/dsp.c | 6 +- src/bnetz/main.c | 18 +- src/cnetz/Makefile.am | 4 + src/cnetz/cnetz.c | 301 +++++++--- src/cnetz/cnetz.h | 6 +- src/cnetz/database.c | 5 +- src/cnetz/dsp.c | 78 +-- src/cnetz/fsk_demod.c | 2 +- src/cnetz/main.c | 259 +++++++- src/cnetz/sysinfo.c | 70 ++- src/cnetz/sysinfo.h | 9 +- src/cnetz/telegramm.c | 12 +- src/cnetz/telegramm.h | 2 +- src/cnetz/transaction.c | 28 +- src/cnetz/transaction.h | 35 +- src/common/Makefile.am | 30 +- src/common/call.c | 8 +- src/common/call.h | 2 +- src/common/display.h | 2 +- src/common/display_iq.c | 6 +- src/common/display_spectrum.c | 36 +- src/common/emphasis.c | 7 + src/common/emphasis.h | 1 + src/common/fm_modulation.c | 163 +++++- src/common/fm_modulation.h | 13 +- src/common/fsk.c | 5 - src/common/fsk.h | 1 - src/common/img.c | 388 ++++++++++++ src/common/img.h | 7 + src/common/{main_common.c => main_mobile.c} | 267 ++------- src/common/{main.h => main_mobile.h} | 12 +- src/common/sdr.c | 471 ++++++++------- src/common/sdr.h | 5 +- src/common/sdr_config.c | 262 +++++++++ src/common/sdr_config.h | 32 + src/common/sender.c | 10 +- src/common/sender.h | 8 +- src/common/sound.h | 4 +- src/common/sound_alsa.c | 4 +- src/common/wave.c | 16 +- src/{tacs => jtacs}/Makefile.am | 8 +- src/jtacs/image.c | 8 + src/{amps => jtacs}/image.h | 0 src/{tacs => jtacs}/main.c | 2 +- src/jtacs/stations.c | 18 + src/jtacs/tones.c | 179 ++++++ src/nmt/Makefile.am | 1 + src/nmt/dsp.c | 4 +- src/nmt/main.c | 14 +- src/r2000/Makefile.am | 1 + src/r2000/dsp.c | 17 +- src/r2000/main.c | 14 +- src/r2000/r2000.c | 2 +- src/r2000/r2000.h | 2 + src/tacs/Makefile.am | 1 + src/tacs/main.c | 1 + src/test/Makefile.am | 6 + src/test/test_dms.c | 5 + src/test/test_emphasis.c | 5 + src/test/test_filter.c | 5 + src/test/test_performance.c | 4 +- src/test/test_sms.c | 4 + src/tv/Makefile.am | 40 ++ src/tv/bas.c | 284 +++++++++ src/tv/bas.h | 25 + src/tv/channels.c | 94 +++ src/tv/channels.h | 4 + src/tv/font.c | 877 ++++++++++++++++++++++++++++ src/tv/font.h | 3 + src/tv/fubk.c | 511 ++++++++++++++++ src/tv/fubk.h | 3 + src/tv/image.c | 67 +++ src/tv/image.h | 3 + src/tv/main.c | 493 ++++++++++++++++ src/{common/cause.c => tv/tv_modulate.c} | 39 +- src/tv/tv_modulate.h | 3 + src/tv/vcr.c | 183 ++++++ src/tv/vcr.h | 3 + 103 files changed, 4916 insertions(+), 889 deletions(-) rename src/{common => anetz}/besetztton.c (100%) rename src/{common => anetz}/besetztton.h (100%) rename src/{common => anetz}/freiton.c (100%) rename src/{common => anetz}/freiton.h (100%) create mode 100755 src/common/img.c create mode 100644 src/common/img.h rename src/common/{main_common.c => main_mobile.c} (66%) rename src/common/{main.h => main_mobile.h} (72%) create mode 100644 src/common/sdr_config.c create mode 100644 src/common/sdr_config.h copy src/{tacs => jtacs}/Makefile.am (74%) create mode 100644 src/jtacs/image.c copy src/{amps => jtacs}/image.h (100%) copy src/{tacs => jtacs}/main.c (91%) create mode 100644 src/jtacs/stations.c create mode 100644 src/jtacs/tones.c create mode 100644 src/tv/Makefile.am create mode 100644 src/tv/bas.c create mode 100644 src/tv/bas.h create mode 100644 src/tv/channels.c create mode 100644 src/tv/channels.h create mode 100644 src/tv/font.c create mode 100644 src/tv/font.h create mode 100644 src/tv/fubk.c create mode 100644 src/tv/fubk.h create mode 100644 src/tv/image.c create mode 100644 src/tv/image.h create mode 100644 src/tv/main.c copy src/{common/cause.c => tv/tv_modulate.c} (54%) create mode 100644 src/tv/tv_modulate.h create mode 100644 src/tv/vcr.c create mode 100644 src/tv/vcr.h hooks/post-receive -- A/B/C Netz From gitosis at osmocom.org Sun Sep 3 21:12:58 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 3 Sep 2017 21:12:58 GMT Subject: libosmo-sccp.git branch master updated. 0.0.6.3-308-g769e935 Message-ID: <201709032112.v83LCw4C006488@git.osmocom.org> 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 "SCCP Library". The branch, master has been updated via 769e9354abcbccc530b6b93421ee974071f540f4 (commit) from d8552d70114cccce28aeffe5010eaf750a2277c5 (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/libosmo-sccp/commit/?id=769e9354abcbccc530b6b93421ee974071f540f4 commit 769e9354abcbccc530b6b93421ee974071f540f4 Author: Harald Welte Date: Sun Sep 3 21:20:32 2017 +0200 sccp_sap.h: Fix SSN for BSSAP and BSSAP-LE * BSSAP is 254 on both MSC and BSC side: Add missing define * BSSAP-LE (LCS Extension) has 250/251, adjust name to add -LE suffix Change-Id: Iccec75cfc0cf16bd717a9bd4606d1e772c332ccc ----------------------------------------------------------------------- Summary of changes: examples/m3ua_example.c | 2 +- include/osmocom/sigtran/sccp_sap.h | 5 +++-- src/sccp_sap.c | 5 +++-- 3 files changed, 7 insertions(+), 5 deletions(-) hooks/post-receive -- SCCP Library From gitosis at osmocom.org Mon Sep 4 08:26:38 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 4 Sep 2017 08:26:38 GMT Subject: openggsn.git branch master updated. 0.94-8-g0ab62fe Message-ID: <201709040826.v848QcAW035508@git.osmocom.org> 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 OpenGGSN project". The branch, master has been updated via 0ab62fe0811f6a4cf8f50c5e70908fa3935951c7 (commit) from bdc504e29c267af29c10a04aa8afcdfbd6daea22 (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/openggsn/commit/?id=0ab62fe0811f6a4cf8f50c5e70908fa3935951c7 commit 0ab62fe0811f6a4cf8f50c5e70908fa3935951c7 Author: Pau Espin Pedrol Date: Wed Aug 30 15:51:24 2017 +0200 ggsn: Fix DNS not sent in PDP context response During IPv6 support implementation, helper function pco_contains_proto was added which contains an error: It is only capable of finding first protocol correctly, and as a consequence, in my setup DNS servers where not sent back to the SGSN/MS, resulting in phone being able to connect to IPs but not to domain names which required DNS resolution. The condition in the while loop is also changed to match the increment of the variable inside the loop to make it easier to understand at first glance. Fixes: 1ae98777d9b1ee62e6900caf4bb580d1a42bb416 Change-Id: Icc2e6716c33d78d3c3e000f529806228d8aa155e ----------------------------------------------------------------------- Summary of changes: ggsn/ggsn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Mon Sep 4 13:06:19 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 4 Sep 2017 13:06:19 GMT Subject: osmo-pcu.git branch master updated. 0.2-940-g5a6bcfb Message-ID: <201709041306.v84D6JnK029416@git.osmocom.org> 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, master has been updated via 5a6bcfb7977b9db8964016582e51218a60c8431f (commit) from 8bfa659087756056cc6c131d27c88807787f7c05 (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-pcu/commit/?id=5a6bcfb7977b9db8964016582e51218a60c8431f commit 5a6bcfb7977b9db8964016582e51218a60c8431f Author: Max Date: Fri Sep 1 14:36:44 2017 +0200 cosmetic: convert explicit warnings to fixme/todo We do not use this style (#warning as an issue tracker replacement) in any other Osmocom project. Also those warnings clutter compiler output making it harder to spot warnings for the actual code. Change-Id: I72070e2a027e60e8b80c12ccfa23ff075434689f ----------------------------------------------------------------------- Summary of changes: src/bts.cpp | 2 +- src/gprs_rlcmac_meas.cpp | 2 +- src/gprs_rlcmac_sched.cpp | 3 ++- src/osmobts_sock.cpp | 3 ++- src/tbf.cpp | 4 ++-- src/tbf_dl.cpp | 2 +- 6 files changed, 9 insertions(+), 7 deletions(-) hooks/post-receive -- UNNAMED PROJECT From gitosis at osmocom.org Mon Sep 4 16:11:48 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 4 Sep 2017 16:11:48 GMT Subject: osmo-gsm-manuals.git branch master updated. 37f8b7856d9e53a9d6c3438b3159358e7d7ce81c Message-ID: <201709041611.v84GBm1w075530@git.osmocom.org> 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 "Manuals for Osmocom GSM components". The branch, master has been updated via 37f8b7856d9e53a9d6c3438b3159358e7d7ce81c (commit) from b1503f04bf109e28ea938b3a42d962d56d3fed6e (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-gsm-manuals/commit/?id=37f8b7856d9e53a9d6c3438b3159358e7d7ce81c commit 37f8b7856d9e53a9d6c3438b3159358e7d7ce81c Author: Pau Espin Pedrol Date: Mon Aug 28 11:58:25 2017 +0200 OsmoGsmTester: Move coredump section and add reference to kernel.core_pattern sysctl This section is moved further below in order to have it after section which explains how to create user jenkins and osmo-gsm-tester group, as we need this group already created anyway for the config to work correctly. Change-Id: I5bdde0a9960f9806f081e9a876b8b66db9e7f37c ----------------------------------------------------------------------- Summary of changes: OsmoGSMTester/chapters/install.adoc | 57 +++++++++++++++++++++---------------- 1 file changed, 32 insertions(+), 25 deletions(-) hooks/post-receive -- Manuals for Osmocom GSM components From gitosis at osmocom.org Tue Sep 5 09:26:41 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 5 Sep 2017 09:26:41 GMT Subject: osmo-ci.git branch master updated. 6cbb843fa317b96efa137298636f645ae2d76316 Message-ID: <201709050926.v859Qfkn071853@git.osmocom.org> 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 "CI scripts". The branch, master has been updated via 6cbb843fa317b96efa137298636f645ae2d76316 (commit) from 7b58ee99857c2961bd66a89dd74f3820a4d6813c (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-ci/commit/?id=6cbb843fa317b96efa137298636f645ae2d76316 commit 6cbb843fa317b96efa137298636f645ae2d76316 Author: Andr?? Boddenberg Date: Mon Sep 4 20:23:30 2017 +0200 Change used protocoll for 'git ls-remote' call from https to git. Otherwise script depends on availability of https://git.osmocom.org, which is currently down. Change-Id: Icf2a6b425177ef24aef1dba6e270d36fdc05d214 ----------------------------------------------------------------------- Summary of changes: scripts/osmo-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- CI scripts From gitosis at osmocom.org Tue Sep 5 10:38:51 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 5 Sep 2017 10:38:51 GMT Subject: openbsc.git branch master updated. 0.15.0-881-gb0a6d1b92 Message-ID: <201709051038.v85AcpX9088884@git.osmocom.org> 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 "Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, master has been updated via b0a6d1b92daffa37761bbb342d465c46825ad68a (commit) from 5932ff04a1c7c3c831dae366d394d7ef0f8d1ffd (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=b0a6d1b92daffa37761bbb342d465c46825ad68a commit b0a6d1b92daffa37761bbb342d465c46825ad68a Author: Ivan Kluchnikov Date: Wed Aug 23 17:39:36 2017 +0300 handover_decision: Fix condition for power budget handover attempt Handover attempt for power budget case should be performed every N SACCH frames, where N = Power Budget Interval. First measurement report with mr->nr = 0 was used for the first handover attempt in this case, which is not correct, because first usable report should have mr->nr = net->handover.pwr_interval-1. Moreover using the first measurement report with mr->nr = 0 for handover attempt could lead to unnecessary handover, because usually av_rxlev for first measurement report from MS is worse than for following reports. Change-Id: If7f54a4cb179eaa9e5eb147b9477633ac618e69e ----------------------------------------------------------------------- Summary of changes: openbsc/src/libbsc/handover_decision.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Tue Sep 5 10:44:38 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 5 Sep 2017 10:44:38 GMT Subject: libosmocore.git branch master updated. 0.9.6-381-g03516d6d Message-ID: <201709051044.v85Aic0O090695@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, master has been updated via 03516d6dd2fe94e94879db285d0b3492f0734831 (commit) from b9759dba9ecd2720aab1c91d6824a18e2c0ffbcd (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/libosmocore/commit/?id=03516d6dd2fe94e94879db285d0b3492f0734831 commit 03516d6dd2fe94e94879db285d0b3492f0734831 Author: Keith Date: Mon Sep 4 11:19:13 2017 +0200 cosmetic: clarify language in vty read error This is very minor but it annoys every time I see it. The text: "Error occurred during reading below line:" is not a complete sentence. The default understanding in english having left out the article implies that the error occured reading below [the] specified line, not that the error occured reading [the] specified line. That is to say, The message implied that the printed line was the last successfully parsed line. Change-Id: Ib4dd135feb9609b14983db5dac321a70267d8f30 ----------------------------------------------------------------------- Summary of changes: src/vty/vty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Tue Sep 5 15:45:20 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 5 Sep 2017 15:45:20 GMT Subject: openbsc.git branch master updated. 0.15.0-882-gf52cf145a Message-ID: <201709051545.v85FjKum074313@git.osmocom.org> 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 "Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, master has been updated via f52cf145acea5db288543de0f2e886988d5676cf (commit) from b0a6d1b92daffa37761bbb342d465c46825ad68a (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=f52cf145acea5db288543de0f2e886988d5676cf commit f52cf145acea5db288543de0f2e886988d5676cf Author: Andr?? Boddenberg Date: Mon Sep 4 20:42:55 2017 +0200 Make use of osmo-build.sh to use dependency artifacts for builds. Change-Id: I8a2ff700bbe3806bb2c1d561c6f2249fae3d8dd8 Note: this patchset depends on https://gerrit.osmocom.org/#/c/3822/1 ----------------------------------------------------------------------- Summary of changes: contrib/jenkins.sh | 91 +++++++++++++++++++++++++++--------------------------- 1 file changed, 45 insertions(+), 46 deletions(-) hooks/post-receive -- Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Tue Sep 5 17:27:12 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 5 Sep 2017 17:27:12 GMT Subject: openggsn.git branch laforge/osmo-ggsn updated. 0.94-22-g22db55d Message-ID: <201709051727.v85HRCX7002504@git.osmocom.org> 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 OpenGGSN project". The branch, laforge/osmo-ggsn has been updated discards e1f9bb04c73b1f9817d6e83a8a4058c15d5eb205 (commit) discards 0cc0c92d7d182c4a20ebbac830d1f0a0938301a3 (commit) discards 4aa33dbef2950474138ab9de4279e1c76d3d3021 (commit) via 22db55dec786d8937822963c0a2366ce2ca56731 (commit) via c18c52be6fae27b90bff241fea5ebc1c0a617aba (commit) via 0ea01ca222cf1109e91343156ada05386d5525f3 (commit) via 26facb39da17b0b11a73ff7415dd0c5ed6b86062 (commit) via 5c8b77af2541811c87319af2016f6a25b73ba224 (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 (e1f9bb04c73b1f9817d6e83a8a4058c15d5eb205) \ N -- N -- N (22db55dec786d8937822963c0a2366ce2ca56731) 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/openggsn/commit/?id=22db55dec786d8937822963c0a2366ce2ca56731 commit 22db55dec786d8937822963c0a2366ce2ca56731 Author: Harald Welte Date: Tue Sep 5 18:12:14 2017 +0200 Rename OpenGGSN to OsmoGGSN Osmocom has maintained this program since about 7 years now, while the original author / copyright holder has completely disappeared. With the introduction of Osmocom-style CTRL and VTY interfaces, the way how the program is used and configured has substantially changed. In order to avoid confusion in terms of configuration file format etc, let's rename it to OsmoGGSN. Change-Id: I2da30f7d4828e185bfac1a4e2d8414b01cbe4f9d http://cgit.osmocom.org/openggsn/commit/?id=c18c52be6fae27b90bff241fea5ebc1c0a617aba commit c18c52be6fae27b90bff241fea5ebc1c0a617aba Author: Harald Welte Date: Sat Aug 12 21:33:08 2017 +0200 WIP: manpage update Change-Id: Icc49721c3d52d5b1c921ea5e4ccfc8b705a2c9bc http://cgit.osmocom.org/openggsn/commit/?id=0ea01ca222cf1109e91343156ada05386d5525f3 commit 0ea01ca222cf1109e91343156ada05386d5525f3 Author: Harald Welte Date: Sun Aug 20 12:44:21 2017 +0200 ggsn: Handle SIGTERM like SIGINT and terminate Change-Id: I0c8773bd6ef41332b91b5b025aef9ef129af8289 http://cgit.osmocom.org/openggsn/commit/?id=26facb39da17b0b11a73ff7415dd0c5ed6b86062 commit 26facb39da17b0b11a73ff7415dd0c5ed6b86062 Author: Harald Welte Date: Sat Aug 12 20:01:59 2017 +0200 Documentation update: Remove NEWS, README.Solaris, update README.md * README.Solaris is obsolete and related code has been removed * NEWS file was unmaintained for more than a decade, remove it * Remove "Performance" chapter about 550MHz Athlon * gengetopt is no longer needed for ggsn * remove compilation/installation instructions horribly out of date * command line syntax of 'ggsn' program has changed Change-Id: I45d627911503c7b733cae6a1396ca4d69a9994db http://cgit.osmocom.org/openggsn/commit/?id=5c8b77af2541811c87319af2016f6a25b73ba224 commit 5c8b77af2541811c87319af2016f6a25b73ba224 Author: Harald Welte Date: Sat Aug 12 15:07:02 2017 +0200 Introduce a VTY, factually turning OpenGGSN into an Osmocom program Change-Id: I9613ca3436e77ea132c47f0096df7c5050d7e826 ----------------------------------------------------------------------- Summary of changes: .gitignore | 4 +- AUTHORS | 2 +- README.FreeBSD | 2 +- README.MacOSX | 2 +- README.md | 54 ++++++------ configure.ac | 6 +- debian/changelog | 6 ++ debian/control | 24 +++--- debian/copyright | 14 ++-- debian/{openggsn.init => osmo-ggsn.init} | 18 ++-- debian/rules | 2 +- doc/Compliance.html | 2 +- doc/Makefile.am | 2 +- doc/{ggsn.8 => osmo-ggsn.8} | 137 ++++++------------------------- doc/sgsnemu.8 | 8 +- examples/{ggsn.init => osmo-ggsn.init} | 36 ++++---- ggsn/Makefile.am | 12 +-- ggsn/cmdline.ggo | 38 --------- ggsn/ggsn.c | 6 +- ggsn/ggsn_vty.c | 2 +- gtp/gtp.c | 4 +- gtp/gtp.h | 2 +- gtp/gtpie.c | 2 +- gtp/gtpie.h | 2 +- gtp/pdp.c | 3 +- gtp/pdp.h | 3 +- gtp/queue.c | 3 +- gtp/queue.h | 2 +- libgtp.pc.in | 2 +- openggsn.spec.in => osmo-ggsn.spec.in | 45 +++++----- sgsnemu/cmdline.ggo | 2 +- sgsnemu/sgsnemu.c | 2 +- 32 files changed, 171 insertions(+), 278 deletions(-) rename debian/{openggsn.init => osmo-ggsn.init} (92%) rename doc/{ggsn.8 => osmo-ggsn.8} (62%) rename examples/{ggsn.init => osmo-ggsn.init} (58%) delete mode 100644 ggsn/cmdline.ggo rename openggsn.spec.in => osmo-ggsn.spec.in (58%) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Tue Sep 5 17:55:51 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 5 Sep 2017 17:55:51 GMT Subject: openggsn.git branch laforge/osmo-ggsn updated. 0.94-24-g677ae02 Message-ID: <201709051755.v85HtpnQ010267@git.osmocom.org> 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 OpenGGSN project". The branch, laforge/osmo-ggsn has been updated via 677ae02d74378a3a6f782c3e5258919e28965c36 (commit) via d4826d747c83c0539e2e265977fd87f359ac0ded (commit) from 22db55dec786d8937822963c0a2366ce2ca56731 (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/openggsn/commit/?id=677ae02d74378a3a6f782c3e5258919e28965c36 commit 677ae02d74378a3a6f782c3e5258919e28965c36 Author: Harald Welte Date: Tue Sep 5 17:41:20 2017 +0200 ggsn: Add ability to specify local IP addresses for GTP-C and GTP-U In case the GGSN is behind some kind of DNAT, the public GTP-C and GTP-U IP addresses as exposed inside the GTP payload information elements are different from the (internal, behind-nat) IP address to which it listens/binds. Change-Id: I548c9011c9abd66d46f963b1def61575f3dabb89 http://cgit.osmocom.org/openggsn/commit/?id=d4826d747c83c0539e2e265977fd87f359ac0ded commit d4826d747c83c0539e2e265977fd87f359ac0ded Author: Harald Welte Date: Tue Sep 5 19:22:04 2017 +0200 remove bogus 'version' script Change-Id: I3977cd4777aa4cf37a1d6e21eba0bc37d61421f3 ----------------------------------------------------------------------- Summary of changes: ggsn/ggsn.c | 8 ++++++++ ggsn/ggsn.h | 4 ++++ ggsn/ggsn_vty.c | 42 ++++++++++++++++++++++++++++++++++++++---- version | 24 ------------------------ 4 files changed, 50 insertions(+), 28 deletions(-) delete mode 100755 version hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Tue Sep 5 20:11:54 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 5 Sep 2017 20:11:54 GMT Subject: openggsn.git branch laforge/osmo-ggsn updated. 0.94-23-g13a0c9f Message-ID: <201709052011.v85KBs0j044647@git.osmocom.org> 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 OpenGGSN project". The branch, laforge/osmo-ggsn has been updated discards 677ae02d74378a3a6f782c3e5258919e28965c36 (commit) discards d4826d747c83c0539e2e265977fd87f359ac0ded (commit) discards 22db55dec786d8937822963c0a2366ce2ca56731 (commit) discards c18c52be6fae27b90bff241fea5ebc1c0a617aba (commit) discards 0ea01ca222cf1109e91343156ada05386d5525f3 (commit) discards 26facb39da17b0b11a73ff7415dd0c5ed6b86062 (commit) discards 5c8b77af2541811c87319af2016f6a25b73ba224 (commit) via 13a0c9f3a5c781915d86b43df66db8e8ab0684e4 (commit) via e9ce95f884ca481e164fba2e6cf578accde5dbc7 (commit) via 54973ee801027804099d03bff48da09c545ef7ea (commit) via 6c7e8d33e845399fadf912eafc07093a23eb5318 (commit) via 7e6b86452be8295f4a9428b22153f58be9fd8ed2 (commit) via 11917caa8939df9d3e9178e357d9b2091de64977 (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 (677ae02d74378a3a6f782c3e5258919e28965c36) \ N -- N -- N (13a0c9f3a5c781915d86b43df66db8e8ab0684e4) 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/openggsn/commit/?id=13a0c9f3a5c781915d86b43df66db8e8ab0684e4 commit 13a0c9f3a5c781915d86b43df66db8e8ab0684e4 Author: Harald Welte Date: Tue Sep 5 17:41:20 2017 +0200 ggsn: Add ability to specify local IP addresses for GTP-C and GTP-U In case the GGSN is behind some kind of DNAT, the public GTP-C and GTP-U IP addresses as exposed inside the GTP payload information elements are different from the (internal, behind-nat) IP address to which it listens/binds. Change-Id: I548c9011c9abd66d46f963b1def61575f3dabb89 http://cgit.osmocom.org/openggsn/commit/?id=e9ce95f884ca481e164fba2e6cf578accde5dbc7 commit e9ce95f884ca481e164fba2e6cf578accde5dbc7 Author: Harald Welte Date: Tue Sep 5 19:22:04 2017 +0200 remove bogus 'version' script Change-Id: I3977cd4777aa4cf37a1d6e21eba0bc37d61421f3 http://cgit.osmocom.org/openggsn/commit/?id=54973ee801027804099d03bff48da09c545ef7ea commit 54973ee801027804099d03bff48da09c545ef7ea Author: Harald Welte Date: Tue Sep 5 18:12:14 2017 +0200 Rename OpenGGSN to OsmoGGSN Osmocom has maintained this program since about 7 years now, while the original author / copyright holder has completely disappeared. With the introduction of Osmocom-style CTRL and VTY interfaces, the way how the program is used and configured has substantially changed. In order to avoid confusion in terms of configuration file format etc, let's rename it to OsmoGGSN. Change-Id: I2da30f7d4828e185bfac1a4e2d8414b01cbe4f9d http://cgit.osmocom.org/openggsn/commit/?id=6c7e8d33e845399fadf912eafc07093a23eb5318 commit 6c7e8d33e845399fadf912eafc07093a23eb5318 Author: Harald Welte Date: Sun Aug 20 12:44:21 2017 +0200 ggsn: Handle SIGTERM like SIGINT and terminate Change-Id: I0c8773bd6ef41332b91b5b025aef9ef129af8289 http://cgit.osmocom.org/openggsn/commit/?id=7e6b86452be8295f4a9428b22153f58be9fd8ed2 commit 7e6b86452be8295f4a9428b22153f58be9fd8ed2 Author: Harald Welte Date: Sat Aug 12 20:01:59 2017 +0200 Documentation update: Remove NEWS, README.Solaris, update README.md * README.Solaris is obsolete and related code has been removed * NEWS file was unmaintained for more than a decade, remove it * Remove "Performance" chapter about 550MHz Athlon * gengetopt is no longer needed for ggsn * remove compilation/installation instructions horribly out of date * command line syntax of 'ggsn' program has changed Change-Id: I45d627911503c7b733cae6a1396ca4d69a9994db http://cgit.osmocom.org/openggsn/commit/?id=11917caa8939df9d3e9178e357d9b2091de64977 commit 11917caa8939df9d3e9178e357d9b2091de64977 Author: Harald Welte Date: Sat Aug 12 15:07:02 2017 +0200 Introduce a VTY, factually turning OpenGGSN into an Osmocom program Change-Id: I9613ca3436e77ea132c47f0096df7c5050d7e826 ----------------------------------------------------------------------- Summary of changes: doc/osmo-ggsn.8 | 22 +++++++++------------- ggsn/ggsn.c | 49 ++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 57 insertions(+), 14 deletions(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Tue Sep 5 20:26:56 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 5 Sep 2017 20:26:56 GMT Subject: openggsn.git branch laforge/osmo-ggsn updated. 0.94-24-gb825e46 Message-ID: <201709052026.v85KQuLl048838@git.osmocom.org> 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 OpenGGSN project". The branch, laforge/osmo-ggsn has been updated discards 13a0c9f3a5c781915d86b43df66db8e8ab0684e4 (commit) discards e9ce95f884ca481e164fba2e6cf578accde5dbc7 (commit) discards 54973ee801027804099d03bff48da09c545ef7ea (commit) discards 6c7e8d33e845399fadf912eafc07093a23eb5318 (commit) discards 7e6b86452be8295f4a9428b22153f58be9fd8ed2 (commit) discards 11917caa8939df9d3e9178e357d9b2091de64977 (commit) via b825e462137813c1ebd5f1982a86a230f221d6be (commit) via 1bd3a9f25ec7b6b4aee6405431102f3d1c2a1031 (commit) via e9e45ac7c7f34ccd16c77bf9821d1eeb39c89feb (commit) via c0a1ccfce9df9815a62971aeb180d898a708027d (commit) via 0db4fff415d4b65802c4fccd3a94974ef06b6d47 (commit) via b2209a8204daae27cf687d75e4d3416f5f354ef6 (commit) via 5a66713c9767683bbf6e95a7d94a7acda717a13d (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 (13a0c9f3a5c781915d86b43df66db8e8ab0684e4) \ N -- N -- N (b825e462137813c1ebd5f1982a86a230f221d6be) 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/openggsn/commit/?id=b825e462137813c1ebd5f1982a86a230f221d6be commit b825e462137813c1ebd5f1982a86a230f221d6be Author: Harald Welte Date: Tue Sep 5 17:41:20 2017 +0200 ggsn: Add ability to specify local IP addresses for GTP-C and GTP-U In case the GGSN is behind some kind of DNAT, the public GTP-C and GTP-U IP addresses as exposed inside the GTP payload information elements are different from the (internal, behind-nat) IP address to which it listens/binds. Change-Id: I548c9011c9abd66d46f963b1def61575f3dabb89 http://cgit.osmocom.org/openggsn/commit/?id=1bd3a9f25ec7b6b4aee6405431102f3d1c2a1031 commit 1bd3a9f25ec7b6b4aee6405431102f3d1c2a1031 Author: Harald Welte Date: Tue Sep 5 22:24:45 2017 +0200 Move examples to doc/examples and include them in DIST Change-Id: I0846e21ac63774939934ab629c6d7212269be9a6 http://cgit.osmocom.org/openggsn/commit/?id=e9e45ac7c7f34ccd16c77bf9821d1eeb39c89feb commit e9e45ac7c7f34ccd16c77bf9821d1eeb39c89feb Author: Harald Welte Date: Tue Sep 5 19:22:04 2017 +0200 remove bogus 'version' script Change-Id: I3977cd4777aa4cf37a1d6e21eba0bc37d61421f3 http://cgit.osmocom.org/openggsn/commit/?id=c0a1ccfce9df9815a62971aeb180d898a708027d commit c0a1ccfce9df9815a62971aeb180d898a708027d Author: Harald Welte Date: Tue Sep 5 18:12:14 2017 +0200 Rename OpenGGSN to OsmoGGSN Osmocom has maintained this program since about 7 years now, while the original author / copyright holder has completely disappeared. With the introduction of Osmocom-style CTRL and VTY interfaces, the way how the program is used and configured has substantially changed. In order to avoid confusion in terms of configuration file format etc, let's rename it to OsmoGGSN. Change-Id: I2da30f7d4828e185bfac1a4e2d8414b01cbe4f9d http://cgit.osmocom.org/openggsn/commit/?id=0db4fff415d4b65802c4fccd3a94974ef06b6d47 commit 0db4fff415d4b65802c4fccd3a94974ef06b6d47 Author: Harald Welte Date: Sun Aug 20 12:44:21 2017 +0200 ggsn: Handle SIGTERM like SIGINT and terminate Change-Id: I0c8773bd6ef41332b91b5b025aef9ef129af8289 http://cgit.osmocom.org/openggsn/commit/?id=b2209a8204daae27cf687d75e4d3416f5f354ef6 commit b2209a8204daae27cf687d75e4d3416f5f354ef6 Author: Harald Welte Date: Sat Aug 12 20:01:59 2017 +0200 Documentation update: Remove NEWS, README.Solaris, update README.md * README.Solaris is obsolete and related code has been removed * NEWS file was unmaintained for more than a decade, remove it * Remove "Performance" chapter about 550MHz Athlon * gengetopt is no longer needed for ggsn * remove compilation/installation instructions horribly out of date * command line syntax of 'ggsn' program has changed Change-Id: I45d627911503c7b733cae6a1396ca4d69a9994db http://cgit.osmocom.org/openggsn/commit/?id=5a66713c9767683bbf6e95a7d94a7acda717a13d commit 5a66713c9767683bbf6e95a7d94a7acda717a13d Author: Harald Welte Date: Sat Aug 12 15:07:02 2017 +0200 Introduce a VTY, factually turning OpenGGSN into an Osmocom program Change-Id: I9613ca3436e77ea132c47f0096df7c5050d7e826 ----------------------------------------------------------------------- Summary of changes: .gitignore | 2 +- configure.ac | 1 + {examples => contrib}/osmo-ggsn.init | 0 debian/openggsn.examples | 2 - debian/osmo-ggsn.examples | 2 + debian/{openggsn.install => osmo-ggsn.install} | 2 +- doc/Makefile.am | 5 +- doc/examples/Makefile.am | 22 ++++++ {examples => doc/examples}/firewall | 0 doc/examples/osmo-ggsn.cfg | 71 ++++++++++++++++++++ {examples => doc/examples}/sgsnemu.conf | 0 examples/ggsn.conf | 92 -------------------------- 12 files changed, 101 insertions(+), 98 deletions(-) rename {examples => contrib}/osmo-ggsn.init (100%) delete mode 100644 debian/openggsn.examples create mode 100644 debian/osmo-ggsn.examples rename debian/{openggsn.install => osmo-ggsn.install} (67%) create mode 100644 doc/examples/Makefile.am rename {examples => doc/examples}/firewall (100%) create mode 100644 doc/examples/osmo-ggsn.cfg rename {examples => doc/examples}/sgsnemu.conf (100%) delete mode 100644 examples/ggsn.conf hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Tue Sep 5 20:36:03 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 5 Sep 2017 20:36:03 GMT Subject: openggsn.git branch laforge/osmo-ggsn updated. 0.94-25-g7cc6062 Message-ID: <201709052036.v85Ka3vr051392@git.osmocom.org> 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 OpenGGSN project". The branch, laforge/osmo-ggsn has been updated discards b825e462137813c1ebd5f1982a86a230f221d6be (commit) discards 1bd3a9f25ec7b6b4aee6405431102f3d1c2a1031 (commit) discards e9e45ac7c7f34ccd16c77bf9821d1eeb39c89feb (commit) discards c0a1ccfce9df9815a62971aeb180d898a708027d (commit) discards 0db4fff415d4b65802c4fccd3a94974ef06b6d47 (commit) discards b2209a8204daae27cf687d75e4d3416f5f354ef6 (commit) discards 5a66713c9767683bbf6e95a7d94a7acda717a13d (commit) discards 7e180c7aa56ef780804b468ed31f75166cc94712 (commit) discards 0377be3db8174dae8e2ab1294b6c081b28174382 (commit) discards ac62cd420ab2640420b984e9313fa2f8095a3e83 (commit) discards 8dd0ea27e3635f59497982d771fa5953c3651fd6 (commit) discards 31443209570686cdd16a180954d25325506801ff (commit) discards 046637847f72fd6db5b89b69ab012f4eabad4ca7 (commit) discards db6acca813b37fd1d64032b95bdfcb2f9c60d86f (commit) discards f56d8479e2215b61be01042e5c671f9a7d7a109e (commit) discards 677b12b5cdc660243401f57a685d8dfecb9a2ae4 (commit) discards 3f095921ec6294e9489b6178b9c49edbb09edd63 (commit) discards a2b8bfea62e61ec32665494d1e4ae11605c788d5 (commit) discards 78f30d25e6370a43225463bad09762fa2bb74cc2 (commit) discards a6296a36a9e7cff4cf999264f2b758b7c6248732 (commit) via 7cc60624859e62674f159940a75266e6a6b0748a (commit) via caa27d97cc2b98eaf7a972149df98551ebcf9995 (commit) via 8a2c7f9ac09d2f21ea21c2c8b8177e3c04dbc17f (commit) via 68b699c846124e7b189c2e39f74cac2cb8fedd85 (commit) via 474e6d24847179189cb500d04a8aecc8ea83cfc8 (commit) via 4babd637831cb41c3593ce7e5b02197dbcda8822 (commit) via 6d55820e34261767534512526497897c98b26214 (commit) via 9a2af4fdeaaaf11f6522a9406d3ddf1b91cd4c64 (commit) via 6f01f9f4a648b2d9500e2b2a64eccd3914579bf2 (commit) via 44a9ddc1b2dca1a0fff6ea318750339fa824064f (commit) via 228f4632f9ac55b5ce33b32d6d08a1f027e8c380 (commit) via d05182ee11a05b8e106abe8583bf550f8bd3fbe0 (commit) via 2bf88e86d67f4a54ed31f1467c3e434f335558f7 (commit) via 18fca89d11f2ba7b14c31e3d21dcf4b2803a9043 (commit) via c71f9591606ad77413f20353594a9992892d2a95 (commit) via c7b14a0252f470d2fab76e9d6594ede1c196e40a (commit) via a61924d770739d16224f04f9e4535dcde37bfa25 (commit) via 4725fdf5478f288674efe177c05883987c0c2d2d (commit) via 4bc0bd19bd405bdb34fc40e7654d4e8fc8751000 (commit) via a248b54a19fa297eb3f1bf426e2fb653feddefb9 (commit) via 6ac2d024dc506cfb78156814b70f30467bacd843 (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 (b825e462137813c1ebd5f1982a86a230f221d6be) \ N -- N -- N (7cc60624859e62674f159940a75266e6a6b0748a) 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/openggsn/commit/?id=7cc60624859e62674f159940a75266e6a6b0748a commit 7cc60624859e62674f159940a75266e6a6b0748a Author: Harald Welte Date: Tue Sep 5 17:41:20 2017 +0200 ggsn: Add ability to specify local IP addresses for GTP-C and GTP-U In case the GGSN is behind some kind of DNAT, the public GTP-C and GTP-U IP addresses as exposed inside the GTP payload information elements are different from the (internal, behind-nat) IP address to which it listens/binds. Change-Id: I548c9011c9abd66d46f963b1def61575f3dabb89 http://cgit.osmocom.org/openggsn/commit/?id=caa27d97cc2b98eaf7a972149df98551ebcf9995 commit caa27d97cc2b98eaf7a972149df98551ebcf9995 Author: Harald Welte Date: Tue Sep 5 22:24:45 2017 +0200 Move examples to doc/examples and include them in DIST Change-Id: I0846e21ac63774939934ab629c6d7212269be9a6 http://cgit.osmocom.org/openggsn/commit/?id=8a2c7f9ac09d2f21ea21c2c8b8177e3c04dbc17f commit 8a2c7f9ac09d2f21ea21c2c8b8177e3c04dbc17f Author: Harald Welte Date: Tue Sep 5 19:22:04 2017 +0200 remove bogus 'version' script Change-Id: I3977cd4777aa4cf37a1d6e21eba0bc37d61421f3 http://cgit.osmocom.org/openggsn/commit/?id=68b699c846124e7b189c2e39f74cac2cb8fedd85 commit 68b699c846124e7b189c2e39f74cac2cb8fedd85 Author: Harald Welte Date: Tue Sep 5 18:12:14 2017 +0200 Rename OpenGGSN to OsmoGGSN Osmocom has maintained this program since about 7 years now, while the original author / copyright holder has completely disappeared. With the introduction of Osmocom-style CTRL and VTY interfaces, the way how the program is used and configured has substantially changed. In order to avoid confusion in terms of configuration file format etc, let's rename it to OsmoGGSN. Change-Id: I2da30f7d4828e185bfac1a4e2d8414b01cbe4f9d http://cgit.osmocom.org/openggsn/commit/?id=474e6d24847179189cb500d04a8aecc8ea83cfc8 commit 474e6d24847179189cb500d04a8aecc8ea83cfc8 Author: Harald Welte Date: Sun Aug 20 12:44:21 2017 +0200 ggsn: Handle SIGTERM like SIGINT and terminate Change-Id: I0c8773bd6ef41332b91b5b025aef9ef129af8289 http://cgit.osmocom.org/openggsn/commit/?id=4babd637831cb41c3593ce7e5b02197dbcda8822 commit 4babd637831cb41c3593ce7e5b02197dbcda8822 Author: Harald Welte Date: Sat Aug 12 20:01:59 2017 +0200 Documentation update: Remove NEWS, README.Solaris, update README.md * README.Solaris is obsolete and related code has been removed * NEWS file was unmaintained for more than a decade, remove it * Remove "Performance" chapter about 550MHz Athlon * gengetopt is no longer needed for ggsn * remove compilation/installation instructions horribly out of date * command line syntax of 'ggsn' program has changed Change-Id: I45d627911503c7b733cae6a1396ca4d69a9994db http://cgit.osmocom.org/openggsn/commit/?id=6d55820e34261767534512526497897c98b26214 commit 6d55820e34261767534512526497897c98b26214 Author: Harald Welte Date: Sat Aug 12 15:07:02 2017 +0200 Introduce a VTY, factually turning OpenGGSN into an Osmocom program Change-Id: I9613ca3436e77ea132c47f0096df7c5050d7e826 http://cgit.osmocom.org/openggsn/commit/?id=9a2af4fdeaaaf11f6522a9406d3ddf1b91cd4c64 commit 9a2af4fdeaaaf11f6522a9406d3ddf1b91cd4c64 Author: Harald Welte Date: Sat Aug 12 16:38:44 2017 +0200 lib/tun: Mark internal helper functions 'static' Change-Id: I53a8a89abb0080a39a153e9d3864c17b29aa193c http://cgit.osmocom.org/openggsn/commit/?id=6f01f9f4a648b2d9500e2b2a64eccd3914579bf2 commit 6f01f9f4a648b2d9500e2b2a64eccd3914579bf2 Author: Harald Welte Date: Sat Aug 12 16:18:12 2017 +0200 Remove __sun__ code that is unmaintained We haven nobody maintaining this platform, let's remove it. In fact, only Linux and FreeBSD are part of the jenkins build tests, so even Apple/MacOS is up for disposal. However, as it's more popular, let's keep the code. Change-Id: Id6b8179259bacade52c39f96e688f828eff164ac http://cgit.osmocom.org/openggsn/commit/?id=44a9ddc1b2dca1a0fff6ea318750339fa824064f commit 44a9ddc1b2dca1a0fff6ea318750339fa824064f Author: Harald Welte Date: Sat Aug 12 14:55:09 2017 +0200 libgtp: Add back-reference to gsn from pdp context This is required once one wants to support multiple GSNs in a single application. WARNING: This breaks ABI compatibility, LIBVERSION must be adjusted Change-Id: I68ae49a765828fa681054c68bf7f5e74dbe48ad2 http://cgit.osmocom.org/openggsn/commit/?id=228f4632f9ac55b5ce33b32d6d08a1f027e8c380 commit 228f4632f9ac55b5ce33b32d6d08a1f027e8c380 Author: Harald Welte Date: Sat Aug 12 14:52:45 2017 +0200 libgtp: Remove ctrl_handle from gsn_t, replace with private context The control interface handle never belonged into libgtp in the first place. Commit 727417dd28813c697b4820aef9f54f249e30c4b8 should not have added this to the shared library (used by sgsnemu, osmo-sgsn, ...), but to some private state of the GGSN. Introducing a private context pointer at the same location will keep ABI compatibilty. Change-Id: I4f17516dae3e04114564828a3e5f6e2ea54212a5 http://cgit.osmocom.org/openggsn/commit/?id=d05182ee11a05b8e106abe8583bf550f8bd3fbe0 commit d05182ee11a05b8e106abe8583bf550f8bd3fbe0 Author: Harald Welte Date: Sat Aug 12 15:06:19 2017 +0200 lib/tun.c: Proper cleanup during tun_new() error paths Change-Id: I285be20df76774ac7258b6edb3d4f2d28703757d http://cgit.osmocom.org/openggsn/commit/?id=2bf88e86d67f4a54ed31f1467c3e434f335558f7 commit 2bf88e86d67f4a54ed31f1467c3e434f335558f7 Author: Harald Welte Date: Sat Aug 12 12:55:04 2017 +0200 lib/ippool: Move ippool_aton() out of ippool_new() we rather pass the in46_prefix directly into ippool_new() Change-Id: Iadf6274e881a9bfc75eb41f9380f5ae2d8c92a0f http://cgit.osmocom.org/openggsn/commit/?id=18fca89d11f2ba7b14c31e3d21dcf4b2803a9043 commit 18fca89d11f2ba7b14c31e3d21dcf4b2803a9043 Author: Harald Welte Date: Sat Aug 12 12:46:39 2017 +0200 lib/ippool: Add back-pointer from pool member to pool This allows us to remove pool members without having to keep a pointer to the pool around. Change-Id: I9042eb85989c5451d7894678eca110dd19e78002 http://cgit.osmocom.org/openggsn/commit/?id=c71f9591606ad77413f20353594a9992892d2a95 commit c71f9591606ad77413f20353594a9992892d2a95 Author: Harald Welte Date: Sat Aug 12 14:54:28 2017 +0200 lib/in46_addr: Avoid ASSERT() when in46a_ntop() is called on uninitialized address Change-Id: I42d41ec1370b9cc15d372b649d8e1bc78e76af9b http://cgit.osmocom.org/openggsn/commit/?id=c7b14a0252f470d2fab76e9d6594ede1c196e40a commit c7b14a0252f470d2fab76e9d6594ede1c196e40a Author: Harald Welte Date: Sat Aug 12 12:55:48 2017 +0200 lib/in46_addr: Add 'struct in46_prefix' to represent addr + prefix Change-Id: I797d105117e81951732bcfc2cc26a8d00fd69443 http://cgit.osmocom.org/openggsn/commit/?id=a61924d770739d16224f04f9e4535dcde37bfa25 commit a61924d770739d16224f04f9e4535dcde37bfa25 Author: Harald Welte Date: Sat Aug 12 12:46:17 2017 +0200 lib/in46_addr: Add in46a_ntoa() function, similar to inet_ntoa() Change-Id: I752b7033a106a74dc219047da5c3a7ad3cd3602e http://cgit.osmocom.org/openggsn/commit/?id=4725fdf5478f288674efe177c05883987c0c2d2d commit 4725fdf5478f288674efe177c05883987c0c2d2d Author: Harald Welte Date: Sat Aug 12 14:56:10 2017 +0200 lib/tun: Add 'void *priv' pointer to tun_t This allows the application to attach some private state to the tun device, such as the context from which it was created/allocated Change-Id: Ief43b9b5fab5830fa8e28362c795f88f0b4d353b http://cgit.osmocom.org/openggsn/commit/?id=4bc0bd19bd405bdb34fc40e7654d4e8fc8751000 commit 4bc0bd19bd405bdb34fc40e7654d4e8fc8751000 Author: Harald Welte Date: Sat Aug 12 15:09:08 2017 +0200 lib/tun: Add missing #include to net/if.h for IFNAMSIZ Change-Id: I979867d643c9fa912884fe55105333dbad39ab97 http://cgit.osmocom.org/openggsn/commit/?id=a248b54a19fa297eb3f1bf426e2fb653feddefb9 commit a248b54a19fa297eb3f1bf426e2fb653feddefb9 Author: Harald Welte Date: Sat Aug 12 14:52:15 2017 +0200 gtp-kernel: Remove dependency to cmdline.[ch] Change-Id: I760f25df609c309eba4d5716f3e23b49320449bf http://cgit.osmocom.org/openggsn/commit/?id=6ac2d024dc506cfb78156814b70f30467bacd843 commit 6ac2d024dc506cfb78156814b70f30467bacd843 Author: Harald Welte Date: Tue Sep 5 22:35:10 2017 +0200 update jenkins.sh to conform with current build environment Change-Id: I999d35cdffbdb61984da15d616f675005aa0688c ----------------------------------------------------------------------- Summary of changes: contrib/jenkins.sh | 42 ++++++++++++++++++++++++++++++------------ debian/osmo-ggsn.examples | 4 ++-- 2 files changed, 32 insertions(+), 14 deletions(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Tue Sep 5 20:45:16 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 5 Sep 2017 20:45:16 GMT Subject: openggsn.git branch laforge/osmo-ggsn updated. 0.94-29-gadfaa57 Message-ID: <201709052045.v85KjG93053877@git.osmocom.org> 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 OpenGGSN project". The branch, laforge/osmo-ggsn has been updated discards 7cc60624859e62674f159940a75266e6a6b0748a (commit) discards caa27d97cc2b98eaf7a972149df98551ebcf9995 (commit) discards 8a2c7f9ac09d2f21ea21c2c8b8177e3c04dbc17f (commit) discards 68b699c846124e7b189c2e39f74cac2cb8fedd85 (commit) discards 474e6d24847179189cb500d04a8aecc8ea83cfc8 (commit) discards 4babd637831cb41c3593ce7e5b02197dbcda8822 (commit) discards 6d55820e34261767534512526497897c98b26214 (commit) discards 9a2af4fdeaaaf11f6522a9406d3ddf1b91cd4c64 (commit) discards 6f01f9f4a648b2d9500e2b2a64eccd3914579bf2 (commit) discards 44a9ddc1b2dca1a0fff6ea318750339fa824064f (commit) discards 228f4632f9ac55b5ce33b32d6d08a1f027e8c380 (commit) discards d05182ee11a05b8e106abe8583bf550f8bd3fbe0 (commit) discards 2bf88e86d67f4a54ed31f1467c3e434f335558f7 (commit) discards 18fca89d11f2ba7b14c31e3d21dcf4b2803a9043 (commit) discards c71f9591606ad77413f20353594a9992892d2a95 (commit) discards c7b14a0252f470d2fab76e9d6594ede1c196e40a (commit) discards a61924d770739d16224f04f9e4535dcde37bfa25 (commit) discards 4725fdf5478f288674efe177c05883987c0c2d2d (commit) discards 4bc0bd19bd405bdb34fc40e7654d4e8fc8751000 (commit) discards a248b54a19fa297eb3f1bf426e2fb653feddefb9 (commit) discards 6ac2d024dc506cfb78156814b70f30467bacd843 (commit) via adfaa57b536bc59f3a03e0e92ebea4f3d6f6fe83 (commit) via 76bd17bba01eaeabc2ba689ec651714fc6754fa7 (commit) via 9fc286883d4a5e49889b1a2cc701509a3573317a (commit) via 017c52378cd4d6035f29bfcadbd10c95856ee0e0 (commit) via 11cede413a1e9efa666cf6082db48a68cd79dc65 (commit) via 624f288b4fd12648029431a1321cb1fd4dea7af0 (commit) via c9f4f37dd44d75c9753a7ea1714499825ead5590 (commit) via 4d72643edec29397f834eab4ed3c88c366de13eb (commit) via f4ae46616f6ed016a6eed16ff9b65761c05158cd (commit) via c034e81bfed11e2f392e299a2413e9bf95009af1 (commit) via d5bd58192403d2e76528a34c5da16d98bcc56db7 (commit) via 9e6dfa05580777a728ec42f2bf4bfaf9994e776a (commit) via 4857f3c2f39a12da1fc984dd65cbda9a3028ac03 (commit) via b513b951bdd9a7bb2d55a0d77fe7e3403448d2dd (commit) via 33520b43ec662e9544e64f794261976bd517fa23 (commit) via 7fc8694b976da8afdeeecc4779bcce08f354ee7d (commit) via b62983d3c3dc7e0f4c5ebbf014a9e02527868cfd (commit) via 881e97ed00070a0e68382cf86a0e8ea87f6d3cb3 (commit) via c55ece8d91d8fd3382e8b775897d21d25e4018b5 (commit) via 8ffd7fc782a17ffdbd755f1292c7840655c65ce6 (commit) via e57cbe2e743c402d6e657c693c9ad30d3a99aa1d (commit) via 0ab62fe0811f6a4cf8f50c5e70908fa3935951c7 (commit) via bdc504e29c267af29c10a04aa8afcdfbd6daea22 (commit) via b87da75ae4c2a373abe0d43381e8b333f6bd81d4 (commit) via 14b1b63710163f1dce0ae34ebe49bf94c845bd51 (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 (7cc60624859e62674f159940a75266e6a6b0748a) \ N -- N -- N (adfaa57b536bc59f3a03e0e92ebea4f3d6f6fe83) 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/openggsn/commit/?id=adfaa57b536bc59f3a03e0e92ebea4f3d6f6fe83 commit adfaa57b536bc59f3a03e0e92ebea4f3d6f6fe83 Author: Harald Welte Date: Tue Sep 5 17:41:20 2017 +0200 ggsn: Add ability to specify local IP addresses for GTP-C and GTP-U In case the GGSN is behind some kind of DNAT, the public GTP-C and GTP-U IP addresses as exposed inside the GTP payload information elements are different from the (internal, behind-nat) IP address to which it listens/binds. Change-Id: I548c9011c9abd66d46f963b1def61575f3dabb89 http://cgit.osmocom.org/openggsn/commit/?id=76bd17bba01eaeabc2ba689ec651714fc6754fa7 commit 76bd17bba01eaeabc2ba689ec651714fc6754fa7 Author: Harald Welte Date: Tue Sep 5 22:24:45 2017 +0200 Move examples to doc/examples and include them in DIST Change-Id: I0846e21ac63774939934ab629c6d7212269be9a6 http://cgit.osmocom.org/openggsn/commit/?id=9fc286883d4a5e49889b1a2cc701509a3573317a commit 9fc286883d4a5e49889b1a2cc701509a3573317a Author: Harald Welte Date: Tue Sep 5 19:22:04 2017 +0200 remove bogus 'version' script Change-Id: I3977cd4777aa4cf37a1d6e21eba0bc37d61421f3 http://cgit.osmocom.org/openggsn/commit/?id=017c52378cd4d6035f29bfcadbd10c95856ee0e0 commit 017c52378cd4d6035f29bfcadbd10c95856ee0e0 Author: Harald Welte Date: Tue Sep 5 18:12:14 2017 +0200 Rename OpenGGSN to OsmoGGSN Osmocom has maintained this program since about 7 years now, while the original author / copyright holder has completely disappeared. With the introduction of Osmocom-style CTRL and VTY interfaces, the way how the program is used and configured has substantially changed. In order to avoid confusion in terms of configuration file format etc, let's rename it to OsmoGGSN. Change-Id: I2da30f7d4828e185bfac1a4e2d8414b01cbe4f9d http://cgit.osmocom.org/openggsn/commit/?id=11cede413a1e9efa666cf6082db48a68cd79dc65 commit 11cede413a1e9efa666cf6082db48a68cd79dc65 Author: Harald Welte Date: Sun Aug 20 12:44:21 2017 +0200 ggsn: Handle SIGTERM like SIGINT and terminate Change-Id: I0c8773bd6ef41332b91b5b025aef9ef129af8289 http://cgit.osmocom.org/openggsn/commit/?id=624f288b4fd12648029431a1321cb1fd4dea7af0 commit 624f288b4fd12648029431a1321cb1fd4dea7af0 Author: Harald Welte Date: Sat Aug 12 20:01:59 2017 +0200 Documentation update: Remove NEWS, README.Solaris, update README.md * README.Solaris is obsolete and related code has been removed * NEWS file was unmaintained for more than a decade, remove it * Remove "Performance" chapter about 550MHz Athlon * gengetopt is no longer needed for ggsn * remove compilation/installation instructions horribly out of date * command line syntax of 'ggsn' program has changed Change-Id: I45d627911503c7b733cae6a1396ca4d69a9994db http://cgit.osmocom.org/openggsn/commit/?id=c9f4f37dd44d75c9753a7ea1714499825ead5590 commit c9f4f37dd44d75c9753a7ea1714499825ead5590 Author: Harald Welte Date: Sat Aug 12 15:07:02 2017 +0200 Introduce a VTY, factually turning OpenGGSN into an Osmocom program Change-Id: I9613ca3436e77ea132c47f0096df7c5050d7e826 http://cgit.osmocom.org/openggsn/commit/?id=4d72643edec29397f834eab4ed3c88c366de13eb commit 4d72643edec29397f834eab4ed3c88c366de13eb Author: Harald Welte Date: Sat Aug 12 16:38:44 2017 +0200 lib/tun: Mark internal helper functions 'static' Change-Id: I53a8a89abb0080a39a153e9d3864c17b29aa193c http://cgit.osmocom.org/openggsn/commit/?id=f4ae46616f6ed016a6eed16ff9b65761c05158cd commit f4ae46616f6ed016a6eed16ff9b65761c05158cd Author: Harald Welte Date: Sat Aug 12 16:18:12 2017 +0200 Remove __sun__ code that is unmaintained We haven nobody maintaining this platform, let's remove it. In fact, only Linux and FreeBSD are part of the jenkins build tests, so even Apple/MacOS is up for disposal. However, as it's more popular, let's keep the code. Change-Id: Id6b8179259bacade52c39f96e688f828eff164ac http://cgit.osmocom.org/openggsn/commit/?id=c034e81bfed11e2f392e299a2413e9bf95009af1 commit c034e81bfed11e2f392e299a2413e9bf95009af1 Author: Harald Welte Date: Sat Aug 12 14:55:09 2017 +0200 libgtp: Add back-reference to gsn from pdp context This is required once one wants to support multiple GSNs in a single application. WARNING: This breaks ABI compatibility, LIBVERSION must be adjusted Change-Id: I68ae49a765828fa681054c68bf7f5e74dbe48ad2 http://cgit.osmocom.org/openggsn/commit/?id=d5bd58192403d2e76528a34c5da16d98bcc56db7 commit d5bd58192403d2e76528a34c5da16d98bcc56db7 Author: Harald Welte Date: Sat Aug 12 14:52:45 2017 +0200 libgtp: Remove ctrl_handle from gsn_t, replace with private context The control interface handle never belonged into libgtp in the first place. Commit 727417dd28813c697b4820aef9f54f249e30c4b8 should not have added this to the shared library (used by sgsnemu, osmo-sgsn, ...), but to some private state of the GGSN. Introducing a private context pointer at the same location will keep ABI compatibilty. Change-Id: I4f17516dae3e04114564828a3e5f6e2ea54212a5 http://cgit.osmocom.org/openggsn/commit/?id=9e6dfa05580777a728ec42f2bf4bfaf9994e776a commit 9e6dfa05580777a728ec42f2bf4bfaf9994e776a Author: Harald Welte Date: Sat Aug 12 15:06:19 2017 +0200 lib/tun.c: Proper cleanup during tun_new() error paths Change-Id: I285be20df76774ac7258b6edb3d4f2d28703757d http://cgit.osmocom.org/openggsn/commit/?id=4857f3c2f39a12da1fc984dd65cbda9a3028ac03 commit 4857f3c2f39a12da1fc984dd65cbda9a3028ac03 Author: Harald Welte Date: Sat Aug 12 12:55:04 2017 +0200 lib/ippool: Move ippool_aton() out of ippool_new() we rather pass the in46_prefix directly into ippool_new() Change-Id: Iadf6274e881a9bfc75eb41f9380f5ae2d8c92a0f http://cgit.osmocom.org/openggsn/commit/?id=b513b951bdd9a7bb2d55a0d77fe7e3403448d2dd commit b513b951bdd9a7bb2d55a0d77fe7e3403448d2dd Author: Harald Welte Date: Sat Aug 12 12:46:39 2017 +0200 lib/ippool: Add back-pointer from pool member to pool This allows us to remove pool members without having to keep a pointer to the pool around. Change-Id: I9042eb85989c5451d7894678eca110dd19e78002 http://cgit.osmocom.org/openggsn/commit/?id=33520b43ec662e9544e64f794261976bd517fa23 commit 33520b43ec662e9544e64f794261976bd517fa23 Author: Harald Welte Date: Sat Aug 12 14:54:28 2017 +0200 lib/in46_addr: Avoid ASSERT() when in46a_ntop() is called on uninitialized address Change-Id: I42d41ec1370b9cc15d372b649d8e1bc78e76af9b http://cgit.osmocom.org/openggsn/commit/?id=7fc8694b976da8afdeeecc4779bcce08f354ee7d commit 7fc8694b976da8afdeeecc4779bcce08f354ee7d Author: Harald Welte Date: Sat Aug 12 12:55:48 2017 +0200 lib/in46_addr: Add 'struct in46_prefix' to represent addr + prefix Change-Id: I797d105117e81951732bcfc2cc26a8d00fd69443 http://cgit.osmocom.org/openggsn/commit/?id=b62983d3c3dc7e0f4c5ebbf014a9e02527868cfd commit b62983d3c3dc7e0f4c5ebbf014a9e02527868cfd Author: Harald Welte Date: Sat Aug 12 12:46:17 2017 +0200 lib/in46_addr: Add in46a_ntoa() function, similar to inet_ntoa() Change-Id: I752b7033a106a74dc219047da5c3a7ad3cd3602e http://cgit.osmocom.org/openggsn/commit/?id=881e97ed00070a0e68382cf86a0e8ea87f6d3cb3 commit 881e97ed00070a0e68382cf86a0e8ea87f6d3cb3 Author: Harald Welte Date: Sat Aug 12 14:56:10 2017 +0200 lib/tun: Add 'void *priv' pointer to tun_t This allows the application to attach some private state to the tun device, such as the context from which it was created/allocated Change-Id: Ief43b9b5fab5830fa8e28362c795f88f0b4d353b http://cgit.osmocom.org/openggsn/commit/?id=c55ece8d91d8fd3382e8b775897d21d25e4018b5 commit c55ece8d91d8fd3382e8b775897d21d25e4018b5 Author: Harald Welte Date: Sat Aug 12 15:09:08 2017 +0200 lib/tun: Add missing #include to net/if.h for IFNAMSIZ Change-Id: I979867d643c9fa912884fe55105333dbad39ab97 http://cgit.osmocom.org/openggsn/commit/?id=8ffd7fc782a17ffdbd755f1292c7840655c65ce6 commit 8ffd7fc782a17ffdbd755f1292c7840655c65ce6 Author: Harald Welte Date: Sat Aug 12 14:52:15 2017 +0200 gtp-kernel: Remove dependency to cmdline.[ch] Change-Id: I760f25df609c309eba4d5716f3e23b49320449bf http://cgit.osmocom.org/openggsn/commit/?id=e57cbe2e743c402d6e657c693c9ad30d3a99aa1d commit e57cbe2e743c402d6e657c693c9ad30d3a99aa1d Author: Harald Welte Date: Tue Sep 5 22:35:10 2017 +0200 update jenkins.sh to conform with current build environment Change-Id: I999d35cdffbdb61984da15d616f675005aa0688c ----------------------------------------------------------------------- Summary of changes: Makefile.am | 2 ++ TODO-RELEASE | 9 +++++++++ configure.ac | 4 ++++ debian/changelog | 4 ++-- ggsn/ggsn.c | 4 ++-- gtp/gtp.c | 17 +++++++---------- 6 files changed, 26 insertions(+), 14 deletions(-) create mode 100644 TODO-RELEASE hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Tue Sep 5 20:48:11 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 5 Sep 2017 20:48:11 GMT Subject: op25.git branch max updated. 04b16056dffbe2871e4d0b870d118029acb757da Message-ID: <201709052048.v85KmBXT056709@git.osmocom.org> 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 "Software-defined analyzer for APCO P25". The branch, max has been updated via 04b16056dffbe2871e4d0b870d118029acb757da (commit) via 93b19531ee0942d4a589bb3e7345e28f1f578759 (commit) from 187f5d180cfd89edc38fa0e7df484e811dbd96c3 (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/op25/commit/?id=04b16056dffbe2871e4d0b870d118029acb757da commit 04b16056dffbe2871e4d0b870d118029acb757da Author: Max Date: Tue Sep 5 16:47:45 2017 -0400 possible fix for compiler errors http://cgit.osmocom.org/op25/commit/?id=93b19531ee0942d4a589bb3e7345e28f1f578759 commit 93b19531ee0942d4a589bb3e7345e28f1f578759 Author: Max Date: Tue Sep 5 16:42:55 2017 -0400 big patch from Graham - many thx ----------------------------------------------------------------------- Summary of changes: op25/gr-op25_repeater/apps/README | 37 +++++++-------- op25/gr-op25_repeater/apps/gr_gnuplot.py | 53 +++++++++++++++------- op25/gr-op25_repeater/apps/rx.py | 47 ++++++++++++------- op25/gr-op25_repeater/apps/trunking.py | 29 +++++++++--- .../gr-op25_repeater/lib/imbe_vocoder/pitch_est.cc | 2 +- .../lib/p25_frame_assembler_impl.cc | 1 + op25/gr-op25_repeater/lib/p25p1_fdma.cc | 7 +++ op25/gr-op25_repeater/lib/p25p1_fdma.h | 1 + op25/gr-op25_repeater/lib/p25p2_tdma.cc | 13 +++++- 9 files changed, 130 insertions(+), 60 deletions(-) hooks/post-receive -- Software-defined analyzer for APCO P25 From gitosis at osmocom.org Tue Sep 5 20:59:22 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 5 Sep 2017 20:59:22 GMT Subject: openggsn.git branch master updated. 0.94-9-ge57cbe2 Message-ID: <201709052059.v85KxMRa062899@git.osmocom.org> 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 OpenGGSN project". The branch, master has been updated via e57cbe2e743c402d6e657c693c9ad30d3a99aa1d (commit) from 0ab62fe0811f6a4cf8f50c5e70908fa3935951c7 (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: contrib/jenkins.sh | 44 +++++++++++++++++++++++++++++++------------- 1 file changed, 31 insertions(+), 13 deletions(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Tue Sep 5 21:06:18 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 5 Sep 2017 21:06:18 GMT Subject: openggsn.git branch master updated. 0.94-18-g9e6dfa0 Message-ID: <201709052106.v85L6Idr066049@git.osmocom.org> 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 OpenGGSN project". The branch, master has been updated via 9e6dfa05580777a728ec42f2bf4bfaf9994e776a (commit) via 4857f3c2f39a12da1fc984dd65cbda9a3028ac03 (commit) via b513b951bdd9a7bb2d55a0d77fe7e3403448d2dd (commit) via 33520b43ec662e9544e64f794261976bd517fa23 (commit) via 7fc8694b976da8afdeeecc4779bcce08f354ee7d (commit) via b62983d3c3dc7e0f4c5ebbf014a9e02527868cfd (commit) via 881e97ed00070a0e68382cf86a0e8ea87f6d3cb3 (commit) via c55ece8d91d8fd3382e8b775897d21d25e4018b5 (commit) via 8ffd7fc782a17ffdbd755f1292c7840655c65ce6 (commit) from e57cbe2e743c402d6e657c693c9ad30d3a99aa1d (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: ggsn/ggsn.c | 29 +++++++++++++++++------------ ggsn/gtp-kernel.c | 13 ++++--------- ggsn/gtp-kernel.h | 14 ++++---------- lib/in46_addr.c | 26 +++++++++++++++++++++++++- lib/in46_addr.h | 7 +++++++ lib/ippool.c | 30 +++++++++++++----------------- lib/ippool.h | 5 +++-- lib/tun.c | 45 ++++++++++++++++++++++++++++++++------------- lib/tun.h | 4 ++++ 9 files changed, 109 insertions(+), 64 deletions(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Tue Sep 5 21:17:29 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 5 Sep 2017 21:17:29 GMT Subject: openggsn.git branch master updated. 0.94-19-g8a03ea8 Message-ID: <201709052117.v85LHTJG070067@git.osmocom.org> 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 OpenGGSN project". The branch, master has been updated via 8a03ea8a326bb60cae3400076660ee08911bb9b1 (commit) from 9e6dfa05580777a728ec42f2bf4bfaf9994e776a (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/openggsn/commit/?id=8a03ea8a326bb60cae3400076660ee08911bb9b1 commit 8a03ea8a326bb60cae3400076660ee08911bb9b1 Author: Harald Welte Date: Sat Aug 12 14:52:45 2017 +0200 libgtp: Remove ctrl_handle from gsn_t, replace with private context The control interface handle never belonged into libgtp in the first place. Commit 727417dd28813c697b4820aef9f54f249e30c4b8 should not have added this to the shared library (used by sgsnemu, osmo-sgsn, ...), but to some private state of the GGSN. Introducing a private context pointer at the same location will keep ABI compatibilty. Change-Id: I4f17516dae3e04114564828a3e5f6e2ea54212a5 ----------------------------------------------------------------------- Summary of changes: ggsn/ggsn.c | 6 +++--- gtp/gtp.h | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Tue Sep 5 21:23:24 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 5 Sep 2017 21:23:24 GMT Subject: openggsn.git branch master updated. 0.94-22-g2778ae2 Message-ID: <201709052123.v85LNOcM072573@git.osmocom.org> 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 OpenGGSN project". The branch, master has been updated via 2778ae2b8f7780fd0bebb520aa0900b5418aad93 (commit) via 1b6e8e7b5e5adeddebb0a7c241b65306900a2668 (commit) via e257be1d6974abddb56602fe2d844924bc736d0c (commit) from 8a03ea8a326bb60cae3400076660ee08911bb9b1 (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/openggsn/commit/?id=2778ae2b8f7780fd0bebb520aa0900b5418aad93 commit 2778ae2b8f7780fd0bebb520aa0900b5418aad93 Author: Harald Welte Date: Sat Aug 12 16:38:44 2017 +0200 lib/tun: Mark internal helper functions 'static' Change-Id: I53a8a89abb0080a39a153e9d3864c17b29aa193c http://cgit.osmocom.org/openggsn/commit/?id=1b6e8e7b5e5adeddebb0a7c241b65306900a2668 commit 1b6e8e7b5e5adeddebb0a7c241b65306900a2668 Author: Harald Welte Date: Sat Aug 12 16:18:12 2017 +0200 Remove __sun__ code that is unmaintained We haven nobody maintaining this platform, let's remove it. In fact, only Linux and FreeBSD are part of the jenkins build tests, so even Apple/MacOS is up for disposal. However, as it's more popular, let's keep the code. Change-Id: Id6b8179259bacade52c39f96e688f828eff164ac http://cgit.osmocom.org/openggsn/commit/?id=e257be1d6974abddb56602fe2d844924bc736d0c commit e257be1d6974abddb56602fe2d844924bc736d0c Author: Harald Welte Date: Sat Aug 12 14:55:09 2017 +0200 libgtp: Add back-reference to gsn from pdp context This is required once one wants to support multiple GSNs in a single application. WARNING: This breaks ABI compatibility, LIBVERSION must be adjusted Change-Id: I68ae49a765828fa681054c68bf7f5e74dbe48ad2 ----------------------------------------------------------------------- Summary of changes: gtp/gtp.c | 8 +- gtp/pdp.h | 4 + lib/tun.c | 265 +----------------------------------------------------- sgsnemu/sgsnemu.c | 5 -- 4 files changed, 14 insertions(+), 268 deletions(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Tue Sep 5 21:36:12 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 5 Sep 2017 21:36:12 GMT Subject: openggsn.git branch laforge/non-root deleted. 0.93-8-g4af8934 Message-ID: <201709052136.v85LaCG2076504@git.osmocom.org> 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 OpenGGSN project". The branch, laforge/non-root has been deleted was 4af8934487c9b227e4ee67b666abd0affb0cdce5 ----------------------------------------------------------------------- 4af8934487c9b227e4ee67b666abd0affb0cdce5 WIP: Allow GGSN to run as non-root ----------------------------------------------------------------------- hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 07:53:43 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 07:53:43 GMT Subject: osmo-ggsn.git branch laforge/osmo-ggsn updated. 0.94-29-gf00b86b Message-ID: <201709060753.v867rhnd047255@git.osmocom.org> 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 OpenGGSN project". The branch, laforge/osmo-ggsn has been updated discards adfaa57b536bc59f3a03e0e92ebea4f3d6f6fe83 (commit) discards 76bd17bba01eaeabc2ba689ec651714fc6754fa7 (commit) discards 9fc286883d4a5e49889b1a2cc701509a3573317a (commit) discards 017c52378cd4d6035f29bfcadbd10c95856ee0e0 (commit) discards 11cede413a1e9efa666cf6082db48a68cd79dc65 (commit) discards 624f288b4fd12648029431a1321cb1fd4dea7af0 (commit) discards c9f4f37dd44d75c9753a7ea1714499825ead5590 (commit) discards 4d72643edec29397f834eab4ed3c88c366de13eb (commit) discards f4ae46616f6ed016a6eed16ff9b65761c05158cd (commit) discards c034e81bfed11e2f392e299a2413e9bf95009af1 (commit) discards d5bd58192403d2e76528a34c5da16d98bcc56db7 (commit) via f00b86ba6735e1adc7c6944c661d650224b2daee (commit) via 292ff1e648f6941b9f652fc134bb01ebd9592772 (commit) via af50323ae3d0a5e6d33fc4770ef8755f47eabb4d (commit) via 395e7c727fe57bb1baa4832d0a9da5482e6376bb (commit) via f667e7ea72172d282b4374bc6008754dcd12303f (commit) via 13895b61d61365c8bb931c976cfae6c485ad1e2b (commit) via a4d44f84efb271fe8a6edb2a086e6dd9353270d2 (commit) via 2778ae2b8f7780fd0bebb520aa0900b5418aad93 (commit) via 1b6e8e7b5e5adeddebb0a7c241b65306900a2668 (commit) via e257be1d6974abddb56602fe2d844924bc736d0c (commit) via 8a03ea8a326bb60cae3400076660ee08911bb9b1 (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 (adfaa57b536bc59f3a03e0e92ebea4f3d6f6fe83) \ N -- N -- N (f00b86ba6735e1adc7c6944c661d650224b2daee) 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-ggsn/commit/?id=f00b86ba6735e1adc7c6944c661d650224b2daee commit f00b86ba6735e1adc7c6944c661d650224b2daee Author: Harald Welte Date: Tue Sep 5 17:41:20 2017 +0200 ggsn: Add ability to specify local IP addresses for GTP-C and GTP-U In case the GGSN is behind some kind of DNAT, the public GTP-C and GTP-U IP addresses as exposed inside the GTP payload information elements are different from the (internal, behind-nat) IP address to which it listens/binds. Change-Id: I548c9011c9abd66d46f963b1def61575f3dabb89 http://cgit.osmocom.org/osmo-ggsn/commit/?id=292ff1e648f6941b9f652fc134bb01ebd9592772 commit 292ff1e648f6941b9f652fc134bb01ebd9592772 Author: Harald Welte Date: Tue Sep 5 22:24:45 2017 +0200 Move examples to doc/examples and include them in DIST Change-Id: I0846e21ac63774939934ab629c6d7212269be9a6 http://cgit.osmocom.org/osmo-ggsn/commit/?id=af50323ae3d0a5e6d33fc4770ef8755f47eabb4d commit af50323ae3d0a5e6d33fc4770ef8755f47eabb4d Author: Harald Welte Date: Tue Sep 5 19:22:04 2017 +0200 remove bogus 'version' script Change-Id: I3977cd4777aa4cf37a1d6e21eba0bc37d61421f3 http://cgit.osmocom.org/osmo-ggsn/commit/?id=395e7c727fe57bb1baa4832d0a9da5482e6376bb commit 395e7c727fe57bb1baa4832d0a9da5482e6376bb Author: Harald Welte Date: Tue Sep 5 18:12:14 2017 +0200 Rename OpenGGSN to OsmoGGSN Osmocom has maintained this program since about 7 years now, while the original author / copyright holder has completely disappeared. With the introduction of Osmocom-style CTRL and VTY interfaces, the way how the program is used and configured has substantially changed. In order to avoid confusion in terms of configuration file format etc, let's rename it to OsmoGGSN. Change-Id: I2da30f7d4828e185bfac1a4e2d8414b01cbe4f9d http://cgit.osmocom.org/osmo-ggsn/commit/?id=f667e7ea72172d282b4374bc6008754dcd12303f commit f667e7ea72172d282b4374bc6008754dcd12303f Author: Harald Welte Date: Sun Aug 20 12:44:21 2017 +0200 ggsn: Handle SIGTERM like SIGINT and terminate Change-Id: I0c8773bd6ef41332b91b5b025aef9ef129af8289 http://cgit.osmocom.org/osmo-ggsn/commit/?id=13895b61d61365c8bb931c976cfae6c485ad1e2b commit 13895b61d61365c8bb931c976cfae6c485ad1e2b Author: Harald Welte Date: Sat Aug 12 20:01:59 2017 +0200 Documentation update: Remove NEWS, README.Solaris, update README.md * README.Solaris is obsolete and related code has been removed * NEWS file was unmaintained for more than a decade, remove it * Remove "Performance" chapter about 550MHz Athlon * gengetopt is no longer needed for ggsn * remove compilation/installation instructions horribly out of date * command line syntax of 'ggsn' program has changed Change-Id: I45d627911503c7b733cae6a1396ca4d69a9994db http://cgit.osmocom.org/osmo-ggsn/commit/?id=a4d44f84efb271fe8a6edb2a086e6dd9353270d2 commit a4d44f84efb271fe8a6edb2a086e6dd9353270d2 Author: Harald Welte Date: Sat Aug 12 15:07:02 2017 +0200 Introduce a VTY, factually turning OpenGGSN into an Osmocom program Change-Id: I9613ca3436e77ea132c47f0096df7c5050d7e826 ----------------------------------------------------------------------- Summary of changes: hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 07:53:43 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 07:53:43 GMT Subject: osmo-ggsn.git branch master updated. 0.94-28-gce316f4 Message-ID: <201709060753.v867rha2047306@git.osmocom.org> 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 OpenGGSN project". The branch, master has been updated via ce316f4962f14a48aa06df2d250f23e0ce23fc3a (commit) via 59ffc89d42be8458557592c79a4e9e5eb3a0b37d (commit) via 632e843e5f694ba258e716a7f0e0ceb39055f303 (commit) via e80494726c5b36caef58a5999251613453d9e2f0 (commit) via 3591437e0f868d597782fbed64de0eac18340028 (commit) via dda21ed7d4a897c9284c69175d0da598598eae40 (commit) from 2778ae2b8f7780fd0bebb520aa0900b5418aad93 (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-ggsn/commit/?id=ce316f4962f14a48aa06df2d250f23e0ce23fc3a commit ce316f4962f14a48aa06df2d250f23e0ce23fc3a Author: Harald Welte Date: Tue Sep 5 22:24:45 2017 +0200 Move examples to doc/examples and include them in DIST Change-Id: I0846e21ac63774939934ab629c6d7212269be9a6 http://cgit.osmocom.org/osmo-ggsn/commit/?id=59ffc89d42be8458557592c79a4e9e5eb3a0b37d commit 59ffc89d42be8458557592c79a4e9e5eb3a0b37d Author: Harald Welte Date: Tue Sep 5 19:22:04 2017 +0200 remove bogus 'version' script Change-Id: I3977cd4777aa4cf37a1d6e21eba0bc37d61421f3 http://cgit.osmocom.org/osmo-ggsn/commit/?id=632e843e5f694ba258e716a7f0e0ceb39055f303 commit 632e843e5f694ba258e716a7f0e0ceb39055f303 Author: Harald Welte Date: Tue Sep 5 18:12:14 2017 +0200 Rename OpenGGSN to OsmoGGSN Osmocom has maintained this program since about 7 years now, while the original author / copyright holder has completely disappeared. With the introduction of Osmocom-style CTRL and VTY interfaces, the way how the program is used and configured has substantially changed. In order to avoid confusion in terms of configuration file format etc, let's rename it to OsmoGGSN. Change-Id: I2da30f7d4828e185bfac1a4e2d8414b01cbe4f9d http://cgit.osmocom.org/osmo-ggsn/commit/?id=e80494726c5b36caef58a5999251613453d9e2f0 commit e80494726c5b36caef58a5999251613453d9e2f0 Author: Harald Welte Date: Sun Aug 20 12:44:21 2017 +0200 ggsn: Handle SIGTERM like SIGINT and terminate Change-Id: I0c8773bd6ef41332b91b5b025aef9ef129af8289 http://cgit.osmocom.org/osmo-ggsn/commit/?id=3591437e0f868d597782fbed64de0eac18340028 commit 3591437e0f868d597782fbed64de0eac18340028 Author: Harald Welte Date: Sat Aug 12 20:01:59 2017 +0200 Documentation update: Remove NEWS, README.Solaris, update README.md * README.Solaris is obsolete and related code has been removed * NEWS file was unmaintained for more than a decade, remove it * Remove "Performance" chapter about 550MHz Athlon * gengetopt is no longer needed for ggsn * remove compilation/installation instructions horribly out of date * command line syntax of 'ggsn' program has changed Change-Id: I45d627911503c7b733cae6a1396ca4d69a9994db http://cgit.osmocom.org/osmo-ggsn/commit/?id=dda21ed7d4a897c9284c69175d0da598598eae40 commit dda21ed7d4a897c9284c69175d0da598598eae40 Author: Harald Welte Date: Sat Aug 12 15:07:02 2017 +0200 Introduce a VTY, factually turning OpenGGSN into an Osmocom program Change-Id: I9613ca3436e77ea132c47f0096df7c5050d7e826 ----------------------------------------------------------------------- Summary of changes: .gitignore | 6 +- AUTHORS | 2 +- Makefile.am | 2 +- NEWS | 78 -- README.FreeBSD | 2 +- README.MacOSX | 2 +- README.Solaris | 41 - README.md | 174 +--- configure.ac | 7 +- examples/ggsn.init => contrib/osmo-ggsn.init | 36 +- debian/changelog | 6 + debian/control | 24 +- debian/copyright | 14 +- debian/openggsn.examples | 2 - debian/osmo-ggsn.examples | 2 + debian/{openggsn.init => osmo-ggsn.init} | 18 +- debian/{openggsn.install => osmo-ggsn.install} | 2 +- debian/rules | 2 +- doc/Compliance.html | 2 +- doc/Makefile.am | 7 +- doc/examples/Makefile.am | 22 + {examples => doc/examples}/firewall | 0 doc/examples/osmo-ggsn.cfg | 71 ++ {examples => doc/examples}/sgsnemu.conf | 0 doc/{ggsn.8 => osmo-ggsn.8} | 155 +--- doc/sgsnemu.8 | 8 +- examples/ggsn.conf | 92 -- ggsn/Makefile.am | 16 +- ggsn/cmdline.c | 1162 ------------------------ ggsn/cmdline.ggo | 38 - ggsn/cmdline.h | 275 ------ ggsn/ggsn.c | 1016 +++++++++++---------- ggsn/ggsn.h | 133 +++ ggsn/ggsn_vty.c | 890 ++++++++++++++++++ gtp/gtp.c | 4 +- gtp/gtp.h | 2 +- gtp/gtpie.c | 2 +- gtp/gtpie.h | 2 +- gtp/pdp.c | 3 +- gtp/pdp.h | 3 +- gtp/queue.c | 3 +- gtp/queue.h | 2 +- lib/tun.c | 4 +- lib/tun.h | 2 +- libgtp.pc.in | 2 +- openggsn.spec.in => osmo-ggsn.spec.in | 45 +- sgsnemu/cmdline.ggo | 2 +- sgsnemu/sgsnemu.c | 4 +- version | 24 - 49 files changed, 1844 insertions(+), 2567 deletions(-) delete mode 100644 NEWS delete mode 100644 README.Solaris rename examples/ggsn.init => contrib/osmo-ggsn.init (58%) delete mode 100644 debian/openggsn.examples create mode 100644 debian/osmo-ggsn.examples rename debian/{openggsn.init => osmo-ggsn.init} (92%) rename debian/{openggsn.install => osmo-ggsn.install} (67%) create mode 100644 doc/examples/Makefile.am rename {examples => doc/examples}/firewall (100%) create mode 100644 doc/examples/osmo-ggsn.cfg rename {examples => doc/examples}/sgsnemu.conf (100%) rename doc/{ggsn.8 => osmo-ggsn.8} (57%) delete mode 100644 examples/ggsn.conf delete mode 100644 ggsn/cmdline.c delete mode 100644 ggsn/cmdline.ggo delete mode 100644 ggsn/cmdline.h create mode 100644 ggsn/ggsn.h create mode 100644 ggsn/ggsn_vty.c rename openggsn.spec.in => osmo-ggsn.spec.in (58%) delete mode 100755 version hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 07:56:05 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 07:56:05 GMT Subject: osmo-ggsn.git branch origin deleted. 9f26b95f3036f7a89f4c229ca34e77f4099fcd79 Message-ID: <201709060756.v867u5lA048111@git.osmocom.org> 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 OpenGGSN project". The branch, origin has been deleted was 9f26b95f3036f7a89f4c229ca34e77f4099fcd79 ----------------------------------------------------------------------- 9f26b95f3036f7a89f4c229ca34e77f4099fcd79 Fixed APN bug ----------------------------------------------------------------------- hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 07:56:05 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 07:56:05 GMT Subject: osmo-ggsn.git branch osmo-ggsn deleted. 3f58223436f1b91591e9faff0dbc8b20ad2f2eb6 Message-ID: <201709060756.v867u5kQ048124@git.osmocom.org> 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 OpenGGSN project". The branch, osmo-ggsn has been deleted was 3f58223436f1b91591e9faff0dbc8b20ad2f2eb6 ----------------------------------------------------------------------- 3f58223436f1b91591e9faff0dbc8b20ad2f2eb6 ggsn: add support for GTP kernel data encapsulation ----------------------------------------------------------------------- hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 07:56:06 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 07:56:06 GMT Subject: osmo-ggsn.git branch zecke/ancient/debian6.0 deleted. dcbcba0501a64a8d3a6e55f818f4441d064012bd Message-ID: <201709060756.v867u6Xg048136@git.osmocom.org> 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 OpenGGSN project". The branch, zecke/ancient/debian6.0 has been deleted was dcbcba0501a64a8d3a6e55f818f4441d064012bd ----------------------------------------------------------------------- dcbcba0501a64a8d3a6e55f818f4441d064012bd debian: Make a backport for Debian6.0 ----------------------------------------------------------------------- hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 07:56:06 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 07:56:06 GMT Subject: osmo-ggsn.git annotated tag 0.91 deleted. 17ec4f5a48774707b9c36afb00cf07da2fcb8f93 Message-ID: <201709060756.v867u6Us048151@git.osmocom.org> 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 OpenGGSN project". The annotated tag, 0.91 has been deleted was 17ec4f5a48774707b9c36afb00cf07da2fcb8f93 ----------------------------------------------------------------------- tag 0.91 tag the 0.91 release which contains the libgtp as needed by OsmoSGSN -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBMc48PXaXGVTD0i/8RAjxVAJ43ep8iuZgyo3UhRqMwJS+DqUOGjQCfVdy5 8LJ3Lc4zE9CYgRB3qnYjHE8= =XyUV -----END PGP SIGNATURE----- 76f044da09370c9de6e7a5d6a58df3b4163bd3f3 bump version number to 0.91 ----------------------------------------------------------------------- hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 07:56:06 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 07:56:06 GMT Subject: osmo-ggsn.git annotated tag 0.90 deleted. 3053ac5f061458f3ff67c5fb9bae8e74324980e6 Message-ID: <201709060756.v867u66E048163@git.osmocom.org> 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 OpenGGSN project". The annotated tag, 0.90 has been deleted was 3053ac5f061458f3ff67c5fb9bae8e74324980e6 ----------------------------------------------------------------------- tag 0.90 Release openggsn v0.90 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBL+kDYXaXGVTD0i/8RAkE/AJ4m6yucdRuLYWW4hLpiZWRN8d5lmQCglBJZ OufIEmRV9YxDoATdzsRbJko= =JiiO -----END PGP SIGNATURE----- 47122e78fc0d7f79cc98afbd864a61cc71fab8c5 Bump version number to 0.90 ----------------------------------------------------------------------- hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 07:56:07 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 07:56:07 GMT Subject: osmo-ggsn.git annotated tag 0.93 deleted. 14f67eeba6342a382f38a86118cbd7015d8f4ce0 Message-ID: <201709060756.v867u7q6048175@git.osmocom.org> 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 OpenGGSN project". The annotated tag, 0.93 has been deleted was 14f67eeba6342a382f38a86118cbd7015d8f4ce0 ----------------------------------------------------------------------- tag 0.93 tag v0.93 for fixed GTPv1 in Linux Kernel GTP-U support -----BEGIN PGP SIGNATURE----- iQJJBAABCAAzFiEEigrqmUioHHGhfemTShB5H1XkRJYFAlivTAQVHGxhZm9yZ2VA Z251bW9ua3Mub3JnAAoJEEoQeR9V5ESWa3EP/jbIdMCMzSQ13DoL0f29azVruR5n FZ3dFGvBhSCls+8ITmQ51yPvirWbrAzHKP3xZj+3Qu6XwQD6celUB/leLio6wABM j4TRYQ37A+vRtwzfkZMMmHpbAb/pBnWv9IVsQRKlngGvw6QjEcS61Up1DUloEDl5 njlBzOm2dwrwPnSaAhJ5dZ2YIOe8Cd0d6P3hqx8dBlaxVAiXsJeRdpv7AVbXtCub pbnaNx+XmD7o6vwYsfzKxL1xK4CEif+ryh77tV/92PcWRxecs/Yu1gv0kzINSQrc gpKs0goLuMU5SIIlBb6PK5QlXhrAAqxcknSOMMzE4gjY+KtuKFPdjy4HRkpWpjHR vkLKr3Rf6Qpwa5394/bn8IdxhATfA9ySH3t8GrVhNY2fF4sdEA9REzB2rQizVxIt ZoZrOxmbuUkwGQxxt8xNOhSUJNsqn1EKKdhj9EZ/bBrXk834qGqk3Of1SV6y3sSs oSIHYuGOcnUyxR3ToecS0AoO6con7LdjMbYIWKJfwV6726UH8Trrv3iNuqw/hjIl bO5o2p4HZVUousPwgmqKB8hwHfj8vDLzPkrhSIF31otf7BIwnva2z8aY6Di03sQ5 0TgwoWxlCkwBXt0ssJhMaufYgQ85IvViyH+qGR14+YOlTMM3wV31HcztyEeLK8Jc 8DsltNTNgJgwUyoQ =q7VY -----END PGP SIGNATURE----- 9225bfc48c4bb10bf3f13c7729a6b8a05a935aee update version to 0.93 ----------------------------------------------------------------------- hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 07:56:07 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 07:56:07 GMT Subject: osmo-ggsn.git annotated tag 0.92 deleted. 755de01fb4b2f529834e3ea713c1c4653ad3b966 Message-ID: <201709060756.v867u73h048188@git.osmocom.org> 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 OpenGGSN project". The annotated tag, 0.92 has been deleted was 755de01fb4b2f529834e3ea713c1c4653ad3b966 ----------------------------------------------------------------------- tag 0.92 tag v0.92 for installing gtpie.h -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIVAwUAVk7pNkoQeR9V5ESWAQKYqw//Wc2g4ZbcIua9YoVB1XdQ710t8iYYczs9 xYaVCoWqjE0cqRR4Y4SniJgwCEJat2xzu2sCxtGs3He0mamlK5KCjTX3HvG8Sc2m LxQbXCWOsPnmlD242qg5uAipmZLLnJhfp+XZ8O5KAJQRKD/sL+q9PtqhW7c108WI IiVPsVkcwlDFJJX9xa3t653znZJYwI3v0fXIkVPLy1QVAFWrkRN5UWOOfFzXRQwV NTxsOdZJPYY2a7nOmTZZS8RYiTyzZFrla1WAphV1TzKLe6fketQmv02nXJSMgcab EYlIEu/CvT/FniMRKwn9OL5MlJYXN6AVW+hwWJCsNIYJB+Ua2UvsmPRXUr4Lin+c ru88nOEZo1CWezDCpWhHeQ2sUgPEsTgNJ38pNAWCJuje86yrjNgmeB6MuWovZdnd DHdk/P4l2ARYBJjY1LC0jogorFNnGgANrQO/EOyTbNLUjV/8LNAtHtgmxUNsPwhI zRaZf+sjaB1/ZcfjCLdAsC44rwfBLOndynhXOiXfMvNkTZc+t8P/xxqt/WkDceBR j4NpA1VFfhV4szeqWGo3rl6hBf77h/i7OVSTrvFiL61+TsEmBokU1PPZB79tOQU3 yL/+J6iQuZ3E4HKG5QnD5GzfRdNgwk0c/rDwpfmeKvC/fXWSE8WVqz+pFjVvrtGz 9qlnLwqBHEk= =XFC2 -----END PGP SIGNATURE----- ac0b4f17fe659e106254d2b4dd4d9b662fcf1cfc update version to 0.92 ----------------------------------------------------------------------- hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 07:56:07 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 07:56:07 GMT Subject: osmo-ggsn.git branch debian deleted. 78f5651fd3ee01e9a8e6eb4a9825ba803fbb863f Message-ID: <201709060756.v867u74r048200@git.osmocom.org> 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 OpenGGSN project". The branch, debian has been deleted was 78f5651fd3ee01e9a8e6eb4a9825ba803fbb863f ----------------------------------------------------------------------- 78f5651fd3ee01e9a8e6eb4a9825ba803fbb863f Add dh-autoreconf ----------------------------------------------------------------------- hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 07:56:08 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 07:56:08 GMT Subject: osmo-ggsn.git branch jjako deleted. 4ca20034bc7d8aa1ada12bafb25d4f5479f2bc7f Message-ID: <201709060756.v867u8lb048212@git.osmocom.org> 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 OpenGGSN project". The branch, jjako has been deleted was 4ca20034bc7d8aa1ada12bafb25d4f5479f2bc7f ----------------------------------------------------------------------- 4ca20034bc7d8aa1ada12bafb25d4f5479f2bc7f Initial upload ----------------------------------------------------------------------- hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 07:56:08 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 07:56:08 GMT Subject: osmo-ggsn.git tag 3G_2016_09 deleted. 03dbafb000c88155309dfd67b3bba73f7b389e69 Message-ID: <201709060756.v867u87u048224@git.osmocom.org> 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 OpenGGSN project". The tag, 3G_2016_09 has been deleted was 03dbafb000c88155309dfd67b3bba73f7b389e69 ----------------------------------------------------------------------- 03dbafb000c88155309dfd67b3bba73f7b389e69 Add 'Bearer Control Mode' IE ----------------------------------------------------------------------- hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 07:56:08 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 07:56:08 GMT Subject: osmo-ggsn.git annotated tag 0.94 deleted. c2dfda949eeb4bff8a15fb832301a560d5341457 Message-ID: <201709060756.v867u8u0048236@git.osmocom.org> 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 OpenGGSN project". The annotated tag, 0.94 has been deleted was c2dfda949eeb4bff8a15fb832301a560d5341457 ----------------------------------------------------------------------- tag 0.94 tag 0.94 as first version supporting IPv6 PDP contexts -----BEGIN PGP SIGNATURE----- iQJJBAABCAAzFiEEigrqmUioHHGhfemTShB5H1XkRJYFAlmNmhAVHGxhZm9yZ2VA Z251bW9ua3Mub3JnAAoJEEoQeR9V5ESWr9sP/RUPVirP9Oobg5o6cf/7vw4iZuV7 KucGTwTjm/Vs0lAujHOr09NldmgsxCSlU7G1kLa66W8XSbZ+7/bP4GJZ6Nqj8WDU fjQYW87HLHQeZvRFsgvwYQROqUWBZw0+33rT8dcgLv85V+pMMo9nCXFsEicg91+V lzoOjnTcc79rXy94DLF9fwZNKi04fKCM7pxCugJEmiVOskWPLT0TV0llVeCxpJb4 u22kFNmPyup1YG4wYCbp8x5jYNNr86BhF5cMzdtR7XK2fla4tr217N8vzxlEqLrw UI5Jwa3KHkQ9mqBkKekfcFE9BLPsGFB7VNCfu+JNXBM8LwBalN+W92ZGbyq638JU 2gjYRZyCpikEUI+MS2dkDURThVr4tl3wV9gKngawNTgldwq+v603sMYqH5IWnVCP ZGKwHYZQaOJLZidpMPuucw3AgGt4Sn4y9jHzh5v81ZE7Ci69lYWsu84VLjdvSBtp V2pmikpGc4HCMjX4nUHZT6UXiaKd4QxpV3BaN69dru8cUZcKOAJDcPU9woZoXCK5 Vv3P8/50ryHSRqcQclFkIx8Z443FheMACnlOlwrtjq/yKQH4wnBJItKobdT3I6nM CqRZ27prCjStw1L1eSsMRZD22+S0suKYUqw9KMk6ukN0aAbUvCaRbU4ArEpSR9qL 5hzIHpx6WQ8wpShX =oXXX -----END PGP SIGNATURE----- 23eea1d132120198745dcca32728906d5f05dc5f Use osmocom-style git-version-gen / .version magic ----------------------------------------------------------------------- hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 07:56:08 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 07:56:08 GMT Subject: osmo-ggsn.git branch sysmocom/default-loglevel deleted. 74d7410a684fe28077e45e1da510bf5e32f9b001 Message-ID: <201709060756.v867u8Yw048249@git.osmocom.org> 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 OpenGGSN project". The branch, sysmocom/default-loglevel has been deleted was 74d7410a684fe28077e45e1da510bf5e32f9b001 ----------------------------------------------------------------------- 74d7410a684fe28077e45e1da510bf5e32f9b001 ggsn: Change the default log levels for the logfile ----------------------------------------------------------------------- hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 07:56:09 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 07:56:09 GMT Subject: osmo-ggsn.git branch sysmocom/libosmocore deleted. 6ab58b466aed0a19db59689eb76e252a6b844963 Message-ID: <201709060756.v867u9PS048261@git.osmocom.org> 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 OpenGGSN project". The branch, sysmocom/libosmocore has been deleted was 6ab58b466aed0a19db59689eb76e252a6b844963 ----------------------------------------------------------------------- 6ab58b466aed0a19db59689eb76e252a6b844963 ggsn: Move printf to DEBUGP statements in the ggsn as well ----------------------------------------------------------------------- hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 10:13:03 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 10:13:03 GMT Subject: osmo-ggsn.git branch master updated. 720c93979985f1a79b51695514f96da48589eff3 Message-ID: <201709061013.v86AD3lJ088047@git.osmocom.org> 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 OpenGGSN project". The branch, master has been updated via 720c93979985f1a79b51695514f96da48589eff3 (commit) via 4aa22db1b45e50db3b5826531a0071d062d2d957 (commit) via db08819f85188d6ce721014814f3e0984ee66c42 (commit) via 8fcfe5826987e45d2fee5b5142da4339819122ca (commit) from ce316f4962f14a48aa06df2d250f23e0ce23fc3a (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-ggsn/commit/?id=720c93979985f1a79b51695514f96da48589eff3 commit 720c93979985f1a79b51695514f96da48589eff3 Author: Harald Welte Date: Wed Sep 6 12:11:17 2017 +0200 clarify relationship of OsmoGGSN to OpenGGSN. Change-Id: If0e18fb02a7dcc472f5f5fbfaf53a107382ef7e5 http://cgit.osmocom.org/osmo-ggsn/commit/?id=4aa22db1b45e50db3b5826531a0071d062d2d957 commit 4aa22db1b45e50db3b5826531a0071d062d2d957 Author: Harald Welte Date: Wed Sep 6 10:27:19 2017 +0200 debian: fix name of config file Change-Id: I9e563d41b74c334fd98bb71fad946e93f214fa34 http://cgit.osmocom.org/osmo-ggsn/commit/?id=db08819f85188d6ce721014814f3e0984ee66c42 commit db08819f85188d6ce721014814f3e0984ee66c42 Author: Harald Welte Date: Wed Sep 6 10:18:17 2017 +0200 debian: Remove no longer existing NEWS file from 'docs' Change-Id: Ieb319ea29179ed97d746e13a9e63b3ceea2b917a http://cgit.osmocom.org/osmo-ggsn/commit/?id=8fcfe5826987e45d2fee5b5142da4339819122ca commit 8fcfe5826987e45d2fee5b5142da4339819122ca Author: Harald Welte Date: Wed Sep 6 09:58:19 2017 +0200 debian: Fix debian/copyright syntax Change-Id: I819ca05440cca041f26e7800821f4763f887c08b ----------------------------------------------------------------------- Summary of changes: README.md | 4 ++-- debian/copyright | 10 +++++----- debian/docs | 1 - debian/osmo-ggsn.examples | 2 +- 4 files changed, 8 insertions(+), 9 deletions(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 10:13:22 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 10:13:22 GMT Subject: osmo-ci.git branch master updated. b258f0cfc897d66e8d46478a6d6920a527f969b5 Message-ID: <201709061013.v86ADMY2088151@git.osmocom.org> 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 "CI scripts". The branch, master has been updated via b258f0cfc897d66e8d46478a6d6920a527f969b5 (commit) via f73c1c50f06d011b150a8ce6dc0e0db793d40f5a (commit) from 6cbb843fa317b96efa137298636f645ae2d76316 (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-ci/commit/?id=b258f0cfc897d66e8d46478a6d6920a527f969b5 commit b258f0cfc897d66e8d46478a6d6920a527f969b5 Author: Harald Welte Date: Wed Sep 6 10:55:52 2017 +0200 build both openggsn (old) and osmo-ggsn (new) in nightly feeds Change-Id: I310c6237ce5ec34e4cc008123a5219d5cadaf7a3 http://cgit.osmocom.org/osmo-ci/commit/?id=f73c1c50f06d011b150a8ce6dc0e0db793d40f5a commit f73c1c50f06d011b150a8ce6dc0e0db793d40f5a Author: Harald Welte Date: Wed Sep 6 09:31:32 2017 +0200 change from openggsn to osmo-ggsn in nightly nitb-split packages Change-Id: Ie0d6d39ad0451733f6577844737f63028d087d8e ----------------------------------------------------------------------- Summary of changes: scripts/osmocom-nightly-nitb-split.sh | 4 ++-- scripts/osmocom-nightly-packages.sh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) hooks/post-receive -- CI scripts From gitosis at osmocom.org Wed Sep 6 10:23:48 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 10:23:48 GMT Subject: osmo-ggsn.git annotated tag 1.0.0 created. 1.0.0 Message-ID: <201709061023.v86ANmDB091265@git.osmocom.org> 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 OpenGGSN project". The annotated tag, 1.0.0 has been created at f9c8fda6546f3cc1198c7e729999e734ea70f1b6 (tag) tagging b5b02c2a513b46143179494d2ba156f27c7adcd1 (commit) tagged by Harald Welte on Wed Sep 6 12:23:15 2017 +0200 - Log ----------------------------------------------------------------- Release v1.0.0 on 2017-09-06 -----BEGIN PGP SIGNATURE----- iQJJBAABCAAzFiEEigrqmUioHHGhfemTShB5H1XkRJYFAlmvzJQVHGxhZm9yZ2VA Z251bW9ua3Mub3JnAAoJEEoQeR9V5ESWQ+8P/i9fBA6GaOpD+CsfcAb5FDzseXps eFHba/Sq1PVMS/TP3z0tBzBp9SjBBv+HAcb7TAPpfFA563Y7RRJuwleYiIYYUrQi SVXppNXXFwGvPqeVmLLgQKOE5ZzS+DlnFJP7xCOvrpNH1ixwxNLZZbuuRQXMeRGz Vja7scfYco9GEkUgMJiHghW8w5apMoh7t+rflZWAclxGDs2RmVEzoJcUPfd4kkSm RCwn4vIFtiza1gUWIWK9CFFxDbAG9WWObgMAXU4JX44rQYYhuTujr3Mn9KaK9nuo 87XGqzNT54LHnwg24/zY0ySaC7dojjp/MWlqd+Zlp0Nwk+AfVUhPIvUNKR3Vw9EA VeDU9Zgnw/iy7sPKcBBwQKIt1PlZRezRTt+40xeuw9NovLKXA5t7OQ0xe8bLJ4h5 hhlX8XOE65UOf7H+i1cw3T3yCcBVEu6OpDdG4pU/G+rAbWGAU4YVrKTgxAU3WZtO hGdaKXBJQGRUVU7WLEXBssKsiibwmleBLhH49AY53OmbDxKvq71w6tCDGdv8p5Jt CVAvLXDWEse3GkKqUa9VOpnI2KvDko22oYXlM9badhqkCOU+4W4CkX3Uxv8FPpdr dZkiLh9oL20jc7561G9UR+xzJnz4lUjzw3YfBkElCxbq8nMke7hcTzd/xjyygo1/ 1Z6WEtvkshPxp3k8 =jMsb -----END PGP SIGNATURE----- Alexander Couzens (1): gtp/queue/queue_seqdel(): fix element check which was always true Alexander Huemer (3): configure.in -> configure.ac fix some format specifiers Makefile.am: define ACLOCAL_AMFLAGS, include directory m4 Andreas Schultz (3): convert literal APN name to protocol encoded version before use ggsn: update gpt-kernel logging to libosmocore ggsn: fix autotool pkg-config invokation BJovke (1): Add 'Bearer Control Mode' IE Daniel Willmann (5): openggsn.service: Add Install section to systemd service file gtp: Pass pdp along when calling gtp_req() in gtp_update_context() gtp: Make gtp_update_pdp_conf() work for gtp0 and gtp1 connections gtp: Handle gtpv1 in gtp_update_pdp_conf() correctly contrib: Start openggsn after networking Emmanuel Bretelle (8): Fix warning on unused fscanf return code Fixed compile warning,exit if cant daemonize Fixe compilation warning Move common sgsnemu/ggsn files to directory "lib" Set tun devname to IFNAMESIZ+1 to avoid warning Do not exceed 80 characters per line fixed compilation warning against gcc-4.4 IFNAMSIZ includes terminating 0 Eric Butler (2): Debian package updates. Fix init script in debian package. Harald Welte (91): remove autotools-generated files add .gitignore file for autoconf-generated stuff remove config.h.in and ltmain.sh as it is autogenerated, too [SECURITY] Fix GTPIE parsing DoS Fix GGSN signal handling GGSN: Fix select() error case, we need to FD_ZERO() again Fix various compiler warnings throughout the code add compiler-generated output to .gitignore GGSN: free the ippool memory before exit Use newer gengetopt which also frees memory sgsnemu: delete pdp context - teardown must be before NSAPI [libgtp] add comments with references to the GTP specification sections [libgtp] Fix GTPIE parsing segfault on 64bit architectures fix 'make distcheck': add lookup.h to Makefile.am Bump version number to 0.90 Extend 'struct pdp_t' with a void *priv pointer for application use bump version number to 0.91 import debian packaging info debian: libgtp has architecture 'any' not 'all' debian: add init script for OpenGGSN libgtp: introduce cb_recovery() callback debian: update to source format git properly build a library for the content of the lib directory remove autotools-generated INSTALL file debian packaging: add missing openggsn.install file debian: add openggsn example config files Add optional RAI Field optionally do not send recovery with sgsnemu Convert all code to Linux coding style GTP: use socklen_t where appropriate configure: use AM_SILENT_RULES when available queue: use %p format string when printing a pointer queue: mark non-public functions as static queue: Add some more comments throughout the code (doxygen style) queue: fix copy+paste mistake in debug statements GTP: don't use magic numbers for T3-REQUESTS and N3-REQUEST update version to 0.92 gtp.c: Improve debug statements about GTP header flags gtp-kernel: Fix tunnel creation/removal for GTP Version 1 gtp.c: Don't print ""Unknown packet flags" error message in get_seq() update version to 0.93 remove ChangeLog, it hasn't been updated since 2004 Update AUTHORS file to reflect the last 12 years Add MAkefile.* to EXTRA_DIST to ensure they end up in tarballs Update README with general project information + convert to Markdown track README.md rename in spec file and debian/docs Proper fix for "Force Dynamic IP" in Create PDP CTX ippool: Add IPv6 support to IP pool implementation lib/tun.h: Remove non-endian-safe redefinition of IP header ippool_new(): const-ify input arguments IPv6 support for user IP ggsn: Send proper errors in create_context_ind() in46_addr: Add new function in46a_prefix_equal() ippool: Extend pool to work with /64 prefixes IPv6: Implement IPv6 prefix assignment via ICMPv6 router advertisement IPv6: Support PCO for IPv6 DNS addresses IPv6: in46_addr: OSMO_ASSERT() in case of unsupported calls Support setting TUN device IPv6 address + prefix replace hand-coded tun_gifindex() with standard POSIX if_nametoindex() tun_new(): Fix array overflow in FreeBSD related code Use osmocom-style git-version-gen / .version magic Properly format IMSI before using it in trap libgtp: Add missing mandatory IEs in GTP Error Indication libgtp: Delete PDP context on receiving GTPv1 Error Indication update debian/changelog to 0.94 + fix pkg-config version update jenkins.sh to conform with current build environment gtp-kernel: Remove dependency to cmdline.[ch] lib/tun: Add missing #include to net/if.h for IFNAMSIZ lib/tun: Add 'void *priv' pointer to tun_t lib/in46_addr: Add in46a_ntoa() function, similar to inet_ntoa() lib/in46_addr: Add 'struct in46_prefix' to represent addr + prefix lib/in46_addr: Avoid ASSERT() when in46a_ntop() is called on uninitialized address lib/ippool: Add back-pointer from pool member to pool lib/ippool: Move ippool_aton() out of ippool_new() lib/tun.c: Proper cleanup during tun_new() error paths libgtp: Remove ctrl_handle from gsn_t, replace with private context libgtp: Add back-reference to gsn from pdp context Remove __sun__ code that is unmaintained lib/tun: Mark internal helper functions 'static' Introduce a VTY, factually turning OpenGGSN into an Osmocom program Documentation update: Remove NEWS, README.Solaris, update README.md ggsn: Handle SIGTERM like SIGINT and terminate Rename OpenGGSN to OsmoGGSN remove bogus 'version' script Move examples to doc/examples and include them in DIST debian: Fix debian/copyright syntax debian: Remove no longer existing NEWS file from 'docs' debian: fix name of config file clarify relationship of OsmoGGSN to OpenGGSN. libgtp: Bump major LIBVERSION for recent API/ABI breakage Bump version: 0.94.34-23e4 ??? 1.0.0 Holger Hans Peter Freyther (38): build: Remove subdir-objects as it breaks make distclean build: Let the system decide where libraries are searched pdp: Mark the data as static as only pdp.c should access this data build: Do not generate a Makefile in the empty src/ directory gtp: Use struct ul16_t/struct ul66_t to avoid compiler warnings in OsmoSGSN systemd: Add a simple ggsn service file systemd: Do not restart when the application exits with 1 cli: Re-generate the cmdline.c/cmdline.h with newer gengetopt cli: Manually patch the generated code to fix compiler warning cli: Introduce a logfile command to log errors to a file gtp: Speculative FreeBSD compile fix for htobe64 debian: Create new changelog entry to please new tools debian: Add dependency for LSB script debian: Modernize/Fix the debian control file debian: Harden and build debug packages debian: Make it a proper git version debian: Attenpt to fix lintian warning on weak-dependency Begin to require libosmocore and libosmovty gtp: Move to using LOGP for logging GTP packages gtp: Kill unused and non public method gtp: Make these regions runtime debuggable syserr: Remove unused error packet logging code logging: Switch to using libosmocore logging for all the code ggsn: Be able to set the log level for the text file ggsn: Remove unused dump/logging method ggsn: Move printf to DEBUGP statements in the ggsn as well lib: Speculatively add libosmocore cflags to the lib debian: Move to multi-arch support debian: Require libosmocore debian: Address lintian warning about -dbg package Dump dead code and never look at it again Revert "Makefile.am: define ACLOCAL_AMFLAGS, include directory m4" Release 0.92 of the GGSN needed for the gtphub gtp: Fix a bunch of compiler warnings when just including gtp.h gtp: Do not leak the restart counter file handle in case of error jenkins: Add the build script from jenkins here debian: Bump the version to ease upgrading from Debian abi/debian: Bump ABI version of libgtp after struct size change Isabelle Kraemer (1): GTP: Fix bug in update PDP context procedure Max (10): Remove unused function Add .gitreview to simplify gerrit integration Add control interface Only send TRAP for defined PDP peer Integrate Debian packaging changes ctrl: cleanup trap creation libgtp: improve error logging and propagation libgtp: expand logging Use value string check from osmo-ci Use release helper from libosmocore Max Suraev (1): Fix dpkg-buildpackage build for OpenGGSN Michael McTernan (1): openggsn: Check return codes and take error paths on failure. Neels Hofmeyr (13): gtp.c: improve 3 error logs. gtp.h: rename gsn_t.dublicate to duplicate. gtp.c: fix an error log. make install: also install gtpie.h add todo comments sgsnemu: improve an error message gitignore: add 'compile' (from autoconf) queue_new(): fix NULL dereference on allocation failure build: be robust against install-sh files above the root dir configure: check for pkg-config presence fix gsn_restart file buffer overflow and missing path sep gsn_restart file: wrap umask change tightly around file creation jenkins: add value_string termination check Pablo Neira Ayuso (11): gtp: fix wrong binary layout for struct gtp0_header in x86_64 gtp: fix endianness in teid field of GTPv0 header gtp: add pdp_set_imsi_nsapi ggsn: add support for GTP kernel data encapsulation ggsn: gtp-kernel: adapt gtp_dev_create() to its new interface ggsn: cmdline: no need to specify interface anymore examples: ggsn.conf: document gtp-linux toggle configure: rename from --enable-gtp-kernel to --enable-gtp-linux get rid of accidental copy of ggsn.conf ggsn: fix compilation error with --disable-gtp-kernel gtp: fix several compilation warnings Pau Espin Pedrol (1): ggsn: Fix DNS not sent in PDP context response Ruben Undheim (1): Description: Fix some typos in the man pages and in the binary Sylvain Munaut (1): build: Add a proper pkgconfig libgtp.pc for the GTP library Tobias Engel (1): Remove out-of-bounds write Yann BONNAMY (3): Add support for GTP IE's from 3GPP R7 RAI fix sgsnemu support for QoS as defined in 3GPP TS 24.008 bjovan (1): Code formatted to be in line with formatting rules. jjako (129): Initial revision Updated NEWS + AUTHORS Adding ./configure files- install-sh Absolute path to ifconfig and route in ggsn and sgsnemu Absolute path to gtp library in ggsn/Makefile.am and ggsn/Makefile.am Compiles with gengetopt 2.8 Setting ipnext and tidnext to NULL in settid and setip Added INSTALL and missing to root directory Minor changes Updated README and NEWS Small HOWTO on roaming testing in README file Removing gtpie.h warnings from dobble defines Removed excess autotools files Updated to latest config.guess and config.sub Updated README on autotools configuration Removed runtime files from ./sgsnemu Paranoid buffer overflow checking improvements. Ping support Make without first installing gtplib Support for external ipup script Updated with new options Removed gtp/.deps Removed ggsn/.deps files Removed sgsnemu/.deps files Removed config.log Removed ltconfig New autotools files (Redhat 8) Include config.h Updated version script to use configure.in Autotools makefile update Removed defaultroute option Updated README and ChangeLog Added aclocal.m4 Removed defaultroute flag Removed warning Autotools update Autotools Autotools update Improved sgsnemu ping added ippool.h and ippool.c added syserr.h and syserr.c added pco DNS support Updated README, NEWS and ChangeLog Corrected pointer error in ggsn.c Improved option checking in ggsn New ggsn Sys V init file and updated ggsn.conf Added ggsn man page Added doc/Makefile.am ippool improved Improved GTP error handling Changed options Added bootstrap script Added spec.in script Added sgsnemu man page Improved sgsnemu timeout facility Version 0.60 and updated README, NEWS and Changelog doc in makefile.am Installation of include files Static sgsnemu option Remove library files from spec file Mode checking i gtp_new() ippool update to allow for gateway address ippool update in sgsnemu First attempt at a GTP1 implementation GTP1 functionality GTP1 functionality and documentation update Added compliance document First try with GTP1 then fallback to GTP0 sgsnemu timelimit bug fix. Readme update Fixed deallocation of pdp context on failed create context. Fixed sgsnemu freepdp on failed create context. Added --net, --nsapi, --gtpversion options Changed non volatile directory Rename u_int to uint Removed ansi flag Removed stdint.h include Removed NSAPI from version 0 create pdp context request Fix NSAPI bug in create pdp context Changes to allow compilation under Solaris Updated with Solaris info Updated to use solaris api for tun Removed aclocal.m4 Allow bootstrap to remove temp files Updated bootstrap and readded aclocal.m4 Changet inet_aton to inet_pton for Solaris compliance Added firewall Updated NEWS and ChangeLog Changed to 0.80 Improved solaris compatibility Improved Solaris support Removed IN_ADDR_NONE Solaris instructions in README FreeBSD porting and IMSI bugfix NEWS, ChangeLog and configure.in for 0.81 release 0.81 update Fixed long constant warning on FreeBSD FreeBSD port FreeBSD route Added FreeBSD route capability Removed doc/Makefile Added README.FreeBSD Lookup in ippool made static tun.c cleanup and support for setting multiple addresses on FreeBSD Added IP address alias capability for FreeBSD Added README.Solaris Solaris tun interface Change to 0.82 Fix on PPP PCO length and charging characteristics required flag. Charging option Charging characteristics made optional Added selmode Hash table bugfix and improved logging Added permission change to bootstrap Improved configure script under Solaris Changed to 0.83 Updated NEWS and Changelog to 0.83 QoS length bugfiz qos length bugfix and apple support plus header cleanup Added Polish man pages Fixed delete route on freebsd et. al. Minor fix QA on ippool Added lookup.c 0.84 0.84 release 0.84 Added new version of autotools Fixed APN bug ----------------------------------------------------------------------- hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 10:25:43 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 10:25:43 GMT Subject: osmo-ggsn.git branch master updated. bd60930f3632c0741e3dde12c11f66a8599af67a Message-ID: <201709061025.v86APhob091815@git.osmocom.org> 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 OpenGGSN project". The branch, master has been updated via bd60930f3632c0741e3dde12c11f66a8599af67a (commit) from 720c93979985f1a79b51695514f96da48589eff3 (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-ggsn/commit/?id=bd60930f3632c0741e3dde12c11f66a8599af67a commit bd60930f3632c0741e3dde12c11f66a8599af67a Author: Harald Welte Date: Wed Sep 6 12:17:32 2017 +0200 libgtp: Bump major LIBVERSION for recent API/ABI breakage in Change-Id I68ae49a765828fa681054c68bf7f5e74dbe48ad2 we introduced a new struct member that breks ABI and API. Change-Id: Ie631880155513b1b78d1e9dd473dc5dc50e05943 ----------------------------------------------------------------------- Summary of changes: gtp/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 10:26:02 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 10:26:02 GMT Subject: openggsn.git branch master updated. 0.94-23-g0162898 Message-ID: <201709061026.v86AQ2iD092384@git.osmocom.org> 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 OpenGGSN project". The branch, master has been updated via 01628985ec53f4d16a88bf9bcb70d23445e0b5bb (commit) from 2778ae2b8f7780fd0bebb520aa0900b5418aad93 (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/openggsn/commit/?id=01628985ec53f4d16a88bf9bcb70d23445e0b5bb commit 01628985ec53f4d16a88bf9bcb70d23445e0b5bb Author: Harald Welte Date: Wed Sep 6 12:13:56 2017 +0200 note OpenGGSN is obsoleted by OsmoGGSN Change-Id: I477382cf3e015976401218b628b911580d935d53 ----------------------------------------------------------------------- Summary of changes: README.md | 7 +++++++ 1 file changed, 7 insertions(+) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 10:26:15 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 10:26:15 GMT Subject: osmo-ggsn.git branch master updated. 1.0.0 Message-ID: <201709061026.v86AQFk9092551@git.osmocom.org> 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 OpenGGSN project". The branch, master has been updated via b5b02c2a513b46143179494d2ba156f27c7adcd1 (commit) from bd60930f3632c0741e3dde12c11f66a8599af67a (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-ggsn/commit/?id=b5b02c2a513b46143179494d2ba156f27c7adcd1 commit b5b02c2a513b46143179494d2ba156f27c7adcd1 Author: Harald Welte Date: Wed Sep 6 12:19:49 2017 +0200 Bump version: 0.94.34-23e4 ??? 1.0.0 Change-Id: I00a00a7d537fd3c1ff8f8fe128c5bf82d39bda76 ----------------------------------------------------------------------- Summary of changes: debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 11:49:56 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 11:49:56 GMT Subject: osmo-gsm-manuals.git branch master updated. 6fc8db48eb88855c5432f60cd79c529de09312cc Message-ID: <201709061149.v86BnuY5014937@git.osmocom.org> 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 "Manuals for Osmocom GSM components". The branch, master has been updated via 6fc8db48eb88855c5432f60cd79c529de09312cc (commit) from 37f8b7856d9e53a9d6c3438b3159358e7d7ce81c (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-gsm-manuals/commit/?id=6fc8db48eb88855c5432f60cd79c529de09312cc commit 6fc8db48eb88855c5432f60cd79c529de09312cc Author: Harald Welte Date: Wed Sep 6 12:35:04 2017 +0200 initial version of OsmoGGSN user manual Closes: OS#1721 Change-Id: I7cdf150e8dd4f9dfc5e6d28e780d05dc1e1e5458 ----------------------------------------------------------------------- Summary of changes: Makefile | 4 + OsmoGGSN/Makefile | 13 ++ OsmoGGSN/chapters/configuration.adoc | 243 +++++++++++++++++++++ OsmoGGSN/chapters/overview.adoc | 145 ++++++++++++ OsmoGGSN/chapters/running.adoc | 41 ++++ .../osmoggsn-usermanual-docinfo.xml | 6 +- .../osmoggsn-usermanual.adoc | 11 +- 7 files changed, 455 insertions(+), 8 deletions(-) create mode 100644 OsmoGGSN/Makefile create mode 100644 OsmoGGSN/chapters/configuration.adoc create mode 100644 OsmoGGSN/chapters/overview.adoc create mode 100644 OsmoGGSN/chapters/running.adoc copy OsmoPCU/osmopcu-usermanual-docinfo.xml => OsmoGGSN/osmoggsn-usermanual-docinfo.xml (94%) copy OsmoPCU/osmopcu-usermanual.adoc => OsmoGGSN/osmoggsn-usermanual.adoc (78%) hooks/post-receive -- Manuals for Osmocom GSM components From gitosis at osmocom.org Wed Sep 6 12:02:53 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 12:02:53 GMT Subject: osmo-ggsn.git branch master updated. 1.0.0-1-g9814677 Message-ID: <201709061202.v86C2riK018451@git.osmocom.org> 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 OpenGGSN project". The branch, master has been updated via 98146776dddb986fda78b5f028e79f041460ee4c (commit) from b5b02c2a513b46143179494d2ba156f27c7adcd1 (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-ggsn/commit/?id=98146776dddb986fda78b5f028e79f041460ee4c commit 98146776dddb986fda78b5f028e79f041460ee4c Author: Harald Welte Date: Tue Sep 5 17:41:20 2017 +0200 ggsn: Add ability to specify local IP addresses for GTP-C and GTP-U In case the GGSN is behind some kind of DNAT, the public GTP-C and GTP-U IP addresses as exposed inside the GTP payload information elements are different from the (internal, behind-nat) IP address to which it listens/binds. Change-Id: I548c9011c9abd66d46f963b1def61575f3dabb89 ----------------------------------------------------------------------- Summary of changes: ggsn/ggsn.c | 8 ++++++++ ggsn/ggsn.h | 4 ++++ ggsn/ggsn_vty.c | 42 ++++++++++++++++++++++++++++++++++++++---- 3 files changed, 50 insertions(+), 4 deletions(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 6 12:20:24 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 6 Sep 2017 12:20:24 GMT Subject: op25.git branch max updated. a3f4963deac56125953a4efbc4b26e510f4e0520 Message-ID: <201709061220.v86CKOXc023359@git.osmocom.org> 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 "Software-defined analyzer for APCO P25". The branch, max has been updated via a3f4963deac56125953a4efbc4b26e510f4e0520 (commit) from 04b16056dffbe2871e4d0b870d118029acb757da (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/op25/commit/?id=a3f4963deac56125953a4efbc4b26e510f4e0520 commit a3f4963deac56125953a4efbc4b26e510f4e0520 Author: Max Date: Wed Sep 6 08:20:15 2017 -0400 forgot to add this ----------------------------------------------------------------------- Summary of changes: op25/gr-op25_repeater/apps/sockaudio.py | 309 ++++++++++++++++++++++++++++++++ 1 file changed, 309 insertions(+) create mode 100755 op25/gr-op25_repeater/apps/sockaudio.py hooks/post-receive -- Software-defined analyzer for APCO P25 From gitosis at osmocom.org Thu Sep 7 11:44:53 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 7 Sep 2017 11:44:53 GMT Subject: osmocom-bb.git branch master updated. osmocon_v0.0.0-1840-g281d9ac3 Message-ID: <201709071144.v87BirDQ001045@git.osmocom.org> 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 Open Source GSM Base Band stack". The branch, master has been updated via 281d9ac3818401ec0abe5268528e01c0a6e1a9d8 (commit) from b2c19fc5d35f25a63b2ee523761c3d9714b146e9 (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/osmocom-bb/commit/?id=281d9ac3818401ec0abe5268528e01c0a6e1a9d8 commit 281d9ac3818401ec0abe5268528e01c0a6e1a9d8 Author: Max Date: Thu Sep 7 12:20:59 2017 +0200 Add 'git review' config file Change-Id: Ibc891a88811817a4f5a56fe22b1967a464e6d242 ----------------------------------------------------------------------- Summary of changes: .gitreview | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitreview hooks/post-receive -- The Open Source GSM Base Band stack From gitosis at osmocom.org Thu Sep 7 14:41:04 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 7 Sep 2017 14:41:04 GMT Subject: osmo-gsm-manuals.git branch master updated. 56f77a3b6436eab71c42fd0ad3233a15148eafed Message-ID: <201709071441.v87Ef4uK048462@git.osmocom.org> 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 "Manuals for Osmocom GSM components". The branch, master has been updated via 56f77a3b6436eab71c42fd0ad3233a15148eafed (commit) from 6fc8db48eb88855c5432f60cd79c529de09312cc (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-gsm-manuals/commit/?id=56f77a3b6436eab71c42fd0ad3233a15148eafed commit 56f77a3b6436eab71c42fd0ad3233a15148eafed Author: Harald Welte Date: Thu Sep 7 01:02:04 2017 +0200 OsmoGGSN: Add VTY reference manual Change-Id: Iddf6fe26689172d7db001198943c816eaaed7931 ----------------------------------------------------------------------- Summary of changes: OsmoGGSN/Makefile | 28 +- .../osmoggsn-vty-reference.xml | 8 +- OsmoGGSN/vty/ggsn_vty_additions.xml | 30 + .../vty/ggsn_vty_reference.xml | 847 +++++++++++---------- 4 files changed, 526 insertions(+), 387 deletions(-) copy OsmoBTS/osmobts-vty-reference.xml => OsmoGGSN/osmoggsn-vty-reference.xml (81%) create mode 100644 OsmoGGSN/vty/ggsn_vty_additions.xml copy OsmoMGCP/vty/mgcp_vty_reference.xml => OsmoGGSN/vty/ggsn_vty_reference.xml (61%) hooks/post-receive -- Manuals for Osmocom GSM components From gitosis at osmocom.org Thu Sep 7 20:49:59 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 7 Sep 2017 20:49:59 GMT Subject: libosmocore.git branch master updated. 0.9.6-382-g889ab164 Message-ID: <201709072049.v87KnxTZ044731@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, master has been updated via 889ab16437297a2ce1885efde5e2efc4816851ff (commit) from 03516d6dd2fe94e94879db285d0b3492f0734831 (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/libosmocore/commit/?id=889ab16437297a2ce1885efde5e2efc4816851ff commit 889ab16437297a2ce1885efde5e2efc4816851ff Author: Neels Hofmeyr Date: Thu Sep 7 20:41:12 2017 +0200 ipa: place comment "IPA Multiplex" on ipa allocated msgbs libosmocore offers the ipa API as general IPA Multiplex, which is e.g. used for GSUP in osmo-msc. Looking at talloc reports, it is confusing to see "Abis/IP" as msgb comment, because osmo-msc does not have an Abis interface. Rename to "IPA Multiplex" as a more general description. Change-Id: I3714dd21707bec0c4bcd0871e6ee8ff32d56b125 ----------------------------------------------------------------------- Summary of changes: src/gsm/ipa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Thu Sep 7 21:15:54 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 7 Sep 2017 21:15:54 GMT Subject: gapk.git branch fixeria/lib updated. v0.4-31-g27cc5fb Message-ID: <201709072115.v87LFsAn053214@git.osmocom.org> 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 "GSM Audio Pocket Knife". The branch, fixeria/lib has been updated discards 293384fd1b3d6c681d7f4862f98eb52977551e00 (commit) discards aedbe9ad7a352b3fdd846aa6093b5cde29b0749b (commit) discards d25004a98122d84039b8ce20932729189c8ae171 (commit) discards 5f332917e1ce8fcaa67a8406e69df9a1e01b2b67 (commit) discards 7d411284afeb9489a3fe0126396f094ad305c0f5 (commit) discards 2b02f8ec27a15302f744bee4a3a0502233ff5e2e (commit) discards f5d00d8516ba589ab4bf289f04e8685031bf5031 (commit) discards aad0a4d3cb62da0714f7bd895dd637e34f067a09 (commit) discards 67478b31790a5bde09e98247539df28e416fa875 (commit) discards 7aaf2a49b44af4fba743486a30110d292836b3b8 (commit) discards ce3aa9eec21eeb4b68caa31aac1a8936e33302bb (commit) discards fe5c7d915ce3b7c5a913694d8e6305e43ab4c16e (commit) discards f93b65356dc6d33e8e4611d0a0acb587a1439909 (commit) via 27cc5fbbcb2b5649c9bca452e8a00335d9a278a7 (commit) via 01edb56d7bb082ecc187254c2f0a54178dd9ff3f (commit) via 8923276018b9a8d5ebafa2e18676fe6b8cef26a4 (commit) via 3e8cfdea6a2e1da03b6601c96b87d2a5683c73c6 (commit) via 0d177795d1ffe70d926281034116d73199265202 (commit) via 3d5a901ffe24ab38a2050afca7a146d840a1f303 (commit) via caeee8214084f8949e855780ce1cbfd42a514e78 (commit) via 1e220b9f3c2a0d9a1a6ea39d0972a207a51168bd (commit) via d02ada5c46a8938f5d9fd09e255dc6501937785d (commit) via d8bdf47aaffb768c26b89511d1af7bce616543d2 (commit) via 6e0fe0e103612e01817dba857f5077adeb87ea84 (commit) via a3b4fb8be1bb9316443dedab0dcf9079328f13a6 (commit) via cd2da365a81999db5a092b6bfb984d57b471883e (commit) via 903f14cdf48faa61996b22b68361c511c920b3b9 (commit) via 0d97f46b8757e0947304d88777706bd9a98a4c69 (commit) via 6683ef0a17dda6eb50aaeede8805936c751ec4a5 (commit) via f72d01558f16717d49380428310d1a269f8540c6 (commit) via ea53827e34b3d223c053289f7ef39f3105712a18 (commit) via 36e92c49c510711bd7e88beb2935a2a298def9fe (commit) via 43f74129c6ed128de8235aed1ce7d0f285193206 (commit) via f4650d455bde1cd7a489123db3ebfbf2dc860b8e (commit) via 6028be8e8655d8eabc1929ff0753114814f5dacd (commit) via 4922c8376713196d909cb7b6d204cb10664116c2 (commit) via 617daf02012a4e4d1a104d52f2517ad81b72dd54 (commit) via e7959b00f6f21f371b24cd1960b36aacd34bdeb7 (commit) via e6986f70c5f609692c7067a758233e2d8327de6b (commit) via a03ac4573a2c00a6b2937c42503b6c7206480662 (commit) via 5fb1965cacb7a3aaf269dbb8e0238721a7d44c05 (commit) via d5cfaa6a52d09551661f2cc8ef7ffc24f809960a (commit) via 83aa99e7a9a1ff0d6949b4c71cd8817e2668b341 (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 (293384fd1b3d6c681d7f4862f98eb52977551e00) \ N -- N -- N (27cc5fbbcb2b5649c9bca452e8a00335d9a278a7) 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/gapk/commit/?id=27cc5fbbcb2b5649c9bca452e8a00335d9a278a7 commit 27cc5fbbcb2b5649c9bca452e8a00335d9a278a7 Author: Vadim Yanitskiy Date: Fri Sep 8 00:05:02 2017 +0300 osmo-gapk: wait until sink finish processing Previously the osmo-gapk application used to exit as soon as all the frames are processed, no matter has the sink finished its internal processing (e.g. ALSA playback). http://cgit.osmocom.org/gapk/commit/?id=01edb56d7bb082ecc187254c2f0a54178dd9ff3f commit 01edb56d7bb082ecc187254c2f0a54178dd9ff3f Author: Vadim Yanitskiy Date: Fri Sep 8 00:02:20 2017 +0300 src/pq_alsa.c: implement processing state callback Using the snd_pcm_avail_update() call from ALSA API it's possible to know, how much samples are still to be processed. http://cgit.osmocom.org/gapk/commit/?id=8923276018b9a8d5ebafa2e18676fe6b8cef26a4 commit 8923276018b9a8d5ebafa2e18676fe6b8cef26a4 Author: Vadim Yanitskiy Date: Thu Sep 7 18:42:49 2017 +0300 procqueue: add processing state callback In some cases it's required to wait for some queue items to finish processing. For example, the ALSA sink writes the audio samples to the buffer in non-blocking mode, so as soon as all of them will be written, a program may finish execution, causing the playback abort. To prevent that, this change extends the library's API, allowing each queue item to have a processing state callback that returns a positive integer if processing is not finished yet, and 0 otherwise. http://cgit.osmocom.org/gapk/commit/?id=3e8cfdea6a2e1da03b6601c96b87d2a5683c73c6 commit 3e8cfdea6a2e1da03b6601c96b87d2a5683c73c6 Author: Vadim Yanitskiy Date: Thu Sep 7 17:51:35 2017 +0300 osmo-gapk: abort the processing queue on SIGINT Instead of immediately shutting down the application, it is better to try to break the processing queue first, and stop the execution immediately if second SIGINT is received. http://cgit.osmocom.org/gapk/commit/?id=0d177795d1ffe70d926281034116d73199265202 commit 0d177795d1ffe70d926281034116d73199265202 Author: Vadim Yanitskiy Date: Thu Sep 7 17:39:24 2017 +0300 osmo-gapk: adjust application verbosity This change allows user to enable advanced verbosity using the '-v' command line option, which is disabled by default. http://cgit.osmocom.org/gapk/commit/?id=3d5a901ffe24ab38a2050afca7a146d840a1f303 commit 3d5a901ffe24ab38a2050afca7a146d840a1f303 Author: Vadim Yanitskiy Date: Thu Sep 7 17:10:14 2017 +0300 osmo-gapk: use Osmocom logging framework http://cgit.osmocom.org/gapk/commit/?id=caeee8214084f8949e855780ce1cbfd42a514e78 commit caeee8214084f8949e855780ce1cbfd42a514e78 Author: Vadim Yanitskiy Date: Thu Sep 7 16:48:27 2017 +0300 osmo-gapk: drop useless printf calls The printf() writes the text into stdout, which may be undesirable in some use cases. Moreover, the printed information was redundant. So, let's drop such calls. http://cgit.osmocom.org/gapk/commit/?id=1e220b9f3c2a0d9a1a6ea39d0972a207a51168bd commit 1e220b9f3c2a0d9a1a6ea39d0972a207a51168bd Author: Vadim Yanitskiy Date: Thu Sep 7 16:36:56 2017 +0300 libosmogapk: use Osmocom logging framework Since this change, the libosmogapk uses the Osmocom logging framework. By default, logging is disabled and could be enabled by the external applications calling the osmo_gapk_log_init() with a desired log target as an argument. http://cgit.osmocom.org/gapk/commit/?id=d02ada5c46a8938f5d9fd09e255dc6501937785d commit d02ada5c46a8938f5d9fd09e255dc6501937785d Author: Vadim Yanitskiy Date: Thu Sep 7 00:04:01 2017 +0300 osmo-gapk: use more convenient name for the source file Since GAPK package contains a library and the representative osmo-gapk application, the 'main.c' looks a bit confusing. Let's use the common naming scheme. http://cgit.osmocom.org/gapk/commit/?id=d8bdf47aaffb768c26b89511d1af7bce616543d2 commit d8bdf47aaffb768c26b89511d1af7bce616543d2 Author: Vadim Yanitskiy Date: Wed Sep 6 23:53:30 2017 +0300 osmo-gapk: create a common shutdown function Previously the code intended to shutdown the osmo-gapk application was repeated two times. It's better to have a single function. http://cgit.osmocom.org/gapk/commit/?id=6e0fe0e103612e01817dba857f5077adeb87ea84 commit 6e0fe0e103612e01817dba857f5077adeb87ea84 Author: Vadim Yanitskiy Date: Wed Sep 6 23:42:19 2017 +0300 osmo-gapk: add an option to enable / disable benchmark If the codec benchmarking is required in particular case, it could be activated by a special command line option introduced by this change. http://cgit.osmocom.org/gapk/commit/?id=a3b4fb8be1bb9316443dedab0dcf9079328f13a6 commit a3b4fb8be1bb9316443dedab0dcf9079328f13a6 Author: Vadim Yanitskiy Date: Fri Sep 1 16:19:40 2017 +0700 procqueue: use linuxlist to store queue items The usage of linuxlist is more flexible than having a limited array of pointers. This approach allows to have as much items in a processing queue as required. http://cgit.osmocom.org/gapk/commit/?id=cd2da365a81999db5a092b6bfb984d57b471883e commit cd2da365a81999db5a092b6bfb984d57b471883e Author: Vadim Yanitskiy Date: Fri Sep 1 15:22:32 2017 +0700 procqueue: use uint8_t as output buffer type http://cgit.osmocom.org/gapk/commit/?id=903f14cdf48faa61996b22b68361c511c920b3b9 commit 903f14cdf48faa61996b22b68361c511c920b3b9 Author: Vadim Yanitskiy Date: Fri Sep 1 15:15:45 2017 +0700 procqueue: store output buffers inside queue items An output buffer belongs to its queue item, so it will be more correctly to store its pointer inside the osmo_gapk_pq_item. http://cgit.osmocom.org/gapk/commit/?id=0d97f46b8757e0947304d88777706bd9a98a4c69 commit 0d97f46b8757e0947304d88777706bd9a98a4c69 Author: Vadim Yanitskiy Date: Fri Sep 1 14:33:19 2017 +0700 procqueue: use unsigned int for I/O frame size fields A frame size cannot be negative, so 'unsigned' is more suitable for frame size fields. http://cgit.osmocom.org/gapk/commit/?id=6683ef0a17dda6eb50aaeede8805936c751ec4a5 commit 6683ef0a17dda6eb50aaeede8805936c751ec4a5 Author: Vadim Yanitskiy Date: Thu Aug 31 17:49:36 2017 +0700 Add the symbol export map for libosmogapk http://cgit.osmocom.org/gapk/commit/?id=f72d01558f16717d49380428310d1a269f8540c6 commit f72d01558f16717d49380428310d1a269f8540c6 Author: Vadim Yanitskiy Date: Mon Sep 4 04:18:06 2017 +0700 benchmark: add functions to get cycle and frame count To simplify the benchrarking process via the library API, this change introduces two new functions, which are intended to provide total cycle and frame count. http://cgit.osmocom.org/gapk/commit/?id=ea53827e34b3d223c053289f7ef39f3105712a18 commit ea53827e34b3d223c053289f7ef39f3105712a18 Author: Vadim Yanitskiy Date: Mon Sep 4 03:33:48 2017 +0700 benchmark: allocate memory dynamically Having statically allocated memory for benchmark data of every codec causes high memory usage, especially if actual benchmarking is not required for a particular use case. Instead of that, let's provide an optional opportunity to enable benchmarking for a particular codec by calling the osmo_gapk_bench_enable(). The required amount of memory would be allocated, and then can be freed by calling the osmo_gapk_bench_free() or manually. http://cgit.osmocom.org/gapk/commit/?id=36e92c49c510711bd7e88beb2935a2a298def9fe commit 36e92c49c510711bd7e88beb2935a2a298def9fe Author: Vadim Yanitskiy Date: Mon Sep 4 03:03:32 2017 +0700 benchmark: get rid of 'static inline' definition The usage of a 'static inline' function definition in the 'bench.h' is resulting in separate independent function definitions in each translation unit from which the header is included. This is increasing the size of compiled code unnecessarily. http://cgit.osmocom.org/gapk/commit/?id=43f74129c6ed128de8235aed1ce7d0f285193206 commit 43f74129c6ed128de8235aed1ce7d0f285193206 Author: Vadim Yanitskiy Date: Mon Sep 4 02:23:18 2017 +0700 benchmark: move benchmark impl to a private header There is no need to expose the implementation details of both BENCHMARK_START and BENCHMARK_STOP macros via public header. This change moves them to a separate private header 'bench.h'. http://cgit.osmocom.org/gapk/commit/?id=f4650d455bde1cd7a489123db3ebfbf2dc860b8e commit f4650d455bde1cd7a489123db3ebfbf2dc860b8e Author: Vadim Yanitskiy Date: Mon Sep 4 00:42:38 2017 +0700 benchmark: move benchmark_dump() outside the library The benchmark_dump() is only used by the osmo-gapk binary, and is intended to prepare and print benchmarking results to stderr, what is most likely unusable for the library users. http://cgit.osmocom.org/gapk/commit/?id=6028be8e8655d8eabc1929ff0753114814f5dacd commit 6028be8e8655d8eabc1929ff0753114814f5dacd Author: Vadim Yanitskiy Date: Thu Aug 31 17:22:56 2017 +0700 Add an 'osmo_gapk' prefix to the exposed symbols To avoid a naming conflict between libosmogapk and other projects during linkage, all the exposed symbols should have an unique prefix. Let's use 'osmo_gapk' for that. http://cgit.osmocom.org/gapk/commit/?id=4922c8376713196d909cb7b6d204cb10664116c2 commit 4922c8376713196d909cb7b6d204cb10664116c2 Author: Vadim Yanitskiy Date: Thu Aug 31 02:31:18 2017 +0700 procqueue: expose the processing queue struct definition To be able to use processing queues from outside, the pq struct should be shared in the corresponding header file. http://cgit.osmocom.org/gapk/commit/?id=617daf02012a4e4d1a104d52f2517ad81b72dd54 commit 617daf02012a4e4d1a104d52f2517ad81b72dd54 Author: Vadim Yanitskiy Date: Thu Aug 31 01:41:26 2017 +0700 Add a pkg-config manifest for libosmogapk In order to make pkg-config 'see' the libosmogapk, a corresponding package description is required. For more details, see: https://autotools.io/pkgconfig/file-format.html http://cgit.osmocom.org/gapk/commit/?id=e7959b00f6f21f371b24cd1960b36aacd34bdeb7 commit e7959b00f6f21f371b24cd1960b36aacd34bdeb7 Author: Vadim Yanitskiy Date: Thu Aug 31 01:20:18 2017 +0700 Use '#pragma once' instead of include guard The most compilers today do support the '#pragma once', which is designed to cause the current source file to be included only once in a single compilation. One has several advantages, including: less code, avoidance of name clashes, and sometimes improvement in compilation speed. See: https://en.wikipedia.org/wiki/Pragma_once for details. http://cgit.osmocom.org/gapk/commit/?id=e6986f70c5f609692c7067a758233e2d8327de6b commit e6986f70c5f609692c7067a758233e2d8327de6b Author: Vadim Yanitskiy Date: Wed Aug 30 20:26:02 2017 +0700 Install GAPK headers to '${includedir}/osmocom/gapk/' To be able to use the library, external applications need to know, which symbols are exposed. This information is provided by header files, which are being installed to a system's ${includedir} since this change. http://cgit.osmocom.org/gapk/commit/?id=a03ac4573a2c00a6b2937c42503b6c7206480662 commit a03ac4573a2c00a6b2937c42503b6c7206480662 Author: Vadim Yanitskiy Date: Wed Aug 30 19:35:51 2017 +0700 Add an 'osmo' prefix to the 'gapk' binary This is a common practice of all Osmocom executables to have an 'osmo' prefix. Let's follow this here too. http://cgit.osmocom.org/gapk/commit/?id=5fb1965cacb7a3aaf269dbb8e0238721a7d44c05 commit 5fb1965cacb7a3aaf269dbb8e0238721a7d44c05 Author: Vadim Yanitskiy Date: Wed Aug 30 19:03:49 2017 +0700 Introduce a shared 'libosmogapk' library The previous GAPK implementation was represented as a single executable. So, all audio transcoding operations were available only by calling the 'gapk' binary. This approach didn't allow external applications to benefit from using GAPK API directly. Since there are some projects (such as GR-GSM and OsmocomBB), which are potential users of GAPK code base, it would be better to have all transcoding functions within a shared library. So, this change separates the common code into a shared library, named 'libosmogapk', and links the 'gapk' binary against one. Currently there are no shared headers, pkg-config manifest and the export map, but they will be done latter. ----------------------------------------------------------------------- Summary of changes: configure.ac | 2 +- include/Makefile.am | 7 +- src/benchmark.c => include/osmocom/gapk/bench.h | 66 +++---- include/osmocom/gapk/benchmark.h | 38 ++-- include/osmocom/gapk/codecs.h | 7 - src/codec_pcm.c => include/osmocom/gapk/common.h | 12 +- include/osmocom/gapk/formats.h | 18 -- src/codec_pcm.c => include/osmocom/gapk/logging.h | 19 +- include/osmocom/gapk/procqueue.h | 1 + src/Makefile.am | 13 +- src/{main.c => app_osmo_gapk.c} | 219 +++++++++++++++++----- src/benchmark.c | 87 ++++++--- src/codec_amr.c | 3 +- src/codec_efr.c | 3 +- src/codec_fr.c | 3 +- src/codec_hr.c | 3 +- src/codec_pcm.c | 2 +- src/codecs.c | 18 +- src/fmt_amr.c | 2 +- src/fmt_amr_opencore.c | 2 +- src/fmt_gsm.c | 2 +- src/fmt_hr_ref.c | 4 +- src/fmt_racal.c | 6 +- src/fmt_rawpcm.c | 2 +- src/fmt_rtp_amr.c | 2 +- src/fmt_rtp_efr.c | 2 +- src/fmt_rtp_hr_etsi.c | 2 +- src/fmt_rtp_hr_ietf.c | 2 +- src/fmt_ti.c | 6 +- src/formats.c | 50 +++-- src/libosmogapk.map | 32 +--- src/{codec_pcm.c => logging.c} | 18 +- src/pq_alsa.c | 35 +++- src/pq_codec.c | 4 +- src/pq_file.c | 6 +- src/pq_format.c | 13 +- src/pq_rtp.c | 9 +- src/procqueue.c | 7 +- 38 files changed, 447 insertions(+), 280 deletions(-) copy src/benchmark.c => include/osmocom/gapk/bench.h (50%) copy src/codec_pcm.c => include/osmocom/gapk/common.h (71%) copy src/codec_pcm.c => include/osmocom/gapk/logging.h (72%) rename src/{main.c => app_osmo_gapk.c} (69%) copy src/{codec_pcm.c => logging.c} (71%) hooks/post-receive -- GSM Audio Pocket Knife From gitosis at osmocom.org Fri Sep 8 02:08:09 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 8 Sep 2017 02:08:09 GMT Subject: openbsc.git branch users/daniel/ow-nat-msc-conns updated. 0.15.0-105-g606d70cd2 Message-ID: <201709080208.v88289Om027131@git.osmocom.org> 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 "Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, users/daniel/ow-nat-msc-conns has been updated discards abd774005879d99188b1ef118d6ba0a20d22082f (commit) discards d8429fbe1e6da857ad8ba6ada14c078ca18f3779 (commit) via 606d70cd2630f2045a754a42b98416d84b60d793 (commit) via e482de09ea595375a28b565f440726fe19bb4592 (commit) via e47f67588a774bcb3bb1fa39972d3f705d167f18 (commit) via 986e54a1982dd1bab71dc843ff0c4ae014f83965 (commit) via b27944450392d5d3dda548a585406224acdf58d6 (commit) via b55d939e126aac15a434c55d0689ae4dfaf0ecfa (commit) via 1e641a1690fec1e2fc3319460583490f147fd74d (commit) via 55a163abaf57812f4574c23dcee857ce8f05ddb2 (commit) via 9bc66b806fa75e914b2bc958058391907d3860aa (commit) via 2152d82dafd8c8b390de9a0e4bc8719bcd51273d (commit) via 86a4589c0399721dd309614794df0791f337622f (commit) via 1f7d6452560a73452e0ce6059adf933b6dfd5458 (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 (abd774005879d99188b1ef118d6ba0a20d22082f) \ N -- N -- N (606d70cd2630f2045a754a42b98416d84b60d793) 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=606d70cd2630f2045a754a42b98416d84b60d793 commit 606d70cd2630f2045a754a42b98416d84b60d793 Author: Daniel Willmann Date: Fri Sep 8 04:02:28 2017 +0200 osmo-bsc_nat: Add missing return code for VTY Change-Id: I12b421e970317c604ac8cc2f3c94ff5fdbc3f048 http://cgit.osmocom.org/openbsc/commit/?id=e482de09ea595375a28b565f440726fe19bb4592 commit e482de09ea595375a28b565f440726fe19bb4592 Author: Daniel Willmann Date: Fri Sep 8 04:01:42 2017 +0200 osmo-bsc_nat: Attempt to make bsc_mgcp_find_con aware of multiple MGCP Change-Id: I508562d48e2a0733ea53fe7adaae828286f791a2 http://cgit.osmocom.org/openbsc/commit/?id=e47f67588a774bcb3bb1fa39972d3f705d167f18 commit e47f67588a774bcb3bb1fa39972d3f705d167f18 Author: Daniel Willmann Date: Fri Sep 8 04:00:55 2017 +0200 WIP: Add missing lines Change-Id: I353502ed27fc1eb828169a4aaccaf04593eacdd8 http://cgit.osmocom.org/openbsc/commit/?id=986e54a1982dd1bab71dc843ff0c4ae014f83965 commit 986e54a1982dd1bab71dc843ff0c4ae014f83965 Author: Daniel Willmann Date: Fri Sep 8 04:00:08 2017 +0200 osmo-bsc_nat: Handle multiple mgcp configs in SCCP conn Change-Id: Ifb6efa8339b749ab588a5ea37f0b48bc8086ae46 http://cgit.osmocom.org/openbsc/commit/?id=b27944450392d5d3dda548a585406224acdf58d6 commit b27944450392d5d3dda548a585406224acdf58d6 Author: Daniel Willmann Date: Fri Sep 8 03:58:41 2017 +0200 osmo-bsc_nat: Handle multiple mgcp configs in MGCP NAT code Change-Id: Icbf2951cfc550f75580e95a05804e479c59ec1df http://cgit.osmocom.org/openbsc/commit/?id=b55d939e126aac15a434c55d0689ae4dfaf0ecfa commit b55d939e126aac15a434c55d0689ae4dfaf0ecfa Author: Daniel Willmann Date: Fri Sep 8 03:49:26 2017 +0200 osmo-bsc_nat: Modify nat init to work with multiple mgcp_configs Change-Id: I53ac858952ee15f897160b3a32483c5c91b862f6 http://cgit.osmocom.org/openbsc/commit/?id=1e641a1690fec1e2fc3319460583490f147fd74d commit 1e641a1690fec1e2fc3319460583490f147fd74d Author: Daniel Willmann Date: Fri Sep 8 03:38:50 2017 +0200 libmgcp: Allow to get the mgcp_config by number Change-Id: I9567b168696bc43c8f74cf0da9a4c647e8bdd822 http://cgit.osmocom.org/openbsc/commit/?id=55a163abaf57812f4574c23dcee857ce8f05ddb2 commit 55a163abaf57812f4574c23dcee857ce8f05ddb2 Author: Daniel Willmann Date: Fri Sep 8 03:37:58 2017 +0200 Add warnings in places missing support Change-Id: Ic3de69792b2cd8e19cd140402bc1f5fbf9a00021 http://cgit.osmocom.org/openbsc/commit/?id=9bc66b806fa75e914b2bc958058391907d3860aa commit 9bc66b806fa75e914b2bc958058391907d3860aa Author: Daniel Willmann Date: Thu Sep 7 16:35:01 2017 +0200 osmo-bsc_mgcp: Make it work with the changes supporting multiple MGCP osmo-bsc_mgcp will still only use the first mgcp instance, but this copes with the API changes in mgcp_parse_config. Change-Id: I52ea74103acef374212e276dfa8122b00ca4562a http://cgit.osmocom.org/openbsc/commit/?id=2152d82dafd8c8b390de9a0e4bc8719bcd51273d commit 2152d82dafd8c8b390de9a0e4bc8719bcd51273d Author: Daniel Willmann Date: Thu Sep 7 16:32:27 2017 +0200 libmgcp: Make it possible to define more than one MGCP instance Change-Id: I820839e46f56bdaaf6b05df434829c3eee21e5b9 http://cgit.osmocom.org/openbsc/commit/?id=86a4589c0399721dd309614794df0791f337622f commit 86a4589c0399721dd309614794df0791f337622f Author: Daniel Willmann Date: Thu Mar 2 17:26:32 2017 +0100 WIP Change-Id: If40b0bd51773b1658f744063be418c024a781e11 http://cgit.osmocom.org/openbsc/commit/?id=1f7d6452560a73452e0ce6059adf933b6dfd5458 commit 1f7d6452560a73452e0ce6059adf933b6dfd5458 Author: Daniel Willmann Date: Tue Mar 21 12:25:14 2017 +0100 libfilter: Also handle detach indications Change-Id: Iad4e2861f42d5275e2b3057ab2bc43ef43b61cfe Ticket: SYS#3208 Sponsored-by: On-Waves ehf. ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/bsc_nat.h | 13 +- openbsc/include/openbsc/bsc_nat_sccp.h | 2 + openbsc/include/openbsc/mgcp.h | 5 +- openbsc/src/libcommon/common_vty.c | 5 +- openbsc/src/libmgcp/mgcp_vty.c | 566 ++++++++++++++++++++---------- openbsc/src/osmo-bsc_mgcp/mgcp_main.c | 25 +- openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c | 245 +++++++------ openbsc/src/osmo-bsc_nat/bsc_nat.c | 18 +- openbsc/src/osmo-bsc_nat/bsc_nat_utils.c | 4 +- openbsc/src/osmo-bsc_nat/bsc_nat_vty.c | 17 +- openbsc/tests/bsc-nat/bsc_nat_test.c | 8 +- 11 files changed, 583 insertions(+), 325 deletions(-) hooks/post-receive -- Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Fri Sep 8 08:31:07 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 8 Sep 2017 08:31:07 GMT Subject: osmocom-bb.git branch master updated. osmocon_v0.0.0-1841-g903e2515 Message-ID: <201709080831.v888V7uk030359@git.osmocom.org> 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 Open Source GSM Base Band stack". The branch, master has been updated via 903e2515f5d92b152804ae4afbe67499d0a90d61 (commit) from 281d9ac3818401ec0abe5268528e01c0a6e1a9d8 (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/osmocom-bb/commit/?id=903e2515f5d92b152804ae4afbe67499d0a90d61 commit 903e2515f5d92b152804ae4afbe67499d0a90d61 Author: Max Date: Thu Sep 7 12:23:16 2017 +0200 Add arbitrary config file location support All other Osmocom projects use '-c' command line option to specify the location of config file. Let's do the same with fallback to existing implicit config file name logic. Also print config file path and vty host on startup. Change-Id: Idaac3ff8d1f8541e00c45290db948a67bb899311 ----------------------------------------------------------------------- Summary of changes: src/host/layer23/src/mobile/app_mobile.c | 3 ++- src/host/layer23/src/mobile/main.c | 24 ++++++++++++++---------- 2 files changed, 16 insertions(+), 11 deletions(-) hooks/post-receive -- The Open Source GSM Base Band stack From gitosis at osmocom.org Fri Sep 8 09:29:25 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 8 Sep 2017 09:29:25 GMT Subject: meta-telephony.git branch laforge/nightly updated. bf43319200e2fe123a9d84fc7af8f3e84c6265f6 Message-ID: <201709080929.v889TPP1045280@git.osmocom.org> 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 layer for OpenEmbedded". The branch, laforge/nightly has been updated via bf43319200e2fe123a9d84fc7af8f3e84c6265f6 (commit) from b58904accd730b8505320d62e0c198274b422d7f (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/meta-telephony/commit/?id=bf43319200e2fe123a9d84fc7af8f3e84c6265f6 commit bf43319200e2fe123a9d84fc7af8f3e84c6265f6 Author: Pau Espin Pedrol Date: Wed Sep 6 12:09:52 2017 +0200 libosmo-abis: modify PV to match recent release The upstream release commit is 7f17b8c45d094941292036143f3292a1d5789cf5. This should fix current issue with 201705/nightly package feed: $ opkg upgrade Not selecting libosmo-abis 0.3.2+gitr0+d3292913ac as installing it would break existing dependencies. $ opkg list_installed | grep libosmo-abis libosmo-abis - 0.3.2+gitr2+d3292913ac-r2.18.1.0 See that gitr in repos is 0 while the previously installed one has gitr2, which is higher. Explanations I can find for this: - PR server was somehow reset? - the value in gitr is calculated based on offset from latest tag. As new release introduced new tag, gitr may have been reset. In any case, updating PV to have the correct value should fix this issue. Change-Id: I9f27661d9e5241efe7725b7d1efcf4aef55e2efe ----------------------------------------------------------------------- Summary of changes: recipes-osmocom/libosmo-abis/libosmo-abis_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- Osmocom layer for OpenEmbedded From gitosis at osmocom.org Fri Sep 8 12:58:03 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 8 Sep 2017 12:58:03 GMT Subject: osmo-bts.git branch master updated. 0.6.0-5-gcb9f608 Message-ID: <201709081258.v88Cw39t097148@git.osmocom.org> 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 cb9f608094ea31b851b376504c585432340af888 (commit) from 9e36dca82aa139f10e25ca037cf4a7cc03eafea0 (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=cb9f608094ea31b851b376504c585432340af888 commit cb9f608094ea31b851b376504c585432340af888 Author: Max Date: Wed Sep 6 15:28:31 2017 +0200 Check readv() return value to prevent crash Previously result of readv() was used unconditionally so when it failed and returned negative value it was treated like very large positive which lead to memory corruption. Fix this and add proper error log. Change-Id: I956c8d551f45c9dd43b5e9de11dfe20dd8783647 Related: SYS#3865 ----------------------------------------------------------------------- Summary of changes: src/osmo-bts-litecell15/l1_transp_hw.c | 10 ++++++++-- src/osmo-bts-sysmo/l1_transp_hw.c | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Fri Sep 8 12:58:25 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 8 Sep 2017 12:58:25 GMT Subject: osmo-pcu.git branch master updated. 0.2-941-g1962136 Message-ID: <201709081258.v88CwPID097278@git.osmocom.org> 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, master has been updated via 1962136a333a03e3ed33e96f4fb350fad61b3170 (commit) from 5a6bcfb7977b9db8964016582e51218a60c8431f (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-pcu/commit/?id=1962136a333a03e3ed33e96f4fb350fad61b3170 commit 1962136a333a03e3ed33e96f4fb350fad61b3170 Author: Max Date: Fri Sep 8 12:33:34 2017 +0200 Assert valid CS The coding scheme converted to number make sense only if it's valid. This is implicitly assumed by the code using this conversion as non-zero value. Make those assumptions explicit with OSMO_ASSERT(). Change-Id: I8f62627b7b7b89dfa1b0d1a7e71b95b2c40fdffa Fixes: CID70466 ----------------------------------------------------------------------- Summary of changes: src/gprs_coding_scheme.h | 6 ++++++ src/gprs_ms.cpp | 2 ++ 2 files changed, 8 insertions(+) hooks/post-receive -- UNNAMED PROJECT From gitosis at osmocom.org Fri Sep 8 12:58:44 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 8 Sep 2017 12:58:44 GMT Subject: osmo-pcu.git branch master updated. 0.2-942-g5759a19 Message-ID: <201709081258.v88CwirX097361@git.osmocom.org> 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, master has been updated via 5759a19020cb35b7b8091b387aec448eb1f67a32 (commit) from 1962136a333a03e3ed33e96f4fb350fad61b3170 (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-pcu/commit/?id=5759a19020cb35b7b8091b387aec448eb1f67a32 commit 5759a19020cb35b7b8091b387aec448eb1f67a32 Author: Max Date: Fri Sep 8 12:23:12 2017 +0200 TBF-DL: extend index check for RLC block copy Log number of RLC blocks to copy and assert if trying to copy too many blocks. Change-Id: I01cbc26ec67400a44e9fff3f9a30d729320380f9 Fixes: CID143069 ----------------------------------------------------------------------- Summary of changes: src/tbf_dl.cpp | 3 + tests/tbf/TbfTest.err | 215 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 218 insertions(+) hooks/post-receive -- UNNAMED PROJECT From gitosis at osmocom.org Fri Sep 8 23:47:28 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 8 Sep 2017 23:47:28 GMT Subject: libosmocore.git branch master updated. 0.9.6-383-gd64b6aed Message-ID: <201709082347.v88NlS1C057229@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, master has been updated via d64b6aed235f6e4d84a2cb8e84b32c3179260254 (commit) from 889ab16437297a2ce1885efde5e2efc4816851ff (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/libosmocore/commit/?id=d64b6aed235f6e4d84a2cb8e84b32c3179260254 commit d64b6aed235f6e4d84a2cb8e84b32c3179260254 Author: Neels Hofmeyr Date: Thu Sep 7 04:52:05 2017 +0200 VTY: interactive: never look for matching commands on parent node For interactive telnet VTY, remove the implicit move up to the parent node when a command did not succeed on the current node level. When reading config files, this behavior was useful to allow skipping explicit 'exit' commands. (A different patch deals with that.) In the telnet VTY, this behavior was never necessary. Explicit 'exit' commands can move to the parent node, and typically uninformed users expect to require that. On a telnet VTY, counting indents like for reading config files is not an option: a user will always type from the first column or may paste some leading spaces without intended meaning. After this patch, it is thus no longer possible to paste a complete config across several node levels directly to a telnet session, unless it contains 'exit' commands. Change-Id: Id73cba2dd34676bad8a130e9c45e67a272f19588 ----------------------------------------------------------------------- Summary of changes: src/vty/command.c | 28 ++-------------------------- tests/vty/vty_test.c | 6 ++---- tests/vty/vty_test.ok | 4 +--- 3 files changed, 5 insertions(+), 33 deletions(-) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Sat Sep 9 08:26:06 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sat, 9 Sep 2017 08:26:06 GMT Subject: gapk.git branch fixeria/lib updated. v0.4-33-g15fa605 Message-ID: <201709090826.v898Q67V098337@git.osmocom.org> 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 "GSM Audio Pocket Knife". The branch, fixeria/lib has been updated via 15fa605576a81803c57a144231e9e9720aa133a1 (commit) via a9f3a4fb5ac57fb50898eec8a61333bc034c087d (commit) from 27cc5fbbcb2b5649c9bca452e8a00335d9a278a7 (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/gapk/commit/?id=15fa605576a81803c57a144231e9e9720aa133a1 commit 15fa605576a81803c57a144231e9e9720aa133a1 Author: Vadim Yanitskiy Date: Fri Sep 8 11:13:49 2017 +0300 osmo-gapk: fix I/O combinations check Previously both ALSA source and sink were out of attention. http://cgit.osmocom.org/gapk/commit/?id=a9f3a4fb5ac57fb50898eec8a61333bc034c087d commit a9f3a4fb5ac57fb50898eec8a61333bc034c087d Author: Vadim Yanitskiy Date: Fri Sep 8 10:55:05 2017 +0300 configure.ac: use actual bug report address in AC_INIT ----------------------------------------------------------------------- Summary of changes: configure.ac | 3 ++- src/app_osmo_gapk.c | 30 +++++++++++++++++++++--------- 2 files changed, 23 insertions(+), 10 deletions(-) hooks/post-receive -- GSM Audio Pocket Knife From gitosis at osmocom.org Sun Sep 10 13:33:15 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 10 Sep 2017 13:33:15 GMT Subject: gapk.git branch fixeria/lib updated. v0.4-45-g46df435 Message-ID: <201709101333.v8ADXFxT029373@git.osmocom.org> 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 "GSM Audio Pocket Knife". The branch, fixeria/lib has been updated via 46df43543a9ea12acd0d0bf88a6e50aad7f14201 (commit) via bf64774bc79bd728e802d6366a95341ebe13fbca (commit) via f012219d97af791e800850b25237274851bdae0b (commit) via f269356136d580d8175657cb68dc05a9c709f5a5 (commit) via 8bf80936be6daa963cc99f92b7318066fd9bc9eb (commit) via 41d428bf6435e9aa12ba185acc7339985d6bd52c (commit) via b846b9a8eda3ae9b16e6d1a26357d64337336745 (commit) via 080b912d99c92188fc7be75e3b24126da67d64dc (commit) via a2a6317a963e0e55b760368f51c66a8e667b92f0 (commit) via 4a77ee720a79e5e8f1e7b9e975d27c19c094b316 (commit) via 7f1aa98a8f2da8dbe13507f763274b41824e477d (commit) via 17b5ba93109743664d17df7bd89e1f44544b3fa3 (commit) from 15fa605576a81803c57a144231e9e9720aa133a1 (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/gapk/commit/?id=46df43543a9ea12acd0d0bf88a6e50aad7f14201 commit 46df43543a9ea12acd0d0bf88a6e50aad7f14201 Author: Vadim Yanitskiy Date: Sun Sep 10 16:32:48 2017 +0300 src/libosmogapk.map: export osmo_gapk_* with a wilcard http://cgit.osmocom.org/gapk/commit/?id=bf64774bc79bd728e802d6366a95341ebe13fbca commit bf64774bc79bd728e802d6366a95341ebe13fbca Author: Vadim Yanitskiy Date: Sun Sep 10 16:27:04 2017 +0300 procqueue: use queue / item names in logging http://cgit.osmocom.org/gapk/commit/?id=f012219d97af791e800850b25237274851bdae0b commit f012219d97af791e800850b25237274851bdae0b Author: Vadim Yanitskiy Date: Sun Sep 10 16:00:43 2017 +0300 procqueue: separate queue check function In order to give advanced control over a processing queue, it would be better to have the checking function separated from the osmo_gapk_pq_prepare(). Moreover, this change introduces an additional 'strict' checking mode that requires a queue to have a source item first and a sink item in the last position. http://cgit.osmocom.org/gapk/commit/?id=f269356136d580d8175657cb68dc05a9c709f5a5 commit f269356136d580d8175657cb68dc05a9c709f5a5 Author: Vadim Yanitskiy Date: Sat Sep 9 21:44:16 2017 +0300 procqueue: add item catedory and sub-category fields This change adds two meta-information fields to the processing queue item structure. Both of them will be used for more detailed logging and for the human-readable processing queue description. http://cgit.osmocom.org/gapk/commit/?id=8bf80936be6daa963cc99f92b7318066fd9bc9eb commit 8bf80936be6daa963cc99f92b7318066fd9bc9eb Author: Vadim Yanitskiy Date: Sat Sep 9 20:57:13 2017 +0300 procqueue: add item type enum (source, sink, proc) There are currently three types of prcessing queue items: - source (file, alsa, rtp) - proc (format, codec) - sink (file, alsa, rtp) Let's assign corresponding type for each item. This would facilitate logging and the queue checking. http://cgit.osmocom.org/gapk/commit/?id=41d428bf6435e9aa12ba185acc7339985d6bd52c commit 41d428bf6435e9aa12ba185acc7339985d6bd52c Author: Vadim Yanitskiy Date: Sat Sep 9 20:43:28 2017 +0300 procqueue: add human-readable name to osmo_gapk_pq Since this change, every processing queue may optionally have an associated human-readable name. If name is not required, NULL should be passed to the osmo_gapk_pq_create(). http://cgit.osmocom.org/gapk/commit/?id=b846b9a8eda3ae9b16e6d1a26357d64337336745 commit b846b9a8eda3ae9b16e6d1a26357d64337336745 Author: Vadim Yanitskiy Date: Sat Sep 9 14:48:49 2017 +0300 libosmogapk: drop an 'osmo' prefix from internal log variables It would be better to have an 'osmo_gapk' prefix for exposed symbols only. Both internal logging variables aren't exposed, so they shouldn't have one. http://cgit.osmocom.org/gapk/commit/?id=080b912d99c92188fc7be75e3b24126da67d64dc commit 080b912d99c92188fc7be75e3b24126da67d64dc Author: Vadim Yanitskiy Date: Sat Sep 9 14:44:24 2017 +0300 osmo-gapk: use talloc for memory management http://cgit.osmocom.org/gapk/commit/?id=a2a6317a963e0e55b760368f51c66a8e667b92f0 commit a2a6317a963e0e55b760368f51c66a8e667b92f0 Author: Vadim Yanitskiy Date: Sat Sep 9 14:23:56 2017 +0300 libosmogapk: introduce the internal root talloc context In order to simplify memory leak debugging, this change introduces the library's internal talloc context that may be changed by external application by calling the osmo_gapk_set_talloc_ctx(). http://cgit.osmocom.org/gapk/commit/?id=4a77ee720a79e5e8f1e7b9e975d27c19c094b316 commit 4a77ee720a79e5e8f1e7b9e975d27c19c094b316 Author: Vadim Yanitskiy Date: Sat Sep 9 14:09:55 2017 +0300 libosmogapk: rename the 'logging.c' to 'common.c' There are not so much code, related to internal logging subsystem. So, there is no reason to keep a few lines in a dedicated file. In the future one may also be used for other routines. http://cgit.osmocom.org/gapk/commit/?id=7f1aa98a8f2da8dbe13507f763274b41824e477d commit 7f1aa98a8f2da8dbe13507f763274b41824e477d Author: Vadim Yanitskiy Date: Sat Sep 9 13:48:38 2017 +0300 libosmogapk: fix memory leak in both AMR and EFR codecs The memory, allocated by codec_efr_init() / codec_amr_init(), was not cleaned after calling the codec_exit(). Found using talloc memory debugging API. http://cgit.osmocom.org/gapk/commit/?id=17b5ba93109743664d17df7bd89e1f44544b3fa3 commit 17b5ba93109743664d17df7bd89e1f44544b3fa3 Author: Vadim Yanitskiy Date: Sat Sep 9 12:10:08 2017 +0300 libosmogapk: use talloc for memory management ----------------------------------------------------------------------- Summary of changes: include/osmocom/gapk/common.h | 1 + include/osmocom/gapk/logging.h | 8 +-- include/osmocom/gapk/procqueue.h | 19 ++++++- src/Makefile.am | 4 +- src/app_osmo_gapk.c | 33 +++++++++-- src/benchmark.c | 11 ++-- src/codec_amr.c | 10 +++- src/codec_efr.c | 8 ++- src/{logging.c => common.c} | 19 +++++-- src/libosmogapk.map | 44 +-------------- src/pq_alsa.c | 23 +++++--- src/pq_codec.c | 10 +++- src/pq_file.c | 23 +++++--- src/pq_format.c | 13 +++-- src/pq_rtp.c | 23 +++++--- src/procqueue.c | 115 ++++++++++++++++++++++++++++++--------- 16 files changed, 243 insertions(+), 121 deletions(-) rename src/{logging.c => common.c} (72%) hooks/post-receive -- GSM Audio Pocket Knife From gitosis at osmocom.org Sun Sep 10 18:17:32 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 10 Sep 2017 18:17:32 GMT Subject: libosmo-netif.git branch master updated. 0.0.6-83-g9c5f01e Message-ID: <201709101817.v8AIHWeK097901@git.osmocom.org> 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 network interface library". The branch, master has been updated via 9c5f01e7b2cb1455314443ceaeb035326354d280 (commit) from 03b84ec99ba591950b6598c682f6f7083c8cc2f5 (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/libosmo-netif/commit/?id=9c5f01e7b2cb1455314443ceaeb035326354d280 commit 9c5f01e7b2cb1455314443ceaeb035326354d280 Author: Pablo Neira Ayuso Date: Mon Sep 4 21:00:15 2017 +0200 rtp: return offset in osmo_rtp_snprintf() Instead of the result of the last snprintf() call. Change-Id: I10066d73387be96a4e1f3349d700405beb138076 ----------------------------------------------------------------------- Summary of changes: src/rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- Osmocom network interface library From gitosis at osmocom.org Mon Sep 11 06:51:33 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 11 Sep 2017 06:51:33 GMT Subject: osmocom-bb.git branch master updated. osmocon_v0.0.0-1842-gae31c37d Message-ID: <201709110651.v8B6pXEG085595@git.osmocom.org> 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 Open Source GSM Base Band stack". The branch, master has been updated via ae31c37d2b4033fb2335060e4f7942ad5ad9549a (commit) from 903e2515f5d92b152804ae4afbe67499d0a90d61 (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/osmocom-bb/commit/?id=ae31c37d2b4033fb2335060e4f7942ad5ad9549a commit ae31c37d2b4033fb2335060e4f7942ad5ad9549a Author: Vadim Yanitskiy Date: Sat Sep 9 00:24:04 2017 +0300 mobile/main.c: clean up config file selection logic The 903e2515 introduced the following problems: - The home variable is allocated dynamically by talloc, but not being freed. There is no need for dynamical memory allocation, as the getenv() returns a pointer to a value in the environment or NULL. - In case of custom configuration file, a pointer to a part of stack (not heap) is passed to talloc_free(). This may cause unexpected behaviour of segfault. Let's fix both of them. Change-Id: I79cc3b954c3018b7e780f6351c3030c3062470b5 ----------------------------------------------------------------------- Summary of changes: src/host/layer23/src/mobile/main.c | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) hooks/post-receive -- The Open Source GSM Base Band stack From gitosis at osmocom.org Mon Sep 11 07:50:35 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 11 Sep 2017 07:50:35 GMT Subject: osmo-bts.git branch master updated. 0.6.0-6-gae134f8 Message-ID: <201709110750.v8B7oZOE099862@git.osmocom.org> 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 ae134f896a77eb5b79c81601cabd821d5b993358 (commit) from cb9f608094ea31b851b376504c585432340af888 (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=ae134f896a77eb5b79c81601cabd821d5b993358 commit ae134f896a77eb5b79c81601cabd821d5b993358 Author: Max Date: Tue Sep 5 13:22:18 2017 +0200 OML: print actual type of report sent to BSC We re-use the same facility to send different data so it's better to print actual cause value to avoid confusion. Change-Id: I9413ecf57eaa6fc661f1a57ccdaa2f04c50ea43b ----------------------------------------------------------------------- Summary of changes: src/common/oml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Mon Sep 11 10:59:35 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 11 Sep 2017 10:59:35 GMT Subject: osmo-sip-connector.git branch master updated. b6032727870ab2b98372b697d91f7256da4f32b3 Message-ID: <201709111059.v8BAxZLO046447@git.osmocom.org> 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 "MNCC <-> SIP bridge". The branch, master has been updated via b6032727870ab2b98372b697d91f7256da4f32b3 (commit) from 148df95d42adbabd6ddd87e28c5970b615b9b3cd (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-sip-connector/commit/?id=b6032727870ab2b98372b697d91f7256da4f32b3 commit b6032727870ab2b98372b697d91f7256da4f32b3 Author: Keith Date: Tue Aug 29 16:56:11 2017 +0200 sdp.c Send octet-align in fmtp rfc4867 8.2: octet-align: Permissible values are 0 and 1. If 1, octet-aligned operation SHALL be used. If 0 or if not present, bandwidth-efficient operation is employed. We don't have any support for AMR BE mode, but if we don't send this the other end expects BE mode and can't decode the stream Change-Id: I938758ac4ec55db9223e3da6c3c277e8fa670055 ----------------------------------------------------------------------- Summary of changes: src/sdp.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) hooks/post-receive -- MNCC <-> SIP bridge From gitosis at osmocom.org Mon Sep 11 15:31:17 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 11 Sep 2017 15:31:17 GMT Subject: libosmo-sccp.git branch master updated. 0.0.6.3-309-g3488cf5 Message-ID: <201709111531.v8BFVHOr021905@git.osmocom.org> 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 "SCCP Library". The branch, master has been updated via 3488cf5b8570cc7a2e6894870705645cfc9baa88 (commit) from 769e9354abcbccc530b6b93421ee974071f540f4 (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/libosmo-sccp/commit/?id=3488cf5b8570cc7a2e6894870705645cfc9baa88 commit 3488cf5b8570cc7a2e6894870705645cfc9baa88 Author: Neels Hofmeyr Date: Tue Sep 5 12:48:01 2017 +0200 vty: add 'asp' / 'local-ip' command We can set the ASP's remote IP (i.e. where to reach osmo-stp), but so far the only way to specify the local IP address to bind to can only be set from C code (e.g. the simple client). Allow setting the local address via VTY. For example, this is desired for the osmo-gsm-tester, to not use arbitrary IP addresses. Change-Id: I3f71897dfacafcf3126e51894d6ca756b02dcd7d ----------------------------------------------------------------------- Summary of changes: src/osmo_ss7_vty.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) hooks/post-receive -- SCCP Library From gitosis at osmocom.org Mon Sep 11 18:18:07 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 11 Sep 2017 18:18:07 GMT Subject: libosmo-netif.git branch master updated. 0.0.6-84-g14af167 Message-ID: <201709111818.v8BII7rg064867@git.osmocom.org> 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 network interface library". The branch, master has been updated via 14af167a5553519d8164f4a21556888535eeefeb (commit) from 9c5f01e7b2cb1455314443ceaeb035326354d280 (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/libosmo-netif/commit/?id=14af167a5553519d8164f4a21556888535eeefeb commit 14af167a5553519d8164f4a21556888535eeefeb Author: Pablo Neira Ayuso Date: Mon Sep 4 20:35:36 2017 +0200 osmux: fix buffer management mess in snprintf() calls SNPRINTF_BUFFER_SIZE() looks too complex, previous version maintains two different variables to account for the remaining space in the buffer, one of them is always decremented based on what snprintf() returns, which may result in underflow. These variables are swapped - not used consistently - all over this code. Replace this macro by a simplified version, with one single parameter to account for remaining space. This macro also deals with two corner cases: 1) snprintf() fails, actually never happens in practise, but documentation indicates it may return -1, so let's catch this case from here to stick to specs. 2) There is not enough space in the buffer, in that case, keep increasing offset, so we know how much would have been printed, just like snprintf() does. Thanks to Pau Espin for reporting, and Holger for clues on this. I have run osmux_test and, at quick glance, it looks good. Change-Id: I5b5d6ec57a02f57c23b1ae86dbd894bad28ea797 ----------------------------------------------------------------------- Summary of changes: src/osmux.c | 52 +++++++++++++++++++++++------------------------- src/rtp.c | 27 +++++++++++++------------ tests/osmux/osmux_test.c | 8 ++++---- 3 files changed, 43 insertions(+), 44 deletions(-) hooks/post-receive -- Osmocom network interface library From gitosis at osmocom.org Mon Sep 11 18:39:09 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 11 Sep 2017 18:39:09 GMT Subject: osmocom-analog.git branch master updated. 5b1956fe49f958a4674f4e470fc8a63bc5576016 Message-ID: <201709111839.v8BId9GW070249@git.osmocom.org> 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 "A/B/C Netz". The branch, master has been updated via 5b1956fe49f958a4674f4e470fc8a63bc5576016 (commit) via b6326aa473ce9327ba3eb7ba2cb66eecb2572258 (commit) via 7017fd7b3c88a0704992ac51ab97c91d56a9407b (commit) from c6875ea41233090cd244d32e12855db7f58a6689 (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/osmocom-analog/commit/?id=5b1956fe49f958a4674f4e470fc8a63bc5576016 commit 5b1956fe49f958a4674f4e470fc8a63bc5576016 Author: Andreas Eversberg Date: Mon Sep 11 20:37:03 2017 +0200 Move sms and dms code (NMT) to separate lib.a http://cgit.osmocom.org/osmocom-analog/commit/?id=b6326aa473ce9327ba3eb7ba2cb66eecb2572258 commit b6326aa473ce9327ba3eb7ba2cb66eecb2572258 Author: Andreas Eversberg Date: Mon Sep 11 20:35:18 2017 +0200 Move commonly used German tones (A/B/C-Netz) to separate lib.a http://cgit.osmocom.org/osmocom-analog/commit/?id=7017fd7b3c88a0704992ac51ab97c91d56a9407b commit 7017fd7b3c88a0704992ac51ab97c91d56a9407b Author: Andreas Eversberg Date: Mon Sep 11 20:31:29 2017 +0200 Give hint to alter PKG_CONFIG_PATH, if SoapySDR or UHD was not found ----------------------------------------------------------------------- Summary of changes: configure.ac | 4 ++-- src/anetz/Makefile.am | 3 +-- src/anetz/main.c | 4 ++-- src/bnetz/Makefile.am | 4 +--- src/bnetz/main.c | 4 ++-- src/cnetz/Makefile.am | 4 +--- src/cnetz/main.c | 4 ++-- src/common/Makefile.am | 6 +++++- src/{anetz => common}/besetztton.c | 0 src/{anetz => common}/besetztton.h | 0 src/{anetz => common}/freiton.c | 0 src/{anetz => common}/freiton.h | 0 src/nmt/Makefile.am | 9 +++++++-- src/r2000/Makefile.am | 1 - src/test/Makefile.am | 29 +++++++++++++---------------- 15 files changed, 36 insertions(+), 36 deletions(-) rename src/{anetz => common}/besetztton.c (100%) rename src/{anetz => common}/besetztton.h (100%) rename src/{anetz => common}/freiton.c (100%) rename src/{anetz => common}/freiton.h (100%) hooks/post-receive -- A/B/C Netz From gitosis at osmocom.org Mon Sep 11 18:41:35 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 11 Sep 2017 18:41:35 GMT Subject: openbsc.git branch master updated. 0.15.0-883-g9051421d7 Message-ID: <201709111841.v8BIfZMT070895@git.osmocom.org> 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 "Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, master has been updated via 9051421d75eed22c02f01b373cfab58dbadcd4b5 (commit) from f52cf145acea5db288543de0f2e886988d5676cf (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=9051421d75eed22c02f01b373cfab58dbadcd4b5 commit 9051421d75eed22c02f01b373cfab58dbadcd4b5 Author: Pablo Neira Ayuso Date: Sun Sep 10 21:29:12 2017 +0200 libmsc: annotate esme route in the sms object from deliver_to_esme() Annotate this esme route, so we can use it to return -EINPROGRESS to skip sending premature RP-ACK to the mobile station, in case we're handling sms routes through SMPP. Now that we have this information in place, we use it wherever possible to avoid kludgy checks on sms->receiver. sms_free() already releases references to this object, so we should be fine with this. Fixes: 4e5b90a594f9 ("libmsc: remove 'deferred' parameter in sms_route_mt_sms()") Change-Id: Ib8a8fd9bbb0d3b6aff7931e4bacbea99d000e484 ----------------------------------------------------------------------- Summary of changes: openbsc/src/libmsc/gsm_04_11.c | 11 ++++++++--- openbsc/src/libmsc/smpp_openbsc.c | 4 ++++ 2 files changed, 12 insertions(+), 3 deletions(-) hooks/post-receive -- Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Tue Sep 12 10:15:28 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 12 Sep 2017 10:15:28 GMT Subject: osmo-pcu.git branch master updated. 0.2-943-g5b0df1f Message-ID: <201709121015.v8CAFSF5017333@git.osmocom.org> 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, master has been updated via 5b0df1f1c52803ae01c406081efacfdd19a24d4c (commit) from 5759a19020cb35b7b8091b387aec448eb1f67a32 (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-pcu/commit/?id=5b0df1f1c52803ae01c406081efacfdd19a24d4c commit 5b0df1f1c52803ae01c406081efacfdd19a24d4c Author: Max Date: Mon Sep 11 10:38:59 2017 +0200 TS alloc: properly count UL slots Add cycle to mark multiple allocated UL slots similar to the way we count DL slots in AllocTest. Until multislot UL allocation is implemented it does not affect test output. Change-Id: I2705405119421da3066c6c6bdd5830df4c133a36 Related: OS#2282 ----------------------------------------------------------------------- Summary of changes: tests/alloc/AllocTest.cpp | 4 ++++ 1 file changed, 4 insertions(+) hooks/post-receive -- UNNAMED PROJECT From gitosis at osmocom.org Wed Sep 13 11:03:53 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 13 Sep 2017 11:03:53 GMT Subject: openbsc.git branch master updated. 0.15.0-884-ge22907147 Message-ID: <201709131103.v8DB3rV9013152@git.osmocom.org> 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 "Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, master has been updated via e229071479282f854656799c19a07fbe79a20e57 (commit) from 9051421d75eed22c02f01b373cfab58dbadcd4b5 (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=e229071479282f854656799c19a07fbe79a20e57 commit e229071479282f854656799c19a07fbe79a20e57 Author: Neels Hofmeyr Date: Wed Sep 13 01:29:32 2017 +0200 fix vty tests: vty no longer goes to parent node implicitly Fix four instances of VTY tests working because it used to include implicit 'exit' commands to the parent node. Since libosmocore change-id Id73cba2dd34676bad8a130e9c45e67a272f19588 = commit d64b6aed235f6e4d84a2cb8e84b32c3179260254, we no longer do this implicit-exit in interactive VTY shells. *) the nitb node lacked the default command set (including 'end' and 'exit'), so it was impossible to leave the nitb node. This hit in testSubscriberCreateDelete. Add vty_install_default(NITB_NODE). *) in testPingPongConfiguration, the intention is to enter the /msc 0 node. Drop prior entry of the 'network' node, which looks like an oversight. So far the 'msc 0' caused an implicit 'exit' and thus worked, now fails. *) Two instances following comments "# Check searching for outer node's commands", which look like they are intended to check for this implicit-exit behavior. This is obsolete, drop those parts of the tests. Change-Id: I77931d6a09c42c443c6936000592f22a7fd06cab ----------------------------------------------------------------------- Summary of changes: openbsc/src/libmsc/vty_interface_layer3.c | 1 + openbsc/tests/vty_test_runner.py | 22 ---------------------- 2 files changed, 1 insertion(+), 22 deletions(-) hooks/post-receive -- Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Wed Sep 13 11:47:43 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 13 Sep 2017 11:47:43 GMT Subject: openbsc.git branch master updated. 0.15.0-885-g968a6c236 Message-ID: <201709131147.v8DBlhM6025230@git.osmocom.org> 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 "Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, master has been updated via 968a6c2365c0f772fa65ebe66466715d6861e7fc (commit) from e229071479282f854656799c19a07fbe79a20e57 (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=968a6c2365c0f772fa65ebe66466715d6861e7fc commit 968a6c2365c0f772fa65ebe66466715d6861e7fc Author: Pablo Neira Ayuso Date: Sun Sep 10 20:38:06 2017 +0200 libmsc: sms_route_mt_sms() may return uninitialized return value If smpp_first is set off and there is a local receiver for this sms, then return 0. Without this patch, we return 'rc' which is uninitialized in the scenario that I'm describing above. Change-Id: I0c0bcd919cc3275d491995d17c6a32bb61c6afe1 ----------------------------------------------------------------------- Summary of changes: openbsc/src/libmsc/gsm_04_11.c | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) hooks/post-receive -- Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Wed Sep 13 11:48:40 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 13 Sep 2017 11:48:40 GMT Subject: osmo-python-tests.git branch master updated. f41db1e337d66c9b904a553d63e3babf22223249 Message-ID: <201709131148.v8DBmegs025519@git.osmocom.org> 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, master has been updated via f41db1e337d66c9b904a553d63e3babf22223249 (commit) via 562bfea5939c13cc2f6e024c9fc4ab04b66b3736 (commit) from baa6f12260c383f40a477b71743b16940c50e5aa (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/python/osmo-python-tests/commit/?id=f41db1e337d66c9b904a553d63e3babf22223249 commit f41db1e337d66c9b904a553d63e3babf22223249 Author: Holger Hans Peter Freyther Date: Wed Sep 13 15:42:15 2017 +0800 vty: Follow links to see what is a file and what is a socket Change-Id: I3d94cde8523a2ed26a66b8b8b3f651606aa17a9d http://cgit.osmocom.org/python/osmo-python-tests/commit/?id=562bfea5939c13cc2f6e024c9fc4ab04b66b3736 commit 562bfea5939c13cc2f6e024c9fc4ab04b66b3736 Author: Holger Hans Peter Freyther Date: Wed Sep 13 15:38:48 2017 +0800 vty: Print open file descriptors of the VTY test runner /proc/self/fd refers to the process opening the file. In this case self will be "ls". Maybe it is better to look at the FDs open in the test runner itself. Change-Id: I638e94f16f4019a7b6026d1fae69e677870fb253 ----------------------------------------------------------------------- Summary of changes: osmopy/obscvty.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- UNNAMED PROJECT From gitosis at osmocom.org Wed Sep 13 13:30:17 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 13 Sep 2017 13:30:17 GMT Subject: meta-telephony.git branch laforge/nightly updated. d25f58b013fccb3c34219ca161dbb120173396f5 Message-ID: <201709131330.v8DDUH5Z053013@git.osmocom.org> 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 layer for OpenEmbedded". The branch, laforge/nightly has been updated discards bf43319200e2fe123a9d84fc7af8f3e84c6265f6 (commit) discards b58904accd730b8505320d62e0c198274b422d7f (commit) discards 7798207c8795d1337c9525f527b760dcfb7b8348 (commit) discards 5f424a919fd57caf5482e7d9da510a116febd2cd (commit) via d25f58b013fccb3c34219ca161dbb120173396f5 (commit) via 2415ab3b4191157aaef2de00491c3085e65c7326 (commit) via 53c9c389e4da9ed170995abaf35feabb62f8c4ea (commit) via 30916ff90e96b27e3ab84a8bb72769896ded4419 (commit) via 687b683bb80a4c368248491ac18ef5e439aa48af (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 (bf43319200e2fe123a9d84fc7af8f3e84c6265f6) \ N -- N -- N (d25f58b013fccb3c34219ca161dbb120173396f5) 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/meta-telephony/commit/?id=d25f58b013fccb3c34219ca161dbb120173396f5 commit d25f58b013fccb3c34219ca161dbb120173396f5 Author: Pau Espin Pedrol Date: Wed Sep 6 12:09:52 2017 +0200 libosmo-abis: modify PV to match recent release The upstream release commit is 7f17b8c45d094941292036143f3292a1d5789cf5. This should fix current issue with 201705/nightly package feed: $ opkg upgrade Not selecting libosmo-abis 0.3.2+gitr0+d3292913ac as installing it would break existing dependencies. $ opkg list_installed | grep libosmo-abis libosmo-abis - 0.3.2+gitr2+d3292913ac-r2.18.1.0 See that gitr in repos is 0 while the previously installed one has gitr2, which is higher. Explanations I can find for this: - PR server was somehow reset? - the value in gitr is calculated based on offset from latest tag. As new release introduced new tag, gitr may have been reset. In any case, updating PV to have the correct value should fix this issue. Change-Id: I9f27661d9e5241efe7725b7d1efcf4aef55e2efe http://cgit.osmocom.org/meta-telephony/commit/?id=2415ab3b4191157aaef2de00491c3085e65c7326 commit 2415ab3b4191157aaef2de00491c3085e65c7326 Author: Harald Welte Date: Thu Aug 17 00:53:51 2017 +0200 update PV versions for libosmocore, libosmo-sccp and openggsn As we're building git master, we need to make sure PV is not lagging behind. I wish there was some OE magic by which it could discover PV from the source it builds. Change-Id: Ib45238e95156f215412d51d975b1acb33633a3e1 http://cgit.osmocom.org/meta-telephony/commit/?id=53c9c389e4da9ed170995abaf35feabb62f8c4ea commit 53c9c389e4da9ed170995abaf35feabb62f8c4ea Author: Holger Hans Peter Freyther Date: Fri Jun 2 18:33:02 2017 +0800 libosmo-sccp: Attempt to fix link issue on 201705-nightly builds This project will build some static libraries needed for testing and also for downstream users. Do not disable the static build on newer Poky versions. arm-poky-linux-gnueabi-libtool: link: arm-poky-linux-gnueabi-gcc -march=armv5te -marm --sysroot=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot -Wall -I/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot/usr/include/ -I/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot/usr/include/ -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1=/usr/src/debug/libosmo-sccp/git-r1.18.1 -fdebug-prefix-map=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot-native= -fdebug-prefix-map=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o xua_test xua_test.o sccp_test_data.o ../../src/.libs/libosmo-sigtran.so -losmogsm -ltalloc -losmovty -losmocore -losmonetif -lsctp | xua_test.o: In function `test_helpers': | /usr/src/debug/libosmo-sccp/git-r1.18.1/git/tests/xua/xua_test.c:160: undefined reference to `xua_part_add_gt' | /usr/src/debug/libosmo-sccp/git-r1.18.1/git/tests/xua/xua_test.c:168: undefined reference to `sua_parse_gt' | xua_test.o: In function `test_sccp2sua_case': Change-Id: I80eea9ac888ab4b13614ff475bebacb94b72b0f2 http://cgit.osmocom.org/meta-telephony/commit/?id=30916ff90e96b27e3ab84a8bb72769896ded4419 commit 30916ff90e96b27e3ab84a8bb72769896ded4419 Author: Harald Welte Date: Thu Jun 23 08:51:51 2016 +0200 set up osmocom recipes with AUTOREV to track git master This is for the upcoming nightly builds, where all our osmo* recipes are going to track current master of their respective upstream git repository. ----------------------------------------------------------------------- Summary of changes: recipes-misc/lksctp-tools/lksctp-tools_1.0.16.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- Osmocom layer for OpenEmbedded From gitosis at osmocom.org Thu Sep 14 01:53:36 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 14 Sep 2017 01:53:36 GMT Subject: meta-telephony.git branch 201705 updated. 075ece83b2830a73a21b5df61a2aff190e471a34 Message-ID: <201709140153.v8E1raXO041520@git.osmocom.org> 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 layer for OpenEmbedded". The branch, 201705 has been updated via 075ece83b2830a73a21b5df61a2aff190e471a34 (commit) from 687b683bb80a4c368248491ac18ef5e439aa48af (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/meta-telephony/commit/?id=075ece83b2830a73a21b5df61a2aff190e471a34 commit 075ece83b2830a73a21b5df61a2aff190e471a34 Author: Max Date: Fri Sep 1 18:37:45 2017 +0200 Add git-review config Change-Id: I4178b4866078f20f7415772255e9c755dcb90efe ----------------------------------------------------------------------- Summary of changes: .gitreview | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitreview hooks/post-receive -- Osmocom layer for OpenEmbedded From gitosis at osmocom.org Thu Sep 14 01:59:21 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 14 Sep 2017 01:59:21 GMT Subject: libosmocore.git branch master updated. 0.9.6-384-gb2e41cc1 Message-ID: <201709140159.v8E1xLRd042924@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, master has been updated via b2e41cc174e3423282a30fa7c40133350973e300 (commit) from d64b6aed235f6e4d84a2cb8e84b32c3179260254 (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/libosmocore/commit/?id=b2e41cc174e3423282a30fa7c40133350973e300 commit b2e41cc174e3423282a30fa7c40133350973e300 Author: Neels Hofmeyr Date: Tue Sep 12 03:25:43 2017 +0200 osmo-auc-gen.c: squelch compiler warnings, move local var The compiler thinks that ind or ind_mask may be used uninitialized, because it doesn't analyze the conditionality of command line arguments and other variables set accordingly. Make the compiler happy by zero initializing. Change-Id: I9ddcb0525159da520aceaeb6e908a735a003bb5a ----------------------------------------------------------------------- Summary of changes: utils/osmo-auc-gen.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Thu Sep 14 09:09:40 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 14 Sep 2017 09:09:40 GMT Subject: octphy-2g-headers.git branch master updated. OCTSDR-OPENBSC-02.07.00-B708-1-gaeb1acf Message-ID: <201709140909.v8E99eeP068548@git.osmocom.org> 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 "Octasic GSM PHY API header files for OsmoBTS". The branch, master has been updated via aeb1acff47fae6a5744e3e2464e0e7d8a961f5b8 (commit) from 953a258aadf18c05e8128a339f15b1c5bb377cfd (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/octphy-2g-headers/commit/?id=aeb1acff47fae6a5744e3e2464e0e7d8a961f5b8 commit aeb1acff47fae6a5744e3e2464e0e7d8a961f5b8 Author: Pau Espin Pedrol Date: Thu Sep 14 10:57:12 2017 +0200 Import headers from OCTSDR-OPENBSC-02.08.00-B993.tgz ----------------------------------------------------------------------- Summary of changes: octdev_devices.h | 4 +- octdev_devices_swap.h | 4 +- octdev_macro.h | 4 +- octdev_opus_rev.h | 4 +- octdev_rc_base.h | 4 +- octdev_types.h | 4 +- octdev_types_swap.h | 4 +- octoptions.h | 4 +- octpkt/octpkt_hdr.h | 4 +- octpkt/octpkt_hdr_swap.h | 4 +- octpkt/octpkt_hdrxl.h | 4 +- octpkt/octpkt_hdrxl_swap.h | 4 +- octvc1/ctrl/octvc1_ctrl_api.h | 4 +- octvc1/ctrl/octvc1_ctrl_api_priv.h | 4 +- octvc1/ctrl/octvc1_ctrl_api_priv_swap.h | 4 +- octvc1/ctrl/octvc1_ctrl_api_swap.h | 4 +- octvc1/ctrl/octvc1_ctrl_base.h | 4 +- octvc1/ctrl/octvc1_ctrl_id.h | 4 +- octvc1/ctrl/octvc1_ctrl_id_priv.h | 4 +- octvc1/ctrl/octvc1_ctrl_version.h | 8 +- octvc1/gsm/octvc1_gsm_api.h | 166 +- octvc1/gsm/octvc1_gsm_api_priv.h | 5 +- octvc1/gsm/octvc1_gsm_api_priv_swap.h | 4 +- octvc1/gsm/octvc1_gsm_api_swap.h | 82 +- octvc1/gsm/octvc1_gsm_base.h | 4 +- octvc1/gsm/octvc1_gsm_default.h | 61 +- octvc1/gsm/octvc1_gsm_default_priv.h | 4 +- octvc1/gsm/octvc1_gsm_evt.h | 4 +- octvc1/gsm/octvc1_gsm_evt_priv.h | 4 +- octvc1/gsm/octvc1_gsm_evt_priv_swap.h | 4 +- octvc1/gsm/octvc1_gsm_evt_swap.h | 4 +- octvc1/gsm/octvc1_gsm_id.h | 6 +- octvc1/gsm/octvc1_gsm_id_priv.h | 4 +- octvc1/gsm/octvc1_gsm_lic.h | 50 + .../octvc1_gsm_lic_priv.h} | 21 +- octvc1/gsm/octvc1_gsm_rc.h | 38 +- octvc1/gsm/octvc1_gsm_rc_priv.h | 4 +- octvc1/gsm/octvc1_gsm_version.h | 8 +- octvc1/hw/octvc1_hw_api.h | 428 ++++- octvc1/hw/octvc1_hw_api_priv.h | 7 +- octvc1/hw/octvc1_hw_api_priv_swap.h | 6 +- octvc1/hw/octvc1_hw_api_swap.h | 262 ++- octvc1/hw/octvc1_hw_base.h | 4 +- octvc1/hw/octvc1_hw_default.h | 205 ++- octvc1/hw/octvc1_hw_default_priv.h | 7 +- octvc1/hw/octvc1_hw_evt.h | 78 +- octvc1/hw/octvc1_hw_evt_priv.h | 4 +- octvc1/hw/octvc1_hw_evt_priv_swap.h | 4 +- octvc1/hw/octvc1_hw_evt_swap.h | 54 +- octvc1/hw/octvc1_hw_id.h | 59 +- octvc1/hw/octvc1_hw_id_priv.h | 10 +- octvc1/hw/octvc1_hw_rc.h | 15 +- octvc1/hw/octvc1_hw_rc_priv.h | 8 +- octvc1/hw/octvc1_hw_version.h | 8 +- octvc1/irsc/octvc1_irsc_api.h | 43 +- octvc1/irsc/octvc1_irsc_api_priv.h | 4 +- octvc1/irsc/octvc1_irsc_api_priv_swap.h | 4 +- octvc1/irsc/octvc1_irsc_api_swap.h | 26 +- octvc1/irsc/octvc1_irsc_base.h | 4 +- octvc1/irsc/octvc1_irsc_default.h | 34 +- octvc1/irsc/octvc1_irsc_default_priv.h | 4 +- octvc1/irsc/octvc1_irsc_evt.h | 4 +- octvc1/irsc/octvc1_irsc_evt_priv.h | 4 +- octvc1/irsc/octvc1_irsc_evt_priv_swap.h | 4 +- octvc1/irsc/octvc1_irsc_evt_swap.h | 4 +- octvc1/irsc/octvc1_irsc_id.h | 7 +- octvc1/irsc/octvc1_irsc_id_priv.h | 4 +- octvc1/irsc/octvc1_irsc_rc.h | 4 +- octvc1/irsc/octvc1_irsc_rc_priv.h | 4 +- octvc1/irsc/octvc1_irsc_version.h | 8 +- octvc1/job/octvc1_job_api.h | 1708 ++++++++++++++++++++ .../octvc1_job_api_priv.h} | 27 +- .../octvc1_job_api_priv_swap.h} | 14 +- octvc1/job/octvc1_job_api_swap.h | 1019 ++++++++++++ .../octvc1_gsm_base.h => job/octvc1_job_base.h} | 23 +- octvc1/job/octvc1_job_default.h | 1321 +++++++++++++++ .../octvc1_job_default_priv.h} | 17 +- octvc1/job/octvc1_job_evt.h | 71 + octvc1/{octvc1_mac.h => job/octvc1_job_evt_priv.h} | 38 +- .../octvc1_job_evt_priv_swap.h} | 36 +- octvc1/job/octvc1_job_evt_swap.h | 57 + octvc1/job/octvc1_job_id.h | 90 ++ .../octvc1_job_id_priv.h} | 19 +- octvc1/job/octvc1_job_rc.h | 70 + .../octvc1_job_rc_priv.h} | 20 +- .../octvc1_job_version.h} | 30 +- octvc1/main/octvc1_main_api.h | 155 +- octvc1/main/octvc1_main_api_priv.h | 5 +- octvc1/main/octvc1_main_api_priv_swap.h | 4 +- octvc1/main/octvc1_main_api_swap.h | 86 +- octvc1/main/octvc1_main_base.h | 4 +- octvc1/main/octvc1_main_default.h | 104 +- octvc1/main/octvc1_main_default_priv.h | 4 +- octvc1/main/octvc1_main_evt.h | 4 +- octvc1/main/octvc1_main_evt_priv.h | 4 +- octvc1/main/octvc1_main_evt_priv_swap.h | 4 +- octvc1/main/octvc1_main_evt_swap.h | 4 +- octvc1/main/octvc1_main_id.h | 9 +- octvc1/main/octvc1_main_id_priv.h | 4 +- octvc1/main/octvc1_main_rc.h | 14 +- octvc1/main/octvc1_main_rc_priv.h | 4 +- octvc1/main/octvc1_main_version.h | 8 +- octvc1/octvc1_api.h | 23 +- octvc1/octvc1_api_swap.h | 14 +- octvc1/octvc1_app.h | 8 +- octvc1/octvc1_base.h | 8 +- octvc1/octvc1_buffer.h | 4 +- octvc1/octvc1_buffer_swap.h | 4 +- octvc1/octvc1_cursor.h | 4 +- octvc1/octvc1_cursor_swap.h | 4 +- octvc1/octvc1_eth.h | 4 +- octvc1/octvc1_eth_swap.h | 4 +- octvc1/octvc1_fifo.h | 4 +- octvc1/octvc1_file.h | 4 +- octvc1/octvc1_file_swap.h | 4 +- octvc1/octvc1_generic_rc.h | 4 +- octvc1/octvc1_handle.h | 4 +- octvc1/octvc1_handle_swap.h | 4 +- octvc1/octvc1_id2string.h | 118 +- octvc1/octvc1_id2string_priv.h | 40 +- octvc1/octvc1_ip.h | 4 +- octvc1/octvc1_ip_swap.h | 4 +- octvc1/octvc1_ipc.h | 4 +- octvc1/octvc1_ipc_swap.h | 4 +- octvc1/octvc1_lic2string.h | 130 ++ octvc1/octvc1_list.h | 4 +- octvc1/octvc1_list_swap.h | 4 +- octvc1/octvc1_log.h | 4 +- octvc1/octvc1_log_swap.h | 4 +- octvc1/octvc1_mac.h | 4 +- octvc1/octvc1_macro.h | 4 +- octvc1/octvc1_module.h | 16 +- octvc1/octvc1_module_swap.h | 4 +- octvc1/octvc1_msg.h | 4 +- octvc1/octvc1_msg_swap.h | 4 +- octvc1/octvc1_priv_swap_hdrs.h | 8 +- octvc1/octvc1_privacy.h | 4 +- octvc1/octvc1_process.h | 8 +- octvc1/octvc1_process_swap.h | 4 +- octvc1/octvc1_radio.h | 70 +- octvc1/octvc1_radio_swap.h | 32 +- octvc1/octvc1_rc2string.h | 75 +- octvc1/octvc1_swap_hdrs.h | 8 +- octvc1/octvc1_tap.h | 4 +- octvc1/octvc1_tap_swap.h | 4 +- octvc1/octvc1_udp.h | 4 +- octvc1/octvc1_user_id.h | 4 +- octvc1/octvc1_user_id_swap.h | 4 +- octvc1/octvc1_vlan.h | 4 +- octvc1/octvc1_vlan_swap.h | 4 +- octvc1/octvocnet_pkt.h | 4 +- octvc1/octvocnet_pkt_swap.h | 4 +- octvc1/pkt_api/octvc1_pkt_api.h | 4 +- octvc1/pkt_api/octvc1_pkt_api_default.h | 4 +- octvc1/pkt_api/octvc1_pkt_api_rc.h | 4 +- octvc1/pkt_api/octvc1_pkt_api_version.h | 8 +- 156 files changed, 6917 insertions(+), 660 deletions(-) create mode 100644 octvc1/gsm/octvc1_gsm_lic.h copy octvc1/{hw/octvc1_hw_rc_priv.h => gsm/octvc1_gsm_lic_priv.h} (66%) create mode 100644 octvc1/job/octvc1_job_api.h copy octvc1/{irsc/octvc1_irsc_api_priv.h => job/octvc1_job_api_priv.h} (67%) copy octvc1/{hw/octvc1_hw_evt_priv_swap.h => job/octvc1_job_api_priv_swap.h} (74%) create mode 100644 octvc1/job/octvc1_job_api_swap.h copy octvc1/{gsm/octvc1_gsm_base.h => job/octvc1_job_base.h} (69%) create mode 100644 octvc1/job/octvc1_job_default.h copy octvc1/{test/octvc1_test_default.h => job/octvc1_job_default_priv.h} (68%) create mode 100644 octvc1/job/octvc1_job_evt.h copy octvc1/{octvc1_mac.h => job/octvc1_job_evt_priv.h} (60%) copy octvc1/{octvc1_ipc_swap.h => job/octvc1_job_evt_priv_swap.h} (54%) create mode 100644 octvc1/job/octvc1_job_evt_swap.h create mode 100644 octvc1/job/octvc1_job_id.h copy octvc1/{irsc/octvc1_irsc_id_priv.h => job/octvc1_job_id_priv.h} (70%) create mode 100644 octvc1/job/octvc1_job_rc.h copy octvc1/{gsm/octvc1_gsm_rc_priv.h => job/octvc1_job_rc_priv.h} (74%) copy octvc1/{gsm/octvc1_gsm_version.h => job/octvc1_job_version.h} (58%) create mode 100644 octvc1/octvc1_lic2string.h hooks/post-receive -- Octasic GSM PHY API header files for OsmoBTS From gitosis at osmocom.org Thu Sep 14 09:12:13 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 14 Sep 2017 09:12:13 GMT Subject: octphy-2g-headers.git tag OCTSDR-OPENBSC-02.08.00-B993 created. OCTSDR-OPENBSC-02.07.00-B708-1-gaeb1acf Message-ID: <201709140912.v8E9CDxE069305@git.osmocom.org> 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 "Octasic GSM PHY API header files for OsmoBTS". The tag, OCTSDR-OPENBSC-02.08.00-B993 has been created at aeb1acff47fae6a5744e3e2464e0e7d8a961f5b8 (commit) - Log ----------------------------------------------------------------- commit aeb1acff47fae6a5744e3e2464e0e7d8a961f5b8 Author: Pau Espin Pedrol Date: Thu Sep 14 10:57:12 2017 +0200 Import headers from OCTSDR-OPENBSC-02.08.00-B993.tgz ----------------------------------------------------------------------- hooks/post-receive -- Octasic GSM PHY API header files for OsmoBTS From gitosis at osmocom.org Fri Sep 15 07:44:00 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 15 Sep 2017 07:44:00 GMT Subject: openbsc.git branch master updated. 0.15.0-886-g1cbc7e1ad Message-ID: <201709150744.v8F7i0C3031940@git.osmocom.org> 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 "Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, master has been updated via 1cbc7e1adf859a7d5b05fa0dbdde1bb0cb998041 (commit) from 968a6c2365c0f772fa65ebe66466715d6861e7fc (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=1cbc7e1adf859a7d5b05fa0dbdde1bb0cb998041 commit 1cbc7e1adf859a7d5b05fa0dbdde1bb0cb998041 Author: Keith Date: Tue Sep 12 11:32:12 2017 +0200 libmsc: Log Rx DELIVER-SM RESP before calling gsm411_send_rp_ack This patch just makes the log match chronologically what is happening. We receive the deliver_sm_resp before we send the RP ACK to the MS. Change-Id: I29270652957f58093be8bf7f2e898b0b4933bd93 ----------------------------------------------------------------------- Summary of changes: openbsc/src/libmsc/smpp_smsc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) hooks/post-receive -- Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Fri Sep 15 11:53:13 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 15 Sep 2017 11:53:13 GMT Subject: openbsc.git branch users/daniel/ow-nat-msc-conns updated. 0.15.0-107-g11c316f5d Message-ID: <201709151153.v8FBrDCd006775@git.osmocom.org> 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 "Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, users/daniel/ow-nat-msc-conns has been updated via 11c316f5dd081d3a695812da2ab1e553ebb3be1b (commit) via db3f545da1f48e3cf37de4309cc290e4790c8884 (commit) from 606d70cd2630f2045a754a42b98416d84b60d793 (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=11c316f5dd081d3a695812da2ab1e553ebb3be1b commit 11c316f5dd081d3a695812da2ab1e553ebb3be1b Author: Daniel Willmann Date: Fri Sep 15 13:52:04 2017 +0200 libmgcp: Pass the pointer to the mgcp list on init, don't copy it Change-Id: I2d51589670bb602422ec98521eec620948752e36 http://cgit.osmocom.org/openbsc/commit/?id=db3f545da1f48e3cf37de4309cc290e4790c8884 commit db3f545da1f48e3cf37de4309cc290e4790c8884 Author: Daniel Willmann Date: Fri Sep 15 13:51:28 2017 +0200 libmgcp: Fix mgcp instance argument Change-Id: I47e5b6fbcf0981699b330030de92f209fc4bb25a ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/bsc_nat.h | 2 +- openbsc/include/openbsc/mgcp.h | 2 +- openbsc/src/libmgcp/mgcp_vty.c | 9 +++++---- openbsc/src/osmo-bsc_mgcp/mgcp_main.c | 6 +++--- openbsc/src/osmo-bsc_nat/bsc_mgcp_utils.c | 6 +++--- openbsc/src/osmo-bsc_nat/bsc_nat.c | 4 ++-- openbsc/src/osmo-bsc_nat/bsc_nat_utils.c | 1 - 7 files changed, 15 insertions(+), 15 deletions(-) hooks/post-receive -- Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Fri Sep 15 15:02:00 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 15 Sep 2017 15:02:00 GMT Subject: osmo-ggsn.git branch master updated. 1.0.0-2-gea70f36 Message-ID: <201709151502.v8FF20V3051534@git.osmocom.org> 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 OpenGGSN project". The branch, master has been updated via ea70f3619acbba7dba0e859f7eb52bdd53d4c17c (commit) from 98146776dddb986fda78b5f028e79f041460ee4c (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-ggsn/commit/?id=ea70f3619acbba7dba0e859f7eb52bdd53d4c17c commit ea70f3619acbba7dba0e859f7eb52bdd53d4c17c Author: Max Date: Fri Sep 15 12:16:53 2017 +0200 Fix leftovers after rename * Use proper name in jenkins test * Fix naming in systemd service * Fix git-review config Change-Id: I934f897002215d7d4e610cbd312383181bbe97c9 ----------------------------------------------------------------------- Summary of changes: .gitreview | 2 +- contrib/jenkins.sh | 2 +- contrib/{openggsn.service => osmo-ggsn.service} | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename contrib/{openggsn.service => osmo-ggsn.service} (63%) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Fri Sep 15 15:04:36 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 15 Sep 2017 15:04:36 GMT Subject: libosmocore.git branch master updated. 0.9.6-385-g98f6482e Message-ID: <201709151504.v8FF4aer052448@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, master has been updated via 98f6482ec7eb603b17e5a99fb92d28c17fcf61e9 (commit) from b2e41cc174e3423282a30fa7c40133350973e300 (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/libosmocore/commit/?id=98f6482ec7eb603b17e5a99fb92d28c17fcf61e9 commit 98f6482ec7eb603b17e5a99fb92d28c17fcf61e9 Author: Max Date: Mon Sep 4 17:15:13 2017 +0200 Make release helper more robust * check for bumpversion and error out if missing * drop bumpversion dependency from .deb Change-Id: Ide04d4c1ba20426bdf9531e25b462eda9418858a Related: OS#1861 ----------------------------------------------------------------------- Summary of changes: debian/control | 1 - osmo-release.mk | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Fri Sep 15 15:35:27 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 15 Sep 2017 15:35:27 GMT Subject: gapk.git branch fixeria/lib updated. v0.4-53-g3cf11d8 Message-ID: <201709151535.v8FFZRSO062686@git.osmocom.org> 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 "GSM Audio Pocket Knife". The branch, fixeria/lib has been updated via 3cf11d824385e06a96b318766d7e6708e49b3215 (commit) via f7d53964d372a64ccbad419cedf33c360442a28f (commit) via c24199263f070fe68b778cab82bb93327b0f07c1 (commit) via 8e3d622262859145d6e8bc8ab4083ef97728a8f2 (commit) via 2f5c8ae7ec445a5c327a584bffc4b17b53d7f7c0 (commit) via 0f08d56e36bbd998a5bd10ec17f2001f03fb584c (commit) via e8b882412b035637bec7edbd8b885c026e4f7040 (commit) via b755032efda89dc2d16356dbaec3f9cdfded4354 (commit) from 46df43543a9ea12acd0d0bf88a6e50aad7f14201 (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/gapk/commit/?id=3cf11d824385e06a96b318766d7e6708e49b3215 commit 3cf11d824385e06a96b318766d7e6708e49b3215 Author: Vadim Yanitskiy Date: Fri Sep 15 19:34:44 2017 +0430 tests: add format / codec transcoding tests This test group is intended to check the format / codec transcoding capabilities of the library. The reference files are used to ensure that encoding or decoding was successful. The following formats are currently being tested: - amr_efr - gsm - racal_hr - racal_fr - racal_efr - ti_hr - ti_fr - ti_efr - rtp_efr - rtp_hr_etsi - rtp_hr_ietf http://cgit.osmocom.org/gapk/commit/?id=f7d53964d372a64ccbad419cedf33c360442a28f commit f7d53964d372a64ccbad419cedf33c360442a28f Author: Vadim Yanitskiy Date: Fri Sep 15 19:17:21 2017 +0430 osmo-gapk: fix I/O count check condition The stdin / stdout operation was broken by a new check condition, introduced by the 15fa605576a81803c57a144231e9e9720aa133a1. http://cgit.osmocom.org/gapk/commit/?id=c24199263f070fe68b778cab82bb93327b0f07c1 commit c24199263f070fe68b778cab82bb93327b0f07c1 Author: Vadim Yanitskiy Date: Thu Sep 14 15:20:50 2017 +0430 tests: add pq_rtp test This test is intended to check the RTP source / sink operability. To do this, two processing queues are being allocated: "generator": source/random -> sink/rtp "checker": source/rtp -> sink/checker The first one generates some amount of random bytes (payload), and stores them inside a buffer that is shared between both queues. After generation, a payload is being sent from the first queue via an RTP sink, and then being received by the second via an RTP source. As both queues do use a shared buffer, the last item of the second queue (named 'sink/checker') is able to compare a received payload with expected. http://cgit.osmocom.org/gapk/commit/?id=8e3d622262859145d6e8bc8ab4083ef97728a8f2 commit 8e3d622262859145d6e8bc8ab4083ef97728a8f2 Author: Vadim Yanitskiy Date: Tue Sep 12 19:07:52 2017 +0300 tests: add pq_file test This test is intended to check the file source / sink operability. To do that, the following processing chain is being composed: source/file -> proc/dummy -> sink/file (stdout) The source item opens the sample file named 'io_sample.txt' for reading. The next processing item simply converts all uppercase latters to the lowercase. The last one writes the result to stdout. This processing cycle is being repeated several times with different block length values. http://cgit.osmocom.org/gapk/commit/?id=2f5c8ae7ec445a5c327a584bffc4b17b53d7f7c0 commit 2f5c8ae7ec445a5c327a584bffc4b17b53d7f7c0 Author: Vadim Yanitskiy Date: Tue Sep 12 15:32:52 2017 +0300 tests: add procqueue test This test is intended to validate the processing queue management API. Moreover, the talloc debugging API is used to ensure that there are no memory leaks. First, four processing queues are being allocated. One of them is empty, while others have different count of items. Then the human-readable description is being generated for all of them. And finally, the processing and exit cllback are being tested. During the test execution, the talloc NULL-context tracking feature is enabled, allowing to observe every memory allocation within the libosmogapk, and to detect memory leaks. http://cgit.osmocom.org/gapk/commit/?id=0f08d56e36bbd998a5bd10ec17f2001f03fb584c commit 0f08d56e36bbd998a5bd10ec17f2001f03fb584c Author: Vadim Yanitskiy Date: Tue Sep 12 15:26:31 2017 +0300 Init automake test environment http://cgit.osmocom.org/gapk/commit/?id=e8b882412b035637bec7edbd8b885c026e4f7040 commit e8b882412b035637bec7edbd8b885c026e4f7040 Author: Vadim Yanitskiy Date: Tue Sep 12 01:30:48 2017 +0300 procqueue: allocate an output buffer as named chunk The talloc_size() call sets the current file name and the current line number as name for chunk being allocated. This combination is not so informative during debugging, so let's use the static '.buffer' string as context name for item's output buffer. http://cgit.osmocom.org/gapk/commit/?id=b755032efda89dc2d16356dbaec3f9cdfded4354 commit b755032efda89dc2d16356dbaec3f9cdfded4354 Author: Vadim Yanitskiy Date: Tue Sep 12 01:17:26 2017 +0300 procqueue: set talloc name and context for queue description Previously a queue description string was allocated without setting proper parental talloc context and proper name. ----------------------------------------------------------------------- Summary of changes: .gitignore | 9 + Makefile.am | 2 +- configure.ac | 2 + src/app_osmo_gapk.c | 2 +- src/procqueue.c | 12 +- tests/Makefile.am | 93 ++++++ {test => tests}/common.sh | 0 tests/io/io_sample.txt | 1 + tests/io/pq_file_test.c | 149 +++++++++ tests/io/pq_file_test.ok | 12 + tests/io/pq_rtp_test.c | 349 +++++++++++++++++++ tests/io/pq_rtp_test.ok | 10 + {test => tests}/play_all_formats.sh | 0 tests/procqueue/pq_test.c | 371 +++++++++++++++++++++ tests/procqueue/pq_test.ok | 60 ++++ {test => tests}/ref-files/hhgttg_part1_5.s16 | Bin .../ref-files/hhgttg_part1_5.s16.amr-efr | Bin .../ref-files/hhgttg_part1_5.s16.amr-efr.s16 | Bin {test => tests}/ref-files/hhgttg_part1_5.s16.gsm | Bin .../ref-files/hhgttg_part1_5.s16.gsm.s16 | Bin .../ref-files/hhgttg_part1_5.s16.racal-efr | Bin .../ref-files/hhgttg_part1_5.s16.racal-efr.s16 | Bin .../ref-files/hhgttg_part1_5.s16.racal-fr | Bin .../ref-files/hhgttg_part1_5.s16.racal-fr.s16 | Bin .../ref-files/hhgttg_part1_5.s16.racal-hr | Bin .../ref-files/hhgttg_part1_5.s16.racal-hr.s16 | Bin .../ref-files/hhgttg_part1_5.s16.rtp-efr | Bin .../ref-files/hhgttg_part1_5.s16.rtp-efr.s16 | Bin .../ref-files/hhgttg_part1_5.s16.rtp-hr-etsi | Bin .../ref-files/hhgttg_part1_5.s16.rtp-hr-etsi.s16 | Bin .../ref-files/hhgttg_part1_5.s16.rtp-hr-ietf | Bin .../ref-files/hhgttg_part1_5.s16.rtp-hr-ietf.s16 | Bin .../ref-files/hhgttg_part1_5.s16.ti-efr | Bin .../ref-files/hhgttg_part1_5.s16.ti-efr.s16 | Bin {test => tests}/ref-files/hhgttg_part1_5.s16.ti-fr | Bin .../ref-files/hhgttg_part1_5.s16.ti-fr.s16 | Bin {test => tests}/ref-files/hhgttg_part1_5.s16.ti-hr | Bin .../ref-files/hhgttg_part1_5.s16.ti-hr.s16 | Bin {test => tests}/test_all_formats.sh | 0 tests/testsuite.at | 244 ++++++++++++++ {test => tests}/update_ref_files.sh | 0 41 files changed, 1313 insertions(+), 3 deletions(-) create mode 100644 tests/Makefile.am rename {test => tests}/common.sh (100%) create mode 100644 tests/io/io_sample.txt create mode 100644 tests/io/pq_file_test.c create mode 100644 tests/io/pq_file_test.ok create mode 100644 tests/io/pq_rtp_test.c create mode 100644 tests/io/pq_rtp_test.ok rename {test => tests}/play_all_formats.sh (100%) create mode 100644 tests/procqueue/pq_test.c create mode 100644 tests/procqueue/pq_test.ok rename {test => tests}/ref-files/hhgttg_part1_5.s16 (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.amr-efr (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.amr-efr.s16 (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.gsm (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.gsm.s16 (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.racal-efr (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.racal-efr.s16 (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.racal-fr (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.racal-fr.s16 (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.racal-hr (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.racal-hr.s16 (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.rtp-efr (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.rtp-efr.s16 (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.rtp-hr-etsi (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.rtp-hr-etsi.s16 (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.rtp-hr-ietf (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.rtp-hr-ietf.s16 (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.ti-efr (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.ti-efr.s16 (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.ti-fr (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.ti-fr.s16 (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.ti-hr (100%) rename {test => tests}/ref-files/hhgttg_part1_5.s16.ti-hr.s16 (100%) rename {test => tests}/test_all_formats.sh (100%) create mode 100644 tests/testsuite.at rename {test => tests}/update_ref_files.sh (100%) hooks/post-receive -- GSM Audio Pocket Knife From gitosis at osmocom.org Sun Sep 17 14:59:59 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 17 Sep 2017 14:59:59 GMT Subject: libsmpp34.git branch master updated. 1.12-7-gc63971f Message-ID: <201709171459.v8HExxmK072229@git.osmocom.org> 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 fork of the Open SMPP 3.4 library". The branch, master has been updated via c63971fab0d67bc52d7fd455529b844009aa8565 (commit) via cbdde82aca1103db1ed69f29a666f29fdc6b79ba (commit) via 43dc9992bcc5335a5aea99ffde5bd634e96714bb (commit) via cad0cc552f9956af3fa90d12de443dabe5c7c320 (commit) via fe9f88add068fa08831abe535ee013cbd63adb3a (commit) via a11a464552736f813656ca17c30c355543cfa573 (commit) from 823e711018f053b3878071fe84e929b0623ca08b (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/libsmpp34/commit/?id=c63971fab0d67bc52d7fd455529b844009aa8565 commit c63971fab0d67bc52d7fd455529b844009aa8565 Author: Pau Espin Pedrol Date: Fri Sep 15 20:09:19 2017 +0200 Fix Out of bounds compilation warning in OCTET8 The code in OCTET8 implementation assumes the len is placed inside the byte preceding the memory buffer, which is true for the defined cases. However, it creates a compilation warning. Better pass the value directly from the struct field rather than playing addr games. this way we also assert we require to explicitly pass the len. Fixes lots of warning like the one below: /home/pespin/dev/sysmocom/bin/../git/libsmpp34/src/smpp34_unpack.c: In function ???smpp34_u npack???: /home/pespin/dev/sysmocom/bin/../git/libsmpp34/src/smpp34_unpack.c:147:14: warning: array subscript is above array bounds [-Warray-bounds] lenval = *((inst par) - 1);\ ^~~~~~~~~~~~~~~~~ /home/pespin/dev/sysmocom/bin/../git/libsmpp34/def_frame/submit_sm.frame:18:2: note: in e xpansion of macro ???OCTET8??? OCTET8( instancia, short_message, 254 ); ^~~~~~ Change-Id: Id110f4e977c3becdb44cf5492c372e530ea51551 http://cgit.osmocom.org/libsmpp34/commit/?id=cbdde82aca1103db1ed69f29a666f29fdc6b79ba commit cbdde82aca1103db1ed69f29a666f29fdc6b79ba Author: Pau Espin Pedrol Date: Fri Sep 15 19:25:52 2017 +0200 bind_receiver_resp_test.c: Fix compilation warning /home/pespin/dev/sysmocom/bin/../git/libsmpp34/test_pdu/bind_receiver_resp_test.c: In function ???main???: /home/pespin/dev/sysmocom/bin/../git/libsmpp34/test_pdu/bind_receiver_resp_test.c:55:58: warning: ???snprintf??? output truncated before the last format character [-Wformat-truncation=] snprintf((char*)b.system_id, sizeof(b.system_id), "%s", "1234567890123456"); ^ /home/pespin/dev/sysmocom/bin/../git/libsmpp34/test_pdu/bind_receiver_resp_test.c:55:5: note: ???snprintf??? output 17 bytes into a destination of size 16 snprintf((char*)b.system_id, sizeof(b.system_id), "%s", "1234567890123456"); Change-Id: I4ec682a5e2ee4d02008a9c86a0a5507792667d0e http://cgit.osmocom.org/libsmpp34/commit/?id=43dc9992bcc5335a5aea99ffde5bd634e96714bb commit 43dc9992bcc5335a5aea99ffde5bd634e96714bb Author: Pau Espin Pedrol Date: Fri Sep 15 19:17:10 2017 +0200 smpp34_unpack.c: remove unused variable Fixes compilation warning below: /home/pespin/dev/sysmocom/bin/../git/libsmpp34/src/smpp34_unpack.c: In function ???smpp34_unpack???: /home/pespin/dev/sysmocom/bin/../git/libsmpp34/src/smpp34_unpack.c:232:18: warning: variable ???l??? set but not used [ -Wunused-but-set-variable] uint32_t l; Change-Id: I75baa65b575deec1cc040490f2e76ebb54e46ca7 http://cgit.osmocom.org/libsmpp34/commit/?id=cad0cc552f9956af3fa90d12de443dabe5c7c320 commit cad0cc552f9956af3fa90d12de443dabe5c7c320 Author: Pau Espin Pedrol Date: Fri Sep 15 19:15:05 2017 +0200 smpp34_structs.h: Fix truncated output in str_tlv_id Fixes compilation warning below: %s??? directive output may be truncated writing between 8 and 33 bytes into a regio n of size 30 [-Wformat-truncation=] snprintf(buff, SMALL_BUFF, "%s", ^~ /home/pespin/dev/sysmocom/bin/../git/libsmpp34/src/smpp34_params.c:136:5: note: ??? snprintf??? output between 9 and 34 bytes into a destination of size 30 snprintf(buff, SMALL_BUFF, "%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #define OPERACION( p_tlv_id ) (tlv_id == p_tlv_id)?#p_tlv_id: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #include "def_list/tlv_id.list" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Reserved" ~~~~~~~~~~ #undef OPERACION ~~~~~~~~~~~~~~~~ ); Change-Id: Ie2ba6182eb0cdd98cadb8317aef49141244aa92d http://cgit.osmocom.org/libsmpp34/commit/?id=fe9f88add068fa08831abe535ee013cbd63adb3a commit fe9f88add068fa08831abe535ee013cbd63adb3a Author: Pau Espin Pedrol Date: Fri Sep 15 19:14:19 2017 +0200 smpp34_structs.h: Fix trailing whitespace Change-Id: I5838e216fe16b4789bb1a0ce40ce496f46a3c328 http://cgit.osmocom.org/libsmpp34/commit/?id=a11a464552736f813656ca17c30c355543cfa573 commit a11a464552736f813656ca17c30c355543cfa573 Author: Pau Espin Pedrol Date: Fri Sep 15 18:58:47 2017 +0200 smpp34_dumpBuf.c: remove unused variable Fixes compilation warning below: smpp34_dumpBuf.c:52:9: warning: variable ???lefterror??? set but not used [-Wunused-but-set-variable] int lefterror = 0; Change-Id: Iea8ff80d3e4d16aaca6e37d64593b50fa27c8cfb ----------------------------------------------------------------------- Summary of changes: def_frame/deliver_sm.frame | 2 +- def_frame/replace_sm.frame | 2 +- def_frame/submit_multi.frame | 2 +- def_frame/submit_sm.frame | 2 +- src/smpp34_dumpBuf.c | 2 - src/smpp34_dumpPdu.c | 3 +- src/smpp34_pack.c | 3 +- src/smpp34_structs.h | 82 +++++++++++++++++++------------------- src/smpp34_unpack.c | 5 +-- test_pdu/bind_receiver_resp_test.c | 2 +- 10 files changed, 49 insertions(+), 56 deletions(-) hooks/post-receive -- Osmocom fork of the Open SMPP 3.4 library From gitosis at osmocom.org Mon Sep 18 12:57:56 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 18 Sep 2017 12:57:56 GMT Subject: libosmocore.git branch master updated. 0.9.6-386-ga52d8393 Message-ID: <201709181257.v8ICvupV005268@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, master has been updated via a52d839343aea9b81c2463f52c3c3358778698f3 (commit) from 98f6482ec7eb603b17e5a99fb92d28c17fcf61e9 (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/libosmocore/commit/?id=a52d839343aea9b81c2463f52c3c3358778698f3 commit a52d839343aea9b81c2463f52c3c3358778698f3 Author: Max Date: Tue Sep 12 15:34:35 2017 +0200 Expand bit pretty-printer Add OSMO_BIT_PRINT_EX() which is like OSMO_BIT_PRINT() but allows to specify character to be printed for set bits. It's useful to print bytes used as mask where set bit has particular semantics - for example TS mask in OsmoPCU. Change-Id: I72528bc1e376134c5a7b6e7a50c48e38c3f48b0a Related: OS#2282 ----------------------------------------------------------------------- Summary of changes: include/osmocom/core/bits.h | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Mon Sep 18 18:01:25 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 18 Sep 2017 18:01:25 GMT Subject: libosmo-netif.git branch master updated. 0.0.6-85-g5994198 Message-ID: <201709181801.v8II1PVI082745@git.osmocom.org> 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 network interface library". The branch, master has been updated via 59941982083f7f0d6ab11f7bbb42c297a3fb8d69 (commit) from 14af167a5553519d8164f4a21556888535eeefeb (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/libosmo-netif/commit/?id=59941982083f7f0d6ab11f7bbb42c297a3fb8d69 commit 59941982083f7f0d6ab11f7bbb42c297a3fb8d69 Author: Pablo Neira Ayuso Date: Tue Sep 12 12:44:53 2017 +0200 src: _snprintf() helper functions nul-terminate buffers, if possible This patch inconditionally initializes the buffer we get to nul-terminate it, whenever possible. It's a very simple solution to catch three overly corner cases: 1) snprintf() returns -1, very much unlikely in practise. 2) msg->len == 0: In such case, I would expect this function is never called with an empty message, but let's be safe in this case too. 3) If your buffer is empty, it doesn't nul-terminate the buffer. Change-Id: I97e517f2d98e83894ea707c63489559302ff6bd2 ----------------------------------------------------------------------- Summary of changes: src/osmux.c | 3 +++ src/rtp.c | 3 +++ 2 files changed, 6 insertions(+) hooks/post-receive -- Osmocom network interface library From gitosis at osmocom.org Mon Sep 18 22:31:31 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 18 Sep 2017 22:31:31 GMT Subject: libosmo-abis.git branch master updated. 0.4.0-2-g01543a1 Message-ID: <201709182231.v8IMVV7N058401@git.osmocom.org> 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 A-bis protcol interface library". The branch, master has been updated via 01543a1ea392fa98974ea2f99cafbc28e9966656 (commit) from d3292913ac99b4a57094ca19fd70571ec6914f48 (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/libosmo-abis/commit/?id=01543a1ea392fa98974ea2f99cafbc28e9966656 commit 01543a1ea392fa98974ea2f99cafbc28e9966656 Author: Neels Hofmeyr Date: Thu Sep 14 04:32:19 2017 +0200 cosmetic: ipa.c: use msgb_dequeue(), drop local var Make ipa_server_conn_write() a lot simpler and shorter by using msgb_dequeue() and avoiding local pointer that was used only once. Change-Id: Id968e60d081a6d69de482a908ca3fe5e1044aaa3 ----------------------------------------------------------------------- Summary of changes: src/input/ipa.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) hooks/post-receive -- Osmocom A-bis protcol interface library From gitosis at osmocom.org Mon Sep 18 23:26:22 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 18 Sep 2017 23:26:22 GMT Subject: libsmpp34.git branch master updated. 1.12-8-g6619771 Message-ID: <201709182326.v8INQMVu076470@git.osmocom.org> 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 fork of the Open SMPP 3.4 library". The branch, master has been updated via 66197717500693ba089e044817bfdf457dc34090 (commit) from c63971fab0d67bc52d7fd455529b844009aa8565 (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/libsmpp34/commit/?id=66197717500693ba089e044817bfdf457dc34090 commit 66197717500693ba089e044817bfdf457dc34090 Author: Pau Espin Pedrol Date: Sun Sep 17 17:05:54 2017 +0200 contrib: Enable -Werror by default Change-Id: I2a88cdcbf76ea28a30e82836030f894c2152d5ed ----------------------------------------------------------------------- Summary of changes: contrib/jenkins.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- Osmocom fork of the Open SMPP 3.4 library From gitosis at osmocom.org Tue Sep 19 01:35:46 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 19 Sep 2017 01:35:46 GMT Subject: libosmocore.git branch master updated. 0.9.6-387-g4a31ffa2 Message-ID: <201709190135.v8J1ZkTB008625@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, master has been updated via 4a31ffa2f0097d96201f80305a0495c57552f0ad (commit) from a52d839343aea9b81c2463f52c3c3358778698f3 (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/libosmocore/commit/?id=4a31ffa2f0097d96201f80305a0495c57552f0ad commit 4a31ffa2f0097d96201f80305a0495c57552f0ad Author: Neels Hofmeyr Date: Thu Sep 7 03:08:06 2017 +0200 VTY: implicit node exit by de-indenting, not parent lookup Note: This will break users' config files if they do not use consistent indenting. (see below for a definition of "consistent".) When reading VTY commands from a file, use indenting as means to implicitly exit child nodes. Do not look for commands in the parent node implicitly. The VTY so far implies 'exit' commands if a VTY line cannot be parsed on the current node, but succeeds on the parent node. That is the mechanism by which our VTY config files do not need 'exit' at the end of each child node. We've hit problems with this in the following scenarios, which will show improved user experience after this patch: *) When both a parent and its child node have commands with identical names: cs7 instace 0 point-code 1.2.3 sccp-address osmo-msc point-code 0.0.1 If I put the parent's command below the child, it is still interpreted in the context of the child node: cs7 instace 0 sccp-address osmo-msc point-code 0.0.1 point-code 1.2.3 Though the indenting lets me assume I am setting the cs7 instance's global PC to 1.2.3, I'm actually overwriting osmo-msc's PC with 1.2.3 and discarding the 0.0.1. *) When a software change moves a VTY command from a child to a parent. Say 'timezone' moved from 'bts' to 'network' level: network timezone 1 2 Say a user still has an old config file with 'timezone' on the child level: network bts 0 timezone 1 2 trx 0 The user would expect an error message that 'timezone' is invalid on the 'bts' level. Instead, the VTY finds the parent node's 'timezone', steps out of 'bts' to the 'network' level, and instead says that the 'trx' command does not exist. Format: Consistent means that two adjacent indenting lines have the exact same indenting characters for the common length: Weird mix if you ask me, but correct and consistent: ROOT PARENT CHILD GRANDCHILD GRANDCHILD2 SIBLING Inconsistent: ROOT PARENT CHILD GRANDCHILD GRANDCHILD2 SIBLING Also, when going back to a parent level, the exact same indenting must be used as before in that node: Incorrect: ROOT PARENT CHILD SIBLING As not really intended side effect, it is also permitted to indent the entire file starting from the root level. We could guard against it but there's no harm: Correct and consistent: ROOT PARENT CHILD SIBLING Implementation: Track parent nodes state: whenever a command enters a child node, push a parent node onto an llist to remember the exact indentation characters used for that level. As soon as the first line on a child node is parsed, remember this new indentation (which must have a longer strlen() than its parent level) to apply to all remaining child siblings and grandchildren. If the amount of spaces that indent a following VTY command are less than this expected indentation, call vty_go_parent() until it matches up. At any level, if the common length of indentation characters mismatch, abort parsing in error. Transitions to child node are spread across VTY implementations and are hard to change. But transitions to the parent node are all handled by vty_go_parent(). By popping a parent from the list of parents in vty_go_parent(), we can also detect that a command has changed the node without changing the parent, hence it must have stepped into a child node, and we can push a parent frame. The behavior on the interactive telnet VTY remains unchanged. Change-Id: I24cbb3f6de111f2d31110c3c484c066f1153aac9 ----------------------------------------------------------------------- Summary of changes: include/osmocom/vty/command.h | 2 + include/osmocom/vty/vty.h | 23 ++++ src/vty/command.c | 216 ++++++++++++++++++++++++++++++++----- src/vty/vty.c | 8 ++ tests/Makefile.am | 13 ++- tests/testsuite.at | 1 + tests/vty/fail_not_de-indented.cfg | 3 + tests/vty/fail_tabs_and_spaces.cfg | 4 + tests/vty/fail_too_much_indent.cfg | 3 + tests/vty/ok.cfg | 3 + tests/vty/ok_ignore_blank.cfg | 7 ++ tests/vty/ok_ignore_comment.cfg | 7 ++ tests/vty/ok_indented_root.cfg | 3 + tests/vty/ok_more_spaces.cfg | 4 + tests/vty/ok_tabs.cfg | 4 + tests/vty/ok_tabs_and_spaces.cfg | 4 + tests/vty/vty_test.c | 20 ++++ tests/vty/vty_test.ok | 20 ++++ 18 files changed, 320 insertions(+), 25 deletions(-) create mode 100644 tests/vty/fail_not_de-indented.cfg create mode 100644 tests/vty/fail_tabs_and_spaces.cfg create mode 100644 tests/vty/fail_too_much_indent.cfg create mode 100644 tests/vty/ok.cfg create mode 100644 tests/vty/ok_ignore_blank.cfg create mode 100644 tests/vty/ok_ignore_comment.cfg create mode 100644 tests/vty/ok_indented_root.cfg create mode 100644 tests/vty/ok_more_spaces.cfg create mode 100644 tests/vty/ok_tabs.cfg create mode 100644 tests/vty/ok_tabs_and_spaces.cfg hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Tue Sep 19 01:39:29 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 19 Sep 2017 01:39:29 GMT Subject: osmo-gsm-manuals.git branch neels/osmo-msc created. 2c3b99e62aa45ae4c3631155795246056a3dddb9 Message-ID: <201709190139.v8J1dTlR009499@git.osmocom.org> 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 "Manuals for Osmocom GSM components". The branch, neels/osmo-msc has been created at 2c3b99e62aa45ae4c3631155795246056a3dddb9 (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-gsm-manuals/commit/?id=2c3b99e62aa45ae4c3631155795246056a3dddb9 commit 2c3b99e62aa45ae4c3631155795246056a3dddb9 Author: Neels Hofmeyr Date: Mon Sep 18 16:19:30 2017 +0200 add OsmoMSC manual Change-Id: I9ecff2837fbf5fdc19675a726f6d70c21eb178ee http://cgit.osmocom.org/osmo-gsm-manuals/commit/?id=260115932622ce5ae6120e336ba076c4a76e26db commit 260115932622ce5ae6120e336ba076c4a76e26db Author: Neels Hofmeyr Date: Mon Sep 18 18:32:30 2017 +0200 OsmoNITB: update vty reference Change node IDs to use the names derived from the node prompt, in the process fix the node references to not place the vty_additions in the wrong places. Related: I8fa555570268b231c5e01727c661da92fad265de (libosmocore) Change-Id: I48edb65be94be56c4b57293d8edc1b30271acc12 http://cgit.osmocom.org/osmo-gsm-manuals/commit/?id=cff1731b13b983bd13510e56ec3bf657b4cd2740 commit cff1731b13b983bd13510e56ec3bf657b4cd2740 Author: Neels Hofmeyr Date: Mon Sep 18 16:23:18 2017 +0200 fix make deps: don't use the FORCE With the FORCE dependency in place, every 'make' invocation builds all from scratch all the time. Remove that to have intelligent re-build on edits. Change-Id: I9758e04162a480e28c7dc83475b514cf7fd25ec0 http://cgit.osmocom.org/osmo-gsm-manuals/commit/?id=0e3e4c217add2744307b81d3e8c715c3ddc2c119 commit 0e3e4c217add2744307b81d3e8c715c3ddc2c119 Author: Neels Hofmeyr Date: Mon Sep 18 16:22:11 2017 +0200 fix make deps: join hint_to_remove_draft_mode to build step Change-Id: Iecf8e18ce2f1dac61bf55019e1fec601b33abb95 http://cgit.osmocom.org/osmo-gsm-manuals/commit/?id=60ccbe55c534c533779d816187d838339cfdce86 commit 60ccbe55c534c533779d816187d838339cfdce86 Author: Neels Hofmeyr Date: Tue Sep 19 02:32:00 2017 +0200 INSTALL.txt: add missing dep and vty ref howto Change-Id: I1068d665b91faf1faa1b295503fcdc33f4ac500a ----------------------------------------------------------------------- hooks/post-receive -- Manuals for Osmocom GSM components From gitosis at osmocom.org Tue Sep 19 01:40:52 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 19 Sep 2017 01:40:52 GMT Subject: libosmocore.git branch neels/vty_ref created. 0.9.6-388-gf031158f Message-ID: <201709190140.v8J1eq5R010166@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, neels/vty_ref has been created at f031158ff29a04fdd3fd9bcd419992a6b61a88ad (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/libosmocore/commit/?id=f031158ff29a04fdd3fd9bcd419992a6b61a88ad commit f031158ff29a04fdd3fd9bcd419992a6b61a88ad Author: Neels Hofmeyr Date: Mon Sep 18 16:42:06 2017 +0200 vty: derive node name from prompt, use as XML ids The 'show online-help' produces XML output with ids. We reference those from the osmo-gsm-manuals. Instead of numeric IDs coming from internal code, rather use a human-readable node ID. In order to obtain such while remaining backwards compatible, derive such a name from the command node's prompt by stripping non-alnum characters. If this is merged, we need to adjust the references in osmo-gsm-manuals.git. Change-Id: I8fa555570268b231c5e01727c661da92fad265de http://cgit.osmocom.org/libosmocore/commit/?id=e9db33b27081359c6c937b8755469af2c7806374 commit e9db33b27081359c6c937b8755469af2c7806374 Author: Neels Hofmeyr Date: Mon Sep 18 17:10:36 2017 +0200 vty: use internal node id for xml ids The 'show online-help' produces XML output with ids. We reference those from the osmo-gsm-manuals, but until now, these ids fall out of sync when the amount of VTY nodes changes. Change these ids to use the internal node ID constant (as in enum bsc_vty_node) instead of a simple counter. If this is merged, we need to adjust the references in osmo-gsm-manuals.git. Change-Id: Ib07fb9d9106e19f5be6539493e82b5d5991f8bc2 ----------------------------------------------------------------------- hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Tue Sep 19 01:41:28 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 19 Sep 2017 01:41:28 GMT Subject: osmo-python-tests.git branch neels/doc created. d2e793a58aceb19fea1d29b550894407331fea7f Message-ID: <201709190141.v8J1fSP4010359@git.osmocom.org> 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, neels/doc has been created at d2e793a58aceb19fea1d29b550894407331fea7f (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/python/osmo-python-tests/commit/?id=d2e793a58aceb19fea1d29b550894407331fea7f commit d2e793a58aceb19fea1d29b550894407331fea7f Author: Neels Hofmeyr Date: Mon Sep 18 16:00:21 2017 +0200 osmodumpdoc: print generated path Change-Id: Ie39316f0b51ee518b9dce8d5f98b53f748db573b http://cgit.osmocom.org/python/osmo-python-tests/commit/?id=a784f2407b087e17ba4a6447e4f1b5cf6c524e22 commit a784f2407b087e17ba4a6447e4f1b5cf6c524e22 Author: Neels Hofmeyr Date: Mon Sep 18 16:02:55 2017 +0200 osmodumpdoc: print called commands and OSError messages Change-Id: Ib044cbb8a1b8e02cbe6852f785c75b5c7aae6174 http://cgit.osmocom.org/python/osmo-python-tests/commit/?id=8e4806c5f20f082c911f5a95d88c5fdd2c26d58b commit 8e4806c5f20f082c911f5a95d88c5fdd2c26d58b Author: Neels Hofmeyr Date: Mon Sep 18 16:01:44 2017 +0200 osmodumpdoc: fix finding cfg when not calling from source tree When the binary has not been built in the source tree, it was impossible to call osmodumpdoc.py despite the -p option. Look for config files in that config-path. Make sure a relative config-path is adjusted when changing to the workdir. Change-Id: I5427d354c289ec4602411c7059c8d80e2b451f7c ----------------------------------------------------------------------- hooks/post-receive -- UNNAMED PROJECT From gitosis at osmocom.org Tue Sep 19 17:27:00 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 19 Sep 2017 17:27:00 GMT Subject: rtl-sdr.git branch master updated. v0.5.3-18-gb04c2f9 Message-ID: <201709191727.v8JHR05A049983@git.osmocom.org> 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 "Repository for Realtek RTL2832U based SDR software". The branch, master has been updated via b04c2f9f035c5aede43d731e5d58e4725d2f8bb4 (commit) from 18bf26989c926a5db4fca29e7d859af42af1437c (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/rtl-sdr/commit/?id=b04c2f9f035c5aede43d731e5d58e4725d2f8bb4 commit b04c2f9f035c5aede43d731e5d58e4725d2f8bb4 Author: Hoernchen Date: Tue Sep 19 19:23:00 2017 +0200 fix for msvc14 ----------------------------------------------------------------------- Summary of changes: CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) hooks/post-receive -- Repository for Realtek RTL2832U based SDR software From gitosis at osmocom.org Tue Sep 19 17:30:33 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 19 Sep 2017 17:30:33 GMT Subject: gr-osmosdr.git branch plutokernel created. v0.1.4-99-g226e690 Message-ID: <201709191730.v8JHUXZl050848@git.osmocom.org> 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 "GNU Radio block for interfacing with various radio hardware". The branch, plutokernel has been created at 226e690d105e1ab878a235cfd1384895a494ce4a (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/gr-osmosdr/commit/?id=226e690d105e1ab878a235cfd1384895a494ce4a commit 226e690d105e1ab878a235cfd1384895a494ce4a Author: Hoernchen Date: Sun Sep 17 22:47:45 2017 +0200 Add support for experimental plutosdr kernel driver ----------------------------------------------------------------------- hooks/post-receive -- GNU Radio block for interfacing with various radio hardware From gitosis at osmocom.org Tue Sep 19 22:05:35 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 19 Sep 2017 22:05:35 GMT Subject: libosmocore.git branch neels/vty_indent_debug created. 0.9.6-389-gade800e1 Message-ID: <201709192205.v8JM5Zin031902@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, neels/vty_indent_debug has been created at ade800e1018bc8960559baef314e0266b3598769 (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/libosmocore/commit/?id=ade800e1018bc8960559baef314e0266b3598769 commit ade800e1018bc8960559baef314e0266b3598769 Author: Neels Hofmeyr Date: Tue Sep 12 04:06:50 2017 +0200 NOT FOR MERGE: vty indentation debug Change-Id: I48f2d7c34ea160a8ca36ab83f462ffd7e660065e http://cgit.osmocom.org/libosmocore/commit/?id=d0de6ab897249ac9a0a8f9bf46d3508bea55d93e commit d0de6ab897249ac9a0a8f9bf46d3508bea55d93e Author: Neels Hofmeyr Date: Tue Sep 19 23:54:01 2017 +0200 fix vty regression: empty parent node The recent exit-by-indent patch breaks a VTY case where a node is entered but directly followed by a sibling or ancestor without listing any child nodes. Regression introduced by I24cbb3f6de111f2d31110c3c484c066f1153aac9. An example is a common usage in osmo-bts, where 'phy N' / 'instance N' is a parent node that is commonly left empty: phy 0 instance 0 bts 0 band 1800 Before this patch, this case produces the error: There is no such command. Error occurred during reading the below line: bts 0 Fix indentation parsing logic in command.c to accomodate this case. Add a unit test for empty parent node. Change-Id: Ia0880a17ae55accb092ae8585cc3a1bec9986891 ----------------------------------------------------------------------- hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Tue Sep 19 23:09:38 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 19 Sep 2017 23:09:38 GMT Subject: libosmocore.git branch master updated. 0.9.6-388-g43063632 Message-ID: <201709192309.v8JN9c2E047544@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, master has been updated via 430636328c2fbd9fffc0eac5114462c200b7f2cb (commit) from 4a31ffa2f0097d96201f80305a0495c57552f0ad (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/libosmocore/commit/?id=430636328c2fbd9fffc0eac5114462c200b7f2cb commit 430636328c2fbd9fffc0eac5114462c200b7f2cb Author: Neels Hofmeyr Date: Tue Sep 19 23:54:01 2017 +0200 fix vty regression: empty parent node The recent exit-by-indent patch breaks a VTY case where a node is entered but directly followed by a sibling or ancestor without listing any child nodes. Regression introduced by I24cbb3f6de111f2d31110c3c484c066f1153aac9. An example is a common usage in osmo-bts, where 'phy N' / 'instance N' is a parent node that is commonly left empty: phy 0 instance 0 bts 0 band 1800 Before this patch, this case produces the error: There is no such command. Error occurred during reading the below line: bts 0 Fix indentation parsing logic in command.c to accomodate this case. Add a unit test for empty parent node. Change-Id: Ia0880a17ae55accb092ae8585cc3a1bec9986891 ----------------------------------------------------------------------- Summary of changes: src/vty/command.c | 39 +++++++++++++++++++++++++------ tests/Makefile.am | 1 + tests/vty/{ok.cfg => ok_empty_parent.cfg} | 1 - tests/vty/vty_test.c | 1 + tests/vty/vty_test.ok | 2 ++ 5 files changed, 36 insertions(+), 8 deletions(-) copy tests/vty/{ok.cfg => ok_empty_parent.cfg} (66%) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Thu Sep 21 05:36:13 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 21 Sep 2017 05:36:13 GMT Subject: osmo-tetra.git branch master updated. cb4bd6d45f69aa8cf5991b48df48affad25456f7 Message-ID: <201709210536.v8L5aDd2009491@git.osmocom.org> 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 TETRA PHY and MAC implementation". The branch, master has been updated via cb4bd6d45f69aa8cf5991b48df48affad25456f7 (commit) from 4f3adac31f51f5cd6293779cb7931747bde55230 (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-tetra/commit/?id=cb4bd6d45f69aa8cf5991b48df48affad25456f7 commit cb4bd6d45f69aa8cf5991b48df48affad25456f7 Author: Andr?? Boddenberg Date: Tue Sep 19 13:20:01 2017 +0200 Introduce contrib/jenkins.sh to align with other projects This change will make jenkins' inline scripts obsolete, so build testing and gerrit verification jobs [1][2] simply invoke: $ ./contrib/jenkins.sh [1] https://jenkins.osmocom.org/jenkins/view/OsmoTETRA/job/OsmoTETRA/ [2] https://jenkins.osmocom.org/jenkins/view/Jenkins-Gerrit/job/OsmoTETRA-gerrit/ Change-Id: I517e1be8b5680c3cc274fd5ad13ac7c920154e7f ----------------------------------------------------------------------- Summary of changes: contrib/jenkins.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 contrib/jenkins.sh hooks/post-receive -- Osmocom TETRA PHY and MAC implementation From gitosis at osmocom.org Thu Sep 21 21:39:09 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 21 Sep 2017 21:39:09 GMT Subject: libosmocore.git branch master updated. 0.9.6-390-gb022c867 Message-ID: <201709212139.v8LLd9lA053431@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, master has been updated via b022c867e86333ceaad9027e2e7ee621ab3891e5 (commit) via 00b5ed3d921f2f39e60ed372809c33b8bce78ad8 (commit) from 430636328c2fbd9fffc0eac5114462c200b7f2cb (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/libosmocore/commit/?id=b022c867e86333ceaad9027e2e7ee621ab3891e5 commit b022c867e86333ceaad9027e2e7ee621ab3891e5 Author: Neels Hofmeyr Date: Wed Sep 20 01:49:11 2017 +0200 vty_test: add artificial node levels for better testing In vty_test, add three levels of parent nodes (level1, level2, level3) with each having a leaf child (child1, child2, child3). Use these to enhance the vty_test cfg files and test more diverse situations. The current VTY code expects a go_parent_cb() to be present, otherwise it will bump right back to the CONFIG_NODE, which will not work with more than one node level below the CONFIG_NODE. Hence provide a minimal go_parent_cb(). Change-Id: Ib9bcf58b655fbd85e196f363fb7d8305d7dfc997 http://cgit.osmocom.org/libosmocore/commit/?id=00b5ed3d921f2f39e60ed372809c33b8bce78ad8 commit 00b5ed3d921f2f39e60ed372809c33b8bce78ad8 Author: Neels Hofmeyr Date: Wed Sep 20 00:46:03 2017 +0200 comment: describe indent_cmp() Change-Id: Ia58c16d995f6751bdd69defe8a46665aee163f3d ----------------------------------------------------------------------- Summary of changes: src/vty/command.c | 4 + tests/vty/fail_not_de-indented.cfg | 6 +- tests/vty/fail_tabs_and_spaces.cfg | 8 +- tests/vty/fail_too_much_indent.cfg | 6 +- tests/vty/ok.cfg | 31 +++++++- tests/vty/ok_empty_parent.cfg | 24 +++++- tests/vty/ok_ignore_blank.cfg | 15 +++- tests/vty/ok_ignore_comment.cfg | 9 ++- tests/vty/ok_indented_root.cfg | 8 +- tests/vty/ok_more_spaces.cfg | 32 +++++++- tests/vty/ok_tabs.cfg | 32 +++++++- tests/vty/ok_tabs_and_spaces.cfg | 32 +++++++- tests/vty/vty_test.c | 120 +++++++++++++++++++++++++++- tests/vty/vty_test.ok | 156 +++++++++++++++++++++++++++++++++++++ 14 files changed, 444 insertions(+), 39 deletions(-) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Thu Sep 21 21:56:04 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 21 Sep 2017 21:56:04 GMT Subject: osmo-gsm-manuals.git branch master updated. 0e3e4c217add2744307b81d3e8c715c3ddc2c119 Message-ID: <201709212156.v8LLu4KD058854@git.osmocom.org> 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 "Manuals for Osmocom GSM components". The branch, master has been updated via 0e3e4c217add2744307b81d3e8c715c3ddc2c119 (commit) via 60ccbe55c534c533779d816187d838339cfdce86 (commit) from 56f77a3b6436eab71c42fd0ad3233a15148eafed (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: INSTALL.txt | 24 +++++++++++++++++++++++- build/Makefile.asciidoc.inc | 5 +---- 2 files changed, 24 insertions(+), 5 deletions(-) hooks/post-receive -- Manuals for Osmocom GSM components From gitosis at osmocom.org Sat Sep 23 05:23:58 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sat, 23 Sep 2017 05:23:58 GMT Subject: osmo-bts.git branch master updated. 0.6.0-7-g9605b69 Message-ID: <201709230523.v8N5NwR0040428@git.osmocom.org> 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 9605b695fab690682024128cd580b288906fbb24 (commit) from ae134f896a77eb5b79c81601cabd821d5b993358 (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=9605b695fab690682024128cd580b288906fbb24 commit 9605b695fab690682024128cd580b288906fbb24 Author: Neels Hofmeyr Date: Tue Sep 19 03:27:29 2017 +0200 vty: mgr: sysmobts, lc15: install default commands for ACT_NORM_NODE Change-Id: Ia1b3d5e010c5b6ea8e655b79d9b36b08cd1ef4c4 ----------------------------------------------------------------------- Summary of changes: src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c | 1 + src/osmo-bts-sysmo/misc/sysmobts_mgr_vty.c | 1 + 2 files changed, 2 insertions(+) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Sat Sep 23 06:06:00 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sat, 23 Sep 2017 06:06:00 GMT Subject: osmo-sip-connector.git branch master updated. 535df15bc5a2fc0119e6f3c9d2eeec20944aabfa Message-ID: <201709230606.v8N6606c050485@git.osmocom.org> 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 "MNCC <-> SIP bridge". The branch, master has been updated via 535df15bc5a2fc0119e6f3c9d2eeec20944aabfa (commit) from b6032727870ab2b98372b697d91f7256da4f32b3 (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-sip-connector/commit/?id=535df15bc5a2fc0119e6f3c9d2eeec20944aabfa commit 535df15bc5a2fc0119e6f3c9d2eeec20944aabfa Author: Neels Hofmeyr Date: Tue Sep 19 03:29:48 2017 +0200 vty: install default commands for SIP,MNCC,APP_NODE Change-Id: Iee51881cc07d56209647fb4f505f8f6be6b885f0 ----------------------------------------------------------------------- Summary of changes: src/vty.c | 3 +++ 1 file changed, 3 insertions(+) hooks/post-receive -- MNCC <-> SIP bridge From gitosis at osmocom.org Sat Sep 23 12:25:16 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sat, 23 Sep 2017 12:25:16 GMT Subject: libosmocore.git branch master updated. 0.9.6-392-g657c5b6c Message-ID: <201709231225.v8NCPG0n042883@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, master has been updated via 657c5b6cadcef470c7ff9bffed3caab227026e6a (commit) via 0b723f6a6cdc4171ee67ddd8d8c1bb812fb4cf06 (commit) from b022c867e86333ceaad9027e2e7ee621ab3891e5 (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/libosmocore/commit/?id=657c5b6cadcef470c7ff9bffed3caab227026e6a commit 657c5b6cadcef470c7ff9bffed3caab227026e6a Author: Neels Hofmeyr Date: Mon Sep 18 16:42:06 2017 +0200 vty: derive node name from prompt, use as XML ids The 'show online-help' produces XML output with ids. We reference those from the osmo-gsm-manuals. Instead of numeric IDs coming from internal code, rather use a human-readable node ID -- referencing id='config-msc' is much easier than referencing id='23'. Add a char name[] to struct cmd_node, to hold this name. This may be provided upon struct definition. Since callers of the VTY API so far don't have a name yet, we would need to add names everywhere to get meaningful node IDs. There is a way to get node ID names without touching dependent code: My first idea was to find out which command entered the node, i.e. command 'msc' enters the MSC_NODE. But it is impossible to derive which command entered which node from data structs, it's hidden in the vty command definition. But in fact all (TM) known API callers indeed provide a prompt string that contains a logical and human readable string name. Thus, if the name is unset in the struct, parse the prompt string and strip all "weird" characters to obtain a node name from that. We can still set names later on, but for now will have meaningful node IDs (e.g. 'config-msc' from '%s(config-msc)# ') without touching any dependent code. When VTY nodes get identical node names, which is quite possible, the XML export de-dups these by appending _2, _3,... suffixes. The first occurence is called e.g. 'name', the second 'name_2', then 'name_3', and so forth. If a node has no name (even after parsing the prompt), it will be named merely by the suffix. The first empty node will become id='_1', then '_2', '_3', and so forth. This happens for nodes like VIEW_NODE or AUTH_NODE. If this is merged, we need to adjust the references in osmo-gsm-manuals.git. This can happen in our own time though, because we manually create the vty reference xml and copy it to the osmo-gsm-manuals.git and then update the references from the vty_additions.xml. This anyway has to happen because currently the references tend to be hopelessly out of sync anyway, placing comments at wildly unrelated VTY commands. Change-Id: I8fa555570268b231c5e01727c661da92fad265de http://cgit.osmocom.org/libosmocore/commit/?id=0b723f6a6cdc4171ee67ddd8d8c1bb812fb4cf06 commit 0b723f6a6cdc4171ee67ddd8d8c1bb812fb4cf06 Author: Neels Hofmeyr Date: Mon Sep 18 17:10:36 2017 +0200 vty: use internal node id for xml ids The 'show online-help' produces XML output with ids. We reference those from the osmo-gsm-manuals, but until now, these ids fall out of sync when the amount of VTY nodes changes. Change these ids to use the internal node ID constant (as in enum bsc_vty_node) instead of a simple counter. If this is merged, we need to adjust the references in osmo-gsm-manuals.git. Change-Id: Ib07fb9d9106e19f5be6539493e82b5d5991f8bc2 ----------------------------------------------------------------------- Summary of changes: include/osmocom/vty/command.h | 5 +++++ src/vty/command.c | 47 ++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 51 insertions(+), 1 deletion(-) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Sat Sep 23 20:23:22 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sat, 23 Sep 2017 20:23:22 GMT Subject: gr-fosphor.git branch gr38-qt5 created. 0f397be7ba6d570a3f70240b11e45ecd23d6794c Message-ID: <201709232023.v8NKNMpg094568@git.osmocom.org> 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 block for spectrum visualization using GPU". The branch, gr38-qt5 has been created at 0f397be7ba6d570a3f70240b11e45ecd23d6794c (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/gr-fosphor/commit/?id=0f397be7ba6d570a3f70240b11e45ecd23d6794c commit 0f397be7ba6d570a3f70240b11e45ecd23d6794c Author: Sylvain Munaut Date: Sat Sep 23 22:23:25 2017 +0200 [HACK] ... not working ... http://cgit.osmocom.org/gr-fosphor/commit/?id=9e4389457480bdb2e04466a927819d8eb9cc14c2 commit 9e4389457480bdb2e04466a927819d8eb9cc14c2 Author: Sylvain Munaut Date: Thu Sep 14 16:56:57 2017 -0700 gr-fosphor: Switch to Qt5 Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/gr-fosphor/commit/?id=b93c98cafbdb959e082f3ab3481c7b0c628eede0 commit b93c98cafbdb959e082f3ab3481c7b0c628eede0 Author: Sylvain Munaut Date: Thu Sep 14 16:56:05 2017 -0700 gr-fosphor: Move to GNURadio 3.8 Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/gr-fosphor/commit/?id=f5f1aadaec5c1904cc951b939f98b379d67423a5 commit f5f1aadaec5c1904cc951b939f98b379d67423a5 Author: Sylvain Munaut Date: Thu Sep 14 16:50:14 2017 -0700 gr-fopshor: Remove WX support This doesn't exist anymore in 3.8 Signed-off-by: Sylvain Munaut ----------------------------------------------------------------------- hooks/post-receive -- GNURadio block for spectrum visualization using GPU From gitosis at osmocom.org Sun Sep 24 02:46:51 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 24 Sep 2017 02:46:51 GMT Subject: osmo-ggsn.git branch master updated. 1.0.0-8-gf621498 Message-ID: <201709240246.v8O2kpbq086699@git.osmocom.org> 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 OpenGGSN project". The branch, master has been updated via f621498129023a17f8023d1f865cfe66ba9c235a (commit) via 7c20148e396928f587a3719e092a8d1486664773 (commit) via b6fc227763f26cec76be0da6cc402dce447abc91 (commit) via 1d94585f96ff684240013c21f00a3bf0e9a5d700 (commit) via 05ac095006691dc671c1669e21bebb872ef5a658 (commit) via 73d28c9dda6b5d523977df65c5aa03c50456ccda (commit) from ea70f3619acbba7dba0e859f7eb52bdd53d4c17c (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-ggsn/commit/?id=f621498129023a17f8023d1f865cfe66ba9c235a commit f621498129023a17f8023d1f865cfe66ba9c235a Author: Harald Welte Date: Sun Sep 24 10:23:24 2017 +0800 sgsnemu: Re-generate cmdline.[ch] using gengetopt This will replace the manual additions to cmdline.[ch] with auto-generated code from gengetopt. We need to fix-up the RAT Type in sgsnemu.c as the manually-added code diverged from what gengetopt generates. Change-Id: Ia687e13d5cec1655a57078a767d2123aa022842c http://cgit.osmocom.org/osmo-ggsn/commit/?id=7c20148e396928f587a3719e092a8d1486664773 commit 7c20148e396928f587a3719e092a8d1486664773 Author: Harald Welte Date: Sun Sep 24 08:56:14 2017 +0800 sgsnemu: Fix up gengetopt file for --norecovery In commit 3a4c67b4bf0067c4949a60bc750d01e0576c5e08 we introduced the --norecovery command line option, but this was apparently done by manually editing the C source code rather than adding it to the .ggo and letting gengetopt do its magic. Let's fix this up. Change-Id: I1698280a699b17cea65651c3736ef149aba7e432 http://cgit.osmocom.org/osmo-ggsn/commit/?id=b6fc227763f26cec76be0da6cc402dce447abc91 commit b6fc227763f26cec76be0da6cc402dce447abc91 Author: Harald Welte Date: Sun Sep 24 08:53:58 2017 +0800 sgsnemu: Fix up gengetopt file for RAI In commit 41af5691ef08fb70e2c65aba03c8b9e6c20983a6 we introduced the --rai command line options, but this was apparently done by manually editing the C source code rather than adding it to the .ggo and letting gengetopt do its magic. Let's fix this up. Change-Id: Iaab404c3bcfc0c3943764f6616763f4f407d5644 http://cgit.osmocom.org/osmo-ggsn/commit/?id=1d94585f96ff684240013c21f00a3bf0e9a5d700 commit 1d94585f96ff684240013c21f00a3bf0e9a5d700 Author: Harald Welte Date: Sun Sep 24 08:51:02 2017 +0800 sgsnemu: Fix up gengetopt file for rattype, userloc, mstz, imeisv In commit 944dce3e66f3bc5b74f24dfbbee2370a231a39a9 we introduced various command line options, but this was apparently done by manually editing the C source code rather than adding it to the .ggo and letting gengetopt do its magic. Let's fix this up. Change-Id: Ib8e7ef1cad5fc4423a1a4af628950aa93a4e073a http://cgit.osmocom.org/osmo-ggsn/commit/?id=05ac095006691dc671c1669e21bebb872ef5a658 commit 05ac095006691dc671c1669e21bebb872ef5a658 Author: Harald Welte Date: Sun Sep 24 08:41:14 2017 +0800 sgsnemu: Fix up gengetopt file for QoS Extensions of 24.008 In commit 11a398fbc3ad9b655d8ba947bea7012f7ce81604 we introduced the --qose{1,2,3,4} command line options, but this was apparently done by manually editing the C source code rather than adding it to the .ggo and letting gengetopt do its magic. Let's fix this up. Change-Id: I4cd827a96ac17f6eb9f824342f195727426d0e20 http://cgit.osmocom.org/osmo-ggsn/commit/?id=73d28c9dda6b5d523977df65c5aa03c50456ccda commit 73d28c9dda6b5d523977df65c5aa03c50456ccda Author: Harald Welte Date: Sun Sep 24 08:34:36 2017 +0800 sgsnemu/cmdline.ggo: Remove 'unsigned' which is no longer supported It seems like modern gengetopt no longer supports 'unsigned int' argument types, and we need to use 'int' instead. tested with 2.22.6 Change-Id: I34ca86cb3cc482400a7c4b3bf77c8668aaef562e ----------------------------------------------------------------------- Summary of changes: sgsnemu/cmdline.c | 2200 ++++++++++++++++++++++----------------------------- sgsnemu/cmdline.ggo | 24 +- sgsnemu/cmdline.h | 607 ++++++++++---- sgsnemu/sgsnemu.c | 6 +- 4 files changed, 1433 insertions(+), 1404 deletions(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Sun Sep 24 02:58:35 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 24 Sep 2017 02:58:35 GMT Subject: osmo-ggsn.git branch master updated. 1.0.0-9-g7e1175f Message-ID: <201709240258.v8O2wZkS089993@git.osmocom.org> 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 OpenGGSN project". The branch, master has been updated via 7e1175f6d8d96f5c45d3d880945895698d02d5a0 (commit) from f621498129023a17f8023d1f865cfe66ba9c235a (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-ggsn/commit/?id=7e1175f6d8d96f5c45d3d880945895698d02d5a0 commit 7e1175f6d8d96f5c45d3d880945895698d02d5a0 Author: Harald Welte Date: Sun Sep 24 10:53:53 2017 +0800 sgsnemu: Fix gengetopt package name gengetopt by default picks the program name from PACKAGE (autotools), which is osmo-ggsn and is obviously wrong in case of sgsnemu. After this patch, "sgsnemu --help" no longer shows "osmo-ggsn" but "sgsnemu" at the top of the help text. Change-Id: Ifabc2435a503ef71aa5a002ca46833f329068b37 ----------------------------------------------------------------------- Summary of changes: sgsnemu/cmdline.c | 3 +-- sgsnemu/cmdline.ggo | 2 ++ sgsnemu/cmdline.h | 8 ++------ 3 files changed, 5 insertions(+), 8 deletions(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Sun Sep 24 02:59:36 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 24 Sep 2017 02:59:36 GMT Subject: openggsn.git branch master updated. 0.94-30-g6045efb Message-ID: <201709240259.v8O2xatY090284@git.osmocom.org> 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 OpenGGSN project". The branch, master has been updated via 6045efb642918ac43056ca6a40cda2fe2e6db08d (commit) via 078bc097fca2f3482da8fd2c25d84d9275eaabab (commit) via 3cce289e4bb5891cd16e95e2d1b9e9660bdde291 (commit) via b2a9aae35a8595bcd8b6986b0016f74ddfbc5fe9 (commit) via 95234821939685354489d8e127e9946c85233074 (commit) via 74aa8b701c57576dc512897f5d3f75ab846e83ef (commit) via 15ed7921541a2a99a146587b6e5c07c5ff6dd316 (commit) from 01628985ec53f4d16a88bf9bcb70d23445e0b5bb (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/openggsn/commit/?id=6045efb642918ac43056ca6a40cda2fe2e6db08d commit 6045efb642918ac43056ca6a40cda2fe2e6db08d Author: Harald Welte Date: Sun Sep 24 10:53:53 2017 +0800 sgsnemu: Fix gengetopt package name gengetopt by default picks the program name from PACKAGE (autotools), which is openggsn and is obviously wrong in case of sgsnemu. After this patch, "sgsnemu --help" no longer shows "openggsn" but "sgsnemu" at the top of the help text. Change-Id: Ifabc2435a503ef71aa5a002ca46833f329068b37 http://cgit.osmocom.org/openggsn/commit/?id=078bc097fca2f3482da8fd2c25d84d9275eaabab commit 078bc097fca2f3482da8fd2c25d84d9275eaabab Author: Harald Welte Date: Sun Sep 24 10:23:24 2017 +0800 sgsnemu: Re-generate cmdline.[ch] using gengetopt This will replace the manual additions to cmdline.[ch] with auto-generated code from gengetopt. We need to fix-up the RAT Type in sgsnemu.c as the manually-added code diverged from what gengetopt generates. Change-Id: Ia687e13d5cec1655a57078a767d2123aa022842c http://cgit.osmocom.org/openggsn/commit/?id=3cce289e4bb5891cd16e95e2d1b9e9660bdde291 commit 3cce289e4bb5891cd16e95e2d1b9e9660bdde291 Author: Harald Welte Date: Sun Sep 24 08:56:14 2017 +0800 sgsnemu: Fix up gengetopt file for --norecovery In commit 3a4c67b4bf0067c4949a60bc750d01e0576c5e08 we introduced the --norecovery command line option, but this was apparently done by manually editing the C source code rather than adding it to the .ggo and letting gengetopt do its magic. Let's fix this up. Change-Id: I1698280a699b17cea65651c3736ef149aba7e432 http://cgit.osmocom.org/openggsn/commit/?id=b2a9aae35a8595bcd8b6986b0016f74ddfbc5fe9 commit b2a9aae35a8595bcd8b6986b0016f74ddfbc5fe9 Author: Harald Welte Date: Sun Sep 24 08:53:58 2017 +0800 sgsnemu: Fix up gengetopt file for RAI In commit 41af5691ef08fb70e2c65aba03c8b9e6c20983a6 we introduced the --rai command line options, but this was apparently done by manually editing the C source code rather than adding it to the .ggo and letting gengetopt do its magic. Let's fix this up. Change-Id: Iaab404c3bcfc0c3943764f6616763f4f407d5644 http://cgit.osmocom.org/openggsn/commit/?id=95234821939685354489d8e127e9946c85233074 commit 95234821939685354489d8e127e9946c85233074 Author: Harald Welte Date: Sun Sep 24 08:51:02 2017 +0800 sgsnemu: Fix up gengetopt file for rattype, userloc, mstz, imeisv In commit 944dce3e66f3bc5b74f24dfbbee2370a231a39a9 we introduced various command line options, but this was apparently done by manually editing the C source code rather than adding it to the .ggo and letting gengetopt do its magic. Let's fix this up. Change-Id: Ib8e7ef1cad5fc4423a1a4af628950aa93a4e073a http://cgit.osmocom.org/openggsn/commit/?id=74aa8b701c57576dc512897f5d3f75ab846e83ef commit 74aa8b701c57576dc512897f5d3f75ab846e83ef Author: Harald Welte Date: Sun Sep 24 08:41:14 2017 +0800 sgsnemu: Fix up gengetopt file for QoS Extensions of 24.008 In commit 11a398fbc3ad9b655d8ba947bea7012f7ce81604 we introduced the --qose{1,2,3,4} command line options, but this was apparently done by manually editing the C source code rather than adding it to the .ggo and letting gengetopt do its magic. Let's fix this up. Change-Id: I4cd827a96ac17f6eb9f824342f195727426d0e20 http://cgit.osmocom.org/openggsn/commit/?id=15ed7921541a2a99a146587b6e5c07c5ff6dd316 commit 15ed7921541a2a99a146587b6e5c07c5ff6dd316 Author: Harald Welte Date: Sun Sep 24 08:34:36 2017 +0800 sgsnemu/cmdline.ggo: Remove 'unsigned' which is no longer supported It seems like modern gengetopt no longer supports 'unsigned int' argument types, and we need to use 'int' instead. tested with 2.22.6 Change-Id: I34ca86cb3cc482400a7c4b3bf77c8668aaef562e ----------------------------------------------------------------------- Summary of changes: sgsnemu/cmdline.c | 2203 ++++++++++++++++++++++----------------------------- sgsnemu/cmdline.ggo | 26 +- sgsnemu/cmdline.h | 605 ++++++++++---- sgsnemu/sgsnemu.c | 6 +- 4 files changed, 1433 insertions(+), 1407 deletions(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Sun Sep 24 12:55:41 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 24 Sep 2017 12:55:41 GMT Subject: osmo-ggsn.git branch master updated. 1.0.0-12-gf85fe97 Message-ID: <201709241255.v8OCtfLO043344@git.osmocom.org> 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 OpenGGSN project". The branch, master has been updated via f85fe9720be14acc1038ed400654d8ce336274a7 (commit) via fed598f41d85cef578925a4be6ce96a2c6afd3b3 (commit) via 471e349ecc46e2bd89d69d6e46a38cd5136bd401 (commit) from 7e1175f6d8d96f5c45d3d880945895698d02d5a0 (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-ggsn/commit/?id=f85fe9720be14acc1038ed400654d8ce336274a7 commit f85fe9720be14acc1038ed400654d8ce336274a7 Author: Harald Welte Date: Sun Sep 24 20:00:34 2017 +0800 ICMPv6: Send router advertisement from own link-local address I'm not quite sure how I ended up doing this, but for some strange reason the code before this commit is sending the ICMPv6 Router Advertisements from some weird non-standard source address. This is a violation of RFC4861 which clearly states that the source address of router advertisements "MUST be the link-local address assigned to the interface from which this message is sent." Change-Id: Ib444af70fc8f0b433d371281601fd5a37b29039e http://cgit.osmocom.org/osmo-ggsn/commit/?id=fed598f41d85cef578925a4be6ce96a2c6afd3b3 commit fed598f41d85cef578925a4be6ce96a2c6afd3b3 Author: Harald Welte Date: Sun Sep 24 16:39:22 2017 +0800 gtp: Avoid magic numbers when operating on GTP header flags Let's introduce a couple of #defines that make the code much more readable. Change-Id: I3635d679fd54507274b46e99a02bdbbe41d7684e http://cgit.osmocom.org/osmo-ggsn/commit/?id=471e349ecc46e2bd89d69d6e46a38cd5136bd401 commit 471e349ecc46e2bd89d69d6e46a38cd5136bd401 Author: Harald Welte Date: Sun Sep 24 16:12:39 2017 +0800 libgtp: Avoid extra memcpy() in gtp_data_req() by using sendmsg() Adresses two "TODO Should be avoided" comments about an extra memcpy() before sendto() that can be replaced by a single sendmsg() call with an iovec array: 1 record for the GTP header + 1 record for the user payload. Change-Id: Ie332a6b15972330fcf540753898eb84ecb84fe24 ----------------------------------------------------------------------- Summary of changes: ggsn/ggsn.c | 17 ++++++++- ggsn/ggsn.h | 3 ++ ggsn/icmpv6.c | 12 +++---- ggsn/icmpv6.h | 3 +- gtp/gtp.c | 108 ++++++++++++++++++++++++++++------------------------------ gtp/gtp.h | 7 ++++ lib/tun.c | 32 +++++++++++++++++ lib/tun.h | 2 ++ 8 files changed, 119 insertions(+), 65 deletions(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Sun Sep 24 13:55:05 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 24 Sep 2017 13:55:05 GMT Subject: osmo-ggsn.git branch laforge/sgsnemu-v6 created. 1.0.0-19-gb31a61b Message-ID: <201709241355.v8ODt5Zq057905@git.osmocom.org> 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 OpenGGSN project". The branch, laforge/sgsnemu-v6 has been created at b31a61b280858fbedf83a53a24521c5c12ee22d6 (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-ggsn/commit/?id=b31a61b280858fbedf83a53a24521c5c12ee22d6 commit b31a61b280858fbedf83a53a24521c5c12ee22d6 Author: Harald Welte Date: Sun Sep 24 18:32:11 2017 +0800 lib/icmpv6: Add icmpv6_construct_rs() to construct router solicitation Change-Id: Ifdd315ce6b0bfa5f261fd342a3d78c0ec6000f55 http://cgit.osmocom.org/osmo-ggsn/commit/?id=5a1375ecb84244467f59afb46c14bcafda16eedd commit 5a1375ecb84244467f59afb46c14bcafda16eedd Author: Harald Welte Date: Sun Sep 24 18:15:44 2017 +0800 move checkxum.[ch] and icmpv6.[ch] from ggsn/ to lib/ directory Having related code in the lib/ directory and linked into libmisc will allow us to use it from sgsnemu, too. Change-Id: I6d3a6e9610204eed44969d1fdc3ddcdd902488a4 http://cgit.osmocom.org/osmo-ggsn/commit/?id=a35a1f792b4ac73b463f9fcd4d48d40748d85a57 commit a35a1f792b4ac73b463f9fcd4d48d40748d85a57 Author: Harald Welte Date: Sun Sep 24 18:12:40 2017 +0800 sgsnemu: Allow specification of PDP (EUA) Type IPv4 or IPv6 This just adds the capability to sgsnemu to request a certain PDP EUA type. It doesn't mean it actually handles anything beyond the existing IPv4 yet. Change-Id: I157f9157a7ff2ea56c37a4a902d4706de4c7d35d http://cgit.osmocom.org/osmo-ggsn/commit/?id=0d8dccb7e1911ccd5a93791379c4ecf7458ab3ce commit 0d8dccb7e1911ccd5a93791379c4ecf7458ab3ce Author: Harald Welte Date: Sun Sep 24 17:45:05 2017 +0800 Replace EUA magic nmbers for IETF, IPv4 and IPv6 with #defines Change-Id: I33f65e404217e717bd795e5229c8d9456a7b3739 http://cgit.osmocom.org/osmo-ggsn/commit/?id=96a79de85f8ef14023d265970d6597f44eb5a0aa commit 96a79de85f8ef14023d265970d6597f44eb5a0aa Author: Harald Welte Date: Sun Sep 24 11:50:20 2017 +0800 sgsnemu: Add --no-tx-gpdu-seq option to suppress transmission of G-PDU sequence numbers Related: OS#2519 Change-Id: Idc650d896f0f72329090b56a37d9c16359294860 http://cgit.osmocom.org/osmo-ggsn/commit/?id=ab763a4cda30e5b298eb25a73c84f3488fc39f42 commit ab763a4cda30e5b298eb25a73c84f3488fc39f42 Author: Harald Welte Date: Sun Sep 24 11:43:17 2017 +0800 ggsn: Add per-APN VTY configuration option on G-PDU sequence numbers This per-APN vty option determines if we are transmitting GTP sequence numbers in downlink G-PDU messages. This behavior is optional as per GTP spec. The default behavior is "true", like before this change. Related: OS#2519 Change-Id: Ibf0de261f83951309b01b4feae998b6656c77664 http://cgit.osmocom.org/osmo-ggsn/commit/?id=6988e48b3f12eadef8cf817b0f85d63fe61834af commit 6988e48b3f12eadef8cf817b0f85d63fe61834af Author: Harald Welte Date: Sun Sep 24 16:40:12 2017 +0800 libgtp: Allow each PDP context to specify if it transmits G-PDU sequence numbers GTP sequence numbers on GTP-U are optional for G-PDU type messages (i.e. user-ip messages). Let's allow the user to specify this behavior by a new pdu_t.tx_gpdu_seq flag. The flag is enabled by default to stay compatible with the prior behaviour. Related: OS#2519 Change-Id: Icf22a2ddd5c4a968ef5bda7c202b921d93fb49e6 ----------------------------------------------------------------------- hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Sun Sep 24 14:00:24 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 24 Sep 2017 14:00:24 GMT Subject: osmo-ggsn.git branch laforge/sgsnemu-v6 updated. 1.0.0-18-ge585641 Message-ID: <201709241400.v8OE0OTo059210@git.osmocom.org> 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 OpenGGSN project". The branch, laforge/sgsnemu-v6 has been updated discards b31a61b280858fbedf83a53a24521c5c12ee22d6 (commit) discards 5a1375ecb84244467f59afb46c14bcafda16eedd (commit) via e585641387af4730498a04168d8e90c403efff04 (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 (b31a61b280858fbedf83a53a24521c5c12ee22d6) \ N -- N -- N (e585641387af4730498a04168d8e90c403efff04) 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-ggsn/commit/?id=e585641387af4730498a04168d8e90c403efff04 commit e585641387af4730498a04168d8e90c403efff04 Author: Harald Welte Date: Sun Sep 24 21:54:59 2017 +0800 sgsnemu: Add IPv6 supprort via tun device and "-t v6 --creatif" The idea is to only implement the GTP-C plane and configure the right link-local source address on the tun-device and let the regular (Linux) kernel take care of sending router solicitations and accepting/processing the related router advertisement. This avoids a lot of complexity in sgsnemu. For this to work, you must have /proc/sys/net/conf/$tun/accept_ra set to either 1 (works only if no IPv6 forwarding/routing configured on your sgsnemu-running system) or 2 (works even if forwarding/routing is configured). Change-Id: I57e4c53ee648e1efecfba3eea592d1129849557c Closes: OS#2518 ----------------------------------------------------------------------- Summary of changes: ggsn/Makefile.am | 2 +- {lib => ggsn}/checksum.c | 0 {lib => ggsn}/checksum.h | 0 ggsn/ggsn.c | 2 +- {lib => ggsn}/icmpv6.c | 46 ---------------------------------- {lib => ggsn}/icmpv6.h | 3 --- lib/Makefile.am | 5 ++-- sgsnemu/sgsnemu.c | 65 ++++++++++++++++++++++++++++++++++++++++-------- 8 files changed, 58 insertions(+), 65 deletions(-) rename {lib => ggsn}/checksum.c (100%) rename {lib => ggsn}/checksum.h (100%) rename {lib => ggsn}/icmpv6.c (82%) rename {lib => ggsn}/icmpv6.h (67%) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Sun Sep 24 14:50:38 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 24 Sep 2017 14:50:38 GMT Subject: osmo-ggsn.git branch laforge/sgsnemu-v6 updated. 1.0.0-20-ga6196e9 Message-ID: <201709241450.v8OEoca5071050@git.osmocom.org> 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 OpenGGSN project". The branch, laforge/sgsnemu-v6 has been updated discards e585641387af4730498a04168d8e90c403efff04 (commit) discards a35a1f792b4ac73b463f9fcd4d48d40748d85a57 (commit) discards 0d8dccb7e1911ccd5a93791379c4ecf7458ab3ce (commit) discards 96a79de85f8ef14023d265970d6597f44eb5a0aa (commit) discards ab763a4cda30e5b298eb25a73c84f3488fc39f42 (commit) discards 6988e48b3f12eadef8cf817b0f85d63fe61834af (commit) via a6196e932d74355b0761e9372ca7f5491ee4f439 (commit) via edebd6794a20cc1ae1cec8efae53de949898534b (commit) via 72137b146a089e92a546f0ffb330d7ca98853ff3 (commit) via 808b4ced0bb64181e18ff47dfc952f30829e5de1 (commit) via e21c3e4f5ebfeb33ef24d3af069063983ed5dd08 (commit) via 01b25c7389e8000a2ac7b3c019374687552b6b6c (commit) via ff438174aab40a07fe0597d3f1d2b12d88090a20 (commit) via 3ca419a2ef00bea935fad17278810d48d780baf7 (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 (e585641387af4730498a04168d8e90c403efff04) \ N -- N -- N (a6196e932d74355b0761e9372ca7f5491ee4f439) 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-ggsn/commit/?id=a6196e932d74355b0761e9372ca7f5491ee4f439 commit a6196e932d74355b0761e9372ca7f5491ee4f439 Author: Harald Welte Date: Sun Sep 24 21:54:59 2017 +0800 sgsnemu: Add IPv6 support via tun device and "-t v6 --createif" The idea is to only implement the GTP-C plane and configure the right link-local source address on the tun-device and let the regular (Linux) kernel take care of sending router solicitations and accepting/processing the related router advertisement. This avoids a lot of complexity in sgsnemu. For this to work, you must have /proc/sys/net/conf/$tun/accept_ra set to either 1 (works only if no IPv6 forwarding/routing configured on your sgsnemu-running system) or 2 (works even if forwarding/routing is configured). Change-Id: I57e4c53ee648e1efecfba3eea592d1129849557c Closes: OS#2518 http://cgit.osmocom.org/osmo-ggsn/commit/?id=edebd6794a20cc1ae1cec8efae53de949898534b commit edebd6794a20cc1ae1cec8efae53de949898534b Author: Harald Welte Date: Sun Sep 24 18:12:40 2017 +0800 sgsnemu: Allow specification of PDP (EUA) Type IPv4 or IPv6 This just adds the capability to sgsnemu to request a certain PDP EUA type. It doesn't mean it actually handles anything beyond the existing IPv4 yet. Change-Id: I157f9157a7ff2ea56c37a4a902d4706de4c7d35d http://cgit.osmocom.org/osmo-ggsn/commit/?id=72137b146a089e92a546f0ffb330d7ca98853ff3 commit 72137b146a089e92a546f0ffb330d7ca98853ff3 Author: Harald Welte Date: Sun Sep 24 17:45:05 2017 +0800 Replace EUA magic numbers for IETF, IPv4 and IPv6 with #defines Change-Id: I33f65e404217e717bd795e5229c8d9456a7b3739 ----------------------------------------------------------------------- Summary of changes: ggsn/ggsn_vty.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Sun Sep 24 14:50:40 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 24 Sep 2017 14:50:40 GMT Subject: osmo-ggsn.git branch laforge/gpdu-seq created. 1.0.0-17-g808b4ce Message-ID: <201709241450.v8OEoe7u071095@git.osmocom.org> 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 OpenGGSN project". The branch, laforge/gpdu-seq has been created at 808b4ced0bb64181e18ff47dfc952f30829e5de1 (commit) - Log ----------------------------------------------------------------- ----------------------------------------------------------------------- hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Sun Sep 24 14:59:06 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 24 Sep 2017 14:59:06 GMT Subject: osmo-ggsn.git branch master updated. 1.0.0-15-g00d3460 Message-ID: <201709241459.v8OEx68e073124@git.osmocom.org> 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 OpenGGSN project". The branch, master has been updated via 00d346092be0b9d948f687efb4b20a0727019b71 (commit) via 3ca419a2ef00bea935fad17278810d48d780baf7 (commit) via ff438174aab40a07fe0597d3f1d2b12d88090a20 (commit) from f85fe9720be14acc1038ed400654d8ce336274a7 (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-ggsn/commit/?id=00d346092be0b9d948f687efb4b20a0727019b71 commit 00d346092be0b9d948f687efb4b20a0727019b71 Merge: 3ca419a ff43817 Author: Harald Welte Date: Sun Sep 24 14:58:50 2017 +0000 Merge "ggsn: Fix double whitespace in writing "ifconfig" lines" ----------------------------------------------------------------------- Summary of changes: ggsn/ggsn_vty.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Sun Sep 24 15:11:30 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 24 Sep 2017 15:11:30 GMT Subject: osmo-ggsn.git branch laforge/sgsnemu-v6 updated. 1.0.0-21-ga05e605 Message-ID: <201709241511.v8OFBU9s076415@git.osmocom.org> 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 OpenGGSN project". The branch, laforge/sgsnemu-v6 has been updated discards a6196e932d74355b0761e9372ca7f5491ee4f439 (commit) discards edebd6794a20cc1ae1cec8efae53de949898534b (commit) discards 72137b146a089e92a546f0ffb330d7ca98853ff3 (commit) discards 808b4ced0bb64181e18ff47dfc952f30829e5de1 (commit) discards e21c3e4f5ebfeb33ef24d3af069063983ed5dd08 (commit) discards 01b25c7389e8000a2ac7b3c019374687552b6b6c (commit) via a05e6052a95dccbf63a2a828ffd0e39c662cd2ff (commit) via 3e4556ba6cfed8f91bfb1832ba10c5c735d650de (commit) via 485628283372a6d4b4115821d56469f00cae6552 (commit) via fbb9c7f59a7f112608b59c7692c1fddd1a5e8c23 (commit) via 93fed3bc510563e7d88cadafa7eada2ae4182213 (commit) via 3c1cce245e6ed1746c0eacc6208b884871186d3d (commit) via 00d346092be0b9d948f687efb4b20a0727019b71 (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 (a6196e932d74355b0761e9372ca7f5491ee4f439) \ N -- N -- N (a05e6052a95dccbf63a2a828ffd0e39c662cd2ff) 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-ggsn/commit/?id=a05e6052a95dccbf63a2a828ffd0e39c662cd2ff commit a05e6052a95dccbf63a2a828ffd0e39c662cd2ff Author: Harald Welte Date: Sun Sep 24 21:54:59 2017 +0800 sgsnemu: Add IPv6 support via tun device and "-t v6 --createif" The idea is to only implement the GTP-C plane and configure the right link-local source address on the tun-device and let the regular (Linux) kernel take care of sending router solicitations and accepting/processing the related router advertisement. This avoids a lot of complexity in sgsnemu. For this to work, you must have /proc/sys/net/conf/$tun/accept_ra set to either 1 (works only if no IPv6 forwarding/routing configured on your sgsnemu-running system) or 2 (works even if forwarding/routing is configured). Change-Id: I57e4c53ee648e1efecfba3eea592d1129849557c Closes: OS#2518 http://cgit.osmocom.org/osmo-ggsn/commit/?id=3e4556ba6cfed8f91bfb1832ba10c5c735d650de commit 3e4556ba6cfed8f91bfb1832ba10c5c735d650de Author: Harald Welte Date: Sun Sep 24 18:12:40 2017 +0800 sgsnemu: Allow specification of PDP (EUA) Type IPv4 or IPv6 This just adds the capability to sgsnemu to request a certain PDP EUA type. It doesn't mean it actually handles anything beyond the existing IPv4 yet. Change-Id: I157f9157a7ff2ea56c37a4a902d4706de4c7d35d http://cgit.osmocom.org/osmo-ggsn/commit/?id=485628283372a6d4b4115821d56469f00cae6552 commit 485628283372a6d4b4115821d56469f00cae6552 Author: Harald Welte Date: Sun Sep 24 17:45:05 2017 +0800 Replace EUA magic numbers for IETF, IPv4 and IPv6 with #defines Change-Id: I33f65e404217e717bd795e5229c8d9456a7b3739 ----------------------------------------------------------------------- Summary of changes: ggsn/ggsn_vty.c | 2 ++ 1 file changed, 2 insertions(+) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Sun Sep 24 15:11:31 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 24 Sep 2017 15:11:31 GMT Subject: osmo-ggsn.git branch laforge/gpdu-seq updated. 1.0.0-18-gfbb9c7f Message-ID: <201709241511.v8OFBVrs076459@git.osmocom.org> 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 OpenGGSN project". The branch, laforge/gpdu-seq has been updated discards 808b4ced0bb64181e18ff47dfc952f30829e5de1 (commit) discards e21c3e4f5ebfeb33ef24d3af069063983ed5dd08 (commit) discards 01b25c7389e8000a2ac7b3c019374687552b6b6c (commit) via fbb9c7f59a7f112608b59c7692c1fddd1a5e8c23 (commit) via 93fed3bc510563e7d88cadafa7eada2ae4182213 (commit) via 3c1cce245e6ed1746c0eacc6208b884871186d3d (commit) via 00d346092be0b9d948f687efb4b20a0727019b71 (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 (808b4ced0bb64181e18ff47dfc952f30829e5de1) \ N -- N -- N (fbb9c7f59a7f112608b59c7692c1fddd1a5e8c23) 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 ----------------------------------------------------------------- ----------------------------------------------------------------------- Summary of changes: ggsn/ggsn_vty.c | 2 ++ 1 file changed, 2 insertions(+) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Sun Sep 24 15:20:39 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 24 Sep 2017 15:20:39 GMT Subject: osmo-ggsn.git branch master updated. 1.0.0-20-g1a8bc98 Message-ID: <201709241520.v8OFKd5B079474@git.osmocom.org> 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 OpenGGSN project". The branch, master has been updated via 1a8bc9839a69566e756c691ebd2d676082838c52 (commit) via 79aa4bd8378748ef1a264b6ae0c64f1eca0ab6df (commit) via fbb9c7f59a7f112608b59c7692c1fddd1a5e8c23 (commit) via 3c1cce245e6ed1746c0eacc6208b884871186d3d (commit) via 93fed3bc510563e7d88cadafa7eada2ae4182213 (commit) from 00d346092be0b9d948f687efb4b20a0727019b71 (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-ggsn/commit/?id=1a8bc9839a69566e756c691ebd2d676082838c52 commit 1a8bc9839a69566e756c691ebd2d676082838c52 Merge: 79aa4bd fbb9c7f Author: Harald Welte Date: Sun Sep 24 15:20:23 2017 +0000 Merge "sgsnemu: Add --no-tx-gpdu-seq option to suppress transmission of G-PDU sequence numbers" http://cgit.osmocom.org/osmo-ggsn/commit/?id=79aa4bd8378748ef1a264b6ae0c64f1eca0ab6df commit 79aa4bd8378748ef1a264b6ae0c64f1eca0ab6df Merge: 3c1cce2 93fed3b Author: Harald Welte Date: Sun Sep 24 15:20:23 2017 +0000 Merge "ggsn: Add per-APN VTY configuration option on G-PDU sequence numbers" ----------------------------------------------------------------------- Summary of changes: TODO-RELEASE | 1 + ggsn/ggsn.c | 3 +++ ggsn/ggsn.h | 2 ++ ggsn/ggsn_vty.c | 26 ++++++++++++++++++++++++++ gtp/gtp.c | 22 ++++++++++++++++------ gtp/pdp.c | 2 ++ gtp/pdp.h | 4 ++++ sgsnemu/cmdline.c | 22 ++++++++++++++++++++++ sgsnemu/cmdline.ggo | 2 +- sgsnemu/cmdline.h | 6 ++++++ sgsnemu/sgsnemu.c | 10 ++++++++++ 11 files changed, 93 insertions(+), 7 deletions(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Sun Sep 24 16:32:56 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 24 Sep 2017 16:32:56 GMT Subject: libosmocore.git branch neels/vty_indent_debug updated. 0.9.6-394-g9791359e Message-ID: <201709241632.v8OGWu9n097182@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, neels/vty_indent_debug has been updated discards ade800e1018bc8960559baef314e0266b3598769 (commit) discards d0de6ab897249ac9a0a8f9bf46d3508bea55d93e (commit) via 9791359e6d5aeafff67a7fbdb2dbe5b18aafad31 (commit) via c3a3f685140ce3fb8f3e919481d5ac68c4da34f9 (commit) via 657c5b6cadcef470c7ff9bffed3caab227026e6a (commit) via 0b723f6a6cdc4171ee67ddd8d8c1bb812fb4cf06 (commit) via b022c867e86333ceaad9027e2e7ee621ab3891e5 (commit) via 00b5ed3d921f2f39e60ed372809c33b8bce78ad8 (commit) via 430636328c2fbd9fffc0eac5114462c200b7f2cb (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 (ade800e1018bc8960559baef314e0266b3598769) \ N -- N -- N (9791359e6d5aeafff67a7fbdb2dbe5b18aafad31) 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/libosmocore/commit/?id=9791359e6d5aeafff67a7fbdb2dbe5b18aafad31 commit 9791359e6d5aeafff67a7fbdb2dbe5b18aafad31 Author: Neels Hofmeyr Date: Wed Sep 20 02:43:19 2017 +0200 wip Change-Id: Iaba89c63cb19364969005ffe1310a142af9088d2 http://cgit.osmocom.org/libosmocore/commit/?id=c3a3f685140ce3fb8f3e919481d5ac68c4da34f9 commit c3a3f685140ce3fb8f3e919481d5ac68c4da34f9 Author: Neels Hofmeyr Date: Tue Sep 12 04:06:50 2017 +0200 NOT FOR MERGE: vty indentation debug Change-Id: I48f2d7c34ea160a8ca36ab83f462ffd7e660065e ----------------------------------------------------------------------- Summary of changes: include/osmocom/vty/command.h | 5 ++ src/vty/command.c | 145 ++++++++++++++++++++++++++-------- tests/vty/fail_not_de-indented.cfg | 6 +- tests/vty/fail_tabs_and_spaces.cfg | 8 +- tests/vty/fail_too_much_indent.cfg | 6 +- tests/vty/ok.cfg | 31 +++++++- tests/vty/ok_empty_parent.cfg | 24 +++++- tests/vty/ok_ignore_blank.cfg | 15 +++- tests/vty/ok_ignore_comment.cfg | 9 ++- tests/vty/ok_indented_root.cfg | 8 +- tests/vty/ok_more_spaces.cfg | 32 +++++++- tests/vty/ok_tabs.cfg | 32 +++++++- tests/vty/ok_tabs_and_spaces.cfg | 32 +++++++- tests/vty/vty_test.c | 120 +++++++++++++++++++++++++++- tests/vty/vty_test.ok | 156 +++++++++++++++++++++++++++++++++++++ 15 files changed, 556 insertions(+), 73 deletions(-) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Sun Sep 24 18:21:31 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 24 Sep 2017 18:21:31 GMT Subject: osmocom-analog.git branch master updated. f469879ed03b294b675c886182dbf70030761417 Message-ID: <201709241821.v8OILVbs023848@git.osmocom.org> 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 "A/B/C Netz". The branch, master has been updated via f469879ed03b294b675c886182dbf70030761417 (commit) via ff5faa8697eb31e9a8b02734dac0261b66757c78 (commit) via c1fe179d5d5dab87f19f6dd1326c4a631e666a3d (commit) via b6468b585d06446a9aec139c66af35568b356484 (commit) via 08dd180ea0382b0339deb34928c05483b4d029c9 (commit) via 274cb7992b4b1498d1b55db322844ada0eab8cad (commit) via 0b7b8f12c630203bd97710f33cba6f376c383aea (commit) via 3b7c515f6f8f085dbf31db132186f4ff15d43cd3 (commit) from 5b1956fe49f958a4674f4e470fc8a63bc5576016 (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/osmocom-analog/commit/?id=f469879ed03b294b675c886182dbf70030761417 commit f469879ed03b294b675c886182dbf70030761417 Author: Andreas Eversberg Date: Sun Sep 24 15:59:24 2017 +0200 SDR: Use filter to remove harmonics caused by downsampling/upsampling This drastically increases the signal-noise-ratio and removes co-channel interferences. It gains CPU usage, but only on SDR threads, not on the main thread. http://cgit.osmocom.org/osmocom-analog/commit/?id=ff5faa8697eb31e9a8b02734dac0261b66757c78 commit ff5faa8697eb31e9a8b02734dac0261b66757c78 Author: Andreas Eversberg Date: Sun Sep 24 14:13:34 2017 +0200 SDR: Improved IQ plot display, increase dynamics of spectrum display http://cgit.osmocom.org/osmocom-analog/commit/?id=c1fe179d5d5dab87f19f6dd1326c4a631e666a3d commit c1fe179d5d5dab87f19f6dd1326c4a631e666a3d Author: Andreas Eversberg Date: Sun Sep 24 14:11:54 2017 +0200 AMPS: Fix 'use-after-free-bug' after destroying transaction http://cgit.osmocom.org/osmocom-analog/commit/?id=b6468b585d06446a9aec139c66af35568b356484 commit b6468b585d06446a9aec139c66af35568b356484 Author: Andreas Eversberg Date: Fri Sep 22 16:51:47 2017 +0200 NMT: Minor fixes on frame data http://cgit.osmocom.org/osmocom-analog/commit/?id=08dd180ea0382b0339deb34928c05483b4d029c9 commit 08dd180ea0382b0339deb34928c05483b4d029c9 Author: Andreas Eversberg Date: Thu Sep 21 19:22:03 2017 +0200 Add echo test feature to check mobile phone's mic + speaker Add '-e' to command line option, but do not select MNCC nor call device http://cgit.osmocom.org/osmocom-analog/commit/?id=274cb7992b4b1498d1b55db322844ada0eab8cad commit 274cb7992b4b1498d1b55db322844ada0eab8cad Author: Andreas Eversberg Date: Sat Sep 16 10:05:26 2017 +0200 SDR: Improvement of spectrum view, peaks are drawn correctly http://cgit.osmocom.org/osmocom-analog/commit/?id=0b7b8f12c630203bd97710f33cba6f376c383aea commit 0b7b8f12c630203bd97710f33cba6f376c383aea Author: Andreas Eversberg Date: Sat Sep 16 00:14:41 2017 +0200 work on docs http://cgit.osmocom.org/osmocom-analog/commit/?id=3b7c515f6f8f085dbf31db132186f4ff15d43cd3 commit 3b7c515f6f8f085dbf31db132186f4ff15d43cd3 Author: Andreas Eversberg Date: Mon Sep 11 20:42:06 2017 +0200 add new libs.a to .gitignore ----------------------------------------------------------------------- Summary of changes: .gitignore | 2 + docs/index.html | 4 ++ docs/radiocom2000.html | 6 +++ docs/standard_r2000_by_jolly.pdf | Bin 0 -> 60086 bytes src/amps/amps.c | 6 +-- src/common/call.c | 41 +++++++++++---- src/common/call.h | 2 +- src/common/display.h | 2 +- src/common/display_iq.c | 105 ++++++++++++++++++++++----------------- src/common/display_spectrum.c | 41 +++++++++++---- src/common/iir_filter.c | 34 +++++++++++++ src/common/iir_filter.h | 1 + src/common/main_mobile.c | 31 ++++++++---- src/common/main_mobile.h | 3 -- src/common/sdr.c | 29 ++++++++++- src/nmt/frame.c | 4 +- 16 files changed, 223 insertions(+), 88 deletions(-) create mode 100644 docs/standard_r2000_by_jolly.pdf hooks/post-receive -- A/B/C Netz From gitosis at osmocom.org Sun Sep 24 20:54:43 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 24 Sep 2017 20:54:43 GMT Subject: osmo-gsm-manuals.git branch master updated. 52136c3ae3aa7f07f2a46d8863ecd7621e83eaaf Message-ID: <201709242054.v8OKshQx064867@git.osmocom.org> 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 "Manuals for Osmocom GSM components". The branch, master has been updated via 52136c3ae3aa7f07f2a46d8863ecd7621e83eaaf (commit) from 0e3e4c217add2744307b81d3e8c715c3ddc2c119 (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-gsm-manuals/commit/?id=52136c3ae3aa7f07f2a46d8863ecd7621e83eaaf commit 52136c3ae3aa7f07f2a46d8863ecd7621e83eaaf Author: Neels Hofmeyr Date: Fri Sep 22 17:41:16 2017 +0200 fix various grammar and typos in: preface, cell-broadcast Change-Id: I0c61ad0e824b0d62bb9332f2208b247d3852dbb5 ----------------------------------------------------------------------- Summary of changes: common/chapters/cell-broadcast.adoc | 2 +- common/chapters/preface.adoc | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) hooks/post-receive -- Manuals for Osmocom GSM components From gitosis at osmocom.org Sun Sep 24 20:57:06 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 24 Sep 2017 20:57:06 GMT Subject: osmo-python-tests.git branch master updated. d2e793a58aceb19fea1d29b550894407331fea7f Message-ID: <201709242057.v8OKv6Vt065571@git.osmocom.org> 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, master has been updated via d2e793a58aceb19fea1d29b550894407331fea7f (commit) via a784f2407b087e17ba4a6447e4f1b5cf6c524e22 (commit) via 8e4806c5f20f082c911f5a95d88c5fdd2c26d58b (commit) from f41db1e337d66c9b904a553d63e3babf22223249 (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: osmopy/osmodumpdoc.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) hooks/post-receive -- UNNAMED PROJECT From gitosis at osmocom.org Mon Sep 25 08:26:16 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 25 Sep 2017 08:26:16 GMT Subject: openbsc.git branch master updated. 0.15.0-887-g3ae8682f9 Message-ID: <201709250826.v8P8QGIO042658@git.osmocom.org> 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 "Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, master has been updated via 3ae8682f974058970fa564f09a34a51e867b896b (commit) from 1cbc7e1adf859a7d5b05fa0dbdde1bb0cb998041 (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=3ae8682f974058970fa564f09a34a51e867b896b commit 3ae8682f974058970fa564f09a34a51e867b896b Author: Max Date: Sat Sep 23 14:51:49 2017 +0200 CTRL: cleanup write-only command functions Remove trivial functions by using more specific defines for CTRL commands. Change-Id: I719b75b6ca1e9372ea11e7e9ff7896021f357035 ----------------------------------------------------------------------- Summary of changes: openbsc/src/osmo-bsc/osmo_bsc_ctrl.c | 34 +++------------------------------- 1 file changed, 3 insertions(+), 31 deletions(-) hooks/post-receive -- Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Mon Sep 25 08:29:44 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 25 Sep 2017 08:29:44 GMT Subject: osmo-gsm-manuals.git branch master updated. 271f5b408186e7deba1f84fca926aab7b6447b6b Message-ID: <201709250829.v8P8TiJO043564@git.osmocom.org> 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 "Manuals for Osmocom GSM components". The branch, master has been updated via 271f5b408186e7deba1f84fca926aab7b6447b6b (commit) from 52136c3ae3aa7f07f2a46d8863ecd7621e83eaaf (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-gsm-manuals/commit/?id=271f5b408186e7deba1f84fca926aab7b6447b6b commit 271f5b408186e7deba1f84fca926aab7b6447b6b Author: Max Date: Fri Sep 22 14:36:51 2017 +0200 Expand OsmoGGSN manual * add cross-references * add example of running without root priviledges Change-Id: I1743f370ee2b351d2847f2e29e0f59f35cd401f4 ----------------------------------------------------------------------- Summary of changes: OsmoGGSN/chapters/configuration.adoc | 57 ++++++++++++++++++++++++++++++++---- common/chapters/bibliography.adoc | 6 ++-- 2 files changed, 55 insertions(+), 8 deletions(-) hooks/post-receive -- Manuals for Osmocom GSM components From gitosis at osmocom.org Mon Sep 25 08:58:00 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 25 Sep 2017 08:58:00 GMT Subject: libosmo-sccp.git branch master updated. 0.0.6.3-310-gba57d31 Message-ID: <201709250858.v8P8w0Cr050279@git.osmocom.org> 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 "SCCP Library". The branch, master has been updated via ba57d31b35293b8f4afa09b540ae208669fbfe37 (commit) from 3488cf5b8570cc7a2e6894870705645cfc9baa88 (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/libosmo-sccp/commit/?id=ba57d31b35293b8f4afa09b540ae208669fbfe37 commit ba57d31b35293b8f4afa09b540ae208669fbfe37 Author: Philipp Maier Date: Thu Sep 14 13:49:20 2017 +0200 simple client: prevent overwriting asp settings If the user does not create an AS, but creates an ASP with a name that is equal to the default name, then the simple client detects that and trys to use this ASP. However, unfortunately it then overwrites the settings of the ASP with the default settings. If the detected ASP is not created by the simple client, use it, but preseve the settings of that ASP. Change-Id: I53d73059f804c3bbea6cb43dc73ad49a753b3b15 ----------------------------------------------------------------------- Summary of changes: src/sccp_user.c | 41 ++++++++++++++++++++++++++++------------- 1 file changed, 28 insertions(+), 13 deletions(-) hooks/post-receive -- SCCP Library From gitosis at osmocom.org Mon Sep 25 18:03:05 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 25 Sep 2017 18:03:05 GMT Subject: meta-telephony.git branch pespin/split-openbsc created. 958b3bcc0e8be3cea502ce1b190dba41d40d2c88 Message-ID: <201709251803.v8PI35sj090938@git.osmocom.org> 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 layer for OpenEmbedded". The branch, pespin/split-openbsc has been created at 958b3bcc0e8be3cea502ce1b190dba41d40d2c88 (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/meta-telephony/commit/?id=958b3bcc0e8be3cea502ce1b190dba41d40d2c88 commit 958b3bcc0e8be3cea502ce1b190dba41d40d2c88 Author: Pau Espin Pedrol Date: Mon Sep 25 19:19:30 2017 +0200 WIP Change-Id: I5639d39e0a3239965bc802ba102166d2ae74ea5e http://cgit.osmocom.org/meta-telephony/commit/?id=e246a54db29bf5df3509b771271a1ca787339ff6 commit e246a54db29bf5df3509b771271a1ca787339ff6 Author: Pau Espin Pedrol Date: Mon Sep 25 17:46:29 2017 +0200 Drop openggsn and introduce osmo-ggsn Take the opportunity to enable systemd service instead of sysvint like other osmocom services already do. Change-Id: Ie6018ef78ff18f2e6809fee957c9d645e35c7c9a http://cgit.osmocom.org/meta-telephony/commit/?id=7e025c176b62339e9c2dc783c48edf4648041b67 commit 7e025c176b62339e9c2dc783c48edf4648041b67 Author: Pau Espin Pedrol Date: Wed Sep 6 12:09:52 2017 +0200 libosmo-abis: modify PV to match recent release The upstream release commit is 7f17b8c45d094941292036143f3292a1d5789cf5. This should fix current issue with 201705/nightly package feed: $ opkg upgrade Not selecting libosmo-abis 0.3.2+gitr0+d3292913ac as installing it would break existing dependencies. $ opkg list_installed | grep libosmo-abis libosmo-abis - 0.3.2+gitr2+d3292913ac-r2.18.1.0 See that gitr in repos is 0 while the previously installed one has gitr2, which is higher. Explanations I can find for this: - PR server was somehow reset? - the value in gitr is calculated based on offset from latest tag. As new release introduced new tag, gitr may have been reset. In any case, updating PV to have the correct value should fix this issue. Change-Id: I9f27661d9e5241efe7725b7d1efcf4aef55e2efe http://cgit.osmocom.org/meta-telephony/commit/?id=6a8099acc8a45c8d83ba0fa01aa476bd1eb57624 commit 6a8099acc8a45c8d83ba0fa01aa476bd1eb57624 Author: Harald Welte Date: Thu Aug 17 00:53:51 2017 +0200 update PV versions for libosmocore, libosmo-sccp and openggsn As we're building git master, we need to make sure PV is not lagging behind. I wish there was some OE magic by which it could discover PV from the source it builds. Change-Id: Ib45238e95156f215412d51d975b1acb33633a3e1 http://cgit.osmocom.org/meta-telephony/commit/?id=5bf8e6e8832594b4b29580d7a109a596cda1bc5a commit 5bf8e6e8832594b4b29580d7a109a596cda1bc5a Author: Holger Hans Peter Freyther Date: Fri Jun 2 18:33:02 2017 +0800 libosmo-sccp: Attempt to fix link issue on 201705-nightly builds This project will build some static libraries needed for testing and also for downstream users. Do not disable the static build on newer Poky versions. arm-poky-linux-gnueabi-libtool: link: arm-poky-linux-gnueabi-gcc -march=armv5te -marm --sysroot=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot -Wall -I/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot/usr/include/ -I/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot/usr/include/ -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1=/usr/src/debug/libosmo-sccp/git-r1.18.1 -fdebug-prefix-map=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot-native= -fdebug-prefix-map=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o xua_test xua_test.o sccp_test_data.o ../../src/.libs/libosmo-sigtran.so -losmogsm -ltalloc -losmovty -losmocore -losmonetif -lsctp | xua_test.o: In function `test_helpers': | /usr/src/debug/libosmo-sccp/git-r1.18.1/git/tests/xua/xua_test.c:160: undefined reference to `xua_part_add_gt' | /usr/src/debug/libosmo-sccp/git-r1.18.1/git/tests/xua/xua_test.c:168: undefined reference to `sua_parse_gt' | xua_test.o: In function `test_sccp2sua_case': Change-Id: I80eea9ac888ab4b13614ff475bebacb94b72b0f2 http://cgit.osmocom.org/meta-telephony/commit/?id=633560775cfe414ff9ad4d71651bdb77fe84dabc commit 633560775cfe414ff9ad4d71651bdb77fe84dabc Author: Pau Espin Pedrol Date: Mon Sep 25 17:22:56 2017 +0200 Update osmocom versions to point to current master New versions are required in order to build new git repositories which will deprecate osmo-nitb soon. Change-Id: If36b86a6a542af7381d9a07da51a330f2e44a96f ----------------------------------------------------------------------- hooks/post-receive -- Osmocom layer for OpenEmbedded From gitosis at osmocom.org Mon Sep 25 22:46:51 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 25 Sep 2017 22:46:51 GMT Subject: osmo-gsm-manuals.git branch neels/osmo-hlr created. f8643f57f0e39230ad59b32a48b5987927e67100 Message-ID: <201709252246.v8PMkpYX061344@git.osmocom.org> 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 "Manuals for Osmocom GSM components". The branch, neels/osmo-hlr has been created at f8643f57f0e39230ad59b32a48b5987927e67100 (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-gsm-manuals/commit/?id=f8643f57f0e39230ad59b32a48b5987927e67100 commit f8643f57f0e39230ad59b32a48b5987927e67100 Author: Neels Hofmeyr Date: Mon Sep 25 16:37:34 2017 +0200 add OsmoHLR manual Change-Id: Ieb6a362a26a7e65199f68f5cd32d9b6b0e5d0fbf http://cgit.osmocom.org/osmo-gsm-manuals/commit/?id=d823797ae53da9fc810f13c93ffb9db1a797c904 commit d823797ae53da9fc810f13c93ffb9db1a797c904 Author: Neels Hofmeyr Date: Mon Sep 18 16:19:30 2017 +0200 add OsmoMSC manual Add OsmoMSC and OsmoHLR to bibliography (even though the OsmoHLR manual does not yet exist, a reference to it has been added in OsmoMSC's manual). Change-Id: I9ecff2837fbf5fdc19675a726f6d70c21eb178ee http://cgit.osmocom.org/osmo-gsm-manuals/commit/?id=f56996aa41812372e5bdc34c0a23f6d71fa4dcc4 commit f56996aa41812372e5bdc34c0a23f6d71fa4dcc4 Author: Neels Hofmeyr Date: Sun Sep 24 22:49:02 2017 +0200 move mncc.adoc to common chapters Upcoming OsmoMSC will reference the same, hence MNCC becomes a common chapter. Move the file and adjust various wording to include OsmoMSC. Change-Id: I404758ff7f1372e841ffe33c75455f513fff3caf ----------------------------------------------------------------------- hooks/post-receive -- Manuals for Osmocom GSM components From gitosis at osmocom.org Tue Sep 26 08:18:51 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 26 Sep 2017 08:18:51 GMT Subject: libosmocore.git branch master updated. 0.9.6-393-g383c5635 Message-ID: <201709260818.v8Q8Ip0J008978@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, master has been updated via 383c5635e3920091469594ee01c2b9b13b6ea408 (commit) from 657c5b6cadcef470c7ff9bffed3caab227026e6a (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/libosmocore/commit/?id=383c5635e3920091469594ee01c2b9b13b6ea408 commit 383c5635e3920091469594ee01c2b9b13b6ea408 Author: Max Date: Mon Sep 25 16:37:37 2017 +0200 Add time conversion helpers Add macros to break down absolute time in seconds into days/hours/minutes passed. Change-Id: I46b9a405c18ed9da8f31b7d5b6dcece5468bafbf ----------------------------------------------------------------------- Summary of changes: include/osmocom/core/timer.h | 5 +++++ 1 file changed, 5 insertions(+) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Tue Sep 26 12:25:42 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 26 Sep 2017 12:25:42 GMT Subject: meta-telephony.git branch pespin/split-openbsc updated. 74aa19e1be6dcb34d1b3996050dbecba514928a7 Message-ID: <201709261225.v8QCPgid080953@git.osmocom.org> 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 layer for OpenEmbedded". The branch, pespin/split-openbsc has been updated discards 958b3bcc0e8be3cea502ce1b190dba41d40d2c88 (commit) via 74aa19e1be6dcb34d1b3996050dbecba514928a7 (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 (958b3bcc0e8be3cea502ce1b190dba41d40d2c88) \ N -- N -- N (74aa19e1be6dcb34d1b3996050dbecba514928a7) 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/meta-telephony/commit/?id=74aa19e1be6dcb34d1b3996050dbecba514928a7 commit 74aa19e1be6dcb34d1b3996050dbecba514928a7 Author: Pau Espin Pedrol Date: Mon Sep 25 19:19:30 2017 +0200 WIP Change-Id: I5639d39e0a3239965bc802ba102166d2ae74ea5e ----------------------------------------------------------------------- Summary of changes: .../osmo-iuh.inc => osmo-bsc/osmo-bsc.inc} | 8 +++---- recipes-osmocom/osmo-bsc/osmo-bsc_git.bb | 28 ++++++++++++++++++++++ recipes-osmocom/osmo-mgw/osmo-mgw_git.bb | 2 +- recipes-osmocom/osmo-msc/osmo-msc.inc | 1 - recipes-osmocom/osmo-msc/osmo-msc_git.bb | 2 +- recipes-osmocom/osmo-sgsn/osmo-sgsn.inc | 7 +++--- recipes-osmocom/osmo-sgsn/osmo-sgsn_git.bb | 20 ++++++++++++---- 7 files changed, 53 insertions(+), 15 deletions(-) copy recipes-osmocom/{osmo-iuh/osmo-iuh.inc => osmo-bsc/osmo-bsc.inc} (61%) create mode 100644 recipes-osmocom/osmo-bsc/osmo-bsc_git.bb hooks/post-receive -- Osmocom layer for OpenEmbedded From gitosis at osmocom.org Tue Sep 26 16:40:16 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 26 Sep 2017 16:40:16 GMT Subject: meta-telephony.git branch pespin/split-openbsc updated. 382f5f92853c202cc32a99851cdc0d2e6f6094c3 Message-ID: <201709261640.v8QGeG7n044492@git.osmocom.org> 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 layer for OpenEmbedded". The branch, pespin/split-openbsc has been updated discards 74aa19e1be6dcb34d1b3996050dbecba514928a7 (commit) discards e246a54db29bf5df3509b771271a1ca787339ff6 (commit) discards 7e025c176b62339e9c2dc783c48edf4648041b67 (commit) discards 6a8099acc8a45c8d83ba0fa01aa476bd1eb57624 (commit) discards 5bf8e6e8832594b4b29580d7a109a596cda1bc5a (commit) discards 633560775cfe414ff9ad4d71651bdb77fe84dabc (commit) via 382f5f92853c202cc32a99851cdc0d2e6f6094c3 (commit) via 5bef635b74ad73946b9ba0b3930b066ae2c4fb71 (commit) via 084da7d655768430d1d4923911c89800e57c0ca6 (commit) via 679bdfda76246ce82a3af17805aa9344202df33e (commit) via c8663b330ebd3243cd6fb17c6f043cc96e0bd51c (commit) via 1d75baca7ba27b0a0c68d805a5c540ce6ed8e2e6 (commit) via 77570e6fbd49502fda650aa54c930dd6c3f6b4fe (commit) via b0a620dc0cc7a168e10d2772e19f17b5441ba9a3 (commit) via 82aec056f1e5055ba4738975b1b8fd1da4c3f9dd (commit) via 445b721cde4d69bc318f1da23f8d7a565e39b989 (commit) via e09581abd3df02ff725822c9882c6fa34f7c0bdf (commit) via b73837c2795392d3d4e80151d38f339989a84c47 (commit) via d532dfd72455db26ccd7d5143fd919049fc1621d (commit) via 666a4acad84fef2a3f29f733ac232e7dcf828525 (commit) via 9c92ec64f95d48e365a840ce829ef3a318270735 (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 (74aa19e1be6dcb34d1b3996050dbecba514928a7) \ N -- N -- N (382f5f92853c202cc32a99851cdc0d2e6f6094c3) 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/meta-telephony/commit/?id=382f5f92853c202cc32a99851cdc0d2e6f6094c3 commit 382f5f92853c202cc32a99851cdc0d2e6f6094c3 Author: Pau Espin Pedrol Date: Tue Sep 26 18:19:27 2017 +0200 osmo-msc: Avoid installed duplicated binaries in osmo-bsc Those two binaries are currently being installed by osmo-bsc too. Change-Id: Ic582450f1881373785f12714ffa3bd150d37417e http://cgit.osmocom.org/meta-telephony/commit/?id=5bef635b74ad73946b9ba0b3930b066ae2c4fb71 commit 5bef635b74ad73946b9ba0b3930b066ae2c4fb71 Author: Pau Espin Pedrol Date: Tue Sep 26 15:17:26 2017 +0200 openbsc: Drop packages present in other recipes after split The osmo-bsc one is renamed to osmo-bsc-sccplite and kept because the code in the new osmo-bsc repository still doesn't support SCCPLite, this this one can still be used by installing the osmo-bsc-sccplite package. Change-Id: Ifd029cbd36417ee980bff51b4112705be16175d3 http://cgit.osmocom.org/meta-telephony/commit/?id=084da7d655768430d1d4923911c89800e57c0ca6 commit 084da7d655768430d1d4923911c89800e57c0ca6 Author: Pau Espin Pedrol Date: Tue Sep 26 16:36:19 2017 +0200 osmo-bsc: Remove unneeded dependency breaking build Change-Id: Icf8174aa529ab15bd20011a8774220e8c17f6cd1 http://cgit.osmocom.org/meta-telephony/commit/?id=679bdfda76246ce82a3af17805aa9344202df33e commit 679bdfda76246ce82a3af17805aa9344202df33e Author: Pau Espin Pedrol Date: Tue Sep 26 14:30:51 2017 +0200 osmo-bsc: Introduce recipe Change-Id: I06c529c01a72e16aa20a2c7a20e8b043718edab3 http://cgit.osmocom.org/meta-telephony/commit/?id=c8663b330ebd3243cd6fb17c6f043cc96e0bd51c commit c8663b330ebd3243cd6fb17c6f043cc96e0bd51c Author: Pau Espin Pedrol Date: Tue Sep 26 14:30:33 2017 +0200 osmo-msc: Introduce recipe Change-Id: I68715d1970fde83fd6647344b82c6a859404ef9e http://cgit.osmocom.org/meta-telephony/commit/?id=1d75baca7ba27b0a0c68d805a5c540ce6ed8e2e6 commit 1d75baca7ba27b0a0c68d805a5c540ce6ed8e2e6 Author: Pau Espin Pedrol Date: Tue Sep 26 14:29:24 2017 +0200 osmo-hlr: Introduce recipe Change-Id: Ie7f47dca8d7e5e50792104ae0c7cb557391542f7 http://cgit.osmocom.org/meta-telephony/commit/?id=77570e6fbd49502fda650aa54c930dd6c3f6b4fe commit 77570e6fbd49502fda650aa54c930dd6c3f6b4fe Author: Pau Espin Pedrol Date: Tue Sep 26 14:28:49 2017 +0200 osmo-mgw: Introduce recipe Change-Id: If9c2d6b5dd8dfd8a0b462d87e93e0733e57f7b0a http://cgit.osmocom.org/meta-telephony/commit/?id=b0a620dc0cc7a168e10d2772e19f17b5441ba9a3 commit b0a620dc0cc7a168e10d2772e19f17b5441ba9a3 Author: Pau Espin Pedrol Date: Tue Sep 26 14:30:16 2017 +0200 osmo-sgsn: Introduce recipe Change-Id: Ia7e35660598bfd87917728c521c1fba827e98d68 http://cgit.osmocom.org/meta-telephony/commit/?id=82aec056f1e5055ba4738975b1b8fd1da4c3f9dd commit 82aec056f1e5055ba4738975b1b8fd1da4c3f9dd Author: Pau Espin Pedrol Date: Tue Sep 26 14:27:13 2017 +0200 osmo-iuh: Introduce recipe Change-Id: I33d6dccad2336b83f4b4e89769b0796d1c87ed94 http://cgit.osmocom.org/meta-telephony/commit/?id=445b721cde4d69bc318f1da23f8d7a565e39b989 commit 445b721cde4d69bc318f1da23f8d7a565e39b989 Author: Pau Espin Pedrol Date: Tue Sep 26 14:26:12 2017 +0200 libasn1c: Introduce recipe Change-Id: I50d990b06c56c3bfa71e7268694702300c0c9a26 http://cgit.osmocom.org/meta-telephony/commit/?id=e09581abd3df02ff725822c9882c6fa34f7c0bdf commit e09581abd3df02ff725822c9882c6fa34f7c0bdf Author: Pau Espin Pedrol Date: Mon Sep 25 17:46:29 2017 +0200 Drop openggsn and introduce osmo-ggsn Take the opportunity to enable systemd service instead of sysvint like other osmocom services already do. Change-Id: Ie6018ef78ff18f2e6809fee957c9d645e35c7c9a http://cgit.osmocom.org/meta-telephony/commit/?id=b73837c2795392d3d4e80151d38f339989a84c47 commit b73837c2795392d3d4e80151d38f339989a84c47 Author: Pau Espin Pedrol Date: Wed Sep 6 12:09:52 2017 +0200 libosmo-abis: modify PV to match recent release The upstream release commit is 7f17b8c45d094941292036143f3292a1d5789cf5. This should fix current issue with 201705/nightly package feed: $ opkg upgrade Not selecting libosmo-abis 0.3.2+gitr0+d3292913ac as installing it would break existing dependencies. $ opkg list_installed | grep libosmo-abis libosmo-abis - 0.3.2+gitr2+d3292913ac-r2.18.1.0 See that gitr in repos is 0 while the previously installed one has gitr2, which is higher. Explanations I can find for this: - PR server was somehow reset? - the value in gitr is calculated based on offset from latest tag. As new release introduced new tag, gitr may have been reset. In any case, updating PV to have the correct value should fix this issue. Change-Id: I9f27661d9e5241efe7725b7d1efcf4aef55e2efe http://cgit.osmocom.org/meta-telephony/commit/?id=d532dfd72455db26ccd7d5143fd919049fc1621d commit d532dfd72455db26ccd7d5143fd919049fc1621d Author: Harald Welte Date: Thu Aug 17 00:53:51 2017 +0200 update PV versions for libosmocore, libosmo-sccp and openggsn As we're building git master, we need to make sure PV is not lagging behind. I wish there was some OE magic by which it could discover PV from the source it builds. Change-Id: Ib45238e95156f215412d51d975b1acb33633a3e1 http://cgit.osmocom.org/meta-telephony/commit/?id=666a4acad84fef2a3f29f733ac232e7dcf828525 commit 666a4acad84fef2a3f29f733ac232e7dcf828525 Author: Holger Hans Peter Freyther Date: Fri Jun 2 18:33:02 2017 +0800 libosmo-sccp: Attempt to fix link issue on 201705-nightly builds This project will build some static libraries needed for testing and also for downstream users. Do not disable the static build on newer Poky versions. arm-poky-linux-gnueabi-libtool: link: arm-poky-linux-gnueabi-gcc -march=armv5te -marm --sysroot=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot -Wall -I/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot/usr/include/ -I/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot/usr/include/ -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1=/usr/src/debug/libosmo-sccp/git-r1.18.1 -fdebug-prefix-map=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot-native= -fdebug-prefix-map=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o xua_test xua_test.o sccp_test_data.o ../../src/.libs/libosmo-sigtran.so -losmogsm -ltalloc -losmovty -losmocore -losmonetif -lsctp | xua_test.o: In function `test_helpers': | /usr/src/debug/libosmo-sccp/git-r1.18.1/git/tests/xua/xua_test.c:160: undefined reference to `xua_part_add_gt' | /usr/src/debug/libosmo-sccp/git-r1.18.1/git/tests/xua/xua_test.c:168: undefined reference to `sua_parse_gt' | xua_test.o: In function `test_sccp2sua_case': Change-Id: I80eea9ac888ab4b13614ff475bebacb94b72b0f2 http://cgit.osmocom.org/meta-telephony/commit/?id=9c92ec64f95d48e365a840ce829ef3a318270735 commit 9c92ec64f95d48e365a840ce829ef3a318270735 Author: Pau Espin Pedrol Date: Mon Sep 25 17:22:56 2017 +0200 Update osmocom versions to point to current master New versions are required in order to build new git repositories which will deprecate osmo-nitb soon. Change-Id: If36b86a6a542af7381d9a07da51a330f2e44a96f ----------------------------------------------------------------------- Summary of changes: .../libasn1c/{libasn1c_git.bb => libasn1c.inc} | 10 +--- recipes-osmocom/libasn1c/libasn1c_git.bb | 13 +--- recipes-osmocom/libosmo-abis/libosmo-abis_git.bb | 2 +- recipes-osmocom/libosmo-netif/libosmo-netif_git.bb | 2 +- recipes-osmocom/libosmo-sccp/libosmo-sccp_git.bb | 2 +- recipes-osmocom/openbsc/openbsc.inc | 70 +++++++--------------- .../{osmo-bsc.init => osmo-bsc-sccplite.init} | 12 ++-- .../openbsc/openbsc/osmo-bsc-sccplite.service | 12 ++++ recipes-osmocom/openbsc/openbsc_git.bb | 2 +- .../0001-Remove-unneeded-dbi-dependency.patch | 70 ++++++++++++++++++++++ recipes-osmocom/osmo-bsc/osmo-bsc.inc | 29 ++++++++- recipes-osmocom/osmo-bsc/osmo-bsc_git.bb | 24 +------- recipes-osmocom/osmo-hlr/osmo-hlr.inc | 16 ++++- recipes-osmocom/osmo-hlr/osmo-hlr_git.bb | 10 ---- recipes-osmocom/osmo-iuh/osmo-iuh.inc | 16 ++++- recipes-osmocom/osmo-iuh/osmo-iuh_git.bb | 10 ---- recipes-osmocom/osmo-mgw/osmo-mgw.inc | 18 +++++- recipes-osmocom/osmo-mgw/osmo-mgw_git.bb | 12 ---- recipes-osmocom/osmo-msc/osmo-msc.inc | 19 +++++- recipes-osmocom/osmo-msc/osmo-msc_git.bb | 10 ---- recipes-osmocom/osmo-sgsn/osmo-sgsn.inc | 32 +++++++++- recipes-osmocom/osmo-sgsn/osmo-sgsn_git.bb | 29 --------- 22 files changed, 236 insertions(+), 184 deletions(-) copy recipes-osmocom/libasn1c/{libasn1c_git.bb => libasn1c.inc} (58%) rename recipes-osmocom/openbsc/openbsc/{osmo-bsc.init => osmo-bsc-sccplite.init} (67%) create mode 100644 recipes-osmocom/openbsc/openbsc/osmo-bsc-sccplite.service create mode 100644 recipes-osmocom/osmo-bsc/files/0001-Remove-unneeded-dbi-dependency.patch hooks/post-receive -- Osmocom layer for OpenEmbedded From gitosis at osmocom.org Wed Sep 27 10:31:51 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 27 Sep 2017 10:31:51 GMT Subject: libosmo-sccp.git branch master updated. 0.0.6.3-311-g54fa75b Message-ID: <201709271031.v8RAVpnt010445@git.osmocom.org> 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 "SCCP Library". The branch, master has been updated via 54fa75b85c91bb4bb79960942f63968f6423f6a5 (commit) from ba57d31b35293b8f4afa09b540ae208669fbfe37 (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/libosmo-sccp/commit/?id=54fa75b85c91bb4bb79960942f63968f6423f6a5 commit 54fa75b85c91bb4bb79960942f63968f6423f6a5 Author: Pau Espin Pedrol Date: Wed Sep 27 12:04:54 2017 +0200 contrib: Add osmo-stp systemd service file Change-Id: If6423222b5f1574701c48b5e93eb6c4918879d6c ----------------------------------------------------------------------- Summary of changes: contrib/systemd/osmo-stp.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 contrib/systemd/osmo-stp.service hooks/post-receive -- SCCP Library From gitosis at osmocom.org Wed Sep 27 10:54:29 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 27 Sep 2017 10:54:29 GMT Subject: openbsc.git branch master updated. 0.15.0-888-gf79eeca10 Message-ID: <201709271054.v8RAsTaA016251@git.osmocom.org> 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 "Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, master has been updated via f79eeca1095fb9493bf74c1fface8e70d61250e7 (commit) from 3ae8682f974058970fa564f09a34a51e867b896b (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=f79eeca1095fb9493bf74c1fface8e70d61250e7 commit f79eeca1095fb9493bf74c1fface8e70d61250e7 Author: Max Date: Thu Sep 21 16:15:32 2017 +0200 Show OML link uptime in vty Save the time when OML link to BTS was established and show it in vty. That's useful when troubleshooting issues like periodic/sporadic BTS restart. Related: SYS#3889 Change-Id: I9e4e8504afe8ca467b68d41826f61654e24d9600 ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/gsm_data_shared.h | 2 ++ openbsc/src/libbsc/bsc_vty.c | 20 ++++++++++++++++++-- openbsc/src/libbsc/bts_ipaccess_nanobts.c | 6 ++++++ openbsc/src/libbsc/e1_config.c | 6 +++++- 4 files changed, 31 insertions(+), 3 deletions(-) hooks/post-receive -- Legacy: The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Wed Sep 27 11:02:35 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 27 Sep 2017 11:02:35 GMT Subject: libosmocore.git branch master updated. 0.9.6-395-g463deef8 Message-ID: <201709271102.v8RB2Ztf018564@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, master has been updated via 463deef8c209dd7eb023ac70bf41fa9893ad35ed (commit) via 5584a14a319044f75c9d8ea74abb6dede21ea721 (commit) from 383c5635e3920091469594ee01c2b9b13b6ea408 (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/libosmocore/commit/?id=463deef8c209dd7eb023ac70bf41fa9893ad35ed commit 463deef8c209dd7eb023ac70bf41fa9893ad35ed Author: Vadim Yanitskiy Date: Sat Sep 23 19:30:07 2017 +0330 VTY: implement talloc context introspection command This change introduces a new command, which could be used to inspect the application's talloc context directly from VTY. To enable this feature, an application need to provide it's context via the 'vty_app_info' struct, and register the VTY command by calling the osmo_talloc_vty_add_cmds(). The new command is a sub-command of 'show': show talloc-context [filter] Currently the following contexts may be inspected: - application - a context provided by an application; - null - all contexts, if NULL-context tracking is enabled. A report depth is defined by the next parameter, and could be: - full - full tree report, as the talloc_report_full() does; - brief - brief tree report, as the talloc_report() does; - DEPTH - user defined maximal report depth. Also, there are two optional report filters: - regexp - print only contexts, matching a regular expression; - tree - print a specific context, pointed by specified address. The command output is formatted the same way as in case of calling the talloc_report() or talloc_report_full(). Change-Id: I43fc42880b22294d83c565ae600ac65e4f38b30d http://cgit.osmocom.org/libosmocore/commit/?id=5584a14a319044f75c9d8ea74abb6dede21ea721 commit 5584a14a319044f75c9d8ea74abb6dede21ea721 Author: Vadim Yanitskiy Date: Sat Sep 23 18:12:18 2017 +0330 vty/vty.c: do not bind vty context to application's one The 'vty_app_info' struct could be used by some applications to provide its talloc context. In the future, it will facilitate the implementation of talloc context introspection via VTY. But the 'vty' talloc context, that contains lots of items (memory chunks), is being bound to an application's one, so it becomes hard to read the last. Let's do not bind the 'vty' context automatically, until some common talloc context export policy is implemented. Change-Id: I9cb6ce9f24dbae400029e2d9f9c933fbfb16248f ----------------------------------------------------------------------- Summary of changes: include/osmocom/vty/misc.h | 1 + src/vty/Makefile.am | 3 +- src/vty/talloc_ctx_vty.c | 279 +++++++++++++++++++++++++++++++++++++++++++++ src/vty/vty.c | 2 +- 4 files changed, 283 insertions(+), 2 deletions(-) create mode 100644 src/vty/talloc_ctx_vty.c hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Wed Sep 27 12:01:33 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 27 Sep 2017 12:01:33 GMT Subject: libosmocore.git branch master updated. 0.9.6-396-g6f417678 Message-ID: <201709271201.v8RC1XUQ035686@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, master has been updated via 6f4176785f4082ce0b3a80f860bcc0d40e9f49e9 (commit) from 463deef8c209dd7eb023ac70bf41fa9893ad35ed (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/libosmocore/commit/?id=6f4176785f4082ce0b3a80f860bcc0d40e9f49e9 commit 6f4176785f4082ce0b3a80f860bcc0d40e9f49e9 Author: Neels Hofmeyr Date: Mon Sep 25 00:57:00 2017 +0200 vty: fix style: bssgp node vty prompt Add trailing space and 'config-' prefix to match our common VTY node prompt style. Change-Id: I88db128cad9fcc6e53326b4aed5d06ea9102f328 ----------------------------------------------------------------------- Summary of changes: src/gb/gprs_bssgp_vty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Wed Sep 27 12:01:45 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 27 Sep 2017 12:01:45 GMT Subject: osmo-ggsn.git branch master updated. 1.0.0-21-g6a21527 Message-ID: <201709271201.v8RC1jod035742@git.osmocom.org> 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 OpenGGSN project". The branch, master has been updated via 6a21527a2d417eca602cd0af3461dfa285da8767 (commit) from 1a8bc9839a69566e756c691ebd2d676082838c52 (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-ggsn/commit/?id=6a21527a2d417eca602cd0af3461dfa285da8767 commit 6a21527a2d417eca602cd0af3461dfa285da8767 Author: Max Date: Mon Sep 25 10:35:34 2017 +0200 Move extended PDP logging macro to header It might be useful for any user of libgtp who uses libosmocore so let's make generalized version of it available as part of installable header. Change-Id: I79aba10ef989384a28f059c30899e65c771ae5e1 Related: SYS#3610 ----------------------------------------------------------------------- Summary of changes: TODO-RELEASE | 1 + ggsn/ggsn.c | 3 +-- gtp/pdp.h | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Sep 27 14:04:26 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 27 Sep 2017 14:04:26 GMT Subject: libosmocore.git branch master updated. 0.9.6-398-gf4f23bd6 Message-ID: <201709271404.v8RE4QPH067561@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, master has been updated via f4f23bd6829f78741cfd586f0ca9a290f221242e (commit) via 607275c30be14266c4f1724b29a7cddea2062802 (commit) from 6f4176785f4082ce0b3a80f860bcc0d40e9f49e9 (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/libosmocore/commit/?id=f4f23bd6829f78741cfd586f0ca9a290f221242e commit f4f23bd6829f78741cfd586f0ca9a290f221242e Author: Neels Hofmeyr Date: Wed Sep 20 15:39:37 2017 +0200 vty: install 'exit', 'end',... commands on *all* nodes In many callers of the VTY API, we are lacking the vty_install_default() step at certain node levels. This creates nodes that lack the 'exit' command, and hence the only way to exit such a node is to restart the telnet session. Historically, the VTY looked for missing commands on the immediate parent node, and hence possibly found the parent's 'exit' command when the local node was missing it. That is why we so far did not notice the missing default commands. Furthermore, some callers call install_default() instead of vty_install_default(). Only vty_install_default() also includes the 'exit' and 'end' commands. There is no reason why there are two sets of default commands. To end this confusion, to catch all missing 'exit' commands and to prevent this from re-appearing in the future, simply *always* install all default commands implicitly when calling install_node(). In cmd_init(), there are some top-level nodes that apparently do not want the default commands installed. Keep those the way they are, by changing the invocation to new install_node_bare() ({VIEW,AUTH,AUTH_ENABLE}_NODE). Make both install_default() and vty_install_default() no-ops so that users of the API may still call them without harm. Do not yet deprecate yet, which follows in Icf5d83f641e838cebcccc635a043e94ba352abff. Drop all invocations to these two functions found in libosmocore. Change-Id: I5021c64a787b63314e0f2f1cba0b8fc7bff4f09b http://cgit.osmocom.org/libosmocore/commit/?id=607275c30be14266c4f1724b29a7cddea2062802 commit 607275c30be14266c4f1724b29a7cddea2062802 Author: Neels Hofmeyr Date: Mon Sep 25 00:35:06 2017 +0200 gb: drop special vty exit commands, use vty_install_default() L_NS_NODE and L_BSSGP_NODE had specialized 'exit' and 'end' vty commands, but all they do is return to the CONFIG and ENABLE_NODEs like the default 'exit' and 'end' commands. Drop them and use the default 'exit' and 'end' cmds. Examining BSSGP and NS node behavior in osmo-sgsn exhibited identical list and exit/end behavior before and after this patch. Prepares for an upcoming commit incorporating vty_install_default() into install_node(), see I5021c64a787b63314e0f2f1cba0b8fc7bff4f09b: this patch changes to the default commands, the upcoming change implies them. Change-Id: I5b0de066b4249d482c22620d5b1bcb03f381293c ----------------------------------------------------------------------- Summary of changes: include/osmocom/vty/command.h | 5 ++--- src/ctrl/control_vty.c | 1 - src/gb/common_vty.c | 34 ---------------------------------- src/gb/common_vty.h | 3 --- src/gb/gprs_bssgp_vty.c | 3 --- src/gb/gprs_ns_vty.c | 3 --- src/vty/command.c | 42 +++++++++++++++++++++++++++++------------- src/vty/logging_vty.c | 1 - src/vty/stats_vty.c | 1 - src/vty/vty.c | 1 - tests/vty/vty_test.c | 3 --- 11 files changed, 31 insertions(+), 66 deletions(-) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Wed Sep 27 14:09:50 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 27 Sep 2017 14:09:50 GMT Subject: libosmocore.git branch master updated. 0.9.6-399-g505c965e Message-ID: <201709271409.v8RE9ot0068767@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, master has been updated via 505c965e3655b8ae94880a23baf8ecc2092163c4 (commit) from f4f23bd6829f78741cfd586f0ca9a290f221242e (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/libosmocore/commit/?id=505c965e3655b8ae94880a23baf8ecc2092163c4 commit 505c965e3655b8ae94880a23baf8ecc2092163c4 Author: Neels Hofmeyr Date: Tue Sep 26 15:24:58 2017 +0200 CTRL: add unit tests for CTRL command parsing This uncovers some interesting behavior of the CTRL interface which we may want to guard against in subsequent patches: trailing whitespace, ignored tokens, special characters as cmd->id. Change-Id: If7af06d50ca71fd528b08cd70310774d5a53f0f7 ----------------------------------------------------------------------- Summary of changes: tests/ctrl/ctrl_test.c | 251 ++++++++++++++++++++++++++++++++++++++++++++++++ tests/ctrl/ctrl_test.ok | 102 ++++++++++++++++++++ 2 files changed, 353 insertions(+) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Wed Sep 27 19:33:05 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 27 Sep 2017 19:33:05 GMT Subject: meta-telephony.git branch pespin/split-openbsc updated. df3f8b9ff5d03e766724acb7ac9c599521d0f633 Message-ID: <201709271933.v8RJX53X086515@git.osmocom.org> 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 layer for OpenEmbedded". The branch, pespin/split-openbsc has been updated discards 382f5f92853c202cc32a99851cdc0d2e6f6094c3 (commit) discards 5bef635b74ad73946b9ba0b3930b066ae2c4fb71 (commit) discards 084da7d655768430d1d4923911c89800e57c0ca6 (commit) discards 679bdfda76246ce82a3af17805aa9344202df33e (commit) discards c8663b330ebd3243cd6fb17c6f043cc96e0bd51c (commit) discards 1d75baca7ba27b0a0c68d805a5c540ce6ed8e2e6 (commit) discards 77570e6fbd49502fda650aa54c930dd6c3f6b4fe (commit) discards b0a620dc0cc7a168e10d2772e19f17b5441ba9a3 (commit) discards 82aec056f1e5055ba4738975b1b8fd1da4c3f9dd (commit) discards 445b721cde4d69bc318f1da23f8d7a565e39b989 (commit) discards e09581abd3df02ff725822c9882c6fa34f7c0bdf (commit) discards b73837c2795392d3d4e80151d38f339989a84c47 (commit) discards d532dfd72455db26ccd7d5143fd919049fc1621d (commit) discards 666a4acad84fef2a3f29f733ac232e7dcf828525 (commit) discards 9c92ec64f95d48e365a840ce829ef3a318270735 (commit) via df3f8b9ff5d03e766724acb7ac9c599521d0f633 (commit) via 51595539583edde7efbc87287b3b198c44a30c0e (commit) via 07eb51c235a27bf18899b46a39ae8e35c39318fd (commit) via fcc9318ea36c5be8568e65d78ad6b9cbe7588ea4 (commit) via d0dd5b442336d7132f2e7422eb05af16576000c6 (commit) via a69f611921cc56c508bbf87a1efe27a5451b873c (commit) via e5c0ebaf2a2ef757f0ca7088fac48377603361d3 (commit) via 5ee7d9ade99af6388b6a40d08b60a5aad7c8d7cd (commit) via 49508dda5bd5d2d86922a9def542f8682007219e (commit) via bf1a781a172da14c38970579730023c1c8945657 (commit) via f3b8764e6675f907592578c97f30a519af736d13 (commit) via 257099e16e34b960dd53dbe97a0fc0224b641051 (commit) via b493a3aba9a29213e7ad12b165cc40439b8d5810 (commit) via b8cbe5307d9312e50749050408efb51e78cf1b17 (commit) via 4c655d4d53ffbfc78846239aedb5cce51278e006 (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 (382f5f92853c202cc32a99851cdc0d2e6f6094c3) \ N -- N -- N (df3f8b9ff5d03e766724acb7ac9c599521d0f633) 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/meta-telephony/commit/?id=df3f8b9ff5d03e766724acb7ac9c599521d0f633 commit df3f8b9ff5d03e766724acb7ac9c599521d0f633 Author: Pau Espin Pedrol Date: Tue Sep 26 18:19:27 2017 +0200 osmo-msc: Avoid installed duplicated binaries in osmo-bsc Those two binaries are currently being installed by osmo-bsc too. Change-Id: Ic582450f1881373785f12714ffa3bd150d37417e http://cgit.osmocom.org/meta-telephony/commit/?id=51595539583edde7efbc87287b3b198c44a30c0e commit 51595539583edde7efbc87287b3b198c44a30c0e Author: Pau Espin Pedrol Date: Tue Sep 26 15:17:26 2017 +0200 openbsc: Drop packages present in other recipes after split The osmo-bsc one is renamed to osmo-bsc-sccplite and kept because the code in the new osmo-bsc repository still doesn't support SCCPLite, this this one can still be used by installing the osmo-bsc-sccplite package. Change-Id: Ifd029cbd36417ee980bff51b4112705be16175d3 http://cgit.osmocom.org/meta-telephony/commit/?id=07eb51c235a27bf18899b46a39ae8e35c39318fd commit 07eb51c235a27bf18899b46a39ae8e35c39318fd Author: Pau Espin Pedrol Date: Tue Sep 26 14:30:51 2017 +0200 osmo-bsc: Introduce recipe Change-Id: I06c529c01a72e16aa20a2c7a20e8b043718edab3 http://cgit.osmocom.org/meta-telephony/commit/?id=fcc9318ea36c5be8568e65d78ad6b9cbe7588ea4 commit fcc9318ea36c5be8568e65d78ad6b9cbe7588ea4 Author: Pau Espin Pedrol Date: Tue Sep 26 14:30:33 2017 +0200 osmo-msc: Introduce recipe Change-Id: I68715d1970fde83fd6647344b82c6a859404ef9e http://cgit.osmocom.org/meta-telephony/commit/?id=d0dd5b442336d7132f2e7422eb05af16576000c6 commit d0dd5b442336d7132f2e7422eb05af16576000c6 Author: Pau Espin Pedrol Date: Tue Sep 26 14:29:24 2017 +0200 osmo-hlr: Introduce recipe Change-Id: Ie7f47dca8d7e5e50792104ae0c7cb557391542f7 http://cgit.osmocom.org/meta-telephony/commit/?id=a69f611921cc56c508bbf87a1efe27a5451b873c commit a69f611921cc56c508bbf87a1efe27a5451b873c Author: Pau Espin Pedrol Date: Tue Sep 26 14:28:49 2017 +0200 osmo-mgw: Introduce recipe Change-Id: If9c2d6b5dd8dfd8a0b462d87e93e0733e57f7b0a http://cgit.osmocom.org/meta-telephony/commit/?id=e5c0ebaf2a2ef757f0ca7088fac48377603361d3 commit e5c0ebaf2a2ef757f0ca7088fac48377603361d3 Author: Pau Espin Pedrol Date: Tue Sep 26 14:30:16 2017 +0200 osmo-sgsn: Introduce recipe Change-Id: Ia7e35660598bfd87917728c521c1fba827e98d68 http://cgit.osmocom.org/meta-telephony/commit/?id=5ee7d9ade99af6388b6a40d08b60a5aad7c8d7cd commit 5ee7d9ade99af6388b6a40d08b60a5aad7c8d7cd Author: Pau Espin Pedrol Date: Tue Sep 26 14:27:13 2017 +0200 osmo-iuh: Introduce recipe Change-Id: I33d6dccad2336b83f4b4e89769b0796d1c87ed94 http://cgit.osmocom.org/meta-telephony/commit/?id=49508dda5bd5d2d86922a9def542f8682007219e commit 49508dda5bd5d2d86922a9def542f8682007219e Author: Pau Espin Pedrol Date: Tue Sep 26 14:26:12 2017 +0200 libasn1c: Introduce recipe Change-Id: I50d990b06c56c3bfa71e7268694702300c0c9a26 http://cgit.osmocom.org/meta-telephony/commit/?id=bf1a781a172da14c38970579730023c1c8945657 commit bf1a781a172da14c38970579730023c1c8945657 Author: Pau Espin Pedrol Date: Mon Sep 25 17:46:29 2017 +0200 Drop openggsn and introduce osmo-ggsn Take the opportunity to enable systemd service instead of sysvint like other osmocom services already do. Change-Id: Ie6018ef78ff18f2e6809fee957c9d645e35c7c9a http://cgit.osmocom.org/meta-telephony/commit/?id=f3b8764e6675f907592578c97f30a519af736d13 commit f3b8764e6675f907592578c97f30a519af736d13 Author: Pau Espin Pedrol Date: Wed Sep 27 12:17:43 2017 +0200 libosmo-sccp: Install cfg and service file for osmo-stp Patch with systemd service file is added while waiting to have it merged in upstream. Change-Id: Id82a12bbfb72b421c75140072048a963fb50f684 http://cgit.osmocom.org/meta-telephony/commit/?id=257099e16e34b960dd53dbe97a0fc0224b641051 commit 257099e16e34b960dd53dbe97a0fc0224b641051 Author: Pau Espin Pedrol Date: Wed Sep 6 12:09:52 2017 +0200 libosmo-abis: modify PV to match recent release The upstream release commit is 7f17b8c45d094941292036143f3292a1d5789cf5. This should fix current issue with 201705/nightly package feed: $ opkg upgrade Not selecting libosmo-abis 0.3.2+gitr0+d3292913ac as installing it would break existing dependencies. $ opkg list_installed | grep libosmo-abis libosmo-abis - 0.3.2+gitr2+d3292913ac-r2.18.1.0 See that gitr in repos is 0 while the previously installed one has gitr2, which is higher. Explanations I can find for this: - PR server was somehow reset? - the value in gitr is calculated based on offset from latest tag. As new release introduced new tag, gitr may have been reset. In any case, updating PV to have the correct value should fix this issue. Change-Id: I9f27661d9e5241efe7725b7d1efcf4aef55e2efe http://cgit.osmocom.org/meta-telephony/commit/?id=b493a3aba9a29213e7ad12b165cc40439b8d5810 commit b493a3aba9a29213e7ad12b165cc40439b8d5810 Author: Harald Welte Date: Thu Aug 17 00:53:51 2017 +0200 update PV versions for libosmocore, libosmo-sccp and openggsn As we're building git master, we need to make sure PV is not lagging behind. I wish there was some OE magic by which it could discover PV from the source it builds. Change-Id: Ib45238e95156f215412d51d975b1acb33633a3e1 http://cgit.osmocom.org/meta-telephony/commit/?id=b8cbe5307d9312e50749050408efb51e78cf1b17 commit b8cbe5307d9312e50749050408efb51e78cf1b17 Author: Holger Hans Peter Freyther Date: Fri Jun 2 18:33:02 2017 +0800 libosmo-sccp: Attempt to fix link issue on 201705-nightly builds This project will build some static libraries needed for testing and also for downstream users. Do not disable the static build on newer Poky versions. arm-poky-linux-gnueabi-libtool: link: arm-poky-linux-gnueabi-gcc -march=armv5te -marm --sysroot=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot -Wall -I/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot/usr/include/ -I/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot/usr/include/ -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1=/usr/src/debug/libosmo-sccp/git-r1.18.1 -fdebug-prefix-map=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot-native= -fdebug-prefix-map=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o xua_test xua_test.o sccp_test_data.o ../../src/.libs/libosmo-sigtran.so -losmogsm -ltalloc -losmovty -losmocore -losmonetif -lsctp | xua_test.o: In function `test_helpers': | /usr/src/debug/libosmo-sccp/git-r1.18.1/git/tests/xua/xua_test.c:160: undefined reference to `xua_part_add_gt' | /usr/src/debug/libosmo-sccp/git-r1.18.1/git/tests/xua/xua_test.c:168: undefined reference to `sua_parse_gt' | xua_test.o: In function `test_sccp2sua_case': Change-Id: I80eea9ac888ab4b13614ff475bebacb94b72b0f2 http://cgit.osmocom.org/meta-telephony/commit/?id=4c655d4d53ffbfc78846239aedb5cce51278e006 commit 4c655d4d53ffbfc78846239aedb5cce51278e006 Author: Pau Espin Pedrol Date: Mon Sep 25 17:22:56 2017 +0200 Update osmocom versions to point to current master New versions are required in order to build new git repositories which will deprecate osmo-nitb soon. Change-Id: If36b86a6a542af7381d9a07da51a330f2e44a96f ----------------------------------------------------------------------- Summary of changes: recipes-osmocom/libosmo-sccp/libosmo-sccp.inc | 2 +- recipes-osmocom/libosmo-sccp/libosmo-sccp_git.bb | 21 ++++++- .../0001-Remove-unneeded-dbi-dependency.patch | 70 ---------------------- recipes-osmocom/osmo-bsc/osmo-bsc_git.bb | 5 +- 4 files changed, 22 insertions(+), 76 deletions(-) delete mode 100644 recipes-osmocom/osmo-bsc/files/0001-Remove-unneeded-dbi-dependency.patch hooks/post-receive -- Osmocom layer for OpenEmbedded From gitosis at osmocom.org Wed Sep 27 21:04:21 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 27 Sep 2017 21:04:21 GMT Subject: osmo-gsm-manuals.git branch master updated. f56996aa41812372e5bdc34c0a23f6d71fa4dcc4 Message-ID: <201709272104.v8RL4Lem008340@git.osmocom.org> 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 "Manuals for Osmocom GSM components". The branch, master has been updated via f56996aa41812372e5bdc34c0a23f6d71fa4dcc4 (commit) from 271f5b408186e7deba1f84fca926aab7b6447b6b (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: OsmoNITB/osmonitb-usermanual.adoc | 2 +- {OsmoNITB => common}/chapters/mncc.adoc | 93 ++++++++++++++++++--------------- 2 files changed, 51 insertions(+), 44 deletions(-) rename {OsmoNITB => common}/chapters/mncc.adoc (66%) hooks/post-receive -- Manuals for Osmocom GSM components From gitosis at osmocom.org Thu Sep 28 02:16:36 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 28 Sep 2017 02:16:36 GMT Subject: osmo-ci.git branch master updated. 6c401be0957e47f58789bfbd9397813410f5fa4f Message-ID: <201709280216.v8S2GaTv086550@git.osmocom.org> 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 "CI scripts". The branch, master has been updated via 6c401be0957e47f58789bfbd9397813410f5fa4f (commit) from b258f0cfc897d66e8d46478a6d6920a527f969b5 (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-ci/commit/?id=6c401be0957e47f58789bfbd9397813410f5fa4f commit 6c401be0957e47f58789bfbd9397813410f5fa4f Author: Andr?? Boddenberg Date: Tue Sep 12 13:16:33 2017 +0200 Gerrit verification jobs as Jenkins Job Builder YAML [1] file. All jobs are in jobs/ directory and will be automatically verified and deployed in a follow-up commit. Note: osmocom-nightly-nitb-split.yml has been moved to jobs/ dir. [1] https://docs.openstack.org/infra/jenkins-job-builder/ Change-Id: I04387367a6e2d737bfb50423c81a8908d3c2a89f ----------------------------------------------------------------------- Summary of changes: README.adoc | 3 + jobs/README.adoc | 31 +++ jobs/gerrit-verifications.yml | 253 +++++++++++++++++++++++ {scripts => jobs}/osmocom-nightly-nitb-split.yml | 0 4 files changed, 287 insertions(+) create mode 100644 jobs/README.adoc create mode 100644 jobs/gerrit-verifications.yml rename {scripts => jobs}/osmocom-nightly-nitb-split.yml (100%) hooks/post-receive -- CI scripts From gitosis at osmocom.org Thu Sep 28 15:55:53 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 28 Sep 2017 15:55:53 GMT Subject: osmo-ggsn.git branch master updated. 1.0.0-22-gb5624c3 Message-ID: <201709281555.v8SFtrPb052440@git.osmocom.org> 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 OpenGGSN project". The branch, master has been updated via b5624c3d4838cd774c3a6df4208b709890174a25 (commit) from 6a21527a2d417eca602cd0af3461dfa285da8767 (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-ggsn/commit/?id=b5624c3d4838cd774c3a6df4208b709890174a25 commit b5624c3d4838cd774c3a6df4208b709890174a25 Author: Pau Espin Pedrol Date: Wed Sep 27 20:56:16 2017 +0200 contrib: osmo-ggsn.service: Use expected suffix for cfg file files in doc/examples/ dir end with .cfg, as well as all configuration files present in all projects. Change-Id: I361c67809d095dd08b0f400de2a6f84f981411c5 ----------------------------------------------------------------------- Summary of changes: contrib/osmo-ggsn.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Thu Sep 28 16:18:00 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 28 Sep 2017 16:18:00 GMT Subject: meta-telephony.git branch pespin/split-openbsc updated. e0f40635726b1fd611006b074a0e108b4d1d7733 Message-ID: <201709281618.v8SGI0e1062629@git.osmocom.org> 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 layer for OpenEmbedded". The branch, pespin/split-openbsc has been updated discards df3f8b9ff5d03e766724acb7ac9c599521d0f633 (commit) discards 51595539583edde7efbc87287b3b198c44a30c0e (commit) discards 07eb51c235a27bf18899b46a39ae8e35c39318fd (commit) discards fcc9318ea36c5be8568e65d78ad6b9cbe7588ea4 (commit) discards d0dd5b442336d7132f2e7422eb05af16576000c6 (commit) discards a69f611921cc56c508bbf87a1efe27a5451b873c (commit) discards e5c0ebaf2a2ef757f0ca7088fac48377603361d3 (commit) discards 5ee7d9ade99af6388b6a40d08b60a5aad7c8d7cd (commit) discards 49508dda5bd5d2d86922a9def542f8682007219e (commit) discards bf1a781a172da14c38970579730023c1c8945657 (commit) via e0f40635726b1fd611006b074a0e108b4d1d7733 (commit) via 27bc9fd793d6635bbcc4ab5c398a3b2951c67314 (commit) via 6a6542730d40d41c7337241d9e3f68c7924c4d22 (commit) via 264a1b396d2bb4020045228ba1c79826c93c9ae6 (commit) via febb1f0fd7fefb7a159c5a85c82b06fc94aa2530 (commit) via 628d50e5e1d4e934c6f5b47c54e15e805fe664da (commit) via 2c127a2e205945032411242d14a6361d2904de21 (commit) via 26391fbf5d9b3c1f2d76585262dfa61c35d9798f (commit) via 24d98f08d85788284e9b25f632293e1db4d28b63 (commit) via feda3e5115e7a290f541f5b95f9bd6864ffe2589 (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 (df3f8b9ff5d03e766724acb7ac9c599521d0f633) \ N -- N -- N (e0f40635726b1fd611006b074a0e108b4d1d7733) 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/meta-telephony/commit/?id=e0f40635726b1fd611006b074a0e108b4d1d7733 commit e0f40635726b1fd611006b074a0e108b4d1d7733 Author: Pau Espin Pedrol Date: Tue Sep 26 18:19:27 2017 +0200 osmo-msc: Avoid installed duplicated binaries in osmo-bsc Those two binaries are currently being installed by osmo-bsc too. Change-Id: Ic582450f1881373785f12714ffa3bd150d37417e http://cgit.osmocom.org/meta-telephony/commit/?id=27bc9fd793d6635bbcc4ab5c398a3b2951c67314 commit 27bc9fd793d6635bbcc4ab5c398a3b2951c67314 Author: Pau Espin Pedrol Date: Tue Sep 26 15:17:26 2017 +0200 openbsc: Drop packages present in other recipes after split The osmo-bsc one is renamed to osmo-bsc-sccplite and kept because the code in the new osmo-bsc repository still doesn't support SCCPLite, this this one can still be used by installing the osmo-bsc-sccplite package. Change-Id: Ifd029cbd36417ee980bff51b4112705be16175d3 http://cgit.osmocom.org/meta-telephony/commit/?id=6a6542730d40d41c7337241d9e3f68c7924c4d22 commit 6a6542730d40d41c7337241d9e3f68c7924c4d22 Author: Pau Espin Pedrol Date: Tue Sep 26 14:30:51 2017 +0200 osmo-bsc: Introduce recipe Change-Id: I06c529c01a72e16aa20a2c7a20e8b043718edab3 http://cgit.osmocom.org/meta-telephony/commit/?id=264a1b396d2bb4020045228ba1c79826c93c9ae6 commit 264a1b396d2bb4020045228ba1c79826c93c9ae6 Author: Pau Espin Pedrol Date: Tue Sep 26 14:30:33 2017 +0200 osmo-msc: Introduce recipe Change-Id: I68715d1970fde83fd6647344b82c6a859404ef9e http://cgit.osmocom.org/meta-telephony/commit/?id=febb1f0fd7fefb7a159c5a85c82b06fc94aa2530 commit febb1f0fd7fefb7a159c5a85c82b06fc94aa2530 Author: Pau Espin Pedrol Date: Tue Sep 26 14:29:24 2017 +0200 osmo-hlr: Introduce recipe Change-Id: Ie7f47dca8d7e5e50792104ae0c7cb557391542f7 http://cgit.osmocom.org/meta-telephony/commit/?id=628d50e5e1d4e934c6f5b47c54e15e805fe664da commit 628d50e5e1d4e934c6f5b47c54e15e805fe664da Author: Pau Espin Pedrol Date: Tue Sep 26 14:28:49 2017 +0200 osmo-mgw: Introduce recipe Change-Id: If9c2d6b5dd8dfd8a0b462d87e93e0733e57f7b0a http://cgit.osmocom.org/meta-telephony/commit/?id=2c127a2e205945032411242d14a6361d2904de21 commit 2c127a2e205945032411242d14a6361d2904de21 Author: Pau Espin Pedrol Date: Tue Sep 26 14:30:16 2017 +0200 osmo-sgsn: Introduce recipe Change-Id: Ia7e35660598bfd87917728c521c1fba827e98d68 http://cgit.osmocom.org/meta-telephony/commit/?id=26391fbf5d9b3c1f2d76585262dfa61c35d9798f commit 26391fbf5d9b3c1f2d76585262dfa61c35d9798f Author: Pau Espin Pedrol Date: Tue Sep 26 14:27:13 2017 +0200 osmo-iuh: Introduce recipe Change-Id: I33d6dccad2336b83f4b4e89769b0796d1c87ed94 http://cgit.osmocom.org/meta-telephony/commit/?id=24d98f08d85788284e9b25f632293e1db4d28b63 commit 24d98f08d85788284e9b25f632293e1db4d28b63 Author: Pau Espin Pedrol Date: Tue Sep 26 14:26:12 2017 +0200 libasn1c: Introduce recipe Change-Id: I50d990b06c56c3bfa71e7268694702300c0c9a26 http://cgit.osmocom.org/meta-telephony/commit/?id=feda3e5115e7a290f541f5b95f9bd6864ffe2589 commit feda3e5115e7a290f541f5b95f9bd6864ffe2589 Author: Pau Espin Pedrol Date: Mon Sep 25 17:46:29 2017 +0200 Drop openggsn and introduce osmo-ggsn Take the opportunity to enable systemd service instead of sysvint like other osmocom services already do. Change-Id: Ie6018ef78ff18f2e6809fee957c9d645e35c7c9a ----------------------------------------------------------------------- Summary of changes: recipes-osmocom/osmo-ggsn/osmo-ggsn_git.bb | 2 +- recipes-osmocom/osmo-hlr/osmo-hlr.inc | 8 +++++++- recipes-osmocom/osmo-msc/osmo-msc.inc | 3 ++- 3 files changed, 10 insertions(+), 3 deletions(-) hooks/post-receive -- Osmocom layer for OpenEmbedded From gitosis at osmocom.org Thu Sep 28 16:49:58 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 28 Sep 2017 16:49:58 GMT Subject: osmo-gsm-manuals.git branch neels/osmo-hlr updated. 9103efacfb2489e25bc823457ab71b3bc37103b4 Message-ID: <201709281649.v8SGnwgf072840@git.osmocom.org> 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 "Manuals for Osmocom GSM components". The branch, neels/osmo-hlr has been updated discards f8643f57f0e39230ad59b32a48b5987927e67100 (commit) discards d823797ae53da9fc810f13c93ffb9db1a797c904 (commit) via 9103efacfb2489e25bc823457ab71b3bc37103b4 (commit) via cc18f38233a4e247cfe50a85e091e053414fb272 (commit) via cb7585381120193c7550b830e20643cc2413dc2a (commit) via 086ce34fbd00d65cdaa3b5069694a9d0f5244293 (commit) via 6e55bc1361c92391a4dbaba4147c90b657c8877f (commit) via 40abc7a217d3d9a1e72ff0e8802cb246333f0442 (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 (f8643f57f0e39230ad59b32a48b5987927e67100) \ N -- N -- N (9103efacfb2489e25bc823457ab71b3bc37103b4) 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-gsm-manuals/commit/?id=9103efacfb2489e25bc823457ab71b3bc37103b4 commit 9103efacfb2489e25bc823457ab71b3bc37103b4 Author: Neels Hofmeyr Date: Mon Sep 25 16:37:34 2017 +0200 add OsmoHLR manual Change-Id: Ieb6a362a26a7e65199f68f5cd32d9b6b0e5d0fbf http://cgit.osmocom.org/osmo-gsm-manuals/commit/?id=cc18f38233a4e247cfe50a85e091e053414fb272 commit cc18f38233a4e247cfe50a85e091e053414fb272 Author: Neels Hofmeyr Date: Thu Sep 28 18:28:29 2017 +0200 mncc: not 'TCHF', rather 'TCH' Change-Id: I0edf1763122f182c66ad4c7155ddd4bea0c1d608 http://cgit.osmocom.org/osmo-gsm-manuals/commit/?id=cb7585381120193c7550b830e20643cc2413dc2a commit cb7585381120193c7550b830e20643cc2413dc2a Author: Neels Hofmeyr Date: Mon Sep 18 16:19:30 2017 +0200 add OsmoMSC manual Add OsmoMSC and OsmoHLR to bibliography (even though the OsmoHLR manual does not yet exist, a reference to it has been added in OsmoMSC's manual). Change-Id: I9ecff2837fbf5fdc19675a726f6d70c21eb178ee http://cgit.osmocom.org/osmo-gsm-manuals/commit/?id=086ce34fbd00d65cdaa3b5069694a9d0f5244293 commit 086ce34fbd00d65cdaa3b5069694a9d0f5244293 Author: Neels Hofmeyr Date: Thu Sep 28 17:04:26 2017 +0200 move smpp.adoc to common chapters It will soon be referenced by OsmoMSC as well. Change-Id: I15febdea6569316dad3eed5f9dc7158adb5b078c http://cgit.osmocom.org/osmo-gsm-manuals/commit/?id=6e55bc1361c92391a4dbaba4147c90b657c8877f commit 6e55bc1361c92391a4dbaba4147c90b657c8877f Author: Neels Hofmeyr Date: Thu Sep 28 17:51:45 2017 +0200 mncc.adoc: clarify MNCC_BRIDGE, with future outlook Change-Id: Ic71a83d71f2da87e1066fcc060b2b942643eddbc http://cgit.osmocom.org/osmo-gsm-manuals/commit/?id=40abc7a217d3d9a1e72ff0e8802cb246333f0442 commit 40abc7a217d3d9a1e72ff0e8802cb246333f0442 Author: Neels Hofmeyr Date: Thu Sep 28 17:18:39 2017 +0200 tweak common/mncc.adoc: use variable for program name Change-Id: I993a3c3bf617b9823f49898364b5f728a4549330 ----------------------------------------------------------------------- Summary of changes: OsmoMSC/osmomsc-usermanual.adoc | 3 +- OsmoNITB/osmonitb-usermanual.adoc | 3 +- common/chapters/mncc.adoc | 83 ++++++++++++++++++--------------- {OsmoNITB => common}/chapters/smpp.adoc | 11 +++-- 4 files changed, 57 insertions(+), 43 deletions(-) rename {OsmoNITB => common}/chapters/smpp.adoc (92%) hooks/post-receive -- Manuals for Osmocom GSM components From gitosis at osmocom.org Thu Sep 28 16:50:31 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 28 Sep 2017 16:50:31 GMT Subject: osmo-gsm-manuals.git branch neels/osmo-hlr updated. ce31f284b4f71a921affe96128fdd0f1278c8d73 Message-ID: <201709281650.v8SGoVid073218@git.osmocom.org> 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 "Manuals for Osmocom GSM components". The branch, neels/osmo-hlr has been updated discards 9103efacfb2489e25bc823457ab71b3bc37103b4 (commit) via ce31f284b4f71a921affe96128fdd0f1278c8d73 (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 (9103efacfb2489e25bc823457ab71b3bc37103b4) \ N -- N -- N (ce31f284b4f71a921affe96128fdd0f1278c8d73) 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-gsm-manuals/commit/?id=ce31f284b4f71a921affe96128fdd0f1278c8d73 commit ce31f284b4f71a921affe96128fdd0f1278c8d73 Author: Neels Hofmeyr Date: Mon Sep 25 16:37:34 2017 +0200 add OsmoHLR manual Change-Id: Ieb6a362a26a7e65199f68f5cd32d9b6b0e5d0fbf ----------------------------------------------------------------------- Summary of changes: OsmoHLR/chapters/subscribers.adoc | 61 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 OsmoHLR/chapters/subscribers.adoc hooks/post-receive -- Manuals for Osmocom GSM components From gitosis at osmocom.org Thu Sep 28 17:19:06 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 28 Sep 2017 17:19:06 GMT Subject: osmo-hlr.git branch master updated. 0.0.1-71-gf88c914 Message-ID: <201709281719.v8SHJ6sM085510@git.osmocom.org> 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, master has been updated via f88c914efd4ef75bd861a669c943cfb82a8be789 (commit) via f95ce04cbda6caeedfc4d3d006313afff767f1af (commit) from 05c8b465ab2fe13edb67c95210a9b475f91ebeb3 (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-hlr/commit/?id=f88c914efd4ef75bd861a669c943cfb82a8be789 commit f88c914efd4ef75bd861a669c943cfb82a8be789 Author: Neels Hofmeyr Date: Mon Sep 25 23:23:57 2017 +0200 add CTRL tests for enable-/disable-/status-ps Change-Id: I014437db9c0f15d818e04810f6cb14bf475ee002 http://cgit.osmocom.org/osmo-hlr/commit/?id=f95ce04cbda6caeedfc4d3d006313afff767f1af commit f95ce04cbda6caeedfc4d3d006313afff767f1af Author: Neels Hofmeyr Date: Mon Sep 25 23:22:02 2017 +0200 add basic CTRL interface tests Prepare for adding tests of enable-/disable-/status-ps CTRL commands. Change-Id: Ie195169c574716b514da7e04a3ce9727ef70a55e ----------------------------------------------------------------------- Summary of changes: configure.ac | 15 ++ contrib/ipa.py | 278 ++++++++++++++++++++++++++ contrib/jenkins.sh | 2 +- tests/Makefile.am | 10 + tests/ctrl_test_runner.py | 241 ++++++++++++++++++++++ sql/hlr_data.sql => tests/test_subscriber.sql | 0 6 files changed, 545 insertions(+), 1 deletion(-) create mode 100755 contrib/ipa.py create mode 100644 tests/ctrl_test_runner.py copy sql/hlr_data.sql => tests/test_subscriber.sql (100%) hooks/post-receive -- UNNAMED PROJECT From gitosis at osmocom.org Fri Sep 29 12:59:22 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 29 Sep 2017 12:59:22 GMT Subject: meta-telephony.git branch pespin/split-openbsc updated. 587f6acfa07e7dd3dcfbf003f6356f3a55ce41dc Message-ID: <201709291259.v8TCxM8h046207@git.osmocom.org> 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 layer for OpenEmbedded". The branch, pespin/split-openbsc has been updated discards e0f40635726b1fd611006b074a0e108b4d1d7733 (commit) discards 27bc9fd793d6635bbcc4ab5c398a3b2951c67314 (commit) discards 6a6542730d40d41c7337241d9e3f68c7924c4d22 (commit) discards 264a1b396d2bb4020045228ba1c79826c93c9ae6 (commit) discards febb1f0fd7fefb7a159c5a85c82b06fc94aa2530 (commit) discards 628d50e5e1d4e934c6f5b47c54e15e805fe664da (commit) discards 2c127a2e205945032411242d14a6361d2904de21 (commit) discards 26391fbf5d9b3c1f2d76585262dfa61c35d9798f (commit) discards 24d98f08d85788284e9b25f632293e1db4d28b63 (commit) discards feda3e5115e7a290f541f5b95f9bd6864ffe2589 (commit) discards f3b8764e6675f907592578c97f30a519af736d13 (commit) discards 257099e16e34b960dd53dbe97a0fc0224b641051 (commit) discards b493a3aba9a29213e7ad12b165cc40439b8d5810 (commit) discards b8cbe5307d9312e50749050408efb51e78cf1b17 (commit) discards 4c655d4d53ffbfc78846239aedb5cce51278e006 (commit) via 587f6acfa07e7dd3dcfbf003f6356f3a55ce41dc (commit) via 8fdfcbde932b2248baed73b2c19c9f9045b56d31 (commit) via b401a8e9cff00873fe36b25c148c1be8fe680396 (commit) via 9f948048c9110db276bccff99bd8bdf13dfaae9e (commit) via 8eb42575096f6227e83228e3d8fbf591f9cedb22 (commit) via 8554d8a42c0e2ed7f0e39ba76cd3aee78dde6f30 (commit) via b4eb971657d68322d11064e45012d2b4adf29e93 (commit) via 254389b473e392d97adfa666c25f1b565d2d3059 (commit) via df34ca271120e4f3390d3fe7b53b6c5b7763b217 (commit) via 13141964e696f0bbffb61b04fd0e2c924136366a (commit) via 73eade5890d3d11752679e1dffb91bd910464c3e (commit) via d7e9e0e836f0fd45e55243bad19449a396c3cb04 (commit) via 947868cafd1b0a661a2cc29848dacab3e02807f7 (commit) via 5baaf5e976c9a28d0a5449586189e985c2e17165 (commit) via d20285c2efe7b8ab1997c73ab9e4cb654d785f1f (commit) via d978990ab05d1eea20049cc40e99394f45d2cefa (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 (e0f40635726b1fd611006b074a0e108b4d1d7733) \ N -- N -- N (587f6acfa07e7dd3dcfbf003f6356f3a55ce41dc) 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/meta-telephony/commit/?id=587f6acfa07e7dd3dcfbf003f6356f3a55ce41dc commit 587f6acfa07e7dd3dcfbf003f6356f3a55ce41dc Author: Pau Espin Pedrol Date: Fri Sep 29 13:43:18 2017 +0200 Fix typo with DESCRIPTION var in several recipes Change-Id: I2637afdb1c868a1f9b54dcbbe55b1a1ee7519d14 http://cgit.osmocom.org/meta-telephony/commit/?id=8fdfcbde932b2248baed73b2c19c9f9045b56d31 commit 8fdfcbde932b2248baed73b2c19c9f9045b56d31 Author: Pau Espin Pedrol Date: Tue Sep 26 18:19:27 2017 +0200 osmo-msc: Avoid installed duplicated binaries in osmo-bsc Those two binaries are currently being installed by osmo-bsc too: - /usr/bin/osmo-meas-udp2db - /usr/bin/meas_json Change-Id: Ic582450f1881373785f12714ffa3bd150d37417e http://cgit.osmocom.org/meta-telephony/commit/?id=b401a8e9cff00873fe36b25c148c1be8fe680396 commit b401a8e9cff00873fe36b25c148c1be8fe680396 Author: Pau Espin Pedrol Date: Tue Sep 26 15:17:26 2017 +0200 openbsc: Drop packages present in other recipes after split The osmo-bsc one is renamed to osmo-bsc-sccplite and kept because the code in the new osmo-bsc repository still doesn't support SCCPLite, this this one can still be used by installing the osmo-bsc-sccplite package. Change-Id: Ifd029cbd36417ee980bff51b4112705be16175d3 http://cgit.osmocom.org/meta-telephony/commit/?id=9f948048c9110db276bccff99bd8bdf13dfaae9e commit 9f948048c9110db276bccff99bd8bdf13dfaae9e Author: Pau Espin Pedrol Date: Tue Sep 26 14:30:51 2017 +0200 osmo-bsc: Introduce recipe This recipe provides osmo-bsc package from new osmo-bsc.git repository, and replaces old osmo-bsc from openbc.git. Change-Id: I06c529c01a72e16aa20a2c7a20e8b043718edab3 http://cgit.osmocom.org/meta-telephony/commit/?id=8eb42575096f6227e83228e3d8fbf591f9cedb22 commit 8eb42575096f6227e83228e3d8fbf591f9cedb22 Author: Pau Espin Pedrol Date: Tue Sep 26 14:30:33 2017 +0200 osmo-msc: Introduce recipe Change-Id: I68715d1970fde83fd6647344b82c6a859404ef9e http://cgit.osmocom.org/meta-telephony/commit/?id=8554d8a42c0e2ed7f0e39ba76cd3aee78dde6f30 commit 8554d8a42c0e2ed7f0e39ba76cd3aee78dde6f30 Author: Pau Espin Pedrol Date: Tue Sep 26 14:29:24 2017 +0200 osmo-hlr: Introduce recipe Change-Id: Ie7f47dca8d7e5e50792104ae0c7cb557391542f7 http://cgit.osmocom.org/meta-telephony/commit/?id=b4eb971657d68322d11064e45012d2b4adf29e93 commit b4eb971657d68322d11064e45012d2b4adf29e93 Author: Pau Espin Pedrol Date: Tue Sep 26 14:28:49 2017 +0200 osmo-mgw: Introduce recipe Change-Id: If9c2d6b5dd8dfd8a0b462d87e93e0733e57f7b0a http://cgit.osmocom.org/meta-telephony/commit/?id=254389b473e392d97adfa666c25f1b565d2d3059 commit 254389b473e392d97adfa666c25f1b565d2d3059 Author: Pau Espin Pedrol Date: Tue Sep 26 14:30:16 2017 +0200 osmo-sgsn: Introduce recipe Change-Id: Ia7e35660598bfd87917728c521c1fba827e98d68 http://cgit.osmocom.org/meta-telephony/commit/?id=df34ca271120e4f3390d3fe7b53b6c5b7763b217 commit df34ca271120e4f3390d3fe7b53b6c5b7763b217 Author: Pau Espin Pedrol Date: Tue Sep 26 14:27:13 2017 +0200 osmo-iuh: Introduce recipe Change-Id: I33d6dccad2336b83f4b4e89769b0796d1c87ed94 http://cgit.osmocom.org/meta-telephony/commit/?id=13141964e696f0bbffb61b04fd0e2c924136366a commit 13141964e696f0bbffb61b04fd0e2c924136366a Author: Pau Espin Pedrol Date: Tue Sep 26 14:26:12 2017 +0200 libasn1c: Introduce recipe Change-Id: I50d990b06c56c3bfa71e7268694702300c0c9a26 http://cgit.osmocom.org/meta-telephony/commit/?id=73eade5890d3d11752679e1dffb91bd910464c3e commit 73eade5890d3d11752679e1dffb91bd910464c3e Author: Pau Espin Pedrol Date: Mon Sep 25 17:46:29 2017 +0200 Drop openggsn and introduce osmo-ggsn Take the opportunity to enable systemd service instead of sysvint like other osmocom services already do. Change-Id: Ie6018ef78ff18f2e6809fee957c9d645e35c7c9a http://cgit.osmocom.org/meta-telephony/commit/?id=d7e9e0e836f0fd45e55243bad19449a396c3cb04 commit d7e9e0e836f0fd45e55243bad19449a396c3cb04 Author: Pau Espin Pedrol Date: Wed Sep 27 12:17:43 2017 +0200 libosmo-sccp: Install cfg and service file for osmo-stp Patch with systemd service file is added while waiting to have it merged in upstream. Change-Id: Id82a12bbfb72b421c75140072048a963fb50f684 http://cgit.osmocom.org/meta-telephony/commit/?id=947868cafd1b0a661a2cc29848dacab3e02807f7 commit 947868cafd1b0a661a2cc29848dacab3e02807f7 Author: Pau Espin Pedrol Date: Wed Sep 6 12:09:52 2017 +0200 libosmo-abis: modify PV to match recent release The upstream release commit is 7f17b8c45d094941292036143f3292a1d5789cf5. This should fix current issue with 201705/nightly package feed: $ opkg upgrade Not selecting libosmo-abis 0.3.2+gitr0+d3292913ac as installing it would break existing dependencies. $ opkg list_installed | grep libosmo-abis libosmo-abis - 0.3.2+gitr2+d3292913ac-r2.18.1.0 See that gitr in repos is 0 while the previously installed one has gitr2, which is higher. Explanations I can find for this: - PR server was somehow reset? - the value in gitr is calculated based on offset from latest tag. As new release introduced new tag, gitr may have been reset. In any case, updating PV to have the correct value should fix this issue. Change-Id: I9f27661d9e5241efe7725b7d1efcf4aef55e2efe http://cgit.osmocom.org/meta-telephony/commit/?id=5baaf5e976c9a28d0a5449586189e985c2e17165 commit 5baaf5e976c9a28d0a5449586189e985c2e17165 Author: Harald Welte Date: Thu Aug 17 00:53:51 2017 +0200 update PV versions for libosmocore, libosmo-sccp and openggsn As we're building git master, we need to make sure PV is not lagging behind. I wish there was some OE magic by which it could discover PV from the source it builds. Change-Id: Ib45238e95156f215412d51d975b1acb33633a3e1 http://cgit.osmocom.org/meta-telephony/commit/?id=d20285c2efe7b8ab1997c73ab9e4cb654d785f1f commit d20285c2efe7b8ab1997c73ab9e4cb654d785f1f Author: Holger Hans Peter Freyther Date: Fri Jun 2 18:33:02 2017 +0800 libosmo-sccp: Attempt to fix link issue on 201705-nightly builds This project will build some static libraries needed for testing and also for downstream users. Do not disable the static build on newer Poky versions. arm-poky-linux-gnueabi-libtool: link: arm-poky-linux-gnueabi-gcc -march=armv5te -marm --sysroot=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot -Wall -I/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot/usr/include/ -I/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot/usr/include/ -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1=/usr/src/debug/libosmo-sccp/git-r1.18.1 -fdebug-prefix-map=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot-native= -fdebug-prefix-map=/home/jenkinsdebian8amd64/jenkins/workspace/201705-nightly/label/Debian8-AMD64/build/tmp/work/armv5te-poky-linux-gnueabi/libosmo-sccp/git-r1.18.1/recipe-sysroot= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o xua_test xua_test.o sccp_test_data.o ../../src/.libs/libosmo-sigtran.so -losmogsm -ltalloc -losmovty -losmocore -losmonetif -lsctp | xua_test.o: In function `test_helpers': | /usr/src/debug/libosmo-sccp/git-r1.18.1/git/tests/xua/xua_test.c:160: undefined reference to `xua_part_add_gt' | /usr/src/debug/libosmo-sccp/git-r1.18.1/git/tests/xua/xua_test.c:168: undefined reference to `sua_parse_gt' | xua_test.o: In function `test_sccp2sua_case': Change-Id: I80eea9ac888ab4b13614ff475bebacb94b72b0f2 http://cgit.osmocom.org/meta-telephony/commit/?id=d978990ab05d1eea20049cc40e99394f45d2cefa commit d978990ab05d1eea20049cc40e99394f45d2cefa Author: Pau Espin Pedrol Date: Mon Sep 25 17:22:56 2017 +0200 Update osmocom versions to point to current master New versions are required in order to build new git repositories which will deprecate osmo-nitb soon. Change-Id: If36b86a6a542af7381d9a07da51a330f2e44a96f ----------------------------------------------------------------------- Summary of changes: recipes-isdn/dahdi-linux/dahdi-linux_2.10.2.bb | 2 +- recipes-isdn/dahdi-tools/dahdi-tools_2.10.2.bb | 2 +- recipes-isdn/lcr/lcr_git.bb | 2 +- recipes-isdn/misdn/misdn-utils_git.bb | 2 +- recipes-osmocom/libasn1c/libasn1c.inc | 2 +- recipes-osmocom/libosmo-abis/libosmo-abis.inc | 2 +- recipes-osmocom/libosmo-netif/libosmo-netif.inc | 2 +- recipes-osmocom/libosmo-sccp/libosmo-sccp.inc | 4 +- recipes-osmocom/libosmocore/libosmocore.inc | 2 +- recipes-osmocom/libosmocore/libosmocore_git.bb | 2 +- recipes-osmocom/openbsc/openbsc.inc | 2 - recipes-osmocom/openbsc/openbsc/osmo-bsc_mgcp.init | 48 ---------------------- recipes-osmocom/openbsc/openbsc/osmo-sgsn.init | 48 ---------------------- recipes-osmocom/osmo-bsc/osmo-bsc.inc | 4 +- recipes-osmocom/osmo-ggsn/files/osmo-ggsn.init | 2 +- recipes-osmocom/osmo-ggsn/osmo-ggsn_git.bb | 3 +- recipes-osmocom/osmo-hlr/osmo-hlr.inc | 8 ++-- recipes-osmocom/osmo-iuh/osmo-iuh.inc | 4 +- recipes-osmocom/osmo-mgw/osmo-mgw.inc | 4 +- recipes-osmocom/osmo-msc/osmo-msc.inc | 4 +- recipes-osmocom/osmo-sgsn/osmo-sgsn.inc | 4 +- 21 files changed, 27 insertions(+), 126 deletions(-) delete mode 100755 recipes-osmocom/openbsc/openbsc/osmo-bsc_mgcp.init delete mode 100755 recipes-osmocom/openbsc/openbsc/osmo-sgsn.init hooks/post-receive -- Osmocom layer for OpenEmbedded From gitosis at osmocom.org Sat Sep 30 11:57:49 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sat, 30 Sep 2017 11:57:49 GMT Subject: libosmocore.git branch master updated. 0.9.6-400-gb697df0c Message-ID: <201709301157.v8UBvnuA064822@git.osmocom.org> 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 "An utility library for Open Source Mobile Communications". The branch, master has been updated via b697df0c4a008b80aad750e42947363f899b9301 (commit) from 505c965e3655b8ae94880a23baf8ecc2092163c4 (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/libosmocore/commit/?id=b697df0c4a008b80aad750e42947363f899b9301 commit b697df0c4a008b80aad750e42947363f899b9301 Author: Neels Hofmeyr Date: Thu Sep 28 19:41:50 2017 +0200 doxygen: adjust copyright to include 2017 Change-Id: If7c09a676f67da15454aedcda99d0e9b301c9945 ----------------------------------------------------------------------- Summary of changes: src/application.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Sat Sep 30 12:13:31 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sat, 30 Sep 2017 12:13:31 GMT Subject: osmo-bts.git branch master updated. 0.6.0-9-g8a89c7d Message-ID: <201709301213.v8UCDU2G071602@git.osmocom.org> 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 8a89c7d3c327c3594c8dc6251179c0e66b1ba3e5 (commit) via ab4696bb2fcdf16451585c40275d3b931ab1db4c (commit) from 9605b695fab690682024128cd580b288906fbb24 (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=8a89c7d3c327c3594c8dc6251179c0e66b1ba3e5 commit 8a89c7d3c327c3594c8dc6251179c0e66b1ba3e5 Author: Max Date: Wed Sep 27 14:07:55 2017 +0200 vty: print version and description for each phy When printing BTS via 'show bts ..' let's also print each TRX, which phy number and version it uses and its description. It's helpful in troubleshooting low-level issues as it allows vendor-specific code to easily expose firmware version. Related: SYS#3884 Change-Id: Iabcc862566b40a9314f3e1d17fda61d8ab24a3cd http://cgit.osmocom.org/osmo-bts/commit/?id=ab4696bb2fcdf16451585c40275d3b931ab1db4c commit ab4696bb2fcdf16451585c40275d3b931ab1db4c Author: Max Date: Wed Sep 27 14:03:10 2017 +0200 Replace dead code * remove leftover from copy-paste of corresponding OpenBSC code * print OML link state * print paging load Change-Id: Ia5e3dc10efe2b5ab212cab1518a10d36b20b8bb2 ----------------------------------------------------------------------- Summary of changes: src/common/vty.c | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Thu Sep 7 19:39:02 2017 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 07 Sep 2017 19:39:02 -0000 Subject: osmocom-bb.git branch laforge/lib-update created. osmocon_v0.0.0-2635-gde3f6080 Message-ID: <201709071938.v87Jcv6B027345@git.osmocom.org> 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 Open Source GSM Base Band stack". The branch, laforge/lib-update has been created at de3f6080aaf86c6ea0e59d0223934680d6fd1cc9 (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmocom-bb/commit/?id=de3f6080aaf86c6ea0e59d0223934680d6fd1cc9 commit de3f6080aaf86c6ea0e59d0223934680d6fd1cc9 Author: Harald Welte Date: Sun Jan 15 19:15:37 2017 +0100 define 'fprintf(stderr,' as a wrapper around printf( This is in preparation to work with a more recent version of libosmocore, which wants to print to stderr in some cases. http://cgit.osmocom.org/osmocom-bb/commit/?id=84ac308411474aa2e1f6bb063f1dd0906e8f33b2 commit 84ac308411474aa2e1f6bb063f1dd0906e8f33b2 Author: Harald Welte Date: Sun Jan 15 19:15:14 2017 +0100 Add an endian.h file as one step to build against later libosmocore http://cgit.osmocom.org/osmocom-bb/commit/?id=9f5891269189590c7041565355e30695455859b6 commit 9f5891269189590c7041565355e30695455859b6 Author: Harald Welte Date: Sun Jan 15 19:14:01 2017 +0100 Add libosmocore/build-target/include to include path Some header files are auto-generated and are thus in the build directory, not in the source directory. A cleaner way to handle this is most likely to install libosmocore to some directory, but I don't want to change the entire build process now. http://cgit.osmocom.org/osmocom-bb/commit/?id=f4d9df5531681d64d72890add7a81942de9c1c22 commit f4d9df5531681d64d72890add7a81942de9c1c22 Merge: 4b9bff0d 2f0b0c95 Author: Harald Welte Date: Sun Jan 15 17:11:55 2017 +0100 Merge commit '2f0b0c955b4031a9dd95829322455cf883d40f53' into lib-update http://cgit.osmocom.org/osmocom-bb/commit/?id=4b9bff0de15379c97b13ecf9040a17c55fd71493 commit 4b9bff0de15379c97b13ecf9040a17c55fd71493 Author: Harald Welte Date: Sun Jan 15 17:07:09 2017 +0100 fix various other compiler warnings http://cgit.osmocom.org/osmocom-bb/commit/?id=708f18d0c2ba2f2e13d5ec2acfbf7ef4eaaad278 commit 708f18d0c2ba2f2e13d5ec2acfbf7ef4eaaad278 Author: Harald Welte Date: Sun Jan 15 16:59:32 2017 +0100 cfi_flash.c: Fix various format string compiler warnings http://cgit.osmocom.org/osmocom-bb/commit/?id=96be35f4bb6e52b347dc6d46fe020d1ce9a1fc3f commit 96be35f4bb6e52b347dc6d46fe020d1ce9a1fc3f Author: Harald Welte Date: Sun Jan 15 16:55:53 2017 +0100 trf6151: Fix setting of uplink ARFCN Somebody (me?) wrote exclamation marks instead of pipe symbols. Found by a modern gcc: rf/trf6151.c: In function 'trf6151_set_arfcn': rf/trf6151.c:439:8: warning: comparison is always true due to limited range of data type [-Wtype-limits] arfcn != ~ARFCN_UPLINK; ^ rf/trf6151.c:439:2: warning: statement with no effect [-Wunused-value] arfcn != ~ARFCN_UPLINK; ^ http://cgit.osmocom.org/osmocom-bb/commit/?id=f04442d75f661ad37c5d0c734b64a34038ad4183 commit f04442d75f661ad37c5d0c734b64a34038ad4183 Author: Harald Welte Date: Sun Jan 15 16:52:19 2017 +0100 Avoid redefining __{packed,aligned,unused,section} It seems modern version of newlib define those themselves, so we should avoid re-defining them. Removes tons of compiler warnings when compiling against libnewlib 2.4.0 http://cgit.osmocom.org/osmocom-bb/commit/?id=4de980b32c09dc0697f8f84302b646d48cdbef28 commit 4de980b32c09dc0697f8f84302b646d48cdbef28 Author: Harald Welte Date: Sun Jan 15 16:49:06 2017 +0100 WIP: Attempt to make linker scripts compatible with binutils 2.27 In binutils-2.27, one can no longer have linker sections with overlapping VMA addresses. Let's try to work around this. See https://osmocom.org/issues/1917 for more details. http://cgit.osmocom.org/osmocom-bb/commit/?id=2f0b0c955b4031a9dd95829322455cf883d40f53 commit 2f0b0c955b4031a9dd95829322455cf883d40f53 Author: Max Date: Thu Jan 12 16:47:13 2017 +0100 Fix compilation warnings: missing includes: gsm0411_utils.c, lapd_core.c, oap_test.c Change-Id: Id524327b3f44e22e3aa44c5e8e4965b084cb326a http://cgit.osmocom.org/osmocom-bb/commit/?id=c32bfd5824b99b9af14b66d17a58fdf9c3bddb45 commit c32bfd5824b99b9af14b66d17a58fdf9c3bddb45 Author: Neels Hofmeyr Date: Thu Jan 12 22:32:19 2017 +0100 gprs_ns_vty: guard against duplicate VTY elements The TbfTest in osmo-pcu calls gprs_ns_vty_init() repeatedly, which aborts because of duplicate VTY elements. Fix this by skipping the VTY init if it already happened. Change-Id: I05c7f25a4e873ae76b206819180b8b043b60103e http://cgit.osmocom.org/osmocom-bb/commit/?id=1251afe2542417426ffe9a4aace2603f06eb15bd commit 1251afe2542417426ffe9a4aace2603f06eb15bd Author: Max Date: Wed Jan 11 18:12:32 2017 +0100 Add abis_nm_fail_evt_vrep() function It accept fixed number of arguments including va_list instead of variable number of arguments in abis_nm_fail_evt_rep() - similar to vprintff() vs printf(). Related: OS#1615 Change-Id: Ib293dec1c2de9b664584a8456c782ea7b6dd8555 http://cgit.osmocom.org/osmocom-bb/commit/?id=b632e03f6588636d3ea4f642154754f0aca33988 commit b632e03f6588636d3ea4f642154754f0aca33988 Author: Max Date: Mon Jan 9 12:49:18 2017 +0100 Remove obsolete .deb patch Change-Id: Icbf911540fcc840833c5012363c2ba48fd71db52 Related: OS#1694 http://cgit.osmocom.org/osmocom-bb/commit/?id=87218edb9acedb0eb797c47357bac472eacd8c29 commit 87218edb9acedb0eb797c47357bac472eacd8c29 Author: Max Date: Mon Jan 9 14:24:03 2017 +0100 LAPD: improve logging Log error cause and state names in case of SABM errors. Change-Id: I2c7fa276e03f8b14ba41cc1fb6e19d0aae77d127 http://cgit.osmocom.org/osmocom-bb/commit/?id=d02c8af6ccb73a18dba5d09112730246d05c187d commit d02c8af6ccb73a18dba5d09112730246d05c187d Author: Jean-Francois Dionne Date: Tue Jan 10 10:23:56 2017 +0100 DTX: fix AMR SID-FIRST detection Max's note: adjusted test output. Change-Id: I46477c631bf86345cb757f31d7f2e2935b12adcc Related: OS#1801 http://cgit.osmocom.org/osmocom-bb/commit/?id=85908a9c2f218b6665b8e90005b900c74875e806 commit 85908a9c2f218b6665b8e90005b900c74875e806 Author: Max Date: Tue Jan 10 17:49:23 2017 +0100 Add value strings for Probable Cause Type Add string representation of Probable Cause Type from 3GPP TS 12.21 ?? 9.4.43. Change-Id: I9fe14ed3b5398f59dd06a509e4d419e074cc20a7 Related: OS#1615 http://cgit.osmocom.org/osmocom-bb/commit/?id=ebcf02de6cb40bc035c2e94bd6929ffa9a61ed78 commit ebcf02de6cb40bc035c2e94bd6929ffa9a61ed78 Author: Harald Welte Date: Sat Jan 7 13:27:54 2017 +0100 gsmtap: Add GSMTAP_TYPE_QC_DIAG This adds a definition for wrapping Qualcomm DIAG frames into GSMTAP for transporting them over an IP network. Change-Id: I1b357b7d11a370685671c7b01e55f4f36dec2f25 http://cgit.osmocom.org/osmocom-bb/commit/?id=c0c84323455bf65ef8bb40888dd537da1321d1e4 commit c0c84323455bf65ef8bb40888dd537da1321d1e4 Author: Vadim Yanitskiy Date: Wed Jan 4 16:13:04 2017 +0700 gitignore: ignore *.pyc files Change-Id: I148584e1664b20741c0ade02cbda635c24268d2e http://cgit.osmocom.org/osmocom-bb/commit/?id=341939142242fb3a8e3e6e153a582af5aff16889 commit 341939142242fb3a8e3e6e153a582af5aff16889 Author: Harald Welte Date: Sat Jan 7 11:49:55 2017 +0100 fsm: Add VTY introspection of osmo_fsm and their instances Change-Id: I89212e4f149f019099115a85bab353c04170df90 http://cgit.osmocom.org/osmocom-bb/commit/?id=8808bb49a20e3e569b230b1b8acdf6f74e1c6bd2 commit 8808bb49a20e3e569b230b1b8acdf6f74e1c6bd2 Author: Harald Welte Date: Sat Jan 7 11:11:03 2017 +0100 Add osmo_fsm_find_by_name() and avoid registering FSM with same name This addresses a FIXME in the fsm.c code: osmo_fsm_register() should fail in case a FSM with the given name already exists. Change-Id: I5fd882939859c79581eba70c14cbafd64560b583 http://cgit.osmocom.org/osmocom-bb/commit/?id=addeaa39b172b4114bffbbfdd3dd09a029eb37b3 commit addeaa39b172b4114bffbbfdd3dd09a029eb37b3 Author: Harald Welte Date: Sat Jan 7 12:52:00 2017 +0100 vty: OSMO_ASSERT() if two identical commands are installed When the caller installs two identical commands at a given VTY node, the result is that neither of the two commands can ever be executed: The VTY would always complain about "Ambiguous command.". Let's fail fast at program start when two identical commands are intalled. Change-Id: I85ff4640ebb3d8b75a6a9ab5d2f668edb5b7189e http://cgit.osmocom.org/osmocom-bb/commit/?id=ecbcdf52ec7c165c7933346441c02030833aba78 commit ecbcdf52ec7c165c7933346441c02030833aba78 Author: Max Date: Mon Jan 2 14:43:35 2017 +0100 Add OML Failure Event Report support Add 3GPP TS 12.21 ?? 8.8.2 Failure Event Report function which pack given vararg string and parameters into msgb. Change-Id: I58c198d8ea588432c62520928b08f0b2a7035e93 Related: OS#1615 http://cgit.osmocom.org/osmocom-bb/commit/?id=07352fee098758431ae1434c47c054d94887a6d4 commit 07352fee098758431ae1434c47c054d94887a6d4 Author: Max Date: Mon Jan 2 19:05:25 2017 +0100 Add event cause string descriptions Add human-readable descriptions to event causes from 3GPP TS 12.21 ?? 9.4.43. Change-Id: Id173c978616c98b7831fbafb5401064257f1cf73 Related: OS#1615 http://cgit.osmocom.org/osmocom-bb/commit/?id=848de8f1df561f4253f754ec3f2415e541071420 commit 848de8f1df561f4253f754ec3f2415e541071420 Author: Pravin Kumarvel Date: Fri Dec 2 15:13:03 2016 +0530 Add function to get uninterrupted bit run Function bitvec_rl_curbit added to get number of uninterrupted bits run in vector starting from the current bit till max number of bits. Test case is added to check bitvec_rl_curbit. Change-Id: Iae153d3639ea6b891c1fc10d7801a435c9492e26 http://cgit.osmocom.org/osmocom-bb/commit/?id=592fcc97c004b7e3e84ed6960ea9989157c94f75 commit 592fcc97c004b7e3e84ed6960ea9989157c94f75 Author: Minh-Quang Nguyen Date: Mon Jan 2 14:52:16 2017 +0100 Add cause enum for OML fail reports Add 3GPP TS 12.21 ??9.4.43 Probable Cause values of type 03 (Manufacturer specific values). Max's note: renamed to make it clear that values are vendor-specific. Related: OS#1615 Change-Id: Ie9ba4b53fb19a151447aec9ea309284e20613585 http://cgit.osmocom.org/osmocom-bb/commit/?id=dbd3a92f70325b7a02d0a637929732f297fb2612 commit dbd3a92f70325b7a02d0a637929732f297fb2612 Author: Max Date: Mon Jan 2 14:10:30 2017 +0100 Add parsed TLV helpers from OsmoBTS Add functions to copy and merge parsed TLV structures from OsmoBTS. Change-Id: Ieaaaed19da9c069fe451faa53d24c5b84d7d5615 http://cgit.osmocom.org/osmocom-bb/commit/?id=0bee65c0d89f81a4b90aa3d484016d9ba680dd46 commit 0bee65c0d89f81a4b90aa3d484016d9ba680dd46 Author: Max Date: Mon Jan 2 13:42:24 2017 +0100 Add OML definitions from OsmoBTS Change-Id: I9c3bc15662949654e7bba6aad5488c69ee7d0c45 Related: OS#1615 http://cgit.osmocom.org/osmocom-bb/commit/?id=edc8db21fa4fec3a87d7892d219ae26135858e9c commit edc8db21fa4fec3a87d7892d219ae26135858e9c Author: Max Date: Wed Jan 4 19:55:51 2017 +0100 Remove direct logging Drop perror() calls from GSMTAP code: it's application job to do the proper logging - library code should not write to stdout/stderr directly. Change-Id: Ifa149e65d76c6e64fda2946725c16672233aff2e http://cgit.osmocom.org/osmocom-bb/commit/?id=b1edd16e75dfe6af6949d495ac38b35ec029cc97 commit b1edd16e75dfe6af6949d495ac38b35ec029cc97 Author: Vadim Yanitskiy Date: Wed Jan 4 16:09:19 2017 +0700 gitignore: ignore tests/oap/oap_test Change-Id: Iccb8c46a721d5389058c5cf36621820bcd861b7b http://cgit.osmocom.org/osmocom-bb/commit/?id=53e2672e1169883983cd3efba3ced2d644ad4ffa commit 53e2672e1169883983cd3efba3ced2d644ad4ffa Author: Harald Welte Date: Wed Jan 4 11:18:59 2017 +0100 lapd_test: avoid calling memcpy with NULL source fixes lapd/lapd_test.c:54:2: runtime error: null pointer passed as argument 2, which is declared to never be null Change-Id: I7030729f4f4c867adecc7afc15bb5ca9beff0030 http://cgit.osmocom.org/osmocom-bb/commit/?id=6cfa56ba0c887d63c40efbab369541681f13fe21 commit 6cfa56ba0c887d63c40efbab369541681f13fe21 Author: Harald Welte Date: Wed Jan 4 10:06:09 2017 +0100 gprs_cipher_core: Use typecase to avoid sanitizer error This resolves gprs_cipher_core.c:118:37: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' Change-Id: Ib1866595030ad9d11c886621ce69632462befa3a http://cgit.osmocom.org/osmocom-bb/commit/?id=3faa0148054ae47924e20a3c3cae4cdf969ab695 commit 3faa0148054ae47924e20a3c3cae4cdf969ab695 Author: Neels Hofmeyr Date: Sun Dec 18 23:41:41 2016 +0100 fsm: term: get parent pointer as late as possible During FSM instance termination, fetch the parent pointer every time just before using it, in case the child termination or cleanup callback wish to change anything about the parent, e.g. to prevent event dispatch. This patch was created to try and fix a problem that was in the end solved differently. There is no actual need or use case for this at the moment, but it generally makes sense to get the parent pointer as late as possible. Change-Id: I999d7f29ba10281d4005c5163130bb2d80148362 http://cgit.osmocom.org/osmocom-bb/commit/?id=15492bcb2653e0213caf0db6d44f09f4d05c9b4e commit 15492bcb2653e0213caf0db6d44f09f4d05c9b4e Author: Vadim Yanitskiy Date: Thu Nov 10 17:10:42 2016 +0700 utils/conv_gen.py: separate code definitions This change separates the convolutional code definitions from the code generator logic, allowing us to make further changes in more specific way. For example, adding some new codes, you change the conv_codes.py only because such change isn't related to the generator. Change-Id: I3428561251b7d7a180d1e9b6fcaad50bdbbc37fa http://cgit.osmocom.org/osmocom-bb/commit/?id=6431adde78638db7dac0717f74de92ef8b491d73 commit 6431adde78638db7dac0717f74de92ef8b491d73 Author: Vadim Yanitskiy Date: Sat Oct 29 00:00:57 2016 +0700 utils/conv_gen.py: use shared tables if possible This change introduces the memory usage optimization, mentioned in d2d9760c08f35a231d32f0ebeb73b2927e5573b3. The aim is to make code generator able to detect, whether the same tables are used by several convolutional code definitions, and prevent one from writing these tables multiple times. For now, the detection process isn't fully automatic, so all shared polynomials should be placed inside the 'shared_polys' dictionary, for example: shared_polys = { "xcch" : [ ( G0, 1 ), ( G1, 1 ), ], "mcs" : [ ( G4, 1 ), ( G7, 1 ), ( G5, 1 ), ], } Change-Id: I84760f5cdfdaece376b801d2e6cb2954ee875a3b http://cgit.osmocom.org/osmocom-bb/commit/?id=c014f606d055bb0ab09b6b9128078cb7a4e06c4c commit c014f606d055bb0ab09b6b9128078cb7a4e06c4c Author: Neels Hofmeyr Date: Fri Dec 23 04:26:39 2016 +0100 fsm: factor out osmo_fsm_inst_term_children() from osmo_fsm_inst_term() osmo_fsm_inst_term() has code for safe child removal, publish that part as osmo_fsm_inst_term_children(); also use from osmo_fsm_inst_term(). As with osmo_fsm_inst_term(), add osmo_fsm_inst_term_children() macro to pass the caller's source file and line to new _osmo_fsm_inst_term_children(). Rationale: in openbsc's VLR, I want to discard child FSMs when certain events are handled. I could keep a pointer to each one, or simply iterate all children, making the code a lot simpler in some places. (Unfortunately, the patch may be displayed subobtimally. This really only moves the children-loop to a new function, replaces it with a call to _osmo_fsm_inst_term_children(fi, OSMO_FSM_TERM_PARENT, NULL, file, line) and drops two local iterator variables. No other code changes are made, even though the diff may show large removal + addition chunks) Change-Id: I8dac1206259cbd251660f793ad023aaa1dc705a2 http://cgit.osmocom.org/osmocom-bb/commit/?id=eeacf906dd961002dba7e53ec9144d08a2b2d0ee commit eeacf906dd961002dba7e53ec9144d08a2b2d0ee Author: Neels Hofmeyr Date: Fri Dec 23 01:00:13 2016 +0100 fsm: move LOGPFSMSRC and LOGPFSMLSRC to .h LOGPFSM and LOGPFSML are in the header file, put the *SRC variants also there so users of the osmo_fsm_inst API may conveniently create own functions that log the caller's source file and line. Very useful if many action functions call the same event dispatching function, like foo_fsm_done(), and one needs to know which of the callers to debug. Change-Id: I39447b1d15237b28f88d8c5f08d82c764679dc80 http://cgit.osmocom.org/osmocom-bb/commit/?id=c7155df3ecb0a4f583a7d0e0bedc8cbb847a8fb4 commit c7155df3ecb0a4f583a7d0e0bedc8cbb847a8fb4 Author: Neels Hofmeyr Date: Fri Dec 23 04:24:51 2016 +0100 fsm: log calling file+line for error "event for NULL fi" Change-Id: I1970773440865f1415004bcf0164603468acf90b http://cgit.osmocom.org/osmocom-bb/commit/?id=b805cc19925b6815957ff470696887bfd74f2639 commit b805cc19925b6815957ff470696887bfd74f2639 Author: Neels Hofmeyr Date: Fri Dec 23 04:23:18 2016 +0100 fsm: doc: add missing file, line args; fix ws + tweak on one line Change-Id: I6af0d43ab0082e45df676c1d69b26310b59a8031 http://cgit.osmocom.org/osmocom-bb/commit/?id=cba8eb9b21afd26ce65ef5098f6a178bce800bb7 commit cba8eb9b21afd26ce65ef5098f6a178bce800bb7 Author: Neels Hofmeyr Date: Fri Dec 23 04:32:09 2016 +0100 fsm_test.c: fix compiler warning: timer cb return type Change-Id: Ifd7e85cd69b5e7e473000abc1ef7a56748aafc0e http://cgit.osmocom.org/osmocom-bb/commit/?id=1514f34dcfed3a8c46678861c488f7dbde856957 commit 1514f34dcfed3a8c46678861c488f7dbde856957 Author: Harald Welte Date: Sat Dec 24 17:59:36 2016 +0100 serial.c: file descriptor '0' is a valid value if stdin/stdout/stderr are all closed by our environment, it may very well be that opening a serial port returns fd == 0. Change-Id: Ifd9670260883a35da0629369e0d49e467d5b4d72 http://cgit.osmocom.org/osmocom-bb/commit/?id=d2510459a8b5f4ae0ee3740dd36ca1c4abd290b6 commit d2510459a8b5f4ae0ee3740dd36ca1c4abd290b6 Author: Harald Welte Date: Sat Dec 24 17:58:13 2016 +0100 serial.c: Fix fd leak in case of fcntl() error paths Change-Id: I14f934957e1086b803f3a7b9b5e6d602380f0be2 Fixes: Coverity CID 158987 http://cgit.osmocom.org/osmocom-bb/commit/?id=c68ce3b9fe1314f8133eed1e7246fdfee9295744 commit c68ce3b9fe1314f8133eed1e7246fdfee9295744 Author: Harald Welte Date: Fri Dec 23 22:59:27 2016 +0100 serial.c: Some ports don't support TIOCMBIS for RTS/CTS control So let's ignore the error we might get from this opreration. Change-Id: I69dad90403355b6512c3bf4c7fd10dd1dd985f01 http://cgit.osmocom.org/osmocom-bb/commit/?id=1db37820aaa0e83cfc7f26270f5bb3a6d9a27189 commit 1db37820aaa0e83cfc7f26270f5bb3a6d9a27189 Author: Harald Welte Date: Fri Dec 23 22:49:39 2016 +0100 serial: Open devie in non-blocking mode and then switch to blocking There are some serial ports that apparently block during the open in some circumstances. We don't want that. We want to either open it immediately, or fail fast. Change-Id: I626b138574bc50f4f4b09c4d609f3623ff512dff http://cgit.osmocom.org/osmocom-bb/commit/?id=a0f74f218bd5c805d1c190af54d80ed781241148 commit a0f74f218bd5c805d1c190af54d80ed781241148 Author: Harald Welte Date: Fri Dec 23 22:16:08 2016 +0100 add CRC16-CCITT to libosmocore Use the implementation from Linux lib/crc-ccitt.c (GPLv2) Change-Id: I26bb54038f5ab36bbb34da7f5fb8ae6c0c0386a4 http://cgit.osmocom.org/osmocom-bb/commit/?id=5e5954db8b2f340a10877ebabc895f27ad319231 commit 5e5954db8b2f340a10877ebabc895f27ad319231 Author: Harald Welte Date: Thu Dec 22 14:57:13 2016 +0100 Fix erroneously AGPL licensed file in libosmocore. libosmocore itself is GPLv2-or-later. Only the test cases are permitted to be AGPL licensed. Change-Id: I62f2eed6305bfa11a64c6d633e08aabeaf9f0b10 http://cgit.osmocom.org/osmocom-bb/commit/?id=126def710563e1d4b5f16f354176a2088d17e28c commit 126def710563e1d4b5f16f354176a2088d17e28c Author: Max Date: Wed Dec 21 11:35:13 2016 +0100 Integrate Debian packaging changes debian/control: * restructure to make it easier to incorporate further changes * update package descriptions * move build-depends to a proper place * update project URL debian/rules: * use proper hardening syntax * strip linker option without explicit shell invocation * remove useless comment * add extra cleanup debian/: package documentation separately debian/docs: remove empty file debian/coryright: update to match Debian format Change-Id: Ia7654d34730e9f269831612bfba70a1338ce29d3 Related: OS#1694 http://cgit.osmocom.org/osmocom-bb/commit/?id=7309e19358240100e56f2d6af8af61a5bb5630da commit 7309e19358240100e56f2d6af8af61a5bb5630da Author: Neels Hofmeyr Date: Sun Dec 18 23:45:36 2016 +0100 fsm: log tweak: upon free, say 'Freeing instance' Logging 'Release' is a bit ambiguous. At first I tought a subscriber connection was being released, IMHO 'Freeing instance' better describes that we are freeing an osmo_fsm_inst. Change-Id: I5cf99707d2ba5620b2988f777fa39cc806ec0212 http://cgit.osmocom.org/osmocom-bb/commit/?id=b6d58e8cc0cbf4654efe986eb706f8d3a91a6c76 commit b6d58e8cc0cbf4654efe986eb706f8d3a91a6c76 Author: Neels Hofmeyr Date: Wed Dec 21 14:35:46 2016 +0100 doc: fix typo for osmo_hexparse Change-Id: Ifc2b499792fda378c807c678b8e06630cb64d273 http://cgit.osmocom.org/osmocom-bb/commit/?id=18080960e1f85bb315d927d18e52656973834813 commit 18080960e1f85bb315d927d18e52656973834813 Author: Neels Hofmeyr Date: Fri Dec 16 13:43:54 2016 +0100 utils.h: add OSMO_STRINGIFY and OSMO_VALUE_STRING macros OSMO_STRINGIFY particularly allows putting port numbers from a #define into VTY doc strings, like: #define FOO_PORT 2342 DEFUN(..., "Foo UDP port (default: " OSMO_STRINGIFY(FOO_PORT) ")\n") OSMO_VALUE_STRING creates value_string items with the string being exactly the enum value's name. Replaces a similar macro def in fsm.c Change-Id: I857af45ae602bb9a647ba26cf8b0d1b23403b54c http://cgit.osmocom.org/osmocom-bb/commit/?id=4e72ee0d0f678ec91dee5ad33e8796b56e8c078d commit 4e72ee0d0f678ec91dee5ad33e8796b56e8c078d Author: Max Date: Tue Dec 13 18:41:17 2016 +0100 Catch-up with git version tags * update debian/changelog * update TODO-RELEASE * add comments to Makefile.am and TODO-RELEASE to simplify the process in future * add link to libtool docs to Makefile.am to simplify LIBVERSION maintenance Related: OS#1861 Change-Id: I22c257e357f597519120232d742d6a61289db021 http://cgit.osmocom.org/osmocom-bb/commit/?id=06ac9b40ed600cd36e1c0a158eb8f2ca01b1941f commit 06ac9b40ed600cd36e1c0a158eb8f2ca01b1941f Author: Neels Hofmeyr Date: Tue Dec 20 12:05:19 2016 +0100 fsm: term: safer iteration to remove all child FSMs When terminating child FSMs, restart iteration after every child, to make sure that we don't terminate a child twice. Terminating one child may emit events that in turn terminates other children. I created this patch because at first it looked like the cause of a bug, which turned out not to be the case. So I have no actual use case of this situation, but it does generally make sense to me, so submitting this. Change-Id: I00990b47e42eeb43707a9a42abcd9df52fe5f483 http://cgit.osmocom.org/osmocom-bb/commit/?id=42b59c1bf080a5ae785f576ba749afdf3bde598d commit 42b59c1bf080a5ae785f576ba749afdf3bde598d Author: Neels Hofmeyr Date: Tue Dec 20 12:06:05 2016 +0100 fsm api doc: fix typo in doxygen marker '\breif' Change-Id: I5c57e35b29d50cb409becada6b9b120ce5210ae0 http://cgit.osmocom.org/osmocom-bb/commit/?id=2ae5f186929a720b5604e2bd19ef54606b37fb87 commit 2ae5f186929a720b5604e2bd19ef54606b37fb87 Author: Neels Hofmeyr Date: Thu Dec 15 02:26:03 2016 +0100 fsm: explicitly log removal from parent fsm Since removing an FSM from its parent twice causes a segfault, it is very interesting to see when that is attempted. Removing could be made more robust, but logging is interesting for investigating why an FSM is being removed twice in the first place (currently the case in openbsc's vlr_lu_fsm). Change-Id: Idec6b7aa5344f1e903c9d2aa2a3640cab0d70fb0 http://cgit.osmocom.org/osmocom-bb/commit/?id=5c5c78aacd4cd15e1147c2e5dbb4dc9fca4da7e5 commit 5c5c78aacd4cd15e1147c2e5dbb4dc9fca4da7e5 Author: Neels Hofmeyr Date: Wed Dec 14 18:35:47 2016 +0100 add value strings for enum osmo_fsm_term_cause and use for logging Change-Id: Iaf63d3cadb0d46bf454e3314ebb439240cafd834 http://cgit.osmocom.org/osmocom-bb/commit/?id=a3953e0536a07b571fe3314d6e257db79b2dbe64 commit a3953e0536a07b571fe3314d6e257db79b2dbe64 Author: Neels Hofmeyr Date: Wed Dec 14 18:34:30 2016 +0100 typo in comment for osmo_fsm_log_addr() Change-Id: I6f683ed0c864a87bf1232994eb2deaf9b313a244 http://cgit.osmocom.org/osmocom-bb/commit/?id=725698a4f15b9403620951961984b68ed4148992 commit 725698a4f15b9403620951961984b68ed4148992 Author: Neels Hofmeyr Date: Wed Dec 14 17:24:54 2016 +0100 fsm: log caller's source for events and state changes, not fsm.c lines When looking at log output, it is not interesting to see that a state transition's petty details are implemented in fsm.c. Rather log the *caller's* source file and line that caused an event, state change and cascading events. To that end, introduce LOGPSRC() absorbing the guts of LOGP(), to be able to explicitly pass the source file and line information. Prepend an underscore to the function names of osmo_fsm_inst_state_chg(), osmo_fsm_inst_dispatch() and osmo_fsm_inst_term(), and add file and line arguments to them. Provide the previous names as macros that insert the caller's __BASE_FILE__ and __LINE__ constants for the new arguments. Hence no calling code needs to be changed. In fsm.c, add LOGPFSMSRC to call LOGPSRC, and add LOGPFSMLSRC, and use them in above _osmo_fsm_inst_* functions. In addition, in _osmo_fsm_inst_term(), pass the caller's source file and line on to nested event dispatches, so showing where a cascade originated from. Change-Id: Iae72aba7bbf99e19dd584ccabea5867210650dcd http://cgit.osmocom.org/osmocom-bb/commit/?id=6a13e7f563e3983c51363704bd2a65e691bafc3e commit 6a13e7f563e3983c51363704bd2a65e691bafc3e Author: Neels Hofmeyr Date: Wed Dec 14 17:37:34 2016 +0100 fsm: add LOGPFSML to pass explicit logging level Provide one central LOGPFSML to print FSM information, take the FSM logging subsystem from the FSM instance but use an explicitly provided log level instead of the FSM's default level. Use to replace some, essentially, duplications of the LOGPFSM macro. In effect, the fsm_test's expected error changes, since the previous code dup for logging events used round braces to indicate the fi's state, while the central macro uses curly braces. Change-Id: If295fdabb3f31a0fd9490d1e0df57794c75ae547 http://cgit.osmocom.org/osmocom-bb/commit/?id=886d6fdec605e47ec19a3e37dd9596c525178a54 commit 886d6fdec605e47ec19a3e37dd9596c525178a54 Author: Neels Hofmeyr Date: Mon Dec 12 13:49:03 2016 +0100 fix logging: log_set_category_filter() for internal DL* logging cats In log_set_category_filter(), passing a negative index lead to memory corruption. Particularly dangerous since the internal logging categories have negative values. Fix: apply map_subsys() to interpret negative values as internal logging categories. As a side effect, out-of-bounds logging categories will be mapped to DLGLOBAL instead of being dropped. Fix the expectations in logging_test to match the fixed bug. While at it also guard against a NULL logging target. Change-Id: Ib0725b22bc39498c6b3970a61eb3339cf56d19f1 http://cgit.osmocom.org/osmocom-bb/commit/?id=a4842afc83334f97653e6cca6220b19f53696509 commit a4842afc83334f97653e6cca6220b19f53696509 Author: Neels Hofmeyr Date: Mon Dec 12 14:11:31 2016 +0100 show bug in logging: log_set_category_filter on DL* categories Add a check to logging_test.c to show a bug: passing an internal DL* category constant to log_set_category_filter() results in a negative array index and undefined behavior. A sanitize build should catch this. The bug is confirmed by the fact that logging_test.err stays the same (hopefully) although a logging output should appear from this patch. The test could as well segfault or anything else, it's a bit of a gamble. This bug will be fixed along with the expectation in a subsequent patch. Change-Id: Ie2da77c642a84cafc0f528985930697ec167183b http://cgit.osmocom.org/osmocom-bb/commit/?id=748022694c57ce7b9412469b8190c7d232818a69 commit 748022694c57ce7b9412469b8190c7d232818a69 Author: Neels Hofmeyr Date: Mon Dec 12 16:00:24 2016 +0100 fix logging: out-of-bounds check should end with user categories To check category bounds, rather use num_cat_user, to redirect all semantically unknown categories to DLGLOBAL. Adjust logging_test expectations accordingly: "(d)" is now also shown. Note: subsys is and needs to be signed, while num_cat* are unsigned. Thus for a negative subsys, 'subsys >= num_cat_user' practically always yields true. Pay close attention to signedness and check upper bound only for positive values. Change-Id: I4a952b759f30d90fbfb81fedcfc56a8092ea18c1 http://cgit.osmocom.org/osmocom-bb/commit/?id=d1a145e5e782d07140422b85da9f55dd4b35a206 commit d1a145e5e782d07140422b85da9f55dd4b35a206 Author: Neels Hofmeyr Date: Mon Dec 12 15:53:51 2016 +0100 show bug in logging: out-of-bounds check should end with user categories In the background osmo_log_info array, the user's logging categories are enhanced by the library internal ones. So far logging category range checking only checked for the larger array bounds, although passing a logging category >= num_cat_user is already semantically unknown and should redirect to DLGLOBAL. Add a check to logging_test.c to show that this isn't happening. Instead of DLGLOBAL, a logging category that happens to be at that index is queried. The bug is confirmed by logging_test.err only showing "(e)" and not "(d)": "(e)" is shown because the first category after the user ones happens to be DLGLOBAL. "(d)" is omitted since it hits a category that's not on debug level. This bug will be fixed along with the expectation in a subsequent patch. Change-Id: I397278714018ee9a0ae5101515f31ddddf79c2ec http://cgit.osmocom.org/osmocom-bb/commit/?id=ca13574ba4eeb2c9e3ad865a570e6b5d3f05a3b6 commit ca13574ba4eeb2c9e3ad865a570e6b5d3f05a3b6 Author: Neels Hofmeyr Date: Mon Dec 12 14:18:54 2016 +0100 fix logging: also catch first out-of-bounds logging cat In map_subsys(), fix the '>' condition to '>=' for array bounds checking. Also make the bounds checking more strict: after both invocations of subsys_lib2index(), re-check validity of the array index. If the final index is still wrong, which should never happen, exit by assertion. Change-Id: I7ca1a1d47724e40350f1c4dfebe90bad01c965f9 http://cgit.osmocom.org/osmocom-bb/commit/?id=a280b82f8ea9ef5fc1aa6e2357d27d9d91219173 commit a280b82f8ea9ef5fc1aa6e2357d27d9d91219173 Author: Neels Hofmeyr Date: Mon Dec 12 14:42:56 2016 +0100 show bug in logging: erratic redirection to DLGLOBAL for first invalid category Add a check to logging_test.c to show a bug: when a logging category value that is the first out-of-bounds value is passed to the logging system, the internal map_subsys() fails to redirect to DLGLOBAL due to a flawed conditional. This results in a too large array index and undefined behavior. A sanitize build should catch this. The bug is confirmed by the fact that logging_test.err stays the same (hopefully) although a logging output should appear from this patch. The test could as well segfault or anything else, it's a bit of a gamble. This bug will be fixed along with the expectation in a subsequent patch. Change-Id: I12bf38b6c1f85e2d7bf5a15f942dfe0beed41eba http://cgit.osmocom.org/osmocom-bb/commit/?id=42240de04ce95e458b7b05cfa8357dae40e90b35 commit 42240de04ce95e458b7b05cfa8357dae40e90b35 Author: Neels Hofmeyr Date: Mon Dec 12 15:13:56 2016 +0100 fix logging: redirection to DLGLOBAL for invalid categories For out-of-bounds logging categories, redirect to the proper DLGLOBAL array index instead of returning -1. Adjust test expectation which shows that the bugs tested for are fixed. Note: there are separate bounds checking problems, left for another patch. Change-Id: I6ea9a59e005a22e0305454291714fdb9531c346b http://cgit.osmocom.org/osmocom-bb/commit/?id=85b42c46184118db2aaa50e44e97966523dd0269 commit 85b42c46184118db2aaa50e44e97966523dd0269 Author: Neels Hofmeyr Date: Mon Dec 12 14:34:41 2016 +0100 show bug in logging: erratic redirection to DLGLOBAL for invalid categories Add a check to logging_test.c to show a bug: when a logging category value that is out-of-bounds is passed to the logging system, the internal map_subsys() function should remap that to DLGLOBAL. But in fact DLGLOBAL is -1 and the function fails to map this to a proper positive array index, directly returning -1 instead. This results in a negative array index and undefined behavior. A sanitize build should catch this. The bug is confirmed by the fact that logging_test.err stays the same (hopefully) although a logging output should appear from this patch. The test could as well segfault or anything else, it's a bit of a gamble. This bug will be fixed along with the expectation in a subsequent patch. Note: osmo_log_info->num_cat + 0 is also out-of-bounds, but there is a separate bug there, so leaving this for another patch. Change-Id: I161b6550fa204a872bad1abefee1a6155393fafd http://cgit.osmocom.org/osmocom-bb/commit/?id=9adf32fb60206065026e9c3ef7088ef6bcc013be commit 9adf32fb60206065026e9c3ef7088ef6bcc013be Author: Neels Hofmeyr Date: Mon Dec 12 14:22:59 2016 +0100 logging test: cosmetic: print target and don't print color Prepares for upcoming modifications of the logging test to show and fix bugs in the logging system. Change-Id: I9461b987adf85d87469a6af55de5f1aa478f6ebb http://cgit.osmocom.org/osmocom-bb/commit/?id=3cc757df1822114bf446dc2d5f6a95da92321a25 commit 3cc757df1822114bf446dc2d5f6a95da92321a25 Author: Neels Hofmeyr Date: Thu Dec 8 17:47:25 2016 +0100 doc: osmocom-authn-protocol.txt: fix numbering, mark unused sync msgs Change-Id: Ic1ec5d00de406f9581377ef4b5547782a80f368a http://cgit.osmocom.org/osmocom-bb/commit/?id=d981efa97603594080d90956eb9e08bce8f4c371 commit d981efa97603594080d90956eb9e08bce8f4c371 Author: Neels Hofmeyr Date: Thu Dec 8 17:50:03 2016 +0100 oap: add encode/decode unit test Change-Id: I0e14099e2fc18e333a73d38bda059d53a8ca9944 http://cgit.osmocom.org/osmocom-bb/commit/?id=dd97950d26f0d5642bf4522219c1f7e475de6454 commit dd97950d26f0d5642bf4522219c1f7e475de6454 Author: Neels Hofmeyr Date: Thu Dec 8 17:48:24 2016 +0100 gsm/oap: more robust: decode presence as clearly either 1 or 0 Prepares for the unit test, which can now simply check for encode/decode identity. Change-Id: I410ff120d868e8d55df9cb19ba6eefd99749cdf0 http://cgit.osmocom.org/osmocom-bb/commit/?id=c0f00072929b126b21ba7bdfa2c93327ba652d08 commit c0f00072929b126b21ba7bdfa2c93327ba652d08 Author: Harald Welte Date: Wed Apr 27 18:32:35 2016 +0200 import oap message parsing / encoding from openbsc.git; AGPL->GPL In the process, also: * Change the license from AGPLv3 to GPLv2-or-later; * correct spelling of 'sysmocom' to lowercase; * add '2016' to the copyright; * rename to osmo_*; * add API docs; * add logging category DLOAP: define id and add to internal_cat; * redirect all oap.c logging to DLOAP. A unit test will follow in a subsequent patch, since it needs a minor tweak for decoding of boolean values. The related openbsc change-id is I2f06aaa6eb54eafa860cfed8e72e41d82ff1c4cf. Tweaked-by: Neels Hofmeyr Change-Id: If5099e60681a215e798b6675f21813f26769c253 http://cgit.osmocom.org/osmocom-bb/commit/?id=9795cf1b126d5567dbd0a25b56e9ba75be9513c1 commit 9795cf1b126d5567dbd0a25b56e9ba75be9513c1 Author: Neels Hofmeyr Date: Sat Dec 10 17:01:06 2016 +0100 fix: DLGSUP logging category "unusable" All DL* categories are typically negative, but DLGSUP isn't, and it's also not in libosmocore's internal_cat array. See: 3b6fb0880c3ab1e23a3d7d738d073b00c2a794c2 This means that a program using DLGSUP has to include DLGSUP in its own logging cat array (typically not needed for DL* categories), which means for osmo-nitb that DLGSUP (11) replaces DMGCP (also 11), and DMGCP becomes unusable. Fix this: make DLGSUP -11 and include in internal_cat. In gsup_test.c, no longer add DLGSUP to the logging categories array. External follow-ups are otherwise needed only in osmo-hlr.git and some pending patches for openbsc (Id3938267fa062e1a997d3704cd678874306f86ee). Change-Id: Id974c7be158e4d60421a98110f5c807aefd31119 http://cgit.osmocom.org/osmocom-bb/commit/?id=fd9ec3bc7dee3037754005c9e44dfce7246a6659 commit fd9ec3bc7dee3037754005c9e44dfce7246a6659 Author: Neels Hofmeyr Date: Sun Dec 11 01:48:26 2016 +0100 Fix VTY: add missing doc for 'log gsmtap [HOSTNAME]' Add missing doc string for the HOSTNAME arg. Added in commit aa00f99be2e4cc64ede20d8c9548b83054696581, this breaks the VTY tests for openbsc and hence breaks our jenkins build jobs. Change-Id: I734b22c950242541322e902887bf779c14ba10fd http://cgit.osmocom.org/osmocom-bb/commit/?id=aa00f99be2e4cc64ede20d8c9548b83054696581 commit aa00f99be2e4cc64ede20d8c9548b83054696581 Author: Harald Welte Date: Fri Dec 2 15:30:02 2016 +0100 Implement GSMTAP log target This target wraps the to-be-logged string (With metadata) into a GSMTAP packet and sends it to the configured destination address. Change-Id: I9a7e72b8c9c6f6f2d76d1ea2332dcdee12394625 http://cgit.osmocom.org/osmocom-bb/commit/?id=a65e99331a9699a09d2661b595c1723eea51873f commit a65e99331a9699a09d2661b595c1723eea51873f Author: Harald Welte Date: Fri Dec 2 13:54:36 2016 +0100 gsmtap: Add defintions for GSMTAP based remote logging Often it is useful to have log statements from the osmocom programs synchronized with protocol traces. So rather than having to open the pcap file with GSMTAP or other protocol data side-by-side with the textual log of one or more network elements, we simply pass the log lines around as GSMTAP messages, which can then be displayed in-order and interspersed with the protocol messages inside wireshark. Change-Id: I33ab530e10ef0311b6f80b731e61894f20b4b3e7 http://cgit.osmocom.org/osmocom-bb/commit/?id=a24be85dc41885ee77072af9f079c69c575061e9 commit a24be85dc41885ee77072af9f079c69c575061e9 Author: Harald Welte Date: Fri Dec 9 17:58:17 2016 +0100 Fix msgb_test on 64 bit architectures truncating the unsigned long pointer msg->data to 'int' and then passin git into msgb_resize_area() is unsafe as depending on the 32rd address bit it will be eiether negative or positive. That will in turn change the expected "Sub area is not fully contained in the msg data\n" error message into "Negative sizes are not allowed\n" which is not what the autotest case expects. Change-Id: I87ce13c265704d4ba8724e7dc7ed874c1128e0fa http://cgit.osmocom.org/osmocom-bb/commit/?id=665d48bf15602e8666b292dbe66881786af2ea95 commit 665d48bf15602e8666b292dbe66881786af2ea95 Author: Neels Hofmeyr Date: Mon Nov 14 14:17:14 2016 +0100 cosmetic: gsup comments: write 'Generic' for the G in GSUP The G used to mean GPRS, but the scope is larger now. To satisfy the curious reader, give the G a name in gsup files' header comments. BTW, logging.h and gsup_test.c already mentioned "Generic" before this. Change-Id: I6ac5cf94c215e156ceff6a58da3d9e520ca942d9 http://cgit.osmocom.org/osmocom-bb/commit/?id=5f460dee3d9c0dca3221d80ca5a9701521e647c7 commit 5f460dee3d9c0dca3221d80ca5a9701521e647c7 Author: Neels Hofmeyr Date: Thu Dec 8 16:23:05 2016 +0100 license: gsup: libosmogsm requires GPL, not AGPL; say 'sysmocom' The copyright in gsup.h differed from the one in gsup.c: gsup.c names the GNU Affero GPL, gsup.h only the GNU GPL. Change both to GPL-v2-or-later. In gsup.c/h's copyright notice, 'sysmocom' should be spelled lower case. Change-Id: Ia5748c275501889b9086aef7d20ccb5c9edb8031 http://cgit.osmocom.org/osmocom-bb/commit/?id=dda5e7991c5dd55845a176848c6dc98bc37cfe6c commit dda5e7991c5dd55845a176848c6dc98bc37cfe6c Author: Neels Hofmeyr Date: Fri Dec 9 16:10:34 2016 +0100 doc: fsm timer_cb: explain return value Change-Id: Ic6fbe95737862ed8b8de78058989c8b2ae330006 http://cgit.osmocom.org/osmocom-bb/commit/?id=0898a007bac173f0a61564914d54d0496a851235 commit 0898a007bac173f0a61564914d54d0496a851235 Author: Neels Hofmeyr Date: Wed Nov 16 14:36:29 2016 +0100 contrib: add fsm-to-dot.py to draw osmo_fsm dotty graphs Add a first version of a python script that tries to analyze .c source files to draw graphs of osmo_fsm implementations. So far it uses quick-and-dirty regexes. Change-Id: I155f57a608d600f59aedfd27ef66eb9772c124e7 http://cgit.osmocom.org/osmocom-bb/commit/?id=c7f52c4c84d6a8898048738c4db9266289c40b45 commit c7f52c4c84d6a8898048738c4db9266289c40b45 Author: Holger Hans Peter Freyther Date: Sat Nov 12 21:25:21 2016 +0100 wqueue: Reject messges if queue is considered full The write queue was always meant to not queue more than the max_length messages but the implementation never rejected a message. Begin to log and enforce the queue size limit, add a testcase to verify the code and initialize except_cb as part of a fix for that new test case. Real applications might now run into the queue limit and drop messages where they just queued them before. It is unfortunate but I still think it is good to implement the routine as it was intended. We need to review osmo_wqueue_enqueue once more to see that no msgb is leaked. Change-Id: I1e6aef30f3e73d4bcf2967bc49f0783aa65395ae http://cgit.osmocom.org/osmocom-bb/commit/?id=d7c0a373ff38b28a14fd7ee1cc6be3cfbddbd850 commit d7c0a373ff38b28a14fd7ee1cc6be3cfbddbd850 Author: Harald Welte Date: Fri Dec 2 13:52:59 2016 +0100 logging: Extend log_target with call-back for un-formatted log line Some targets might not want to receive only an opaque, pre-formatted string, but rather the unformatted arguments with metadata like sub-system/level/file/line. We solve this by introducing a log_target->output_raw() function pointer. If a target specifies this function, it takes precedence over the regular log_target->output() function. Change-Id: I9dc9205d70dce9581458e7e9dc2d8a92991897bd http://cgit.osmocom.org/osmocom-bb/commit/?id=909cbecbb9d3223b3b372849564600bb9be7fbda commit 909cbecbb9d3223b3b372849564600bb9be7fbda Author: Neels Hofmeyr Date: Fri Dec 2 02:30:51 2016 +0100 Revert "gsm0408: add chreq_type for CHREQ_T_PDCH_ONE_PHASE and CHREQ_T_PDCH_TWO_PHASE" This reverts commit c3c28528de78fd5d50c3a141c2176c0da5dd7075. The reason is that this breaks a static assert in openbsc. See https://lists.osmocom.org/pipermail/openbsc/2016-December/009906.html Enlarging the ctype_by_chreq struct and breaks the static assert for gsm_network->ctype_by_chreq's size: ../../../src/libbsc/gsm_04_08_utils.c:138:1: error: size of array ???dummyassert_size??? is negative osmo_static_assert(sizeof(ctype_by_chreq) == ^ What this patch lacks is, in openbsc.git: * adjustment of ctype_by_chreq[] according to the new additions in libbsc/gsm_04_08_utils.c * same for reason_by_chreq[], also in libbsc/gsm_04_08_utils.c * enlarge ctype_by_chreq[] in gsm_network to 18, in openbsc/gsm_data.h. Leaving it up to the original authors to follow up and commit a complete patch series in one go. http://cgit.osmocom.org/osmocom-bb/commit/?id=bc1d758299a1c9ac3f5902f6417cdbcc1d5c1db4 commit bc1d758299a1c9ac3f5902f6417cdbcc1d5c1db4 Author: Neels Hofmeyr Date: Sat Nov 26 15:21:15 2016 +0100 gsm0480: add gsm0480_create_ussd_notify() and *_release_complete() Add two functions to create USSD messages. Moves and generalizes code from openbsc. Pending: use the new functions in openbsc. It looks like _release_complete() should also set trans_id and direction flag; but since this is moving code from openbsc that is apparently working, just place a fixme comment and don't change the functionality. Change-Id: Ia80e32c7105359915bfad3cc5621a1c09caf20f0 http://cgit.osmocom.org/osmocom-bb/commit/?id=25774b9839a9842affc6fef925166b3b9481b466 commit 25774b9839a9842affc6fef925166b3b9481b466 Author: Neels Hofmeyr Date: Sat Nov 26 15:21:05 2016 +0100 gsm0480: code dup: introduce and use gsm0480_l3hdr_push() Add function gsm0480_l3hdr_push() to push a struct gsm48_hdr to the start of a msgb. Use in gsm0480.c and gsm0411_utils.c. Further callers of the new function will follow in openbsc as well as another libosmocore patch for ussd. Change-Id: I54fce6053ab8362015686fe22dbcd38bf1366700 http://cgit.osmocom.org/osmocom-bb/commit/?id=c3c28528de78fd5d50c3a141c2176c0da5dd7075 commit c3c28528de78fd5d50c3a141c2176c0da5dd7075 Author: Alexander Couzens Date: Tue Nov 29 12:42:05 2016 +0100 gsm0408: add chreq_type for CHREQ_T_PDCH_ONE_PHASE and CHREQ_T_PDCH_TWO_PHASE For BSC-located pcu the BSC must understand the PDCH chan request. Change-Id: Ice44dcaaf798f93af3652a96c567f8e16a6cf784 http://cgit.osmocom.org/osmocom-bb/commit/?id=ec9bd5262847f8e697c1c43e14ba48030a44672b commit ec9bd5262847f8e697c1c43e14ba48030a44672b Author: Alexander Couzens Date: Mon Nov 28 23:22:14 2016 +0100 timer: only call the callback if not NULL Fix a crash in osmo-sgsn. Change-Id: I04d58d9580708cc0f6d0f4aa17d3e9f2c6235c8e http://cgit.osmocom.org/osmocom-bb/commit/?id=edf6fe75b72c10190057c65bdff467e5585ea6d7 commit edf6fe75b72c10190057c65bdff467e5585ea6d7 Author: Harald Welte Date: Sat Nov 26 10:06:07 2016 +0100 ctrl_cmd_parse: Make coverity FORWARD_NULL happy The 'strtok_r' function requires passing a NULL as the first parameter on subsequent calls in order to ensure the code picks up where it left off on a previous call. However, Coverity doesn't quite realize this and points out that if a NULL was passed in as the third argument it would result in a possible NULL deref because the strtok_r function will assign the third argument to the first in the call is NULL. Change-Id: I7a9d08d0d4eae76a5207d285e32a25d1b384a57f Fixes: Coverity CID 135186 http://cgit.osmocom.org/osmocom-bb/commit/?id=aeecc48c45e539e0e176dd13d86423e37ffbcee0 commit aeecc48c45e539e0e176dd13d86423e37ffbcee0 Author: Harald Welte Date: Sat Nov 26 10:41:40 2016 +0100 Introduce osmo_strlcpy() function so we can stop using strncpy() I'm aware of the existing criticism on stlrcpy(), but I think it is still better than what we have now: stnrcpy(), sometimes with Coverity warnings and sometimes with a manual setting of the termination byte. The implementation follows the linux kernel strlcpy() which is claimed to be BSD compatible. We could of course link against libbsd on Linux instead, but I think it's reasonably small and simple to provide our own implementation. Future versions of libosmocore could use some autoconf magic and preprocessor macros to use the system-provided strlcpy() if it exists. Change-Id: Ifdc99b0e3b8631f1e771e58acaf9efb00a9cd493 http://cgit.osmocom.org/osmocom-bb/commit/?id=1fa78567e4e1963a28711b9b47111b840b50cfdb commit 1fa78567e4e1963a28711b9b47111b840b50cfdb Author: Harald Welte Date: Sat Nov 26 10:14:53 2016 +0100 osmo_gsup_encode(): Make coverity happy by invariant checking gsm48_encode_bcd_number() can theoretically return a length in excess of the size of the bcd_buf, but only in case an overly-long IMSI is passed into the function (which would be illegal in the first place). Change-Id: If3dc68ee13ff784b487bbc686b777cec9057d537 Fixes: Coverity CID 135216 http://cgit.osmocom.org/osmocom-bb/commit/?id=9533631e531671e7029bbe7bc2e264d9080f56c7 commit 9533631e531671e7029bbe7bc2e264d9080f56c7 Author: Harald Welte Date: Sat Nov 26 09:54:40 2016 +0100 osmo-sim-test.c: Fix rmsg check we wanted to check for !rmsg, but used to check for !msg, missing error returns from read_record_nr(). Change-Id: I79b6a94b1aa947c8329317b0626865c3cd4159c1 Fixes: Coverity CID 57672 http://cgit.osmocom.org/osmocom-bb/commit/?id=4a1cb09a40aaba7f412d1384b2a1a06934310359 commit 4a1cb09a40aaba7f412d1384b2a1a06934310359 Author: Harald Welte Date: Sat Nov 26 00:11:53 2016 +0100 telnet_interface: Handle osmo_fd_register() eror return code Change-Id: I5bc1c2cbb04e363d868355b5ed866b4840f16c61 Fixes: Coverity 57637 http://cgit.osmocom.org/osmocom-bb/commit/?id=0fc315dd9ed35ab9d32b60cbcd225f413b6a601e commit 0fc315dd9ed35ab9d32b60cbcd225f413b6a601e Author: Harald Welte Date: Sat Nov 26 10:18:24 2016 +0100 osmo_sock_init(): Fix memory leak in error path We forgot to call freeaddrinfo() in an error path. Change-Id: Iccbd3beef4c4a70dc443131b909c45e650d8c6a2 Fixes: Coverity CID 135217 http://cgit.osmocom.org/osmocom-bb/commit/?id=9d862c89989e5841a2242ed0cde0e6fa0f4a6d2e commit 9d862c89989e5841a2242ed0cde0e6fa0f4a6d2e Author: Harald Welte Date: Sat Nov 26 00:10:07 2016 +0100 Fix unchecked return valueof osmo_fd_register() Change-Id: Ib040a7f94eb1bbec8270b66fd4c2aedef9d5346a Fixes: Coverity CID 57636 http://cgit.osmocom.org/osmocom-bb/commit/?id=96831049d926a6faf291a8ce29433e7718369b58 commit 96831049d926a6faf291a8ce29433e7718369b58 Author: Neels Hofmeyr Date: Tue Nov 15 17:31:14 2016 +0100 build: make check: disable sim_test when built with --disable-pcsc Numerous issues caused sim_test to be attempted even though libosmosim was not built: In configure.ac, the ENABLE_PCSC variable lacked an AC_SUBST() to be exported. Furthermore in configure.ac, no value 'yes'/'no' was assigned to the ENABLE_PCSC variable, only to the enable_pcsc value. In testsuite.at, encapsulating the sim_test in 'if ENABLE_PCSC' seems to have no effect, regardless (not even when using a variable that should be defined accurately). So fix with these steps, similarly to how we do it in openbsc: In AC_ARG_ENABLE, directly use 'ENABLE_PCSC' to assign 'yes'/'no'. Export the same using AC_SUBST(). Add tests/atlocal.in to translate ENABLE_PCSC to enable_sim_test (also add atlocal to AC_OUTPUT and distclean). Use enable_sim_test in testuite.at, as seen in openbsc: use AT_CHECK() to indicate skipping the test if enable_sim_test isn't 'yes'. Change-Id: I9e8740c7d2dfbd272e22fee85972ef3fda7184a8 http://cgit.osmocom.org/osmocom-bb/commit/?id=6e363e7e31761f47d06d4074670d85693d03c038 commit 6e363e7e31761f47d06d4074670d85693d03c038 Author: Harald Welte Date: Wed Nov 16 16:58:52 2016 +0100 gsm_08_58.h: Add more Ericsson specific RSL IE Identifiers Change-Id: Ib43948da956f23609b1b0995ecac0c796cc7c629 http://cgit.osmocom.org/osmocom-bb/commit/?id=00b15390079630588de6a8c6092a1df690d723db commit 00b15390079630588de6a8c6092a1df690d723db Author: Philipp Date: Mon Nov 14 12:34:15 2016 +0100 RSL: Add defines for ericsson systinfo SI13 Ericsson uses non standard information element tags when setting up the SI13 system information configuration. This applies to RSL_SYSTEM_INFO_13, which is normally 0x28, instead Ericsson uses RSL_ERIC_SYSTEM_INFO_13, which is set to 0x0C. Furthermore, Ericsson adds a propritary field called BCCH-Mapping, which is tagged as 0xf2 (RSL_IE_ERIC_BCCH_MAPPING) This patch addes these two information element tags in gsm_08_58.h Change-Id: Idc27352e286b9b8bbcbf0b31bdb676c3d13487a9 http://cgit.osmocom.org/osmocom-bb/commit/?id=9b4d065ba5b75d564845d6aeef6596ce5768b2a3 commit 9b4d065ba5b75d564845d6aeef6596ce5768b2a3 Author: Max Date: Tue Nov 15 19:21:23 2016 +0100 Extend IPA error logging Output more information in case of IPA protocol errors to make debugging easier. Change-Id: I7632d6e679e076bfbec9abc12da4a46cc27ccea1 Related: SYS#3028 http://cgit.osmocom.org/osmocom-bb/commit/?id=55363a9f621566d82fc30408a6c657d9e81f5789 commit 55363a9f621566d82fc30408a6c657d9e81f5789 Author: Daniel Willmann Date: Tue Nov 15 10:05:51 2016 +0100 vty: Skip printing non-initialized log categories Without this patch the vty command show logging vty will cause a segfault if not all elements of the log_categories array are defined. Ticket: OW#3053 Sponsored-by: On-Waves ehf Change-Id: Ieeba649c3bde6c9376d8e32b00b92beb37c08ef2 http://cgit.osmocom.org/osmocom-bb/commit/?id=8593f1f57a5140a34cd4f7063c2e7fcb54e1837b commit 8593f1f57a5140a34cd4f7063c2e7fcb54e1837b Author: Harald Welte Date: Fri Nov 11 19:26:51 2016 +0100 msgb: add msgb_push_u{8,16,32}() functions Those work analoguous to msgb_put_*() but pre-pend the given value into the msg headroom, rather than appending it to the end. Change-Id: I7de63e9d04c2d2b678f1f20eef37f9be2c4f5ec2 http://cgit.osmocom.org/osmocom-bb/commit/?id=6176b6e0924f2bd7d212472bcba9dddf8ac32f51 commit 6176b6e0924f2bd7d212472bcba9dddf8ac32f51 Author: Harald Welte Date: Fri Nov 11 15:10:33 2016 +0100 bssgp_rx_paging(): Fix parsing of P-TMSI IE in Paging message This was actually discovered by the following compiler warning in gcc-6.2.0: CC gprs_bssgp_bss.lo gprs_bssgp_bss.c: In function ???bssgp_rx_paging???: gprs_bssgp_bss.c:544:2: warning: this ???if??? clause does not guard... [-Wmisleading-indentation] if (TLVP_PRESENT(&tp, BSSGP_IE_TMSI) && ^~ gprs_bssgp_bss.c:548:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ???if??? *(pinfo->ptmsi) = ntohl(*(uint32_t *) ^ This is an actual bug. If we recevied a BSSGP Paging Request without P-TMSI, we might crash or report some random memory as P-TMSI to the caller in the output data structure. Change-Id: Ib4f307827cd7cccc91c1415a6fb5428d7cf8416d http://cgit.osmocom.org/osmocom-bb/commit/?id=c4193d30e82307b87a7a7bce3ea5ed48f2f2f716 commit c4193d30e82307b87a7a7bce3ea5ed48f2f2f716 Author: Harald Welte Date: Fri Nov 11 15:21:52 2016 +0100 gan: Mark gan_pdisc_vals[] as public / non-static symbol It is actually listed in libosmogsm.map, but still used to be a static symbol. That couldn't have worked. Change-Id: I6f3f04b683d906674ee7da9bab5762bb00cea916 http://cgit.osmocom.org/osmocom-bb/commit/?id=684cf322434e9cadd03773c2d120b9e29a1a1d48 commit 684cf322434e9cadd03773c2d120b9e29a1a1d48 Author: Harald Welte Date: Fri Nov 11 15:07:35 2016 +0100 bssgp_vty: Remove dead code and compiler warning gprs_bssgp_vty.c:48:34: warning: ???gprs_bssgp_timer_strs??? defined but not used [-Wunused-const-variable=] static const struct value_string gprs_bssgp_timer_strs[] = { ^~~~~~~~~~~~~~~~~~~~~ Change-Id: Ia41ccb7b227c41996cdef51dc6779bfc5b5a8d48 http://cgit.osmocom.org/osmocom-bb/commit/?id=1554f80f5e271ed2ffb918127a234a3804cedef4 commit 1554f80f5e271ed2ffb918127a234a3804cedef4 Author: Harald Welte Date: Fri Nov 11 15:06:06 2016 +0100 statsd: Fix compiler warning (int32_t vs. int64_t) Fixes the following compiler warning: stats_statsd.c: In function ???osmo_stats_reporter_create_statsd???: stats_statsd.c:54:18: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] srep->send_item = osmo_stats_reporter_statsd_send_item; Change-Id: Id36914906e0982f6ac092a311210727de66b343a http://cgit.osmocom.org/osmocom-bb/commit/?id=bf173a3df5dce2c875f057bcfbffcf4b8c642fe5 commit bf173a3df5dce2c875f057bcfbffcf4b8c642fe5 Author: Holger Hans Peter Freyther Date: Sat Oct 29 21:36:02 2016 +0200 bitcomp: Remove the t4 decoding from libosmocore As outlined by mail on the 13th of July the tree based approach to decoding in the PCU is faster by order of magnitude. Instead of having a slow implementation in the library and a quick one in the PCU, let's only have a quick one in the PCU and at some point in the future move it to libosmocore. Execute the plan and remove t4_decode. Change-Id: I021424444625a097560d086c217c81eac4a5ee44 http://cgit.osmocom.org/osmocom-bb/commit/?id=3de97e192688b75a24077bb7072030f4a4dc5ef3 commit 3de97e192688b75a24077bb7072030f4a4dc5ef3 Author: Max Date: Wed Nov 2 10:37:58 2016 +0100 Add logging and testing for FSM deallocation osmo_fsm_inst_alloc() logs allocation but osmo_fsm_inst_free() is silent. Fix this by adding log message for deallocation to make FSM lifecycle tracking easier. Also make sure it's covered by test suite. Change-Id: I7e5b55a1fff8e36cf61c7fb61d3e79c1f00e29d2 http://cgit.osmocom.org/osmocom-bb/commit/?id=e9e5f8e4e9aa3fdce06d144381d9621552476387 commit e9e5f8e4e9aa3fdce06d144381d9621552476387 Author: Max Date: Mon Nov 7 14:49:13 2016 +0100 Add null-pointer check to osmo_amr_rtp_dec() Check that RTP payload we're about to decode is not NULL and return proper error code instead of segfaulting. Add corresponding test case. Change-Id: Ib6cda9900a41ed16bbfbde9df3de9d38e0a7469b http://cgit.osmocom.org/osmocom-bb/commit/?id=8b25a3f5c38a9297f9213cb6e70b7599ba999fbe commit 8b25a3f5c38a9297f9213cb6e70b7599ba999fbe Author: Max Date: Tue Nov 1 11:02:17 2016 +0100 Add osmo_fsm_unregister() to header Previously function was defined but not exposed so there were a way to register FSM but no way to unregister it. Change-Id: I2e749d896009784b77d6d5952fcc38e1c131db2b http://cgit.osmocom.org/osmocom-bb/commit/?id=f9c2c56c7d05dfdb076840a6c091d6341db725d4 commit f9c2c56c7d05dfdb076840a6c091d6341db725d4 Author: Vadim Yanitskiy Date: Tue Nov 1 22:19:28 2016 +0700 utils/conv_gen.py: explicitly import reduce() This change finally makes the script able to be executed in Python 3 environment. Due to new Python 3 restrictions, the reduce() should be imported explicitly. Change-Id: Icbc81c29f1a226aeed2c1245a5d60809fe124005 http://cgit.osmocom.org/osmocom-bb/commit/?id=45ebc523c6b4825ab780a528fc87ab5c70bf867f commit 45ebc523c6b4825ab780a528fc87ab5c70bf867f Author: Vadim Yanitskiy Date: Thu Oct 27 02:19:37 2016 +0700 utils/conv_gen.py: don't mix print and write() This is mostly a code style change, but it also increases the compatibility with Python 3. Change-Id: I5c8271d973f766aeb9cbcab30c4eddfdab54fcbb http://cgit.osmocom.org/osmocom-bb/commit/?id=61281f4c4780ede1545e9e8499278789433d3d30 commit 61281f4c4780ede1545e9e8499278789433d3d30 Author: Max Date: Tue Nov 1 10:49:31 2016 +0100 Fix typo in osmo_fsm_log_addr() Previously function parameter was ignored, fsm_log_addr was always set to false. Change-Id: I74f06eab2dfa81dbb95e01f0b4b26448fd1b98f8 http://cgit.osmocom.org/osmocom-bb/commit/?id=72e43f02c3408ec85c259ee483ac75f01ecb6cad commit 72e43f02c3408ec85c259ee483ac75f01ecb6cad Author: Philipp Date: Thu Oct 27 13:35:20 2016 +0200 gsm0408: Completing GSM 04.08 RR message types - Add missing message types to be up to date with the latest specification release (3GPP TS 04.18) - Add value strings to translate RR message type identifiers into human readable strings. (see gsm48_rr_msg_name() in gsm48.h Change-Id: I3ceb070bf4dc8f5a071a5d43c6aa2d4e84c2dec6 http://cgit.osmocom.org/osmocom-bb/commit/?id=ada0042c587395ba1a8430504d761d532610ba5c commit ada0042c587395ba1a8430504d761d532610ba5c Author: Philipp Date: Thu Oct 27 13:30:16 2016 +0200 COSMETIC: moving rr_cause_name() in gsm48.c rr_cause_name() is located a far of from value_string rr_cause_names[] while other value string functions are located right below their related value string definitions. This commit moves rr_cause_name() below rr_cause_names[] as it should be Change-Id: Ie6c03a6ea02c370d8733db5ba2a709610cd70ce7 http://cgit.osmocom.org/osmocom-bb/commit/?id=a6b5216ab4b7acfaa2b0b9d421fc72f6153fad59 commit a6b5216ab4b7acfaa2b0b9d421fc72f6153fad59 Author: Vadim Yanitskiy Date: Thu Sep 8 22:06:07 2016 +0700 utils/conv_gen.py: add EDGE MCS 1-9 definitions Change-Id: Ie1452342f524a8b60f2babc07398a1d9c9e06aa3 http://cgit.osmocom.org/osmocom-bb/commit/?id=84fc2ce210d57f2d59d2a5c1599d45746c8ffeff commit 84fc2ce210d57f2d59d2a5c1599d45746c8ffeff Author: Vadim Yanitskiy Date: Thu Sep 8 20:30:36 2016 +0700 utils/conv_gen.py: fix some typos Change-Id: I3327b92715744af4ef61496ef0121555d9d24799 http://cgit.osmocom.org/osmocom-bb/commit/?id=f3d38c493722b4d3cb6bd5dbd9a30d5681a7cdf2 commit f3d38c493722b4d3cb6bd5dbd9a30d5681a7cdf2 Author: Vadim Yanitskiy Date: Wed Sep 7 23:09:49 2016 +0700 utils/conv_gen.py: add RACH, SCH and TCH/AHS definitions Change-Id: I0ea7151f4e8119a8798a9e129b951559e56b0d93 http://cgit.osmocom.org/osmocom-bb/commit/?id=c7a01d554e3ad3af205e70a29685c3d32333bfdd commit c7a01d554e3ad3af205e70a29685c3d32333bfdd Author: Vadim Yanitskiy Date: Wed Sep 7 23:03:05 2016 +0700 gsm/gsm0503.h: fix typo Change-Id: I263d61111544eeb7227e1e0e8f2d14479eae2079 http://cgit.osmocom.org/osmocom-bb/commit/?id=6908fa783d85ef4391755757bf4856a2d5ba860c commit 6908fa783d85ef4391755757bf4856a2d5ba860c Author: Vadim Yanitskiy Date: Wed Sep 7 22:34:53 2016 +0700 utils/conv_gen.py: improve output formatting To keep the generated tables readable, line with should be limited. So, now there are the following limitations: - _print_term(): up to 12 numbers per line, - _print_puncture(): up to 12 numbers per line, - _print_x(): up to 4 blocks per line. Change-Id: I95256c4ad402a3c088bdb6c5a5cda8b17c31881c http://cgit.osmocom.org/osmocom-bb/commit/?id=d2d9760c08f35a231d32f0ebeb73b2927e5573b3 commit d2d9760c08f35a231d32f0ebeb73b2927e5573b3 Author: Vadim Yanitskiy Date: Wed Sep 7 22:18:10 2016 +0700 utils/conv_gen.py: generate a single file Instead of generating every convolutional code into a separate file (such as conv_xcch_gen.c, conv_cs3_gen.c), it is better to have a single file, containing all definitions, because as many convolutional codes we add, as many entries we will have to add into 'src/gsm/Makefile.am'. This approach increases readability of the Makefile.am, and also makes us able to share some data between some convolutional code definitions. For example: xCCH, RACH, SCH, TCH/F, both CS2 and CS3 may use the same *_state[][2] and *_output[][2] arrays within a single file. This optimization is currently WIP. Change-Id: Ib4e4ee5fdde38429e68e3b2fa50ec03a18f59daa http://cgit.osmocom.org/osmocom-bb/commit/?id=694f72d148882987cc8e4ffd0c4143d8099e09bf commit 694f72d148882987cc8e4ffd0c4143d8099e09bf Author: Neels Hofmeyr Date: Thu Oct 20 13:46:23 2016 +0200 Revert "Constify ctrl_cmd struct fields where appropriate" This reverts commit ed9d6da5df98538adc70aa03cb569eb9505d04b6. The commit is good as such, but it causes many compiler warnings in the OpenBSC build. We want this to be re-applied as soon as we have patches ready that fix the fallout in openbsc.git. See also https://lists.osmocom.org/pipermail/openbsc/2016-October/009802.html Related: OS#1829 Change-Id: I722ad60232a6ef5b4cb984b92c42851de26b3ccd http://cgit.osmocom.org/osmocom-bb/commit/?id=eb604cf44f2182904e9e104c5d226d7391e54102 commit eb604cf44f2182904e9e104c5d226d7391e54102 Author: Alexander Couzens Date: Fri Oct 14 13:54:47 2016 +0200 vty/show asciidoc: counters: improve table headers add [options=header] to every table header vty/show asciidoc: rename reference field into "Reference" vty/show asciidoc: capilize table header field names Change-Id: Ie991f4db77a60afb86a2a0b35c137586527f6228 http://cgit.osmocom.org/osmocom-bb/commit/?id=e052dc285d094df565b2de2974e76d522fe15195 commit e052dc285d094df565b2de2974e76d522fe15195 Author: Alexander Couzens Date: Tue Oct 4 18:04:37 2016 +0200 vty/show asciidoc: add user readable description of the version Change-Id: Ie0f1b3894361c58386da9defb225979fa0ee6a18 http://cgit.osmocom.org/osmocom-bb/commit/?id=27a35ed47c6eb70665c6c484dee64fa06649de10 commit 27a35ed47c6eb70665c6c484dee64fa06649de10 Author: Alexander Couzens Date: Tue Oct 4 17:13:58 2016 +0200 stats_statsd: use int64_t instead of int for value and delta. The stats infrastructure use int64_t for values and delta. So the statsd reporter get call with int64_t. Change-Id: I33df86de60007a64fa853d6d3af9b609877a8fc6 http://cgit.osmocom.org/osmocom-bb/commit/?id=3e432e1912c0e531c55e1c6c75c758b0fde9887e commit 3e432e1912c0e531c55e1c6c75c758b0fde9887e Author: Alexander Couzens Date: Tue Oct 4 11:24:02 2016 +0200 vty/osmo_counter: use name if description is NULL `show stats` shows (null) for osmocom_counters when description is null. OpenBSC> show stats Ungrouped counters: (null): 4 Change-Id: I553b88a6fca688924b1f2b49e8cb17e90f057bb1 http://cgit.osmocom.org/osmocom-bb/commit/?id=a23817622b28cb1969a73ffd36da501eb29b9cd7 commit a23817622b28cb1969a73ffd36da501eb29b9cd7 Author: Neels Hofmeyr Date: Fri Sep 30 01:25:45 2016 +0200 configure: add --enable-sanitize, use in jenkins.sh --enable-sanitize adds address sanitizer CFLAGS/CPPFLAGS to the entire build. Also pass UBSAN_OPTIONS to the test suite run (only has effect during runtime). Add this flag to jenkins.sh's configure step. To ensure that we get the sanitize results, add 'make check' to jenkins to catch sanitize failures; Keep 'make distcheck' without ASAN; it has its own configure which omits --enable-sanitize. This way we test both with and without ASAN. Change-Id: Idf7f46fa048608c2951f2473cb528f6c8dc2681d http://cgit.osmocom.org/osmocom-bb/commit/?id=2b3c228416263eee6e261c3c589f1a18e54d9a27 commit 2b3c228416263eee6e261c3c589f1a18e54d9a27 Author: Neels Hofmeyr Date: Wed Oct 12 15:27:42 2016 +0200 gsm/Makefile.am: use proper top_builddir/top_srcdir paths This fixes the conv*gen.c targets when building in a different directory than the source tree. Notably, building in a different dir worked when the generated sources were already present from a previous build inside the source directory. Change-Id: I5a9b780ad4ba607ea39854dcf7207ed05f5447bc http://cgit.osmocom.org/osmocom-bb/commit/?id=bc067eb0a20a7feadb5dbb3b4169cb8f9286a455 commit bc067eb0a20a7feadb5dbb3b4169cb8f9286a455 Author: Max Date: Thu Aug 4 11:07:08 2016 +0200 Add function to send TRAP over Control Interface Change-Id: Ic0b8d88c4f5c4d42c3f8fb754f8eabf049c9e388 Related: OS#1646 http://cgit.osmocom.org/osmocom-bb/commit/?id=530736f3153da2cc6774ad0d070b8c6fbf432a98 commit 530736f3153da2cc6774ad0d070b8c6fbf432a98 Author: Neels Hofmeyr Date: Fri Oct 7 00:43:57 2016 +0200 jenkins.sh: drop unecessary PATH, now in slave config Change-Id: Ifaff3e5e13c920eb716a5609bfec2f96e10f17b0 http://cgit.osmocom.org/osmocom-bb/commit/?id=349784c72d9eaff7d1dc8b9640f2d8e53b31b7e5 commit 349784c72d9eaff7d1dc8b9640f2d8e53b31b7e5 Author: Philipp Date: Mon Oct 10 15:03:23 2016 +0200 gsm0408: Adding 3g spcific RR message types GSM 04.18, which is the successor of GSM 04.08, describes additional RR 3g specific message types. This commit adds four new message types related to paging and notifiction See also 3GPP TS 04.18, section 10.4, table 10.4.1 Change-Id: I071cc9ecac342b5221fa0ec0b782b04b51b40e93 http://cgit.osmocom.org/osmocom-bb/commit/?id=a95ee5e6e192d274d5d2c03fbe47edbc62c38beb commit a95ee5e6e192d274d5d2c03fbe47edbc62c38beb Author: Neels Hofmeyr Date: Mon Oct 10 22:46:20 2016 +0200 fix USSD: SS message type mask should be 0x3f, not 0xbf See 04.80[1], section 3.4: the highest two bits are used as counter or ignored and do not contribute to the SS "Miscellaneous message group". Previous mask of 0xbf included the highest bit, fix to 0x3f. Observed a value of 0xbb that should mean 0x3b="Register" during testing of 3G USSD requests, which seem to be the first to send a nonzero highest bit to our code. The erratic mask of 0xbf lead to an unhandled message type of 0xbb. [1] 3GPP TS 24.080 version 7.2.0 Release 7 / ETSI TS 124 080 V7.2.0 (2006-09) Change-Id: I299001a9e36c16f55622a0acd5d4a55ca49d0055 http://cgit.osmocom.org/osmocom-bb/commit/?id=ed9d6da5df98538adc70aa03cb569eb9505d04b6 commit ed9d6da5df98538adc70aa03cb569eb9505d04b6 Author: Max Date: Tue Oct 11 15:20:28 2016 +0200 Constify ctrl_cmd struct fields where appropriate Change-Id: I3f55c1d4b965d215dc9b16f4b284b7fea4bde9e9 http://cgit.osmocom.org/osmocom-bb/commit/?id=cbdfa65dbed69fc19ba195d2aa8ead76f1434c5c commit cbdfa65dbed69fc19ba195d2aa8ead76f1434c5c Author: Neels Hofmeyr Date: Fri Sep 30 23:45:28 2016 +0200 build: be robust against install-sh files above the root dir Explicitly set AC_CONFIG_AUX_DIR. To reproduce the error avoided by this patch: rm install-sh # in case it was already generated. touch ../install-sh # yes, outside this source tree autoreconf -fi This will produce an error like ... configure.ac:16: error: required file '../ltmain.sh' not found configure.ac:5: installing '../missing' src/Makefile.am: installing '../depcomp' autoreconf: automake failed with exit status: 1 See also automake (vim `which automake`) and look for 'sub locate_aux_dir'. Change-Id: If2afbe62e9ceeac8052c7b882ff92a548f3af0bf http://cgit.osmocom.org/osmocom-bb/commit/?id=2bb65be159dfdabf664fec569b343320301701b0 commit 2bb65be159dfdabf664fec569b343320301701b0 Author: Max Date: Wed Sep 28 15:38:55 2016 +0200 Mark inline header function as static Change-Id: Ib751f7467d54cbcae76f72448a38e30f2ecc63d4 http://cgit.osmocom.org/osmocom-bb/commit/?id=56155c16b91428c4838df1d6010cdb7acdb540ce commit 56155c16b91428c4838df1d6010cdb7acdb540ce Author: Neels Hofmeyr Date: Wed Sep 21 23:37:37 2016 +0200 jenkins.sh: output all test logs when 'make check' failed Assume that cat-testlogs.sh from osmo-ci is installed in $HOME/osmo-ci/scripts, and call from jenkins.sh upon 'make check' failure. Change-Id: I18a08e7ade1a53783d5a4171fe825f61b49457be http://cgit.osmocom.org/osmocom-bb/commit/?id=9c0751fc60e6282b5f5ff791d53f6f862f1c9c79 commit 9c0751fc60e6282b5f5ff791d53f6f862f1c9c79 Author: Neels Hofmeyr Date: Thu Sep 22 02:41:46 2016 +0200 osmo_select_main(): drop useless call to osmo_timers_check() osmo_timers_check() does nothing more than counting the active timers. It is of no use to count them when not using the return value in any way. Change-Id: I8d35ca90a4c16d6f1c7f9793d663e5479783efed http://cgit.osmocom.org/osmocom-bb/commit/?id=74a8f0831dbcbe40694d19dcf173185593f91be2 commit 74a8f0831dbcbe40694d19dcf173185593f91be2 Author: Max Date: Tue Sep 27 13:51:51 2016 +0200 AMR: add function to check speech frames Add convenience function osmo_amr_is_speech() to check if given AMR frame is speech frame: non-speech frames often require special processing. Change-Id: Ifaab02a2f581acc302b367d34fd2fc28a4d1e2e3 http://cgit.osmocom.org/osmocom-bb/commit/?id=8a3409c4b7fefe4333b619498f2cad0c7c3ae81c commit 8a3409c4b7fefe4333b619498f2cad0c7c3ae81c Author: Neels Hofmeyr Date: Fri Sep 16 02:37:24 2016 +0200 gsm0408_test: initialize msgb talloc ctx Change-Id: Ib26214add1932e93651c248cc09fbc68339b4dce http://cgit.osmocom.org/osmocom-bb/commit/?id=f45334be29016a36594aacc07c90e262e4994525 commit f45334be29016a36594aacc07c90e262e4994525 Author: Neels Hofmeyr Date: Fri Sep 16 00:15:56 2016 +0200 msgb: add msgb_talloc_ctx_init(), deprecate msgb_set_talloc_ctx() So far each and every main() scope creates a msgb talloc context and either passes it to msgb_set_talloc_ctx() or sets tall_msgb_ctx directly (by defining it extern first). Remove some code duplication: add one central function that creates the "msgb" talloc context for all. Most users of msgb employ a talloc_named_const(), but osmo-bts uses a talloc_pool() instead. Offer both ways by means of the pool_size argument, and for both ways make sure the context is called "msgb". Suggest that msgb users should move to this new function: deprecate msgb_set_talloc_ctx(). To be able to do so, include core/defs.h in msgb.h. There's a tradeoff between hiding the msgb talloc context behind API that tries to guess all use cases versus avoiding code dup. This patch opts against code dup and boldly assumes that all future use is covered. Also, the new function suggests to not access tall_msgb_ctx directly, which can be considered a style improvement. It seems that not all main scopes that use msgb actually initialize the msgb ctx. As a fallback for these, explicitly initialize tall_msgb_ctx to NULL. Change-Id: I747fbbf977c4d2c868c8dead64cfc5fd86eb8d4c http://cgit.osmocom.org/osmocom-bb/commit/?id=8319a6799ffc9d4c5e7e094b96af30cbebf89f65 commit 8319a6799ffc9d4c5e7e094b96af30cbebf89f65 Author: Neels Hofmeyr Date: Wed Sep 21 18:30:01 2016 +0200 bitrev_test: don't omit last byte from test result check The osmo_hexdump of the output in sh_chk() omitted the last byte of the returned bytes from the osmo_nibble_shift_*() functions. Determine the number of bytes from nibbles divided by two plus one for any odd nibble number. Output this number of bytes of output data. Memset the output buffer to get well-defined bytes for unwritten places. Also assert that we have enough buffer length for all nibbles. Change-Id: I011f42bca555caec0dfe8688ff1f28303fa04fad http://cgit.osmocom.org/osmocom-bb/commit/?id=4fd6023b0383e7efa3b7b0211104a86ff5d3d4f6 commit 4fd6023b0383e7efa3b7b0211104a86ff5d3d4f6 Author: Max Date: Tue Sep 20 16:33:50 2016 +0200 Fix ASAN failure in bitrev_test Previously while testing osmo_nibble_shift_left_unal() following error was triggered by AddressSanitizer upon offs == 12 and the last sh_chk line, i.e. shift left of 12 nibbles from in2: ==3890== ERROR: AddressSanitizer: stack-buffer-overflow on address 0xbff5b5b6 at pc 0xb6186862 bp 0xbff5b4a8 sp 0xbff5b49c READ of size 1 at 0xbff5b5b6 thread T0 #0 0xb6186861 (/home/msuraev/source/gsm/libosmocore/src/.libs/libosmocore.so.7.0.0+0xc861) #1 0x8049d8b (/home/msuraev/source/gsm/libosmocore/tests/bits/.libs/lt-bitrev_test+0x8049d8b) #2 0x804a9d1 (/home/msuraev/source/gsm/libosmocore/tests/bits/.libs/lt-bitrev_test+0x804a9d1) #3 0xb5fe3af2 (/lib/i386-linux-gnu/libc-2.19.so+0x19af2) #4 0x8048a30 (/home/msuraev/source/gsm/libosmocore/tests/bits/.libs/lt-bitrev_test+0x8048a30) Address 0xbff5b5b6 is located at offset 38 in frame
of T0's stack: This frame has 3 object(s): [32, 38) 'in2' [96, 104) 'out' [160, 168) 'in1' The reason is incorrect range in test cycle. Fix it and adjust test output accordingly. Tweaked-by: Neels Hofmeyr Fixes: OW#1589 ("undefined behavior in libosmocore triggered by tests") Change-Id: I5eb3f600290c05b4ab9ac2450a28d616e6b415fd http://cgit.osmocom.org/osmocom-bb/commit/?id=e31cf8057f65ec0d8d141eb8f64d5c0e61204f6c commit e31cf8057f65ec0d8d141eb8f64d5c0e61204f6c Author: Vadim Yanitskiy Date: Wed Sep 7 21:51:25 2016 +0700 utils/conv_gen.py: code style changes (line width, tabs, etc.) Change-Id: I8550910b9f5c16efc6f15f23c7ee52122c588752 http://cgit.osmocom.org/osmocom-bb/commit/?id=ba34a2fd73e9803d7e13e90c4fd7e803ce5dedaa commit ba34a2fd73e9803d7e13e90c4fd7e803ce5dedaa Author: Daniel Willmann Date: Fri Sep 2 15:44:12 2016 +0200 gprs: Increase NS_ALLOC_SIZE to 3k 2k can be insufficient when responding with a STATUS message to a long LLC packet because the original message is included in the STATUS. Change-Id: I6f76751cfadf61e87ce4367a38907083e1c98562 Ticket: SYS#2967 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=38d232ee5d2ceb045d9ad6d3a23afcb4972523f7 commit 38d232ee5d2ceb045d9ad6d3a23afcb4972523f7 Author: Neels Hofmeyr Date: Mon Sep 19 14:17:30 2016 +0200 log CTRL bind address and port Log 'CTRL at 1.2.3.4 5678' from ctrl_interface_setup*. All callers can now drop any extra 'CTRL at 1.2.3.4 5678' logging. Change-Id: If449d0514e3d0cc1b346d7452194d931aa090166 http://cgit.osmocom.org/osmocom-bb/commit/?id=55dc2edc89c1a85187ef8aafc09f7d922383231f commit 55dc2edc89c1a85187ef8aafc09f7d922383231f Author: Neels Hofmeyr Date: Mon Sep 19 14:10:25 2016 +0200 log telnet bind address and port Log 'telnet at 1.2.3.4 5678' from telnet_init*. All callers can now drop any extra 'VTY at 1.2.3.4 5678' logging. Change-Id: I1da7b9076311d9458caea732fc0daace6533a3fd http://cgit.osmocom.org/osmocom-bb/commit/?id=dbc68177926c7f04d42b418ee6dc559571f4d7f8 commit dbc68177926c7f04d42b418ee6dc559571f4d7f8 Author: Neels Hofmeyr Date: Thu Sep 22 04:21:50 2016 +0200 timer_test: set 8 as default steps, use the default in testsuite.at Change-Id: I5070578e9fe2bdacaad000eaafb8dc5f549d6f3e http://cgit.osmocom.org/osmocom-bb/commit/?id=d0858c2ae9cdd065d09c3a58e60409b7af50111e commit d0858c2ae9cdd065d09c3a58e60409b7af50111e Author: Neels Hofmeyr Date: Thu Sep 22 04:50:13 2016 +0200 timer_test: print more details to stdout to check The test is now fully deterministic, so include all detail in stdout, to check for. Change-Id: Iecf6387f1d25253fcf1260777673853030c1d326 http://cgit.osmocom.org/osmocom-bb/commit/?id=255dac16a4a69e29be62bcc692dabf9cd1a586b5 commit 255dac16a4a69e29be62bcc692dabf9cd1a586b5 Author: Neels Hofmeyr Date: Thu Sep 22 04:48:32 2016 +0200 timer_test: redirect some output from stderr to stdout This way we can check the output in timer_test.ok. Change-Id: Ia3bba1c650be3558d370e0f59d4ee7f36ef97506 http://cgit.osmocom.org/osmocom-bb/commit/?id=d73c1cc7c25d5e38d848f40598b17d84e77b6a5b commit d73c1cc7c25d5e38d848f40598b17d84e77b6a5b Author: Neels Hofmeyr Date: Thu Sep 22 05:20:53 2016 +0200 timer_test: remove all random elements Change-Id: I9833031407e99f5d7a1144c26b68a7e320b2020d http://cgit.osmocom.org/osmocom-bb/commit/?id=7b4d727ec5debc3d057686a0a3f0f5f14260a282 commit 7b4d727ec5debc3d057686a0a3f0f5f14260a282 Author: Neels Hofmeyr Date: Thu Sep 22 04:47:04 2016 +0200 timer_test: do not use real time: deterministic and faster Use osmo_gettimeofday_override* to decouple the timer test from real time. No longer call osmo_select_main(), since select() actually waits for real time. This reduces the timer_test to the osmo_timer_* logic and excludes the real time and osmo_timers_nearest() accuracy testing with actual waiting involved. This may be seen as a loss, but is more fit for a test suite. The main point here is to get deterministic results in jenkins, so that we don't have to retrigger jobs based on timing failures; added bonus is that the test runs much faster now. Change-Id: Ic5649512df86dd17070daa2f314159eafaf8feb8 http://cgit.osmocom.org/osmocom-bb/commit/?id=8e2f7e87f4d854e697c40545326a16e50614dd5c commit 8e2f7e87f4d854e697c40545326a16e50614dd5c Author: Neels Hofmeyr Date: Thu Sep 22 03:58:13 2016 +0200 add osmo_gettimeofday as a shim around gettimeofday This allows feeding a custom time for unit tests by overriding osmo_gettimeofday. Change-Id: Ic7a81a6eb51f27fe452962b91f2eae2070d87089 http://cgit.osmocom.org/osmocom-bb/commit/?id=13a8fb84f0d83f23e65daa528f2f392ec3b83a75 commit 13a8fb84f0d83f23e65daa528f2f392ec3b83a75 Author: Neels Hofmeyr Date: Thu Sep 22 04:45:26 2016 +0200 timer_test: remove unused precision values and confusing log Change-Id: I1570b7096c757d63d23e0950feeeb7230f8a5c9f http://cgit.osmocom.org/osmocom-bb/commit/?id=9c9a04705ff431c1e10bf40f2e964a43360441ac commit 9c9a04705ff431c1e10bf40f2e964a43360441ac Author: Neels Hofmeyr Date: Thu Sep 22 04:23:34 2016 +0200 timer_test: also report early finishes, report timing on error When a timer was late, show the timing details. Also count whether timers fired early, for completeness' sake. Change-Id: Id3942637d77a28b5092ffffcc3e6d9d67c2b8e68 http://cgit.osmocom.org/osmocom-bb/commit/?id=633a0e76a2fbb31ce6dd4dadb35313aed3aa385c commit 633a0e76a2fbb31ce6dd4dadb35313aed3aa385c Author: Neels Hofmeyr Date: Thu Sep 22 04:24:38 2016 +0200 fix timer_test: don't forget to set tv_usec on the stop time The timer_test schedules timers and records the desired stop time. Also store the usec value of the desired stop time, because scheduling at e.g. sec N usec 999999 but recording sec N usec 0, and then receiving a timer at sec N+1 usec 0 is only 1 usec late, but records as 1000000 usecs late. This might have been the main cause of the timer test not working well on the osmocom build server. Change-Id: I13bb60f7d341a397f95d13d9c63c40188b6cd5a0 http://cgit.osmocom.org/osmocom-bb/commit/?id=5b34f773e441b984d3bc98468fd015eeb4131890 commit 5b34f773e441b984d3bc98468fd015eeb4131890 Author: Neels Hofmeyr Date: Mon Sep 19 14:15:03 2016 +0200 remove unused local variable in get_rate_ctr() Unused after 22886d9e320ecf734d2827d825a191b977f70d2c "Fix retrieving rate_ctr over control interface" Change-Id: Ib5411da80c4eb4f905a5ed87c60477eca2cdff42 http://cgit.osmocom.org/osmocom-bb/commit/?id=2e38d358b6cd450ecf51928f7ae19e56fc6cbb97 commit 2e38d358b6cd450ecf51928f7ae19e56fc6cbb97 Author: Neels Hofmeyr Date: Mon Sep 19 14:10:59 2016 +0200 remove unused function get_rate_ctr_group() Unused after 22886d9e320ecf734d2827d825a191b977f70d2c "Fix retrieving rate_ctr over control interface" Change-Id: I405367ef6ba5833957778a79dd398ce5ea29307e http://cgit.osmocom.org/osmocom-bb/commit/?id=d95f01d204eeec5eaa8f300029cb8f9e92caeee1 commit d95f01d204eeec5eaa8f300029cb8f9e92caeee1 Author: Neels Hofmeyr Date: Fri Sep 9 16:42:49 2016 +0200 build: tests: don't link system installed libosmogsm. Add src/gsm/libosmogsm.la explicitly to some test linkages, because otherwise the linker would pick the libosmogsm already installed on the system instead of the one that was just built in the source tree. I noticed because a libosmogsm needing some more symbols from libosmocodec was still installed, while the patch that cause it was already removed. Thus I caught all(?) test binaries that linked libosmogsm from $PREFIX. Change-Id: Ie61d60e1506f16de20add70fd0f44ebfa7a00a75 http://cgit.osmocom.org/osmocom-bb/commit/?id=1a587bd782fe75f0739ed188abc23604e32d4148 commit 1a587bd782fe75f0739ed188abc23604e32d4148 Author: Neels Hofmeyr Date: Thu Sep 8 12:59:08 2016 +0200 fix GGSN Ctrl port to 4257 4253 used to collide with the sysmobts-mgr VTY port. Note, openggsn does not actually have a Ctrl interface yet. Change-Id: If0fa0e606dabd5bc89907a56ef18cdbbbdedb4b7 http://cgit.osmocom.org/osmocom-bb/commit/?id=56313c84c8e68541374ca744d8b7a6eb470ecbde commit 56313c84c8e68541374ca744d8b7a6eb470ecbde Author: Neels Hofmeyr Date: Thu Sep 8 12:58:25 2016 +0200 comment: */ports.h: link to wiki + manuals, indicate used ports Change-Id: I6a7bf04e589ccfaea98f20900a9bfe9dd4808dce http://cgit.osmocom.org/osmocom-bb/commit/?id=c69de3e25cb0fe651293e64a68ba35e936c50ff3 commit c69de3e25cb0fe651293e64a68ba35e936c50ff3 Author: Max Date: Fri Aug 12 16:18:56 2016 +0200 Add Marker to ph_tch_param Extend struct ph_tch_param with Marker bit from RTP header to indicate speech onset in case of DTX. Change-Id: Ic664902630b9d335ff9abc7a9ca7249eaf80e05f Related: OS#1750 http://cgit.osmocom.org/osmocom-bb/commit/?id=6320934e6a740c824f99769700937ed0477c67b3 commit 6320934e6a740c824f99769700937ed0477c67b3 Author: Anatoly Orlov Date: Wed Aug 31 08:07:16 2016 +0200 libosmocodec link fix on MacOSX Fixes the following bug: CCLD libosmocodec.la Undefined symbols for architecture x86_64: "_bitvec_get_bit_pos", referenced from: _osmo_fr_check_sid in gsm610.o "_bitvec_get_uint", referenced from: _osmo_hr_check_sid in gsm620.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [libosmocodec.la] Error 1 Change-Id: Id7358b94e274b529a8da38a0b2ef8c892b6dd7a5 http://cgit.osmocom.org/osmocom-bb/commit/?id=418ca58085d81f7c5fd7a625549399b3c03ee8e3 commit 418ca58085d81f7c5fd7a625549399b3c03ee8e3 Author: Neels Hofmeyr Date: Fri Sep 9 02:03:43 2016 +0200 fix error msg: msgb_put(): say "msgb_put", not "msgb_push" Change-Id: I72f31ebad693f98eb088a99b83aeb10cf9acc29e http://cgit.osmocom.org/osmocom-bb/commit/?id=e65315fb373602082b9289020ccc17f0c4b79935 commit e65315fb373602082b9289020ccc17f0c4b79935 Author: Alexander Couzens Date: Mon Aug 22 21:42:57 2016 +0200 core/counter: add osmo_counter_dec() Change-Id: I030140a45afa295c3ebc4d3ccaffd437b984f515 http://cgit.osmocom.org/osmocom-bb/commit/?id=0318f6b6cae7a3f2d786a1caee519241d81d6745 commit 0318f6b6cae7a3f2d786a1caee519241d81d6745 Author: Neels Hofmeyr Date: Mon Aug 29 13:18:56 2016 +0200 IuPS: add GMM Service Request related constants and value_str Change-Id: Ie023fc78099932f95cc8f1b3a04fe25dfd14bc35 http://cgit.osmocom.org/osmocom-bb/commit/?id=b7f191febb639d917b5f4290c73cb1620d9cb2f4 commit b7f191febb639d917b5f4290c73cb1620d9cb2f4 Author: Neels Hofmeyr Date: Mon Aug 29 11:22:03 2016 +0200 fix printf format for commit 'osmo_sock_init(): include host and port in error messages' Related: CID#143566 Change-Id: I75c542089749a0875d3d1913151fe838d7722ff2 http://cgit.osmocom.org/osmocom-bb/commit/?id=f0f07d9c9b3227b5233352418d658aba3584310b commit f0f07d9c9b3227b5233352418d658aba3584310b Author: Neels Hofmeyr Date: Mon Aug 22 13:34:23 2016 +0200 osmo_sock_init(): include host and port in error messages For programs like osmo-hnbgw with numerous sockets, the message that some unspecified connection was refused is not very helpful. Also output the host and port where an error occured. Instead of perror, use fprintf(stderr, ..., strerror()) to be able to include a format string and print host and port as passed to osmo_sock_init(). Change-Id: I8d0343f51310699b78fcb83fd76fd93764acf3dc http://cgit.osmocom.org/osmocom-bb/commit/?id=898e1d878e47298f97289e50f9b0cca7ecdf2ed7 commit 898e1d878e47298f97289e50f9b0cca7ecdf2ed7 Author: Neels Hofmeyr Date: Sat Aug 20 16:33:47 2016 +0200 vty: use VTY_BIND_ADDR_DEFAULT instead of "127.0.0.1" Change-Id: Ice0688ac9847524cb546f6d41547090b6a3cb3d8 http://cgit.osmocom.org/osmocom-bb/commit/?id=fef2fa224a754df3f9792d1ddcd3a6d9a73658b1 commit fef2fa224a754df3f9792d1ddcd3a6d9a73658b1 Author: Neels Hofmeyr Date: Mon Aug 8 15:38:35 2016 +0200 configure: check for pkg-config presence On a fresh installation, I was puzzled by a configure.ac 'syntax error' for PKG_CHECK_MODULES(TALLOC). It took me some time to figure out that merely pkg-config was missing. Add a check for pkg-config, which isn't as straightforward as I would wish, so comment generously. Change-Id: I2e7cdc37eb59f9947a45fbc5baddbaf71b655bc0 http://cgit.osmocom.org/osmocom-bb/commit/?id=d1dcda01f8c99e02a206c95d177aecd3dfb66e09 commit d1dcda01f8c99e02a206c95d177aecd3dfb66e09 Author: Max Date: Tue Aug 2 17:18:51 2016 +0200 Add control interface port for GGSN Change-Id: Ie7232189fe3265a8631fd3652b2c8c152cdee918 Related: OS#1646 http://cgit.osmocom.org/osmocom-bb/commit/?id=1a70223fa3fce4ad21fcb987f422bcc040450cee commit 1a70223fa3fce4ad21fcb987f422bcc040450cee Author: Harald Welte Date: Mon Aug 8 13:10:52 2016 +0200 Add .mailmap file for mapping mail addresses in shortlog Change-Id: Id6b42bb9ab10f46b76b26057c8228e5da480286d http://cgit.osmocom.org/osmocom-bb/commit/?id=9a9739c6ab56f0ad202bf24e82a0702072c608f6 commit 9a9739c6ab56f0ad202bf24e82a0702072c608f6 Author: Max Date: Thu Jul 21 14:24:37 2016 +0200 Extend L1SAP with Measurements We already have RSSI parameter in PH-DATA. Add other measurement information (BER, BTO, Link Quality). Change-Id: I2b127eb1856c4cd1bc46490a89592a595f1ee86b Related: OS#1616 http://cgit.osmocom.org/osmocom-bb/commit/?id=460f9ef7da1db11b104fdfe635ebcbd8a071f205 commit 460f9ef7da1db11b104fdfe635ebcbd8a071f205 Author: Harald Welte Date: Mon Aug 1 00:38:36 2016 +0200 fsm: Make sure we call 'onenter' of new state, not old state Change-Id: I1a0181c25d9debe935e86d97ddffc24675e56a5f http://cgit.osmocom.org/osmocom-bb/commit/?id=f92e44c5399d8914aad58bd2c74005b3640c5a9d commit f92e44c5399d8914aad58bd2c74005b3640c5a9d Author: Harald Welte Date: Mon Aug 1 00:24:19 2016 +0200 lapd_core: Fix crash in lapd_dl_flush_hist() When lapd_dl_flush_hist() was called before we actually had started a transmit history from lapd_dl_init(), we woul segfault before this patch. Change-Id: Ifa677c9b335dd2884b4f3e44699d901957a0500b http://cgit.osmocom.org/osmocom-bb/commit/?id=881dcaf7aa262e3c14c104e49e65cd2ee3bf93c3 commit 881dcaf7aa262e3c14c104e49e65cd2ee3bf93c3 Author: Harald Welte Date: Thu Jul 28 08:02:48 2016 +0200 Mark input string to osmo_talloc_replace_string() as const This allows us to pass in strings that are 'const', which for the source of a copy should be the normal/regular case anyway. Change-Id: Icee6a5f88babd3a4e30bf0886f0f8d3b865d80ce http://cgit.osmocom.org/osmocom-bb/commit/?id=9a5bbf36b543ff89c0ed148428d97300880c5804 commit 9a5bbf36b543ff89c0ed148428d97300880c5804 Author: Tom Tsou Date: Thu Jul 14 15:13:45 2016 -0700 egprs: Add CPS tables from TS 04.60 Includes EGPRS coding and puncturing scheme (CPS) tables from 3GPP TS 04.60. Currently osmo-bts-trx is the only user of CPS table values, but this may change with gprsdecode and other utilities. Change-Id: I09fe6514a0e2e51bb3206f8387633f7e0255345f http://cgit.osmocom.org/osmocom-bb/commit/?id=1a96946875f807b84fbb255e8b4f8f4a31b9cecc commit 1a96946875f807b84fbb255e8b4f8f4a31b9cecc Author: bhargava Date: Thu Jul 14 13:15:09 2016 +0530 Update structure in libosmocore for 11 bit RACH Parameters are added to the structure ph_rach_ind_param to differentiate the type of RACH received from Layer 1. This is to further support the 11 bit RACH. Change-Id: Ic4f0f2424a3af7599d986044be25ea4fcc0ca477 http://cgit.osmocom.org/osmocom-bb/commit/?id=da34bf01a340850b114e7136502c55e79bec68e1 commit da34bf01a340850b114e7136502c55e79bec68e1 Author: Max Date: Sun Jul 17 16:37:56 2016 +0200 Add define for invalid TA Add GSM48_TA_INVALID which is invalid Timing Advance value according to 3GPP TS 44.018 ?? 10.5.2.40. Change-Id: I061760ccac656f39164562a7883f8ab522cd0911 Related: OS#1526 http://cgit.osmocom.org/osmocom-bb/commit/?id=47390764ddeb98109e39aa379d433ddc064e058b commit 47390764ddeb98109e39aa379d433ddc064e058b Author: Neels Hofmeyr Date: Mon Jul 18 23:54:01 2016 +0200 rsl: add rsl_act_type_name() Change-Id: Ie90c76d8aef42d5e2c9be94f4b206d4994e305f8 http://cgit.osmocom.org/osmocom-bb/commit/?id=fd80f5a04239c2ab7b561401476dd89f2861748b commit fd80f5a04239c2ab7b561401476dd89f2861748b Author: Neels Hofmeyr Date: Thu Jul 14 03:21:05 2016 +0200 dyn TS: add definitions for dynamic TCH/F_TCH/H_PDCH Add: * GSM_PCHAN_TCH_F_TCH_H_PDCH * NM_CHANC_OSMO_TCHFull_TCHHalf_PDCH * RSL_CHAN_OSMO_PDCH * RSL_ACT_OSMO_PDCH Related: OS#1776 Change-Id: Ib1a8b11f37af4686d00ac88beba38557aa29edc2 http://cgit.osmocom.org/osmocom-bb/commit/?id=15b96ff70ca0c13bc5cbe6c79d85854fee1568b1 commit 15b96ff70ca0c13bc5cbe6c79d85854fee1568b1 Author: Neels Hofmeyr Date: Mon Jul 18 23:33:48 2016 +0200 gsm_08_58.h: introduce RSL_CHAN_NR_1 constant Using the RSL_CHAN_* constants, we sometimes need to add 1 to the chan bits to indicate e.g. the second TCH/H channel. RSL_CHAN_NR_1 marks this lowest channel bit that needs to be added. The name is analogous to RSL_CHAN_NR_MASK. Change-Id: Iea06432039d1cd23cc6b5acec308bb829b596d47 http://cgit.osmocom.org/osmocom-bb/commit/?id=505adee93bad5c12e7435d09a191d9d6221d09b3 commit 505adee93bad5c12e7435d09a191d9d6221d09b3 Author: Neels Hofmeyr Date: Wed Jul 13 16:55:43 2016 +0200 fix compiler warning: gsup.c: missing braces osmo_auth_vector's first member is an array, so for a zero initializer, we should add a second set of array braces. Change-Id: Iace448caca8152e46244f26c3af250f2035c99eb http://cgit.osmocom.org/osmocom-bb/commit/?id=511b448fe3a8522d645499b7d0b93b5acb1b3776 commit 511b448fe3a8522d645499b7d0b93b5acb1b3776 Author: Holger Hans Peter Freyther Date: Wed Jul 13 12:26:10 2016 +0200 bitvec: Force inlining of bitvec_set_bit_pos/bitvec_set_bit The PCU is using bitvec_write_field a lot but on the arm-poky-linux-gnueabi-gcc v4.8.1 the calls to set_bit and set_bit_pos are not inlined. The inlined variant has been a more quick for the PCU compressed bitmap decompression testcase. Used objdump -d to look at the bitvec_write_field before and after the change. The branch to bitvec_set_bit is gone and a inlined version has been used. Change-Id: I0b6b90610f4c17f02e4efa064c3bf1ac2dccb22a http://cgit.osmocom.org/osmocom-bb/commit/?id=edb57e7709c130a664fb2d9f807d96d0e283c675 commit edb57e7709c130a664fb2d9f807d96d0e283c675 Author: Max Date: Thu Jul 14 11:35:17 2016 +0200 Add function to check TA validity Check if given Timing Advance is valid according to 3GPP TS 44.018 ?? 10.5.2.40. Change-Id: I5cb6149d6e36fda8cb3f557e4d6d3a724da805a5 Related: OS#1545 http://cgit.osmocom.org/osmocom-bb/commit/?id=4a62dbbfa9260cd0c079f043b57f9adaedfad38e commit 4a62dbbfa9260cd0c079f043b57f9adaedfad38e Author: Holger Hans Peter Freyther Date: Tue Jul 12 17:45:34 2016 +0200 ussd: Decode interrogateSS that doesn't have test Keith of Rhizomatica has an issue of a unrejected interrogateSS. Start with just decoding the message and printing the empty test and the code. What is kind of missing is the classification between invoke, returnResult and returnResultLast that we need to add in the long run. Change-Id: Iadfa156707a96f2a34f3948c7cc9a74435f17114 http://cgit.osmocom.org/osmocom-bb/commit/?id=9394dbd8e0ea010e8ee7af7729a27d6a68ff8256 commit 9394dbd8e0ea010e8ee7af7729a27d6a68ff8256 Author: Tom Tsou Date: Thu Jul 7 17:06:12 2016 -0700 Add EGPRS RLC/MAC headers from 3GPP TS 04.60 For shared use by osmo-pcu and osmo-bts-trx. Change-Id: I500cdc87cd30faf36c8cd92d234642f809c8f2aa http://cgit.osmocom.org/osmocom-bb/commit/?id=4f169500df996d0a7a804da77bae07b2ecd0d813 commit 4f169500df996d0a7a804da77bae07b2ecd0d813 Author: Max Date: Thu Jun 30 10:39:00 2016 +0200 Add GEA3 & GEA4 ciphers Corresponding test code include both official test vectors from the specs and data from over-the-air tests. This obsoletes libosmo-crypt-a53 as it was last missing piece unimplemented in libosmogsm. Change-Id: I939e4f6b91b4a7c591ef3761fe2d46ed1c2fb2d3 Related: OS#1582 http://cgit.osmocom.org/osmocom-bb/commit/?id=02a66728856d6a111ef61eca2cc052df052579a9 commit 02a66728856d6a111ef61eca2cc052df052579a9 Author: Harald Welte Date: Sun Jul 10 15:13:51 2016 +0200 fsm: delete the timer when changing state In osmo_fsm_inst_state_chg(), we need to stop any not-yet-expired timer of the old state before transitioning into the new state. Change-Id: I2558f9a7027a877ea8263785ed3c8d70d2513996 http://cgit.osmocom.org/osmocom-bb/commit/?id=f3239113db910962a4ccac2f93d689a86450264f commit f3239113db910962a4ccac2f93d689a86450264f Author: Harald Welte Date: Sun Jul 10 15:11:45 2016 +0200 fsm: talloc + copy the 'id' passed into a FSM The 'id' is used to generate the human-readable name of the FSM. However, when the FSM creates slave FSMs later, the caller-passed "ID" mgiht long be gone again (e.g. it was on stack memory). So let's copy the 'id' string to a chunk of dynamically-allocated memory at time of FSM start to ensure we have it later when creating child FSMs. Change-Id: Ib88a2c02c5c91f17b4ec1e9db57a06d6d66465fb http://cgit.osmocom.org/osmocom-bb/commit/?id=673018fed99aab80c3ac23c95f568ff0bf272f60 commit 673018fed99aab80c3ac23c95f568ff0bf272f60 Author: Harald Welte Date: Sun Jul 10 15:09:43 2016 +0200 fsm: call 'onenter' as last step of a state change This is useful to allow the user to terinate the fsm from the onenter() callback. Change-Id: Ia45a1f3279e702028250e10dc54b2d46a4039905 http://cgit.osmocom.org/osmocom-bb/commit/?id=f5f773f0130e1f61b84636f7aeb6e17f5140fd25 commit f5f773f0130e1f61b84636f7aeb6e17f5140fd25 Author: Max Date: Tue Jul 5 19:17:19 2016 +0200 Add strings with GPRS GMM messages Change-Id: I48477b733e2da72f59349c00554dd3e080c9f445 Related: OS#1582 http://cgit.osmocom.org/osmocom-bb/commit/?id=fdca25dfb881871ffb4142bd1bcd808c71e6c4e3 commit fdca25dfb881871ffb4142bd1bcd808c71e6c4e3 Author: Max Date: Tue Jul 5 16:06:28 2016 +0200 Add function to check GMM encryptability Check if particular GMM message can be encrypted according to 3GPP TS 24.008 ?? 4.7.1.2 Related: OS#1582 Change-Id: I7ad0e03c2c738d174dd6bc3453f332eeb8da1e7d http://cgit.osmocom.org/osmocom-bb/commit/?id=ae3b78076e580b6060cde2e4612b8bcf459de832 commit ae3b78076e580b6060cde2e4612b8bcf459de832 Author: Neels Hofmeyr Date: Wed Jul 6 15:35:19 2016 +0200 gitignore tests/fsm/fsm_test was added in 136e73764e7f58e52ffb13d01304fef30eb7d291 Change-Id: I0f344cc459626f71316f99341f79b5f0479ad82c http://cgit.osmocom.org/osmocom-bb/commit/?id=92ce39f3d1aaf1a38fc9be367503d82adfca4555 commit 92ce39f3d1aaf1a38fc9be367503d82adfca4555 Author: Max Date: Thu Jul 7 13:00:43 2016 +0200 Add missing osmo_c4 export Change-Id: Iaf53b31b4fa3860301054e970907ada061360b28 Related: OS#1741 http://cgit.osmocom.org/osmocom-bb/commit/?id=0ee90f861458a68be7d7ac6e7f253c2be03ae049 commit 0ee90f861458a68be7d7ac6e7f253c2be03ae049 Author: Harald Welte Date: Sun Jul 3 20:45:21 2016 +0200 lapd_dl_flush_hist(): Don't flush a non-existant history If lapd_dl_flush_hist() is called after lapd_dl_exit(), dl->tx_hist has already been free'd and set to NULL. Check for this before attempting to de-reference a NULL pointer. This bug breaks OpenBSC with any E1 based BTSs using DAHDI. Change-Id: I117ba3445fa5e8097e21c11c5a6337de6ba46c7d Related: OS#1760 http://cgit.osmocom.org/osmocom-bb/commit/?id=dda9dffca9bda905bc33d5995923277e861a80c2 commit dda9dffca9bda905bc33d5995923277e861a80c2 Author: Max Date: Tue Jun 28 17:05:35 2016 +0200 Clarify GPRS algorithm Add spec reference and set explicit values for enum representing ciphering algorithm for GPRS encryption. Change-Id: Ia9ee429b73a37d52599fce70778cfe87b767411c Related: OS#1582 http://cgit.osmocom.org/osmocom-bb/commit/?id=c57e5daf224476c20d34653fdb11d67ed7da9fed commit c57e5daf224476c20d34653fdb11d67ed7da9fed Author: Max Date: Mon Jun 27 16:19:12 2016 +0200 Clarify GPRS ciphering direction Add spec reference and set explicit values for enum representing direction parameter for GPRS encryption. Change-Id: Iaf1b13da2e889d55cc9dd7516710104dba48c992 Related: OS#1582 http://cgit.osmocom.org/osmocom-bb/commit/?id=eb59f241ec571c3bdfcd8b3fa25d8687a1191f39 commit eb59f241ec571c3bdfcd8b3fa25d8687a1191f39 Author: Max Date: Mon Jun 27 15:44:16 2016 +0200 tests: test actual support status for auth. algo Check if library actually support Milenage, COMP128 v2 and v3 algorithms instead of just printing enum values or nothing. Change-Id: I2b98481f56a8381058d4b29db5e8a36eb193eee9 http://cgit.osmocom.org/osmocom-bb/commit/?id=a337b9c37a9ff561b9c6a2e7c4b2a65dfa3b0e7f commit a337b9c37a9ff561b9c6a2e7c4b2a65dfa3b0e7f Author: Max Date: Mon Jun 27 15:51:34 2016 +0200 Add function to check MS GEA capabilities Add function which parses MS network capability IE value for bits indicating support for particular version of GEA. Change-Id: I785cef37dd272a2fab9b172f6e1392f865174e9a Relates: OS#1582 http://cgit.osmocom.org/osmocom-bb/commit/?id=ceae1237528f91f44e226225207ac70a2cf842ec commit ceae1237528f91f44e226225207ac70a2cf842ec Author: Max Date: Mon Jun 27 18:12:49 2016 +0200 Make C4 function globally available This function perform 64 -> 128 bit key expansion which useful for converting between UMTS CK and GSM Kc, A5/3 and A5/4, GEA3 and GEA4 keys. Change-Id: I5a6c6deef6027cd6af144c9062d4c9166be26904 Related: OS#1582 http://cgit.osmocom.org/osmocom-bb/commit/?id=b897c4299329688bb0aba6e32cd10b361bda1dee commit b897c4299329688bb0aba6e32cd10b361bda1dee Author: Max Date: Tue Jun 28 14:03:21 2016 +0200 Add strings for GPRS ciphers Change-Id: I050bda5fb50aad42fe2d72de39f8256b4fb12fb2 Related: OS#1582 http://cgit.osmocom.org/osmocom-bb/commit/?id=6797b3a808cdc9f2998e500269630c822ce9c189 commit 6797b3a808cdc9f2998e500269630c822ce9c189 Author: Neels Hofmeyr Date: Tue Jun 28 16:17:12 2016 +0200 gitignore: *-libtool for differing platforms Change-Id: Ia8c011b53d4256305e70f78372a4aa0019b1131b http://cgit.osmocom.org/osmocom-bb/commit/?id=14bf28a43de485aa76970599378971d27b2a23a7 commit 14bf28a43de485aa76970599378971d27b2a23a7 Author: Harald Welte Date: Mon Jun 27 15:19:10 2016 +0200 Mark input parameter to bitvec_set_bits() as 'const' The input data is accessed in a read-only manner, so it should be marked with the const qualifier. Change-Id: I0d6b86289fa647594f3da1f1c0e0168685307a37 http://cgit.osmocom.org/osmocom-bb/commit/?id=f627c0f0afb280d30aa00da395560db963aba462 commit f627c0f0afb280d30aa00da395560db963aba462 Author: Harald Welte Date: Sat Jun 18 10:36:25 2016 +0200 fsm: Introduce default time-out handling If a FSM doesn't specify any timer_cb, simply terminate the FSM by default on time-out. This is a reasonable default for most cases, and avoids copy+pasting a one-line timer_cb function in every FSM. Also, even if there is a timer_cb, let it have a return value to decide if the core should terminate after return from timer_cb or not. Change-Id: I0461a9593bfb729c82b7d1d1cf9f30b1079d0212 http://cgit.osmocom.org/osmocom-bb/commit/?id=d826f1771cdada9009db599a9cf3882192bf0454 commit d826f1771cdada9009db599a9cf3882192bf0454 Author: Max Date: Thu Jun 23 13:14:02 2016 +0200 Fix potential segfault in msg_dequeue Change-Id: I06e9c5ba3e00c73a4e52d2583ce3492f236275ce http://cgit.osmocom.org/osmocom-bb/commit/?id=e0a7d9e2c220e5544ee8982c78851ff40ac425bc commit e0a7d9e2c220e5544ee8982c78851ff40ac425bc Author: Max Date: Fri Jun 17 17:58:52 2016 +0200 Add octet-aligned/unaligned shift functions The actual code is from OsmoBTS' tch.c by Harald Welte. Add unit tests, doxygen annotation and extra memory safety check. Those functions are used in several BTS implementations but seems generic enough to be generally useful. Change-Id: I2b1901c4161e8035f059585901dca593b661556d http://cgit.osmocom.org/osmocom-bb/commit/?id=136e73764e7f58e52ffb13d01304fef30eb7d291 commit 136e73764e7f58e52ffb13d01304fef30eb7d291 Author: Harald Welte Date: Sun May 29 10:53:17 2016 +0900 Add Finite State Machine abstraction code This code is supposed to formalize some of the state machine handling in Osmocom code. Change-Id: I0b0965a912598c1f6b84042a99fea9d522642466 Reviewed-on: https://gerrit.osmocom.org/163 Tested-by: Jenkins Builder Reviewed-by: Harald Welte http://cgit.osmocom.org/osmocom-bb/commit/?id=82f94ef50f592c8c89b848e91b7cb84587ef8733 commit 82f94ef50f592c8c89b848e91b7cb84587ef8733 Author: Harald Welte Date: Thu May 5 23:33:27 2016 +0200 Add UMTS AKA related MM/GMM message type and IE definitions Change-Id: Id45ea2c631ee589a4df1f8213da6f7e7d1bf6616 Reviewed-on: https://gerrit.osmocom.org/305 Reviewed-by: Harald Welte Tested-by: Jenkins Builder http://cgit.osmocom.org/osmocom-bb/commit/?id=bda26c09019310dd25a2e7671f362cf2c26a3aff commit bda26c09019310dd25a2e7671f362cf2c26a3aff Author: Harald Welte Date: Wed May 11 09:13:08 2016 +0200 Add structures defining decoded TS 23.003 identities Change-Id: I6423f8d75bb3e7aeca285854ab3232a087d62b57 Reviewed-on: https://gerrit.osmocom.org/304 Reviewed-by: Harald Welte Tested-by: Jenkins Builder http://cgit.osmocom.org/osmocom-bb/commit/?id=de960cbc0cc6c02139d2a9be954219420cc81650 commit de960cbc0cc6c02139d2a9be954219420cc81650 Author: Harald Welte Date: Thu Jun 16 22:57:09 2016 +0200 gsup: Add OSMO_GSUP_MSGT_AUTH_FAIL_REPORT The VLR must be able to notify the HLR of authentication failures. Change-Id: I156cff76e092b3548b05534141b61887ee6be3f3 Reviewed-on: https://gerrit.osmocom.org/303 Reviewed-by: Harald Welte Tested-by: Jenkins Builder http://cgit.osmocom.org/osmocom-bb/commit/?id=db78d2172b1d2ecdcbdc54d601a6477b101ebfbc commit db78d2172b1d2ecdcbdc54d601a6477b101ebfbc Author: Harald Welte Date: Mon Jun 6 13:47:07 2016 +0200 gsup.c: Fix encoding of UMTS auth vectors Encoding auth vectors worked fine for GSM authentication, but didn't yet include the new IEs for UMTS authentication yet. Change-Id: I7fa5ba1c950292bd0a9874b3102a27f221ce390d Reviewed-on: https://gerrit.osmocom.org/302 Reviewed-by: Harald Welte Tested-by: Jenkins Builder http://cgit.osmocom.org/osmocom-bb/commit/?id=f624c33ef2e394949c10453b327e248aa27680e2 commit f624c33ef2e394949c10453b327e248aa27680e2 Author: Harald Welte Date: Wed Jun 15 11:35:16 2016 +0200 vty: Fix documentation of 'show asciidoc counters' VTY command VTY documentations strings follow a certain structure, and we need to follow that to make the interactive help work. Change-Id: I0bb0bda68dbbf9995338ec555ff99d73a223162c Reviewed-on: https://gerrit.osmocom.org/276 Reviewed-by: Harald Welte Tested-by: Harald Welte http://cgit.osmocom.org/osmocom-bb/commit/?id=22886d9e320ecf734d2827d825a191b977f70d2c commit 22886d9e320ecf734d2827d825a191b977f70d2c Author: Max Date: Tue Jun 14 18:17:06 2016 +0200 Fix retrieving rate_ctr over control interface Allow getting either particular counter (e. g. rate_ctr.per_hour.e1inp.0.hdlc.abort) or entire rate counter group for a given index (e. g. rate_ctr.per_hour.e1inp.0). Change-Id: I2b0109536170f7b5388d3236df30b98f457aa98d Fixes: OS#1730 Reviewed-on: https://gerrit.osmocom.org/274 Tested-by: Jenkins Builder Reviewed-by: Harald Welte http://cgit.osmocom.org/osmocom-bb/commit/?id=ad580ba7c400835fdff0226700dd02c7ffff32c6 commit ad580ba7c400835fdff0226700dd02c7ffff32c6 Author: Alexander Couzens Date: Mon May 16 16:01:45 2016 +0200 add vty call show asciidoc: generate a documentation for counters For each counter group a ascii doc table is generated containing all single counter with a reference to a section to add additional information to the counter Change-Id: Ia8af883167e5ee631059299b107ea83c8bbffdfb Reviewed-on: https://gerrit.osmocom.org/70 Reviewed-by: Harald Welte Tested-by: Harald Welte http://cgit.osmocom.org/osmocom-bb/commit/?id=0167e3f35535b1b19eab659659180fa549da52b0 commit 0167e3f35535b1b19eab659659180fa549da52b0 Author: Neels Hofmeyr Date: Mon Jun 6 18:10:38 2016 +0200 add rsl_or_ipac_msg_name() for both standard and ip.access msg types Context: in osmo-bts, I want to look up an RSL message name in rsl_msgt_names and fall back to rsl_ipac_msgt_names if not found, because the IPAC PDCH ACT and DEACT messages are sent in a standard ABIS_RSL_MDISC_DED_CHAN. Change-Id: Ic9ba721a1469cf51aed97ab0f44a7fe055c94b1f Reviewed-on: https://gerrit.osmocom.org/231 Reviewed-by: Harald Welte Tested-by: Jenkins Builder http://cgit.osmocom.org/osmocom-bb/commit/?id=8d6dcd9bca7ce9b0a29954126c72050f8e2e110c commit 8d6dcd9bca7ce9b0a29954126c72050f8e2e110c Author: Neels Hofmeyr Date: Mon Jun 6 18:05:23 2016 +0200 add get_value_string_or_null() to handle unknown items Add get_value_string_or_null() to return NULL in case the given value is not found in the list of strings, to be able to cleanly fall back to another list of strings. Absorb the lookup loop from get_value_string(). Context: in osmo-bts, I want to look up an RSL message name in rsl_msgt_names and fall back to rsl_ipac_msgt_names if not found, because the IPAC PDCH ACT and DEACT messages are sent in a standard ABIS_RSL_MDISC_DED_CHAN. In a subsequent commit, get_value_string_or_null() will be used by new rsl_or_ipac_msg_name(). Change-Id: I1fa3907e28d528d2758bc3eae9d19e6c1168f5e5 Reviewed-on: https://gerrit.osmocom.org/230 Reviewed-by: Harald Welte Tested-by: Jenkins Builder http://cgit.osmocom.org/osmocom-bb/commit/?id=8a3c83ed00104bdb326c160a36c8f2b0625eeabd commit 8a3c83ed00104bdb326c160a36c8f2b0625eeabd Author: Neels Hofmeyr Date: Mon Jun 13 13:16:58 2016 +0200 api doc: get_value_string(): mention composition in static buffer Change-Id: I93dad98711ef69f8a1e196efa029a842a1ff5bd6 Reviewed-on: https://gerrit.osmocom.org/229 Reviewed-by: Harald Welte Tested-by: Jenkins Builder http://cgit.osmocom.org/osmocom-bb/commit/?id=6cf8eba4ecb560b50faf94c99c2bd6008b97c731 commit 6cf8eba4ecb560b50faf94c99c2bd6008b97c731 Author: Neels Hofmeyr Date: Mon Jun 6 18:17:20 2016 +0200 gitignore: add gsup_test, tlv_test Change-Id: Ied1cbc7a48bdbc3696e9d8657285071c377d6de5 Reviewed-on: https://gerrit.osmocom.org/207 Tested-by: Jenkins Builder Reviewed-by: Holger Freyther http://cgit.osmocom.org/osmocom-bb/commit/?id=4f511b67fd83b5767071604920ebc3bac025b751 commit 4f511b67fd83b5767071604920ebc3bac025b751 Author: Harald Welte Date: Wed May 18 19:36:42 2016 +0200 osmo-auc-gen: Print hex values without intermittent spaces When generating some authentication vectors using the osmo-auc-gen utility, it used to print values like this: AUTN: f7 55 bc 47 de d0 00 00 f9 ed 4b 3f 6c 2a 97 6f which is quite difficult to copy+paste on the terminal. Now it generates the following format: Change-Id: I2805615e0c2087ca632e0658b37a9e06929620b6 AUTN: f755bc47ded00000f9ed4b3f6c2a976f Reviewed-on: https://gerrit.osmocom.org/164 Reviewed-by: Harald Welte Tested-by: Jenkins Builder http://cgit.osmocom.org/osmocom-bb/commit/?id=ec8f192fec548dd87522946319d80e4f3bc4e35c commit ec8f192fec548dd87522946319d80e4f3bc4e35c Author: Max Date: Tue May 31 14:50:21 2016 +0200 Add functions to detect HR/FR SID frames Add functions which check if given FR or HR frame (packed in RTP) contains SID (SIlence Descriptor) and corresponding tests. Related: OS#22 Change-Id: I4051e3c0d4fb9ee93d7e9e0ef4abaf9f18e227ca Reviewed-on: https://gerrit.osmocom.org/160 Tested-by: Jenkins Builder Reviewed-by: Harald Welte http://cgit.osmocom.org/osmocom-bb/commit/?id=720ac4a4e1768cd928eb9d9265c0417f6865bc1b commit 720ac4a4e1768cd928eb9d9265c0417f6865bc1b Author: Ruben Undheim Date: Fri May 27 22:03:59 2016 +0200 Patched structs for big-endian architectures Change-Id: I29eafe481e112d18c624b1c83add0d53c354dbe4 Reviewed-on: https://gerrit.osmocom.org/124 Tested-by: Jenkins Builder Reviewed-by: Neels Hofmeyr Reviewed-by: Harald Welte http://cgit.osmocom.org/osmocom-bb/commit/?id=92db150488bdadf6577a4968feabd5a3ab694c5e commit 92db150488bdadf6577a4968feabd5a3ab694c5e Author: Max Date: Wed May 25 18:13:51 2016 +0200 Add helper functions for AMR codec * add functions to encode/decode various codec paramters from RTP payload with AMR frame according to RFC 4867 * those functions are extended version based on code from osmo-bts' amr.c by Andreas Eversberg * add corresponding enum types and strings for logging * add regression tests It's useful both to replace manual parsing in osmo-bts with fuctions covered by test suite and as a debugging helpers for issues related to AMR. Change-Id: Ia217679a07d3fbc970f435e20f6eac33d34bd597 Related: OS#1562 Reviewed-on: https://gerrit.osmocom.org/118 Tested-by: Jenkins Builder Reviewed-by: Holger Freyther http://cgit.osmocom.org/osmocom-bb/commit/?id=adef12a3497d14aafe677b77b468b952f4c6b5d5 commit adef12a3497d14aafe677b77b468b952f4c6b5d5 Author: Max Date: Wed May 25 15:25:02 2016 +0200 Add strings with PH primitive names It's useful debugging helper while troubleshooting L1-related issues. Change-Id: Id7a6d478fd725c51f54ad746bdf9b9095579ff77 Reviewed-on: https://gerrit.osmocom.org/117 Tested-by: Jenkins Builder Reviewed-by: Max Reviewed-by: Holger Freyther http://cgit.osmocom.org/osmocom-bb/commit/?id=e4c294f79b8df9a2a36a630d97f8dc7ed206c7d6 commit e4c294f79b8df9a2a36a630d97f8dc7ed206c7d6 Author: Beshr Al Nahas Date: Sat May 28 14:21:13 2016 +0200 Fixing build on Mac OSX Fix minor syntax error Change-Id: I67f9a1e41fa5b1da3a4b10fc76138e153b767241 Reviewed-on: https://gerrit.osmocom.org/125 Tested-by: Jenkins Builder Reviewed-by: Holger Freyther http://cgit.osmocom.org/osmocom-bb/commit/?id=029f5a1c0d30bbd605f62f0c535e920e8c37ca92 commit 029f5a1c0d30bbd605f62f0c535e920e8c37ca92 Author: Ruben Undheim Date: Wed Sep 16 19:02:35 2015 +0200 misc: Some spelling errors corrected Change-Id: Ibfc239b84879556624ca6020ae6a63d102640c94 Reviewed-on: https://gerrit.osmocom.org/114 Tested-by: Jenkins Builder Reviewed-by: Neels Hofmeyr http://cgit.osmocom.org/osmocom-bb/commit/?id=45abec20dd66a7ebb762ad8942d1ba818287ff63 commit 45abec20dd66a7ebb762ad8942d1ba818287ff63 Author: Holger Freyther Date: Fri May 20 19:21:27 2016 +0000 Revert "gsm48: move to hex TMSI representation" This is a "flag" day change. Old OpenBSC break with new libosmocore because suddenly there is the 0x in front. I am afraid we need to find a better solution here. I think we will need to create a gsm48_mi_to_string variant that takes a mode parameter to enable the TMSI mode and deprecate the old method. Right now we should not break old versions of OpenBSC. This reverts commit 78ad042f94afd5bf7de477ae634e9d2fdd9c9dc4. Change-Id: I2f61e626f2f9088b492e1b643c3dcc9bce77d52b Reviewed-on: https://gerrit.osmocom.org/86 Tested-by: Jenkins Builder Reviewed-by: Holger Freyther http://cgit.osmocom.org/osmocom-bb/commit/?id=cc3694b650e22598811b3e5eaf74ef3dc0e4f7ab commit cc3694b650e22598811b3e5eaf74ef3dc0e4f7ab Author: Arran Cudbard-Bell Date: Wed May 18 16:02:19 2016 -0400 Fix build for OSX Change-Id: I580a500edcf4812e570be586890abef746083a8c Reviewed-on: https://gerrit.osmocom.org/74 Tested-by: Jenkins Builder Reviewed-by: Holger Freyther http://cgit.osmocom.org/osmocom-bb/commit/?id=78ad042f94afd5bf7de477ae634e9d2fdd9c9dc4 commit 78ad042f94afd5bf7de477ae634e9d2fdd9c9dc4 Author: Vadim Yanitskiy Date: Fri May 13 13:11:13 2016 +0600 gsm48: move to hex TMSI representation Previously, we traditionally displayed a TMSI in its integer representation, which is quite unusual in the telecom world. A TMSI is normally printed as a series of 8 hex digits. Review at https://gerrit.osmocom.org/57/ Change-Id: Ifd25365bfa3b4ee95b16979740c3229948ce17f2 Reviewed-on: https://gerrit.osmocom.org/57 Tested-by: Jenkins Builder Reviewed-by: Harald Welte Reviewed-by: Holger Freyther http://cgit.osmocom.org/osmocom-bb/commit/?id=2da9e11258588367f288e6abfa9ebcb50d11f456 commit 2da9e11258588367f288e6abfa9ebcb50d11f456 Author: Alexander Couzens Date: Tue May 17 17:56:58 2016 +0200 add .gitreview A gitreview file is required to use git review. More information about git review https://www.mediawiki.org/wiki/Gerrit/git-review Change-Id: I95235dddf60670c38a5a7a726c2a77f09d03c303 Reviewed-on: https://gerrit.osmocom.org/69 Tested-by: Jenkins Builder Reviewed-by: Holger Freyther http://cgit.osmocom.org/osmocom-bb/commit/?id=ec012d09995f8336f917f5b1d22cdb8bba9c03a9 commit ec012d09995f8336f917f5b1d22cdb8bba9c03a9 Author: Arran Cudbard-Bell Date: Wed May 18 16:02:53 2016 -0400 Ignore config.cache Change-Id: Ida2294e490eb5eec515aa00742fb6cfc29b11b48 Reviewed-on: https://gerrit.osmocom.org/83 Tested-by: Jenkins Builder Reviewed-by: Holger Freyther http://cgit.osmocom.org/osmocom-bb/commit/?id=764b022fc69c4bb9816e12801186f8fa25f8dd72 commit 764b022fc69c4bb9816e12801186f8fa25f8dd72 Author: Max Date: Wed May 11 17:33:17 2016 +0200 Add function to make Uplink Measurement It assembles RSL Uplink Measurement IE according to 3GPP TS 08.58 ??9.3.25. The function is based on lchan_build_rsl_ul_meas() from OsmoBTS but optionally includes DTX information. Change-Id: Ib37107bcc9909e5105ea711de42d3fb1db7e8d9e Reviewed-on: https://gerrit.osmocom.org/44 Tested-by: Jenkins Builder Reviewed-by: Harald Welte http://cgit.osmocom.org/osmocom-bb/commit/?id=fe65fa7e36a400d362666e2c5bd0f289d45aa56a commit fe65fa7e36a400d362666e2c5bd0f289d45aa56a Author: Max Date: Tue May 10 17:17:05 2016 +0200 Set DTX in Cell Options * rename field of struct gsm48_cell_options to better match the spec * add comments with spec references * add function for setting DTX in cell options struct * add necessary enum type Change-Id: I5a8924f57669c951b2e51b663d95f1d360062a54 Reviewed-on: https://gerrit.osmocom.org/39 Reviewed-by: Harald Welte Tested-by: Jenkins Builder http://cgit.osmocom.org/osmocom-bb/commit/?id=3d79240fb41270d58f9c33508e11f0c215951cc9 commit 3d79240fb41270d58f9c33508e11f0c215951cc9 Author: Harald Welte Date: Tue May 10 15:23:06 2016 +0200 logging: Use __BASE_FILE__ instead of __FILE__ Apparently __FILE__ expands to nasty '../../..' paths when BUILDDIR != SRCDIR. This in turn leads to ugly log lines like: <0000> ../../../../osmo-bts/src/common/rsl.c:1642 (bts=0,trx=0,ts=0,ss=0) Handing RLL msg UNIT_DATA_IND from LAPDm to MEAS REP Where we certainly wouldn't want the "../../../../osmo-bts" part. Change-Id: If6d2de33c3b6bb2943954bbd81eff261dc279d58 Reviewed-on: https://gerrit.osmocom.org/38 Tested-by: Jenkins Builder Reviewed-by: Harald Welte http://cgit.osmocom.org/osmocom-bb/commit/?id=d71257fdb6d3ba3cfb60a87f4e29226cce6976f5 commit d71257fdb6d3ba3cfb60a87f4e29226cce6976f5 Author: Holger Hans Peter Freyther Date: Tue May 10 13:00:05 2016 +0200 debian: Fix packaging by requiring python-minimal We require the python2 binary to generate code. In Debian this is provided by python-minimal. Add it to the build-depends to fix building packages. Change-Id: Iaa26f4331966d015b193d2ab1e34621b1e319ef1 Reviewed-on: https://gerrit.osmocom.org/37 Tested-by: Jenkins Builder Reviewed-by: Holger Freyther http://cgit.osmocom.org/osmocom-bb/commit/?id=c7bf8d0c8474534816d893d4b51f4844ccd71a86 commit c7bf8d0c8474534816d893d4b51f4844ccd71a86 Author: Neels Hofmeyr Date: Sun May 8 22:23:40 2016 +0200 api doc: auth_core.c: add \returns, cosmetic Add various missing \returns doxygen entries. In osmo_auth_3g_from_2g(), also adjust two comment-closing instances to match common style and add a period to end a sentence. (The recent addition of osmo_auth_3g_from_2g() raised my attention, and I added more return value docs while at it.) Change-Id: Iea71eb666bc061acb6b14215f398bd38d17b3ad3 Reviewed-on: https://gerrit.osmocom.org/33 Tested-by: Jenkins Builder Reviewed-by: Holger Freyther http://cgit.osmocom.org/osmocom-bb/commit/?id=7530d8242e528cd5ef5062192effde835ca48dfb commit 7530d8242e528cd5ef5062192effde835ca48dfb Author: Harald Welte Date: Mon Apr 25 19:09:24 2016 +0200 add doc/*.tag to .gitignore http://cgit.osmocom.org/osmocom-bb/commit/?id=766da8687741340135b637aa593886b7345b8ddc commit 766da8687741340135b637aa593886b7345b8ddc Author: Harald Welte Date: Fri May 6 11:18:15 2016 +0200 GSUP: Add support for RAND in SendAuthInfo.req In the autentication re-sync case, we need not only the AUTS from the MS/UE, but also the RAND that we sent as part of the failed authentication challenge. http://cgit.osmocom.org/osmocom-bb/commit/?id=48dc1a5a64041e53e7cf7ae39758ed92aecbb6a3 commit 48dc1a5a64041e53e7cf7ae39758ed92aecbb6a3 Author: Harald Welte Date: Thu May 5 18:46:42 2016 +0200 GSUP: Add OSMO_GSUP_CN_DOMAIN_IE to differentiate CS and PS plane We're starting to use GSUP for circuit-switched (CS) plane, so we need to differentiate the two planes somehow from each other. http://cgit.osmocom.org/osmocom-bb/commit/?id=3b6fb0880c3ab1e23a3d7d738d073b00c2a794c2 commit 3b6fb0880c3ab1e23a3d7d738d073b00c2a794c2 Author: Harald Welte Date: Mon Apr 25 18:46:22 2016 +0200 import gprs_gsup_message.[ch] from openbsc as gsup.[ch] Move those routines from OpenBSC to libosmogsm, so they can be re-used from other programs. I think it was a mistake to add them only inside the openbsc repository in the first place. We need to pay more attention to this in the future. http://cgit.osmocom.org/osmocom-bb/commit/?id=9709b2e6fd84cab48fc7844475518f68f937bb01 commit 9709b2e6fd84cab48fc7844475518f68f937bb01 Author: Harald Welte Date: Mon Apr 25 18:47:53 2016 +0200 Import osmo_{encode,decode}_big_endian() from openbsc http://cgit.osmocom.org/osmocom-bb/commit/?id=fbd02fa8ccb27472412189febcc22f77d83ba0ac commit fbd02fa8ccb27472412189febcc22f77d83ba0ac Author: Harald Welte Date: Mon Apr 25 15:19:35 2016 +0200 tlv: Import osmo_shift_* and osmo_match_shift_* from openbsc These routines have nothing to do with specifically the BSC, so import them to the TLV parser we keep in libosmogsm. http://cgit.osmocom.org/osmocom-bb/commit/?id=2d2e2cca0dc1d62addc9c9fcb3a59f343fc3baf6 commit 2d2e2cca0dc1d62addc9c9fcb3a59f343fc3baf6 Author: Harald Welte Date: Mon Apr 25 12:11:20 2016 +0200 Update doxygen annotations in libosmocore This adds and improves doxygen API descriptions all over libosmocore, reducing the 'white spots' that don't have any documentation. http://cgit.osmocom.org/osmocom-bb/commit/?id=0996c879255e4653740814112bf98d0ddc93100c commit 0996c879255e4653740814112bf98d0ddc93100c Author: Harald Welte Date: Wed Apr 20 17:28:03 2016 +0200 add new header file for TS 23.003 http://cgit.osmocom.org/osmocom-bb/commit/?id=64f38c0410552e7c8ce1f12ceed8af0496d4ff01 commit 64f38c0410552e7c8ce1f12ceed8af0496d4ff01 Author: Harald Welte Date: Wed Apr 20 17:12:24 2016 +0200 import gsm_04_08_gprs.[ch] from openbsc.git The definitions in this header file (and associated strings in the c file) are generic about the GPRS Layer3 signalling protocols, and thus should be part of the library. http://cgit.osmocom.org/osmocom-bb/commit/?id=69e6c3c7cdaeabbe31f66fffe9606cb6ee2ec8ee commit 69e6c3c7cdaeabbe31f66fffe9606cb6ee2ec8ee Author: Harald Welte Date: Wed Apr 20 10:41:27 2016 +0200 Add log_fini() function to release all memory allocated by logging framework This is e.g. quite useful to call at the end of test code, in order to show that all memory allocated actually is released before exit(). http://cgit.osmocom.org/osmocom-bb/commit/?id=cd9cb90f452ed83a3df0bf9d136aea19186c7f7b commit cd9cb90f452ed83a3df0bf9d136aea19186c7f7b Author: Harald Welte Date: Wed Apr 20 10:39:00 2016 +0200 auth_core: Add osmo_auth_3g_from_2g() to compute CK+IK from Kc This function performs the C5+C4 conversion to derive UMTS key material from a 2G-only subscriber. http://cgit.osmocom.org/osmocom-bb/commit/?id=3a96d2837c2d5648692737ad5ddcc3893e12e913 commit 3a96d2837c2d5648692737ad5ddcc3893e12e913 Author: Holger Hans Peter Freyther Date: Fri Apr 29 21:24:48 2016 +0200 conv_gen: Use python2 to execute the script The script does not work with python3: $ python3 utils/conv_gen.py File "utils/conv_gen.py", line 124 def _print_term(self, fi, num_states, pack = False): Second there is no 'python' on FreeBSD and one needs to select the major version to use. GEN conv_cs3_gen.c GEN conv_xcch_gen.c GEN conv_cs2_gen.c python: not found python: not found python: not found By using python2 we solve both issues. On Debian python2 is located inside the python-minimal package. http://cgit.osmocom.org/osmocom-bb/commit/?id=eea18a6f29a04706877f4e888818a826f0dcc93a commit eea18a6f29a04706877f4e888818a826f0dcc93a Author: Harald Welte Date: Fri Apr 29 15:18:35 2016 +0200 add two missing files (gsm0503.h / conv_gen.py) to previous commit http://cgit.osmocom.org/osmocom-bb/commit/?id=84da22f96429f77276783d28622d0c6acb5c484d commit 84da22f96429f77276783d28622d0c6acb5c484d Author: Max Suraev msuraev at sysmocom.de Date: Fri Apr 29 13:17:22 2016 +0200 Add code generator for convolutional codes Add python utility to generate .c code with convolutional encoder/decoder based on polynomial description of the code. If argument given it'll be interpreted as intended output directory, otherwise current working directory is used. Codes for *CCH, CS2/3 and TCH/AFS are generated. Corresponding manual implementations are removed from tests. This introduce build-time dependency on python. The main work for this patch was generously contributed by Sylvain Munaut. Fixes: OS#1629 http://cgit.osmocom.org/osmocom-bb/commit/?id=aa16d63c273204dc69108f7361d38b751bfb69e4 commit aa16d63c273204dc69108f7361d38b751bfb69e4 Author: Holger Hans Peter Freyther Date: Sat Apr 23 17:55:39 2016 +0200 milenage/aes: Address undefined behavior on bitshift Extend the u8 to u32 before going to shift it. Fixes: milenage/aes-internal.c:799:4: runtime error: left shift of 128 by 24 places cannot be represented in type 'int' #0 0x7f84e9fe86a2 in rijndaelKeySetupEnc (/home/builder/jenkins/workspace/Osmocom_Sanitizer/source/libosmocore/src/gsm/.libs/libosmogsm.so.5+0xfa6a2) #1 0x7f84e9febad8 in aes_encrypt_init (/home/builder/jenkins/workspace/Osmocom_Sanitizer/source/libosmocore/src/gsm/.libs/libosmogsm.so.5+0xfdad8) #2 0x7f84e9fe7d14 in aes_128_encrypt_block (/home/builder/jenkins/workspace/Osmocom_Sanitizer/source/libosmocore/src/gsm/.libs/libosmogsm.so.5+0xf9d14) #3 0x7f84e9febe7d in milenage_f1 (/home/builder/jenkins/workspace/Osmocom_Sanitizer/source/libosmocore/src/gsm/.libs/libosmogsm.so.5+0xfde7d) #4 0x7f84e9fee2ce in milenage_generate (/home/builder/jenkins/workspace/Osmocom_Sanitizer/source/libosmocore/src/gsm/.libs/libosmogsm.so.5+0x1002ce) #5 0x7f84e9fe76d7 in milenage_gen_vec (/home/builder/jenkins/workspace/Osmocom_Sanitizer/source/libosmocore/src/gsm/.libs/libosmogsm.so.5+0xf96d7) #6 0x7f84e9fe6c08 in osmo_auth_gen_vec (/home/builder/jenkins/workspace/Osmocom_Sanitizer/source/libosmocore/src/gsm/.libs/libosmogsm.so.5+0xf8c08) #7 0x401441 in main (/home/builder/jenkins/workspace/Osmocom_Sanitizer/source/libosmocore/tests/auth/.libs/lt-milenage_test+0x401441) #8 0x7f84e8e33a3f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x20a3f) #9 0x400e58 in _start (/home/builder/jenkins/workspace/Osmocom_Sanitizer/source/libosmocore/tests/auth/.libs/lt-milenage_test+0x400e58) http://cgit.osmocom.org/osmocom-bb/commit/?id=7d004a1d69acc09707860334ccdfcf71604206be commit 7d004a1d69acc09707860334ccdfcf71604206be Author: Holger Hans Peter Freyther Date: Sun Apr 24 20:56:55 2016 +0200 doxygen: Remove the tag file on uninstall as well Hopefully last patch: ERROR: files left in build directory after distclean: ./doc/libosmocore.tag ./doc/libosmovty.tag ./doc/libosmogsm.tag ./doc/libosmocodec.tag Makefile:800: recipe for target 'distcleancheck' failed http://cgit.osmocom.org/osmocom-bb/commit/?id=c63ed3f7c6e29720da3e0fed3c94a4569d8e6c71 commit c63ed3f7c6e29720da3e0fed3c94a4569d8e6c71 Author: Holger Hans Peter Freyther Date: Sun Apr 24 20:30:14 2016 +0200 doxygen: Next try to fix the uninstall handling Use /* to remove the files http://cgit.osmocom.org/osmocom-bb/commit/?id=faaf2528b11653c955d649341fe2eebea6cfa128 commit faaf2528b11653c955d649341fe2eebea6cfa128 Author: Holger Hans Peter Freyther Date: Sun Apr 24 20:16:41 2016 +0200 doxygen: Try to uninstall the search files as well Try to fix this by putting the search directory first as I don't know how to pass -r to the RM command. rm -f doc/{core,gsm,vty,codec}/{html,latex}/* doc/html.tar doc/{core,gsm,vty,codec}/doxygen_sqlite3.db rm: cannot remove ???doc/core/html/search???: Is a directory rm: cannot remove ???doc/gsm/html/search???: Is a directory rm: cannot remove ???doc/vty/html/search???: Is a directory rm: cannot remove ???doc/codec/html/search???: Is a directory http://cgit.osmocom.org/osmocom-bb/commit/?id=936151bbffc6a06124dac7252a5bf183f89581ea commit 936151bbffc6a06124dac7252a5bf183f89581ea Author: Max Date: Sun Apr 24 12:01:03 2016 +0200 Add static lib to -dev .deb package According to https://www.debian.org/doc/debian-policy/ch-sharedlibs.html and http://packaging.ubuntu.com/html/libraries.html that's where it belongs. http://cgit.osmocom.org/osmocom-bb/commit/?id=610ef99e6d66cd36fbee712c744c4cc71f08844f commit 610ef99e6d66cd36fbee712c744c4cc71f08844f Author: Sylvain Munaut Date: Sun Apr 24 15:05:45 2016 +0200 Doxygen: enable tagfile generation and usage for cross-project references Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=c7c582a95f8a68e9516bb60132b384c4087d55b3 commit c7c582a95f8a68e9516bb60132b384c4087d55b3 Author: Sylvain Munaut Date: Sun Apr 24 15:05:44 2016 +0200 Doxygen: Enable client-based search engine Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=27e8036d418181e390809c8668d15a9ab425be59 commit 27e8036d418181e390809c8668d15a9ab425be59 Author: Max Date: Sat Apr 23 19:37:58 2016 +0200 Fix unaligned access found by addr. sanitizer gprs_bssgp.c:461:9: runtime error: load of misaligned address 0x62100001a66b for type 'uint32_t', which requires 4 byte alignment gprs_ns.c:937:16: runtime error: load of misaligned address 0x61d00002a97f for type 'uint16_t', which requires 2 byte alignment http://cgit.osmocom.org/osmocom-bb/commit/?id=8a5346ba2f7ed7b4e69d32397b99d11c14694a2a commit 8a5346ba2f7ed7b4e69d32397b99d11c14694a2a Author: Max Date: Fri Apr 22 19:28:09 2016 +0200 Add function for appending range1024 to bitvec Add convenience function to append range1024 encoded data (see 3GPP TS 44.018 Annex J) to a given bitvec. http://cgit.osmocom.org/osmocom-bb/commit/?id=1f9d8183be276fa770b106d1e8f9719386a9515a commit 1f9d8183be276fa770b106d1e8f9719386a9515a Author: Max Date: Thu Apr 21 17:12:40 2016 +0200 Deprecate comp128 Mark function as deprecated to discourage its usage: people should use generic API in osmocom/crypt/auth.h http://cgit.osmocom.org/osmocom-bb/commit/?id=fdb3d8ce7898801d5b18d446a17ccc0f09451d4f commit fdb3d8ce7898801d5b18d446a17ccc0f09451d4f Author: Max Date: Thu Apr 21 16:51:04 2016 +0200 Deprecate osmo_a5_1 and osmo_a5_2 Mark the functions as deprecated to discourage their use: people should use unified osmo_a5 which supports all the A5/1-4 ciphers. http://cgit.osmocom.org/osmocom-bb/commit/?id=aead05da321e3accaffec471d547d3a7174091b2 commit aead05da321e3accaffec471d547d3a7174091b2 Author: Max Date: Thu Apr 21 15:57:52 2016 +0200 Improve code reuse Use generic functions covered by testsuit for SQN calculations. http://cgit.osmocom.org/osmocom-bb/commit/?id=bf990bb8fd5aa27c57416831311bc4b2a9769bef commit bf990bb8fd5aa27c57416831311bc4b2a9769bef Author: Max Date: Thu Apr 21 14:46:30 2016 +0200 Update internal GPRS cipher API Update internal API (for GPRS cipher implementors): make it compliant with ETSI TS 155.22. External API left untouched. http://cgit.osmocom.org/osmocom-bb/commit/?id=402b9b055538737838ce112a99a75401aa4f14c6 commit 402b9b055538737838ce112a99a75401aa4f14c6 Author: Max Date: Thu Apr 21 14:58:30 2016 +0200 Addditional classmark check against A5/4 support Add classmark check function according to GSM 04.08 Chapter 10.5.1.7 Fix interface to use unsigned for unsigned value. http://cgit.osmocom.org/osmocom-bb/commit/?id=fbb8bfa514284f9744809afba51dec716590090c commit fbb8bfa514284f9744809afba51dec716590090c Author: Max Date: Fri Apr 15 16:04:04 2016 +0200 Add function to get osmo_earfcn bit size This function returns the number of bits necessary to pack osmo_earfcn into Repeated E-UTRAN Neighbour Cells IE (3GPP TS 44.018 Table 10.5.2.33b.1). http://cgit.osmocom.org/osmocom-bb/commit/?id=da1b20cd4f7b13121434d32817886d7803fd6052 commit da1b20cd4f7b13121434d32817886d7803fd6052 Author: Neels Hofmeyr Date: Thu Apr 14 15:12:16 2016 +0200 logging.c: assert category_token allocation (CID #57871) http://cgit.osmocom.org/osmocom-bb/commit/?id=700297528cb0894524b8d188ebd3377af27c488d commit 700297528cb0894524b8d188ebd3377af27c488d Author: Holger Hans Peter Freyther Date: Wed Apr 13 18:50:41 2016 -0400 jenkins: Enable tracing and error handling in bash Like jenkins we want to see what is actually being executed and fail if a subcommand has failed. http://cgit.osmocom.org/osmocom-bb/commit/?id=d16321801d458909b8c5594060bbdf17456acae2 commit d16321801d458909b8c5594060bbdf17456acae2 Author: Holger Hans Peter Freyther Date: Wed Apr 13 18:47:15 2016 -0400 jenkins: Add build script used by jenkins on our public CI The actual script (removed unused and commented out handling) as invoked by jenkins. This can be used to locally try to reproduce the build. http://cgit.osmocom.org/osmocom-bb/commit/?id=d8fb14226f798c9daf948d374a982583cd4ee202 commit d8fb14226f798c9daf948d374a982583cd4ee202 Author: Max Date: Wed Apr 6 16:13:00 2016 +0200 Add ubit <-> sbit convertors Move functions for conversion between soft and unpacked bits to main library as they are generally useful. http://cgit.osmocom.org/osmocom-bb/commit/?id=93bc64f99ddef02a39c03dfd0725bb41dc93e287 commit 93bc64f99ddef02a39c03dfd0725bb41dc93e287 Author: Max Date: Mon Apr 11 16:57:34 2016 +0200 gb: Add bssgp_pdu_str to libosmogb namespace [hfreyther: To be used by osmo-pcu] http://cgit.osmocom.org/osmocom-bb/commit/?id=b9bb0b02acdcd2b56e2821e454d73affa044e199 commit b9bb0b02acdcd2b56e2821e454d73affa044e199 Author: Max Date: Thu Apr 7 11:01:52 2016 +0200 Add missing docs for bssgp bvc reset vty command Fixes the build failure with extended tests enabled. http://cgit.osmocom.org/osmocom-bb/commit/?id=ea50732df21442c8d33806d30040d6d81f7aab90 commit ea50732df21442c8d33806d30040d6d81f7aab90 Author: Max Date: Thu Mar 31 21:40:26 2016 +0200 Add vty command to explicitly reset given BVCI It's useful for debugging and is similar to existing reset command for nsvc. http://cgit.osmocom.org/osmocom-bb/commit/?id=793a2907d553095d77d73e8bf7cc132667ee7240 commit 793a2907d553095d77d73e8bf7cc132667ee7240 Author: Holger Hans Peter Freyther Date: Wed Mar 23 14:48:39 2016 +0100 vty: Make a reservation for the osmo-sip-connector The osmo-sip-connector is a new application and is a MNCC to SIP bridge. It is not implementing transcoding or RTP proxying at all. http://cgit.osmocom.org/osmocom-bb/commit/?id=61f28880d5dc3f08689bef61a54fa2035928ffaa commit 61f28880d5dc3f08689bef61a54fa2035928ffaa Author: Holger Hans Peter Freyther Date: Mon Mar 21 09:55:05 2016 +0100 select: Externalize fd_set filling and dispatch To integrate with an external event loop (in this case glib) we need to allow an application to get a filled out fd_set and then dispatch it. osmo_fds and maxfds are static and I decided to keep it that way and instead create two routines to fill the fdset and then one to dispatch the result. The public header file does not include sys/select.h and we can compile the library without select, so I didn't want to require having to include this file, and used void * for the parameter. Mark the routines as inline to avoid a call from the select function. I have confirmed that inlining has an effect on x86 using Debian's gcc-4.9.2-10 compiler http://cgit.osmocom.org/osmocom-bb/commit/?id=fb348eeff25e8e66a4a8651dc94901c7a004343a commit fb348eeff25e8e66a4a8651dc94901c7a004343a Author: Max Date: Wed Mar 30 21:14:53 2016 +0200 Export names for gsm_chan_t and gsm48_chan_mode This can be used with get_value_string() to improve debugging output. http://cgit.osmocom.org/osmocom-bb/commit/?id=92c4ec293d0b73e5c6306d26e608340edc40b04c commit 92c4ec293d0b73e5c6306d26e608340edc40b04c Author: Holger Hans Peter Freyther Date: Mon Mar 21 11:28:59 2016 +0100 sim: Fix compiler warning and by this fixing the test result http://cgit.osmocom.org/osmocom-bb/commit/?id=932d2d4ce31b9d2dfb028df2ca683b42fee7ee54 commit 932d2d4ce31b9d2dfb028df2ca683b42fee7ee54 Author: Harald Welte Date: Sat Mar 19 21:18:40 2016 +0100 sim: make osim_reader_ops public http://cgit.osmocom.org/osmocom-bb/commit/?id=6c33ae2605b038391a80dd5defb76a5fabb5dd2b commit 6c33ae2605b038391a80dd5defb76a5fabb5dd2b Author: Harald Welte Date: Sat Mar 19 21:17:58 2016 +0100 Add new osmo_fd_get_by_fd() function This function can be used to obtain the osmo_fd corresponding to a given fd. The latter can be useful when integrating libosmocore main loop with other libraries. http://cgit.osmocom.org/osmocom-bb/commit/?id=676e53446285d1b8f514580fd9485d1f27493c0b commit 676e53446285d1b8f514580fd9485d1f27493c0b Author: Harald Welte Date: Mon Mar 14 21:04:50 2016 +0100 sim: Add simplistic unit test for APDU class tables http://cgit.osmocom.org/osmocom-bb/commit/?id=4acaa13433cc15e4f1d9ee850d78af47419768ab commit 4acaa13433cc15e4f1d9ee850d78af47419768ab Author: Harald Welte Date: Mon Mar 14 15:35:50 2016 +0100 sim: add class_tables / card profiles The tables permit code to determine the APDU class of an APDU based on it APDU/TPDU header (CLA/INS/P1/P2/P3). http://cgit.osmocom.org/osmocom-bb/commit/?id=2c34ab4a80c227be4bb685f75fc24fde86a0704e commit 2c34ab4a80c227be4bb685f75fc24fde86a0704e Author: Max Date: Thu Mar 17 15:42:26 2016 +0100 Improve BSSGP debug output Print string representation of Cause IE and PDU type instead of numerical value. http://cgit.osmocom.org/osmocom-bb/commit/?id=5bed23c6d2722a174aeb1534ecccf80a657deae3 commit 5bed23c6d2722a174aeb1534ecccf80a657deae3 Author: Harald Welte Date: Thu Mar 17 16:50:27 2016 +0100 add missing #include http://cgit.osmocom.org/osmocom-bb/commit/?id=ea345cdaaa23f3e0472deccac9982014e632aba9 commit ea345cdaaa23f3e0472deccac9982014e632aba9 Author: Max Date: Thu Mar 17 14:46:19 2016 +0100 Rename struct to better match libosmocore conventions http://cgit.osmocom.org/osmocom-bb/commit/?id=c79b3972faf900e3d843ddc13601e6178e3131ff commit c79b3972faf900e3d843ddc13601e6178e3131ff Author: Harald Welte Date: Thu Mar 17 14:42:45 2016 +0100 Revert "gsm48: move to hex TMSI representation" This reverts commit f451ce66eb8206bad1078849723edcb209632834. http://cgit.osmocom.org/osmocom-bb/commit/?id=f451ce66eb8206bad1078849723edcb209632834 commit f451ce66eb8206bad1078849723edcb209632834 Author: Vadim Yanitskiy Date: Wed Mar 16 21:12:22 2016 +0600 gsm48: move to hex TMSI representation Signed-off-by: Vadim Yanitskiy http://cgit.osmocom.org/osmocom-bb/commit/?id=03309b57e8ba0163032a1d3db6b44fc8a7e6147c commit 03309b57e8ba0163032a1d3db6b44fc8a7e6147c Author: Max Date: Thu Mar 17 11:51:09 2016 +0100 Add basic EARFCN support Add structure representing group of EARFCNs with common priority, threshold etc. Add functions to populate this structure. http://cgit.osmocom.org/osmocom-bb/commit/?id=d4793212b5026fed01d132fa7397cc0ff2f543fe commit d4793212b5026fed01d132fa7397cc0ff2f543fe Author: Max Date: Thu Mar 17 11:51:08 2016 +0100 Add function to add bits from array to bitvec Add function which adds specified number of bits from each element of array to the bit vector prefixing each addition with one and finishing entire sequence with adding 0. This is very common patter for various repetitive data structures described with CSN.1 in 3GPP standards. Corresponding test vectors and doxygen headers are added too. http://cgit.osmocom.org/osmocom-bb/commit/?id=bdccc1b1444a8692697bd8a293cc89c90ef2d832 commit bdccc1b1444a8692697bd8a293cc89c90ef2d832 Author: Neels Hofmeyr Date: Tue Mar 15 13:28:10 2016 +0100 gsm48: factor out MCC+MNC BCD parsing for re-use in UMTS For 3G, I need a BCD composer/parser similar to gsm48_generate_lai()/ gsm48_decode_lai(). Those functions also handle a trivial extra member (lac) which I don't need in this way for 3G. So create new functions to take on the MCC+MNC BCD handling and call those from gsm48_generate_lai() and gsm48_decode_lai(). In this way, the 3G code in openbsc can use only the BCD functionality without code duplication. http://cgit.osmocom.org/osmocom-bb/commit/?id=da7bf4d55a896034320aa4466b9644083093acd1 commit da7bf4d55a896034320aa4466b9644083093acd1 Author: Neels Hofmeyr Date: Mon Mar 14 16:06:48 2016 +0100 04.08: add inline funcs for transaction id bits Various users of gsm48_hdr apply the same hardcoded shifts/bitmasks to obtain the transaction ID encoded in the upper nibble of the protocol discriminator. Centralize. Patch for openbsc.git will follow. http://cgit.osmocom.org/osmocom-bb/commit/?id=c656faed122b8d858e937d3262acb1925ed6e3d1 commit c656faed122b8d858e937d3262acb1925ed6e3d1 Author: Neels Hofmeyr Date: Mon Mar 14 16:06:47 2016 +0100 04.08: switch to r99 msg type bitmasks by default [hfreyther: Separated from the previous patch to allow an easy revert] http://cgit.osmocom.org/osmocom-bb/commit/?id=282e90843476989629f8ae7e36e4a59b69da40eb commit 282e90843476989629f8ae7e36e4a59b69da40eb Author: Neels Hofmeyr Date: Mon Mar 14 16:06:46 2016 +0100 04.08: add inline funcs for pdisc + msg type bitmasks Add inline functions for both release <= 98 and release >= 99 as well as a default define. Use the release 98 by default since the current code base uses the r98 bitmasks. These inline functions relieve callers of the decision on masking bits of the protocol discriminator and message type octets. Also add a define for the protocol discriminator extension to one octet length (GSM48_PDISC_EXTEND). Apply new pdisc function in gsm0480.c. [hfreyther: Make the hdr param const] http://cgit.osmocom.org/osmocom-bb/commit/?id=c0d9a6c083aa7e35174093c7a7265319bf993a9d commit c0d9a6c083aa7e35174093c7a7265319bf993a9d Author: Max Date: Wed Mar 9 12:29:23 2016 +0100 Add helper function to convert numerical BSSGP PDU type to string http://cgit.osmocom.org/osmocom-bb/commit/?id=e859aec95264f0cda85073b03def63d8596b07a3 commit e859aec95264f0cda85073b03def63d8596b07a3 Author: Max Date: Fri Mar 11 12:24:04 2016 +0100 Add support for SI2quater messages Add basic data structure for System information Type 2quater. http://cgit.osmocom.org/osmocom-bb/commit/?id=5ffb50371eb4795917ea0ce68b3748b0adc74ec9 commit 5ffb50371eb4795917ea0ce68b3748b0adc74ec9 Author: Harald Welte Date: Fri Mar 11 09:40:56 2016 +0700 rename osim_file_find_* to osim_file_desc_find_* they return an osim_file_desc, and not an osim_file, so fix the naming http://cgit.osmocom.org/osmocom-bb/commit/?id=c28f4cdd6d4d9155e431775baf5e897f0a388ad3 commit c28f4cdd6d4d9155e431775baf5e897f0a388ad3 Author: Harald Welte Date: Fri Mar 11 09:35:07 2016 +0700 sim: Add osim_file_find_{fid,sfid}() functions We don't always want to look-up by name, but the latter is the only implemented 'find' function so far. Let's change that. http://cgit.osmocom.org/osmocom-bb/commit/?id=1cc66f093f2ecd85b3dfb9ba411c45102cc1ac65 commit 1cc66f093f2ecd85b3dfb9ba411c45102cc1ac65 Author: Harald Welte Date: Sat Feb 13 14:41:02 2016 +0100 merge_doc.xsl: Don't copy the 'descripiton' element of commands If a vty_additions.xml file contained a element inside a command> element, then the description was copied twice (once during the copy, and once during the copy). Let's avoid one of the two copies. http://cgit.osmocom.org/osmocom-bb/commit/?id=57f253a792d07e6f3f921c9cb28e4081393054d4 commit 57f253a792d07e6f3f921c9cb28e4081393054d4 Author: Holger Hans Peter Freyther Date: Sat Mar 5 08:36:26 2016 +0100 debian: Make sure that libtalloc-dev is installed This way libosmo-abis, libosmo-sccp, openggsn, openbsc does not need to install it. http://cgit.osmocom.org/osmocom-bb/commit/?id=ed0ce47fa9ca78e240d635f3781ad9820b18b97e commit ed0ce47fa9ca78e240d635f3781ad9820b18b97e Author: Holger Hans Peter Freyther Date: Mon Feb 29 14:41:12 2016 +0100 logging: Remove unused variable after recent changes The variable is not used anymore as the decision is done in the newly added check_log_to_target method. http://cgit.osmocom.org/osmocom-bb/commit/?id=5dd3f1dd67a41fb46f2fcb6b58068525cda0a8a0 commit 5dd3f1dd67a41fb46f2fcb6b58068525cda0a8a0 Merge: f20f5fd5 79599acd Author: Holger Hans Peter Freyther Date: Mon Feb 29 14:34:34 2016 +0100 Merge branch 'sysmocom/shared/log-speed' http://cgit.osmocom.org/osmocom-bb/commit/?id=79599acd663f7c488560d72d63f4e29587fc63a2 commit 79599acd663f7c488560d72d63f4e29587fc63a2 Author: Holger Hans Peter Freyther Date: Fri Jan 15 16:49:06 2016 +0100 logging: Move the filter check up as well There doesn't seem to be a reason not to check the filter. Update and extend the test. Currently the filter function will be called once for the log check and once for the output of it. http://cgit.osmocom.org/osmocom-bb/commit/?id=e0dc6a1c7cd49433bdf592624ff484576a7ce4e4 commit e0dc6a1c7cd49433bdf592624ff484576a7ce4e4 Author: Holger Hans Peter Freyther Date: Mon Dec 21 14:45:16 2015 +0100 logging: Remove some code duplication Extract the mapping of the subsystem number and the checking for the loglevel to a inline method that is shared between the new and old. http://cgit.osmocom.org/osmocom-bb/commit/?id=64e0eb56fde45d891da122c9685891d29634d03b commit 64e0eb56fde45d891da122c9685891d29634d03b Author: Jacob Erlbeck Date: Tue Nov 17 11:52:26 2015 +0100 log/test: Extend test case for log_check_level This commit adds OSMO_ASSERTs for mandatory conditions related to log_check_level, and fprintfs for optional conditions, since it is always safe for log_check_level to return != 0. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=a89d22c0f08edda927ce62b071f17bd7e5edc5c6 commit a89d22c0f08edda927ce62b071f17bd7e5edc5c6 Author: Jacob Erlbeck Date: Tue Nov 17 11:52:25 2015 +0100 log: Add conditional logging based on log_check_level Currently the LOGP/DEBUGP arguments are always evaluated even if no logging will happen at all. This can be expensive, for instance if hexdumps or pretty printed object names are generated. This causes high base load especially on embedded devices and is a major part of CPU usage e.g. of the osmo-pcu. This commit uses the log_check_level function to avoid the evaluation of the parameters if it is known in advance, that no logging entry will be generated. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=de6dd72dbbbcc7facf25c4a2521c71f653c7b1b2 commit de6dd72dbbbcc7facf25c4a2521c71f653c7b1b2 Author: Jacob Erlbeck Date: Tue Nov 17 11:52:24 2015 +0100 log: Add log_check_level function This commit adds this predicate function which can be used to avoid the execution of code if a certain log level is not enabled. The function will only return 0 (false), if it is sure that a logging call for the same facility and level will not produce any output. This safety criterion shall ensure, that no logging output is lost due to the use of this predicate as a guard. On the other hand, even if the predicate returns != 0 (true), no logging output might get generated by a similar logging command. Note that the current implementation is not focussed on performance, which could be improved by using a lookup table instead of iterating through every target. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=f20f5fd5085879624fb6de1e5b9b5ad435ea0500 commit f20f5fd5085879624fb6de1e5b9b5ad435ea0500 Author: Neels Hofmeyr Date: Mon Feb 29 09:56:39 2016 +0100 comment typo http://cgit.osmocom.org/osmocom-bb/commit/?id=cda988527f0e54be2e5756a0780a97bbee42c6ba commit cda988527f0e54be2e5756a0780a97bbee42c6ba Author: Neels Hofmeyr Date: Mon Feb 29 09:56:26 2016 +0100 fix gsm_7bit_decode API comment: septets, not octets http://cgit.osmocom.org/osmocom-bb/commit/?id=6a5ef46dd018c8e66e341a531403e40de24893f2 commit 6a5ef46dd018c8e66e341a531403e40de24893f2 Author: Max Date: Wed Feb 24 16:05:48 2016 +0100 Add byte printing macros It's sometimes handy for debugging to be able to immediately see which bits are set in a given byte. Generalize macro used for that in bitvec tests and make it available for the rest of the library. http://cgit.osmocom.org/osmocom-bb/commit/?id=f81eb328b61f65a09b7233aaa70b2f655c0300bc commit f81eb328b61f65a09b7233aaa70b2f655c0300bc Author: Neels Hofmeyr Date: Wed Feb 24 00:10:41 2016 +0100 vty: add ctrl section for Control interface bind address This may seem like overkill for a mere const char * config item, but it makes the Control interface VTY commands reusable in any main() scope (inspired by libosmo-abis' VTY config). Add API functions ctrl_vty_init() and ctrl_vty_get_bind_addr(), in new files src/ctrl/control_vty.c and include/osmocom/ctrl/control_vty.h, compiled and/or installed dependent on ENABLE_VTY. Using these functions allows configuring a static const char* with the VTY commands ctrl bind A.B.C.D which callers shall subsequently use to bind the Control interface to a specific local interface address, by passing the return value of ctrl_vty_get_bind_addr() to control_interface_setup(). Add CTRL_NODE to enum node_type, "eating" RESERVED4_NODE to heed that comment on avoiding ABI changes. http://cgit.osmocom.org/osmocom-bb/commit/?id=4934309dab3dcd785e75f3ba227e51b19fe714fb commit 4934309dab3dcd785e75f3ba227e51b19fe714fb Author: Neels Hofmeyr Date: Wed Feb 24 00:09:40 2016 +0100 add ctrl_interface_setup_dynip() for bind address Make the ctrl interface bind address configurable, so that it may be made available on other addresses than 127.0.0.1. The specific aim is to allow running multiple osmo-nitbs alongside each other (commits in openbsc follow). http://cgit.osmocom.org/osmocom-bb/commit/?id=96172f01002a64359bbe643c4a0d3cfa9a929b56 commit 96172f01002a64359bbe643c4a0d3cfa9a929b56 Author: Neels Hofmeyr Date: Tue Feb 23 14:01:41 2016 +0100 vty: add bind command for telnet vty line Add VTY command line vty bind A.B.C.D The command merely stores the configured IP-address, which can then be used by the calling main program to set the telnet port of the VTY line. (Commits in openbsc and osmo-iuh will follow up on this.) Add function vty_get_bind_addr() to publish the address in the vty.h API. Add static vty_bind_addr to store. For allocation/freeing reasons, a NULL address defaults to 127.0.0.1. BTW, I decided against allowing keywords 'any' and 'localhost' in place of an actual IP address to make sure a written config is always identical to the parsed config. http://cgit.osmocom.org/osmocom-bb/commit/?id=cc00bf8779f48fd1e592fc7d0a60fc00b04826cd commit cc00bf8779f48fd1e592fc7d0a60fc00b04826cd Author: Max Date: Mon Feb 22 11:03:26 2016 +0100 Extend L1SAP PH-DATA with presence information Previously the presence of header and data blocks were communicated in-band which decreases code readability and makes it unnecessary hard to add support for new hardware. Note: OsmoBTS have to be modified to take advantage of extended ph_data_param structure. http://cgit.osmocom.org/osmocom-bb/commit/?id=f78ec5ce0d0f6038147d9b9e14d81094309ba5d5 commit f78ec5ce0d0f6038147d9b9e14d81094309ba5d5 Author: Jacob Erlbeck Date: Tue Nov 17 09:53:23 2015 +0100 gb: Add bssgp_msgb_copy function This function originates from openbsc/src/gprs but is just specific to BSSGP/Gb on the same level like bssgp_msgb_alloc. This commit puts the former gprs_msgb_copy function beside bssgp_msgb_alloc. Renamed function: gprs_msgb_copy -> bssgp_msgb_copy Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=ab0eb96dd9f49aecf6722c0ec01b03d6061cd40e commit ab0eb96dd9f49aecf6722c0ec01b03d6061cd40e Author: Holger Hans Peter Freyther Date: Thu Feb 18 20:28:25 2016 +0100 bitvec: Untested speculative UBAN fix for the new routine int << 31 does not seem to be defined, let's try to make it an unsigned variable and see if that is pleasing the system. Fixes: bitvec.c:219:15: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' http://cgit.osmocom.org/osmocom-bb/commit/?id=5c18e26bc291766b0de22223abcf340bc48e3157 commit 5c18e26bc291766b0de22223abcf340bc48e3157 Author: Max Date: Fri Feb 5 13:55:38 2016 +0100 Add T4 bit map compression routines Add bit map encoder and decoder functions: decoder is fully functional while encoder is good enough for testing - no backtracking to find the best possible compression is implemented. If somebody is willing to implement MS side of EDGE than this has to be expanded. Add corresponding tests. N. B: the encoding is implemented according to ETSI TS 44.060 which is slightly different from T4 used for fax according to CCITT G31D (RFC 804). Ticket: OW#2407 Sponsored-by: On-Waves ehf Signed-off-by: Max http://cgit.osmocom.org/osmocom-bb/commit/?id=0a59e9899f4dd4213dc72d535f0b9d5382dc7eb7 commit 0a59e9899f4dd4213dc72d535f0b9d5382dc7eb7 Author: Max Date: Fri Feb 5 13:55:37 2016 +0100 Expand bitvec interface Add bit filling, shifting and other functions necessary for bit compression implementation. Add corresponding tests. http://cgit.osmocom.org/osmocom-bb/commit/?id=868471496698657b34e7105458f76306a76b6614 commit 868471496698657b34e7105458f76306a76b6614 Author: Neels Hofmeyr Date: Mon Feb 15 12:02:02 2016 +0100 Add CSCN ctrl port defs http://cgit.osmocom.org/osmocom-bb/commit/?id=620dfa6be2b061652aabef02a68dce9375805235 commit 620dfa6be2b061652aabef02a68dce9375805235 Author: Neels Hofmeyr Date: Wed Feb 10 13:28:00 2016 +0100 add vty port nr for osmo-cscn http://cgit.osmocom.org/osmocom-bb/commit/?id=5710804a42b72504c012b75222b663cdf46de4f5 commit 5710804a42b72504c012b75222b663cdf46de4f5 Author: Holger Hans Peter Freyther Date: Sat Jan 30 16:16:28 2016 +0100 bivec: Fix the output of the testcase osmo_hexdump_nospc/osmo_hexdump is an old school C routine with a static internal array. This means that printf will most likely one of the two strings twice. For Linux/glibc this is the first string (for whatever reason?) and for FreeBSD it is the last call of the osmo_hexdump_nospc. We could have noticed by both strings being of the same length besides the different length input. The second issue is that we cast a hexstring to uint8_t and dump the string as hex. So the two strings should not match at all. Fix it by printing the hex string as plain hex and separating the two printf calls. Update the test output. http://cgit.osmocom.org/osmocom-bb/commit/?id=a9301a1a1f2ac0c73aff2075c2361d54a6fc8675 commit a9301a1a1f2ac0c73aff2075c2361d54a6fc8675 Author: Holger Hans Peter Freyther Date: Sat Jan 30 10:54:43 2016 +0100 bitvec: Test and fix regression for C++->C conversion bitvec_read_field/bitvec_write_field in the PCU used a C++ reference and when porting to C it was decided to pass the parameter by value and this lost the "back propagation" of the new index. Change the parameter to be an in/out parameter and this way do not have a silent semantic break in the osmo-pcu (where we copy the reference in csn.1 by value) and have a true compile failure. Add Max's simple test for bitvec_unhex function leaving the checking of bitvec_read_field and the side effect in the datastructure about the number of bits still open. http://cgit.osmocom.org/osmocom-bb/commit/?id=912bc6ff5047f08bb55c1d08be5fe4485e37e5d6 commit 912bc6ff5047f08bb55c1d08be5fe4485e37e5d6 Author: Max Date: Thu Jan 28 12:07:12 2016 +0100 Add doxygen comments to clarify function use http://cgit.osmocom.org/osmocom-bb/commit/?id=2745b489406ffe1e326c45b3ac2134457efd4d80 commit 2745b489406ffe1e326c45b3ac2134457efd4d80 Author: Holger Hans Peter Freyther Date: Wed Jan 27 17:08:02 2016 +0100 bitvec: Fix build on older gcc bitvec.c: In function 'bitvec_unhex': bitvec.c:389: error: 'for' loop initial declarations are only allowed in C99 mode bitvec.c:389: note: use option -std=c99 or -std=gnu99 to compile your code http://cgit.osmocom.org/osmocom-bb/commit/?id=a15f05f1b43d8e85d9a3f72a0a804dcbeca5068c commit a15f05f1b43d8e85d9a3f72a0a804dcbeca5068c Author: Max Date: Tue Jan 26 10:43:15 2016 +0100 Add bitvec-related functions from Osmo-PCU Allocation, pack/unpack, field access and helper routines used extensively by Osmo-PCU. Whenever memory allocation happens, alocator context is passed explicitly by caller. http://cgit.osmocom.org/osmocom-bb/commit/?id=fdb46676094c50f1d2dcebfcb5e051c2baf984ac commit fdb46676094c50f1d2dcebfcb5e051c2baf984ac Author: Holger Hans Peter Freyther Date: Mon Nov 9 16:32:43 2015 +0000 test: Fix compiler warnings on 64bit systems Use %td to print ptrdiff_t use %zu to print size_t, include time.h on FreeBSD. Some more compiler warnings are left but they require more thinking. http://cgit.osmocom.org/osmocom-bb/commit/?id=ee6652b4bcc1bffc0b7c181666c4c1b30f5abad2 commit ee6652b4bcc1bffc0b7c181666c4c1b30f5abad2 Author: Holger Hans Peter Freyther Date: Mon Nov 9 16:21:19 2015 +0000 ipa: recv is declared in different headers on BSD Include the headers mentioned by the manpage ipa.c:346:9: warning: implicit declaration of function 'recv' is invalid in C99 [-Wimplicit-function-declaration] ret = recv(fd, msg->tail, needed, 0); http://cgit.osmocom.org/osmocom-bb/commit/?id=d56c3cbb2cbdd9b0114e325556cb5efc434b2894 commit d56c3cbb2cbdd9b0114e325556cb5efc434b2894 Author: Holger Hans Peter Freyther Date: Mon Nov 9 16:16:00 2015 +0000 vty: Use NULL to have a null pointer instead of '\0' '\0' gets translated to zero but the argument to vector_set is a pointer and it gets converted to a pointer. vty.c:985:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'void *' [-Wnon-literal-null-conversion] vector_set(vline, '\0'); ^~~~ vty.c:1095:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'void *' [-Wnon-literal-null-conversion] vector_set(vline, '\0'); ^~~~ vty.c:1097:21: warning: expression which evaluates to zero treated as a null pointer constant of type 'void *' [-Wnon-literal-null-conversion] vector_set(vline, '\0'); ^~~~ http://cgit.osmocom.org/osmocom-bb/commit/?id=61816048ce245c92b0e9e1f1fa8e68f9c8444f8f commit 61816048ce245c92b0e9e1f1fa8e68f9c8444f8f Author: Max Date: Fri Jan 22 16:46:55 2016 +0100 Ignore test binaries http://cgit.osmocom.org/osmocom-bb/commit/?id=e49af08f5b89b3f922948570eab161763f339185 commit e49af08f5b89b3f922948570eab161763f339185 Author: Max Date: Fri Jan 22 16:46:56 2016 +0100 bitvec: Fix interface to consistently use unsigned int Use unsigned int for the length throughout the interface. We will never have a a negative length. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=08621a8ebb163aed6ba96e52ad283b91c04501a0 commit 08621a8ebb163aed6ba96e52ad283b91c04501a0 Author: Max Date: Thu Jan 21 17:16:56 2016 +0100 bitvec: Fix unaligned memory access in osmo_revbytebits_buf The undefined behavior sanitizer found the 32bit load from an unaligned memory address. This will cause an exception on ARMv5te and a manual fix-up. [hfreyther: On armv6, x86 the usage of memcpy leads to shorter amount of instructions but on armv5te the memcpy is not expanded leading to a branch. Use the version of max until we have the time to benchmark it] Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=cf37c4cd293def64ca87a82def0be2c8aab12cf0 commit cf37c4cd293def64ca87a82def0be2c8aab12cf0 Author: Max Date: Thu Jan 21 16:52:40 2016 +0100 Fix sporadic out-of-bounds error This code dealing with bit shifting sometimes gets 1 byte beyond array boundary while calculating index. This is now explicitly checked and prevented. Ticket: OW#1198 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=fb7e6835758d378be9e09a60a98c3fce405f61d2 commit fb7e6835758d378be9e09a60a98c3fce405f61d2 Author: Holger Hans Peter Freyther Date: Thu Jan 21 15:50:04 2016 +0100 kasumi: Fix build with gcc5 that changed behavior of inline GCC 5 has changed inline semantics (https://gcc.gnu.org/gcc-5/porting_to.html) and apparently that now fails to link. http://cgit.osmocom.org/osmocom-bb/commit/?id=e7c18dd59f4f91409e8d8854eee2d213165e0746 commit e7c18dd59f4f91409e8d8854eee2d213165e0746 Author: Holger Hans Peter Freyther Date: Mon Jan 18 13:30:28 2016 +0100 debian: Avoid linking with -Bsymbolic-functions Our tests want to be able to change symbols from the library and even by using --wrap=XYZ it is not possible right now. One option would be to use static linking but that is not always enabled, the other is to skip tests on Ubuntu and the third one is to disable that linking mode. This means that the dynamic linker needs to spend some more time but we do spend this time on all other distros and this looks acceptable. http://cgit.osmocom.org/osmocom-bb/commit/?id=f6d9f3759cf764d74c22dc190851371379b221de commit f6d9f3759cf764d74c22dc190851371379b221de Author: Neels Hofmeyr Date: Mon Jan 18 10:44:15 2016 +0100 comment typo http://cgit.osmocom.org/osmocom-bb/commit/?id=17b3c3aca1290a3f2c20a0858d4d499a17752ced commit 17b3c3aca1290a3f2c20a0858d4d499a17752ced Author: Jacob Erlbeck Date: Fri Nov 27 13:26:20 2015 +0100 msgb/test: Add test case for error cases Include a test for msgb_trim. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=ff42b26520a7421a6c6c9c9cd4b88aed00453b01 commit ff42b26520a7421a6c6c9c9cd4b88aed00453b01 Author: Jacob Erlbeck Date: Fri Nov 27 13:26:19 2015 +0100 msgb: Assert len >= 0 in msgb_trim Currently msgb_trim only checks for len > data_len and returns -1 in that case, allowing the caller to fix it somehow. Using a negative length will always lead to a corrupt msgb, but this is not being checked. This commit adds a check for len < 0 and a conditional call to MSGB_ABORT. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=0a053ec50657ea2060a1c4b8a8e811c5027ada7d commit 0a053ec50657ea2060a1c4b8a8e811c5027ada7d Author: Jacob Erlbeck Date: Fri Nov 27 13:26:18 2015 +0100 msgb/test: Add tests for msgb_resize_area and msgb_copy Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=cbefa085593128c5f5e6da255edeae6b4f952032 commit cbefa085593128c5f5e6da255edeae6b4f952032 Author: Jacob Erlbeck Date: Fri Nov 27 13:26:17 2015 +0100 msgb/test: Add functions to catch and check exceptions Currently the msgb error handling cannot be fully tested, since in many cases osmo_panic will be called. This will in turn call abort(). Using an osmo_panic_handler that just returns will not help, since many msgb functions rely on MSGB_ABORT to not return at all. This commit uses an alternative osmo_panic_raise handler that just calls longjmp to return to the test function. Since some of this activity is logged to stderr where the strings may contain variable parts like pointer addresses, stderr checking is disabled in testsuite.at. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=7cd8a1b06387427c6db4fd9f6dee116212ec304a commit 7cd8a1b06387427c6db4fd9f6dee116212ec304a Author: Jacob Erlbeck Date: Fri Nov 27 13:26:16 2015 +0100 msgb/test: Add test for msgb message buffers This tests several API functions of the msgb by checking the invariant and by dumping resulting message buffers as hex. Sponsored-by: On-Waves ehf Conflicts: tests/Makefile.am http://cgit.osmocom.org/osmocom-bb/commit/?id=5f349be820b32a5bb312566a4a35ef679fe7e478 commit 5f349be820b32a5bb312566a4a35ef679fe7e478 Author: Jacob Erlbeck Date: Mon Dec 21 16:04:03 2015 +0100 bitvec: Add get/set byte sequences The new functions bitvec_get_bytes and bitvec_set_bytes copy byte sequences from bitvecs to uint8_t arrays and vice versa. While the bytes in the bitvecs do not need to be aligned, the uint8_t arrays always are. In case the bytes in the bitvec are aligned, the implementation uses memcpy. Note that the implementation like the other existing functions assume MSB first encoding. [hfreyther: Squash the comment fix into this commit as well] Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=8114294bf29ac6e44822c0ae43d4b0819f11b022 commit 8114294bf29ac6e44822c0ae43d4b0819f11b022 Author: Jacob Erlbeck Date: Tue Nov 17 08:42:05 2015 +0100 gsm: Add APN conversion functions These functions are currently part of openbsc but also needed by other projects. The function have been renamed as follows: gprs_apn_to_str -> osmo_apn_to_str gprs_str_to_apn -> osmo_apn_from_str Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=51660a6adefd59081f7f2883d76a875e8b2e89c9 commit 51660a6adefd59081f7f2883d76a875e8b2e89c9 Author: Harald Welte Date: Sat Dec 5 23:38:18 2015 +0100 update TODO-RELEASE regarding the talloc change. Shipping our own private copy of talloc was a good idea in 2008, when it was not readily available on most target platforms. Today, the situation is quite different, as it is a standard library on major Linux distributions. http://cgit.osmocom.org/osmocom-bb/commit/?id=c959afdcd9d8f227f4a72a915ac2e3f79d1d1d3b commit c959afdcd9d8f227f4a72a915ac2e3f79d1d1d3b Author: Harald Welte Date: Fri Dec 25 17:14:07 2015 +0100 osmo_prim_op_names should be extern http://cgit.osmocom.org/osmocom-bb/commit/?id=42fff58a45288337110fb2e91d304b07744c7597 commit 42fff58a45288337110fb2e91d304b07744c7597 Author: Neels Hofmeyr Date: Wed Dec 23 15:12:40 2015 +0100 Fix some recently added formats on 64bit 86ec311896dd5d4 adds compiler warnings on 64bit. The build is clean otherwise, so let's keep it that way. http://cgit.osmocom.org/osmocom-bb/commit/?id=a2db75f28cfbf096b076058ff89d1ef2cac3e6b1 commit a2db75f28cfbf096b076058ff89d1ef2cac3e6b1 Author: Harald Welte Date: Tue Dec 22 22:11:27 2015 +0100 Add osmo_prim_op_names[] symbol and _SAP_SS7_BASE define http://cgit.osmocom.org/osmocom-bb/commit/?id=8db1134c72d629d16368eb493a231d9ec742cf17 commit 8db1134c72d629d16368eb493a231d9ec742cf17 Author: Jacob Erlbeck Date: Fri Nov 27 13:26:15 2015 +0100 msgb: Add msgb_test_invariant function This adds a function that verifies whether a mgsb is consistent. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=86ec311896dd5d481eba7f361ab8dd2f0b043578 commit 86ec311896dd5d481eba7f361ab8dd2f0b043578 Author: Jacob Erlbeck Date: Fri Nov 27 13:26:14 2015 +0100 msgb: Let msgb_hexdump be more tolerant This patch makes msgb_hexdump accept out of range lXh pointers and shows info about them instead of aborting the dump entirely. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=cdd05f0ed439787d79ff7a0e04c3fc6e2516a64c commit cdd05f0ed439787d79ff7a0e04c3fc6e2516a64c Author: Jacob Erlbeck Date: Fri Nov 27 13:26:13 2015 +0100 msgb: Add msgb_resize_area and msgb_copy These functions originate from openbsc/src/gprs but are generic msgb helper functions. msgb_copy: This function allocates a new msgb, copies the data buffer of msg, and adjusts the pointers (incl. l1h-l4h) accordingly. msgb_resize_area: This resizes a sub area of the msgb data and adjusts the pointers (incl. l1h-l4h) accordingly. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=9e57a5a6974e92a2df73f9009f793c1a1f6206d9 commit 9e57a5a6974e92a2df73f9009f793c1a1f6206d9 Author: Neels Hofmeyr Date: Mon Dec 21 11:20:14 2015 +0100 some comments / fixed typos http://cgit.osmocom.org/osmocom-bb/commit/?id=1a87c1b1891262e063d3bc862a8a1babef943f74 commit 1a87c1b1891262e063d3bc862a8a1babef943f74 Author: Harald Welte Date: Mon Dec 14 15:26:07 2015 +0100 LaPDm: Refuse SUSPEND/RESUME/RECONNECT in BTS mode The primitives for SUSPEND, RESUME and RECONNECT are only permitted on the MS side of the LAPDm link, not on the BTS side. So we should check for this and reject, accordingly. http://cgit.osmocom.org/osmocom-bb/commit/?id=cc6ac4cdc4103cb68a3e161deb49dfb64c931adf commit cc6ac4cdc4103cb68a3e161deb49dfb64c931adf Author: Jacob Erlbeck Date: Thu Dec 17 13:22:36 2015 +0100 ns: Force a defined state when sending NS RESET Currently the state is assumed to remain the same while the reset procedure is active. While this works correctly in general, a single unexpected BLOCK_ACK or UNBLOCK_ACK can change the state but will not stop the reset procedure. The leads to repeated RESET messages, where the corresponding RESET_ACK is ignored. This is a stable state which can only be left by manual intervention or by reception of a RESET message from the peer. This commit changes the RESET timeout handler to set the state to BLOCKED/RESET when sending the new NS RESET message. Note that this should ensure a clean restart even if the state has been screwed up. It does not fix the handling of BLOCK_ACK or UNBLOCK_ACK in abnormal cases. Addresses: gprs_ns.c:349 NSEI=8895 Tx NS RESET (NSVCI=8895, cause=O&M intervention) gprs_ns.c:878 NSVCI=8895 Rx NS RESET ACK (NSEI=8895, NSVCI=8895) gprs_ns.c:887 NS RESET ACK Discarding unexpected message for NS-VCI 8895 from SGSN NSEI=8895 Ticket: OW#1551 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=5ab8e2cdfcdfb932b918405061798e0079223273 commit 5ab8e2cdfcdfb932b918405061798e0079223273 Author: Holger Hans Peter Freyther Date: Thu Dec 17 14:13:22 2015 +0100 stats: Fix compiler warning about losing const stats_statsd.c: In function ???osmo_stats_reporter_statsd_send_item???: stats_statsd.c:154:15: warning: initialization discards ???const??? qualifier from pointer target type char *unit = desc->unit; ^ http://cgit.osmocom.org/osmocom-bb/commit/?id=0975a7f36c41afcb4e477609b97fe890990782ab commit 0975a7f36c41afcb4e477609b97fe890990782ab Author: Jacob Erlbeck Date: Thu Dec 17 09:51:53 2015 +0100 ns/stats: Add missing osmo_stat_item_group_free to gprs_nsvc_delete The stat item group is not removed by gprs_nsvc_delete which will corrupt the group list. Addresses: valgrind tests/gbproxy/gbproxy_test [...] ==4541== Invalid write of size 4 ==4541== at 0x4071ACA: __llist_add (linuxlist.h:65) ==4541== by 0x4071ACA: llist_add (linuxlist.h:81) ==4541== by 0x4071ACA: osmo_stat_item_group_alloc (stat_item.c:112) ==4541== by 0x407EDFD: gprs_nsvc_create (gprs_ns.c:244) ==4541== by 0x408109D: gprs_ns_instantiate (gprs_ns.c:1388) ==4541== by 0x804CFD3: test_gbproxy_ident_changes (gbproxy_test.c:1501) ==4541== by 0x805FBD3: main (gbproxy_test.c:5803) Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=62f80fccb8a222bd81f0b15b099150dab6206bfc commit 62f80fccb8a222bd81f0b15b099150dab6206bfc Author: Holger Hans Peter Freyther Date: Mon Dec 14 20:31:20 2015 +0100 talloc: Depend on libtalloc-dev being present as well http://cgit.osmocom.org/osmocom-bb/commit/?id=fad5752ab5b91e615dd82365c0663e38b4540dcd commit fad5752ab5b91e615dd82365c0663e38b4540dcd Author: Harald Welte Date: Sun Dec 13 11:56:36 2015 +0100 RSL: Add enum + TLV definitions for ip.access style embedded IEs http://cgit.osmocom.org/osmocom-bb/commit/?id=f4b173cb0c8c5179081a4b82928b375fdf0caf17 commit f4b173cb0c8c5179081a4b82928b375fdf0caf17 Author: Holger Hans Peter Freyther Date: Thu Dec 10 19:50:29 2015 +0100 talloc: Untested change to unbreak build In case talloc is not installed in the default search path we need to place @TALLOC_CFLAGS@ into the include directory as well. http://cgit.osmocom.org/osmocom-bb/commit/?id=771a58feeec15c1e36373f0fe165ddf3ba83cbf6 commit 771a58feeec15c1e36373f0fe165ddf3ba83cbf6 Author: Ruben Undheim Date: Wed Dec 9 20:22:42 2015 +0100 gsm_03_41: Fix structure definitions for big-endian machines this was detected by debian packaging, as the associated gsm_03_41 test case fails on big endian machines like ppc. http://cgit.osmocom.org/osmocom-bb/commit/?id=84c19a9b36c5e416e3df6b42afb5b0e8aa8095cc commit 84c19a9b36c5e416e3df6b42afb5b0e8aa8095cc Author: Harald Welte Date: Tue Dec 8 14:16:43 2015 +0100 update debian packaging from libosmocore6 to libosmocore7 http://cgit.osmocom.org/osmocom-bb/commit/?id=49a8f88565385107cf008d1f2c01344a3f165c4d commit 49a8f88565385107cf008d1f2c01344a3f165c4d Author: Harald Welte Date: Tue Dec 8 14:14:00 2015 +0100 utils: add TALLOC_CFLAGS to build this is an attempt to fix the FreeBSD build http://cgit.osmocom.org/osmocom-bb/commit/?id=ac4ed17dbd15ed703583584626d820f66ea5a17d commit ac4ed17dbd15ed703583584626d820f66ea5a17d Author: Jacob Erlbeck Date: Tue Dec 8 10:29:16 2015 +0100 stats: Add OSMO prefix to STAT_ITEM_NOVALUE_ID This symbol is globally visible and therefore should have an OSMO prefix like the other identifiers exported by stat_item.h. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=af5bad5ed00f0d21617c34f0e4e96eb2fd977a02 commit af5bad5ed00f0d21617c34f0e4e96eb2fd977a02 Author: Jacob Erlbeck Date: Fri Nov 27 18:54:58 2015 +0100 stat: Explicitly support stat_items without unit Add OSMO_STAT_ITEM_NO_UNIT for stat items without an unit. The statsd reporter uses gauges ("g") to report them. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=90e614f7ccb0902e6ddb510bb10f78eb14a13d94 commit 90e614f7ccb0902e6ddb510bb10f78eb14a13d94 Author: Harald Welte Date: Sat Dec 5 23:38:18 2015 +0100 remove our internal copy of talloc, use system libtalloc Shipping our own private copy of talloc was a good idea in 2008, when it was not readily available on most target platforms. Today, the situation is quite different, as it is a standard library on major Linux distributions. http://cgit.osmocom.org/osmocom-bb/commit/?id=ee702cd590688c1e65296319c5bc4c9cf160ba65 commit ee702cd590688c1e65296319c5bc4c9cf160ba65 Author: Jacob Erlbeck Date: Tue Nov 10 11:38:25 2015 +0100 stats: Add TODO comment to rate_ctr Currently the counters are scanned twice, once for interval computation and once for reporting. This adds a reminder to move the interval computation code to a special stats reporter which just shall update the fields. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=f13de868be052f96325c337f25453f1d97777005 commit f13de868be052f96325c337f25453f1d97777005 Author: Jacob Erlbeck Date: Tue Nov 10 11:36:58 2015 +0100 stats/test: Add memory leak check Adds a rudimentary leak check for the counters and stat items. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=46b703d083a57d7718340f8f71da29d96ce15170 commit 46b703d083a57d7718340f8f71da29d96ce15170 Author: Jacob Erlbeck Date: Mon Nov 9 17:25:27 2015 +0100 stats/test: Add test for reporting This tests uses a dedicated test reported to check several aspects of the value reporting. - addition/removal of stats reporter - addition/removal of counters/items - setting of max_class - initial value flush - updating single counters/items - reporter retrieval - enable/disable Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=2e8f9ed5560ac6286b1fe70ade868569d30cb392 commit 2e8f9ed5560ac6286b1fe70ade868569d30cb392 Author: Jacob Erlbeck Date: Mon Nov 9 15:48:25 2015 +0100 stats: Reorder functions in stats.c Due to prior refactoring, the functions do not have an sensible order in the file. This commit tries to improve that a little bit. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=b6e6bea4ecea4b0769fc56136321f01f553459ba commit b6e6bea4ecea4b0769fc56136321f01f553459ba Author: Jacob Erlbeck Date: Mon Nov 9 15:33:44 2015 +0100 stats: Move statsd related code into a separate file This commit moves the stats specific code parts into stats_statsd.c while keeping the generic parts in stats.c. The code in stats.c no longer contains references to statsd symbols. Note that the VTY code still needs to know about every stats reporter backend. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=5fa0dcc2750a79920d4a6404e960c50667840058 commit 5fa0dcc2750a79920d4a6404e960c50667840058 Author: Harald Welte Date: Sat Nov 21 11:57:06 2015 +0100 configure: It should be --with-system-talloc, not --enable-system-talloc As we are making a decision whether we should use an existing system library, we call it --with-system-talloc, rather than --enable-system-talloc. http://cgit.osmocom.org/osmocom-bb/commit/?id=d086f2119509af2e26a0d7a587b9e176df814998 commit d086f2119509af2e26a0d7a587b9e176df814998 Author: Harald Welte Date: Sat Nov 21 11:38:09 2015 +0100 configure.ac: Use AS_IF() instead of shell-if for PKG_CONFIG https://autotools.io/pkgconfig/pkg_check_modules.html > If you have the first call to PKG_CHECK_MODULES inside a bash > conditional block, the expansion of PKG_PROG_PKG_CONFIG will also be > conditional > You can solve this problem in two ways; you can either explicitly call > PKG_PROG_PKG_CONFIG outside of any conditional, forcing checking for > pkg-config as soon as possible; or you can rewrite your conditionals > to use the proper syntax http://cgit.osmocom.org/osmocom-bb/commit/?id=a10ef29b47123a60755b59befca9b2d45f3e29fa commit a10ef29b47123a60755b59befca9b2d45f3e29fa Author: Harald Welte Date: Sat Nov 21 00:41:43 2015 +0100 use system-wide libtalloc with --enable-system-talloc This introduces a new configure flag by which the libosmocore-internal talloc code is not compiled, but rather a system-wide libtalloc is used. When we started openbsc/libosmocore in 2008, libtalloc was not widely present on systems yet. This has changed meanwhile, and we should simply use the system-wide library http://cgit.osmocom.org/osmocom-bb/commit/?id=b32a19467ffde540b059bf166a378decf07701b8 commit b32a19467ffde540b059bf166a378decf07701b8 Author: Harald Welte Date: Fri Nov 20 10:22:14 2015 +0100 stat_item.c: Fix compiler warnings CC stat_item.lo stat_item.c: In function 'osmo_stat_item_group_alloc': stat_item.c:84:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] group->items[item_idx] = (void *)items_size; ^ stat_item.c:98:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((uint8_t *)items + (int)group->items[item_idx]); ^ http://cgit.osmocom.org/osmocom-bb/commit/?id=a99d45ac5960c25818b980683cb5920ffd25588c commit a99d45ac5960c25818b980683cb5920ffd25588c Author: Harald Welte Date: Thu Nov 12 13:48:23 2015 +0100 vty: Don't call exit() but rather use OSMO_ASSERT() This was pointed out by Jaroslav Skarvada during fedora packaging, and he has a valid point... http://cgit.osmocom.org/osmocom-bb/commit/?id=2b82c1c6c887656e2fc8c2ee4456ac93d5834e03 commit 2b82c1c6c887656e2fc8c2ee4456ac93d5834e03 Author: Jaroslav ??karvada Date: Wed Nov 11 16:02:54 2015 +0100 fix FSF address in sources/headers Signed-off-by: Jaroslav ??karvada http://cgit.osmocom.org/osmocom-bb/commit/?id=abc46af90fde9e9435dee5f4f472aec3f68d3353 commit abc46af90fde9e9435dee5f4f472aec3f68d3353 Author: Holger Hans Peter Freyther Date: Mon Nov 9 21:34:43 2015 +0100 debian: Make a new minor release http://cgit.osmocom.org/osmocom-bb/commit/?id=01e8c91df517fbf27d769a07630ac8177cf0328d commit 01e8c91df517fbf27d769a07630ac8177cf0328d Author: Jacob Erlbeck Date: Mon Nov 9 14:13:23 2015 +0100 stats: Fix not reported stat item values Currently the global stat item index is being advanced in osmo_stat_item_group_handler, so that the second and further groups in the list will skip new item values. This commit moves the call to osmo_stat_item_discard_all into osmo_stats_report to a place where all groups have been processed already. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=8a97cb911122f112a1a829f6f5d2be3922153a74 commit 8a97cb911122f112a1a829f6f5d2be3922153a74 Author: Jacob Erlbeck Date: Mon Nov 9 11:39:42 2015 +0100 stats: Fix handling of multiple resporters Currently the reporter loop is aborted, if the event would be ignored due to an insufficient max_level. Thus the reporters that happen to be stored afterwards would be skipped even if their level were sufficient. This commit replaces the conditional 'return' statement by a considtional 'continue' statement to ensure the processing of the list tail. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=aed7c125fdfe743a78cb3fd8123af5257a900df9 commit aed7c125fdfe743a78cb3fd8123af5257a900df9 Author: Jacob Erlbeck Date: Mon Nov 9 11:25:12 2015 +0100 stats: Send all values on reporter update Currently only counter changes and new item values are being reported. This makes it cumbersome to configure reporting clients, since there is nothing like a list of all parameters. This commit changes this behaviour such that all currently existing counters and items that would be reported eventually, are passed to the reporter when it has been reconfigured or enabled. If a counter has not been incremented, 0 is sent. If a stat item value has not been added, the last item value (or the default value if there is none) is resent again. Note that this will not catch transient counters/items that will be created later on, e.g. triggered by new peers or subscribers. To just force this kind of dump on a running reporter, it is sufficient to invoke the 'enable' command in its configuration node. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=916423ef9585c7042730fdb17f55afc376565d32 commit 916423ef9585c7042730fdb17f55afc376565d32 Author: Jacob Erlbeck Date: Mon Nov 9 10:52:19 2015 +0100 stats: Fix name prefix handling Currently the having an unset prefix leads to an abort() in the statsd reporter due to an fprintf format string error. In addition the prefix cannot be reset to its initial state (NULL) by using 'no prefix', which just sets the prefix to the empty string, causing a single leading dot to appear in front of the name. This commit changes the implemenation to consistly use NULL for the unset name prefix ('no prefix') and to handle this case correctly in the statsd reporter. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=834819471a024a98cf6062f1e20c75a9b9e26f88 commit 834819471a024a98cf6062f1e20c75a9b9e26f88 Author: Holger Hans Peter Freyther Date: Sat Nov 7 21:10:01 2015 +0100 stats: Document the level in show stats level options Potentially Fixes: http://cgit.osmocom.org/osmocom-bb/commit/?id=aab4a2497c59d83c396881aaa661a054978f8f7c commit aab4a2497c59d83c396881aaa661a054978f8f7c Author: Alexander Huemer Date: Fri Nov 6 20:55:24 2015 +0100 osmo-sim-test: add missing include http://cgit.osmocom.org/osmocom-bb/commit/?id=eed4695d062a64c78340d24d53ae7066e6c7c1fd commit eed4695d062a64c78340d24d53ae7066e6c7c1fd Author: Holger Hans Peter Freyther Date: Wed Nov 4 14:48:13 2015 +0100 debian: Roll a new release with the GPRS NS counter fix http://cgit.osmocom.org/osmocom-bb/commit/?id=495b0dbd24627a9289e9bdb8ef2f80af6af3445f commit 495b0dbd24627a9289e9bdb8ef2f80af6af3445f Author: Holger Hans Peter Freyther Date: Wed Nov 4 14:39:37 2015 +0100 gprs-ns/stats: When the NSVCI is updated, update the stats counter The NS object is created with an unknown identity and only after the reset procedure has progressed (completed?) we know the real ID for this peer. Before nobody has looked at the idx values (this could have been seen with the CTRL interface) but with statsd the wrong NSVCI becomes obvious. Add routines to update the idx and I don't know if the change of idx is causing any issues but we will find that out soon. http://cgit.osmocom.org/osmocom-bb/commit/?id=6e149b1f1aceb86e694e090b5ba4ccb349edcbf2 commit 6e149b1f1aceb86e694e090b5ba4ccb349edcbf2 Author: Holger Hans Peter Freyther Date: Wed Nov 4 10:23:57 2015 +0100 debian: Make new minor release with the NS bugfix http://cgit.osmocom.org/osmocom-bb/commit/?id=59b90bc44401dc0e4c5004b0fec677106bce8871 commit 59b90bc44401dc0e4c5004b0fec677106bce8871 Author: Jacob Erlbeck Date: Tue Nov 3 16:21:40 2015 +0100 stats/vty: Add selective show stats command Currently there is only the 'show stats' command which shows all counter and stat_item values. This can lead to many lines of output if there are per-subscriber rate counters. The new command added by this commit allows it to only show groups of a certain level (class_id), similar to the 'level' configuration command for stats reporter. The new command is show stats level (global|peer|subscriber) Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=fed2a488b94fc24df4f5548f98a71bb98920a66a commit fed2a488b94fc24df4f5548f98a71bb98920a66a Author: Jacob Erlbeck Date: Tue Nov 3 16:18:56 2015 +0100 ns/stats: Fix class_id of "NSVC Peer Statistics" rate_ctr group Currently the class_id is not set which effectively puts these groups into the 'subscriber' class. This commit adds the missing initialisation value. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=be37fb7db4651f245994fa73008b4aa92c21c14f commit be37fb7db4651f245994fa73008b4aa92c21c14f Author: Jacob Erlbeck Date: Tue Nov 3 15:21:34 2015 +0100 stats/test: Add tests to check VTY configuration This commit adds tests to verify the stats related VTY configuration commands. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=ca6602f476775e1b55c5a1d41bc323c49b9e4290 commit ca6602f476775e1b55c5a1d41bc323c49b9e4290 Author: Jacob Erlbeck Date: Tue Nov 3 13:47:11 2015 +0100 vty/test: Refactor vty creation/deletion into separate functions Currently this is part of the only test function that uses the vty directly. In preperation for more such test cases, this commit moves this code into separate functions. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=ee2657f6af4b81f98cfdfd900a82d9a350ff3642 commit ee2657f6af4b81f98cfdfd900a82d9a350ff3642 Author: Jacob Erlbeck Date: Tue Nov 3 11:49:31 2015 +0100 test: Remove unneeded linking to libosmovty.la The addition of libosmovty.la to several test cases as done in commit 738d9e22108a8e47245 (stats: Add vty_out_stat_item_group) is not needed. This commit removes them. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=bb4ae64fbbc30bf626792df2f2e68afb5cda6e21 commit bb4ae64fbbc30bf626792df2f2e68afb5cda6e21 Author: Holger Hans Peter Freyther Date: Tue Nov 3 11:36:18 2015 +0100 debian: Install libosmoctrl0 too when installing the dev package http://cgit.osmocom.org/osmocom-bb/commit/?id=8649d57f507d359c99a89654aac7e19ce22db282 commit 8649d57f507d359c99a89654aac7e19ce22db282 Author: Holger Hans Peter Freyther Date: Tue Nov 3 09:30:52 2015 +0100 misc: Prepare the release of libosmocore 0.9.0 Bump the ABI version of libosmovty and we need to do this recursively to force rebuilds of our software. http://cgit.osmocom.org/osmocom-bb/commit/?id=c337693c4ca164833e120624af3c0960180725ee commit c337693c4ca164833e120624af3c0960180725ee Author: Holger Hans Peter Freyther Date: Fri Aug 21 19:56:54 2015 +0000 stats: Fix build on FreeBSD include stdint.h for int64_t and use netinet/in.h and not netinet/ip.h for getting sockaddr_in and such. http://cgit.osmocom.org/osmocom-bb/commit/?id=3f838b717e831b99966fc4277f963b6c57340f6d commit 3f838b717e831b99966fc4277f963b6c57340f6d Author: Holger Hans Peter Freyther Date: Thu Aug 20 18:17:15 2015 +0000 timer: Fix compiler warning about timeval timer.c:27:23: warning: tentative definition of variable with internal linkage has incomplete non-array type 'struct timeval' [-Wtentative-definition-incomplete-type] static struct timeval nearest; ^ timer.c:27:15: note: forward declaration of 'struct timeval' static struct timeval nearest; http://cgit.osmocom.org/osmocom-bb/commit/?id=07cf861e25d2f2359e55ec803256c2211eda0a12 commit 07cf861e25d2f2359e55ec803256c2211eda0a12 Author: Neels Hofmeyr Date: Mon Nov 2 20:18:33 2015 +0100 gtphub: add OSMO_VTY_PORT_GTPHUB. This is for gtphub, being developed in openbsc.git. Sponsored-by: On-Waves ehi http://cgit.osmocom.org/osmocom-bb/commit/?id=667e83d71eebba70817ab035ef207a52785bc129 commit 667e83d71eebba70817ab035ef207a52785bc129 Author: Neels Hofmeyr Date: Mon Nov 2 20:18:11 2015 +0100 fix some typos Sponsored-by: On-Waves ehi http://cgit.osmocom.org/osmocom-bb/commit/?id=d7b0577d7d30139491b5cfeffb467440f9e88818 commit d7b0577d7d30139491b5cfeffb467440f9e88818 Merge: c84851bc 8f0374f7 Author: Holger Hans Peter Freyther Date: Mon Nov 2 15:57:34 2015 +0100 Merge branch 'jerlbeck/wip/stats' * This adds a new counter type (to measure time or delay) * A statsd reporting backend. This can be fed into graphite or similar tools. * A periodic log backend for performance values http://cgit.osmocom.org/osmocom-bb/commit/?id=8f0374f7521376bdb721e821047e8a6a4a727283 commit 8f0374f7521376bdb721e821047e8a6a4a727283 Author: Holger Hans Peter Freyther Date: Mon Nov 2 15:53:09 2015 +0100 stats: Fix handling of the no mtu command For the atoi we need to pass the val as a string. This means we need to write "0" which then gets parsed to 0. [src/vty/stats_vty.c:90]: (error) Possible null pointer dereference: val http://cgit.osmocom.org/osmocom-bb/commit/?id=7921975989a1844546669a77ecdc9160fdef2282 commit 7921975989a1844546669a77ecdc9160fdef2282 Author: Holger Hans Peter Freyther Date: Mon Nov 2 15:50:32 2015 +0100 stats: Do not assign the wrong addresss we need to put the default value into inaddr and not put a 32bit value into the addr pointer. Spotted by cppcheck: [src/stats.c:231]: (error) Uninitialized variable: inaddr http://cgit.osmocom.org/osmocom-bb/commit/?id=837e940627cd8dc469e65980b3b48c9539a55440 commit 837e940627cd8dc469e65980b3b48c9539a55440 Author: Holger Hans Peter Freyther Date: Mon Nov 2 15:44:26 2015 +0100 stats: Remove warnings about never read variables Nothing is being done with these return values. Remove them for now and update the TODO entry that is present at two of the three places. stats.c: In function ???rate_ctr_handler???: stats.c:570:6: warning: variable ???rc??? set but not used [-Wunused-but-set-variable] int rc; ^ stats.c: In function ???osmo_stat_item_handler???: stats.c:617:6: warning: variable ???rc??? set but not used [-Wunused-but-set-variable] int rc; ^ stats.c: In function ???handle_counter???: stats.c:651:6: warning: variable ???rc??? set but not used [-Wunused-but-set-variable] int rc; http://cgit.osmocom.org/osmocom-bb/commit/?id=79125ecf7d54b04cc56818b6dd99813d0a4daf89 commit 79125ecf7d54b04cc56818b6dd99813d0a4daf89 Author: Jacob Erlbeck Date: Mon Nov 2 15:17:50 2015 +0100 log: Add new DLSTATS log level This log level is used by the stats subsystem log reporter to report statistics to level INFO. Note that the default level of DLSTATS is NOTICE. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=bc9d9aced8c174bbb5fc265ec746621d31344be0 commit bc9d9aced8c174bbb5fc265ec746621d31344be0 Author: Jacob Erlbeck Date: Mon Nov 2 14:49:35 2015 +0100 stats: Limit reporting by class id This commit adds class_id fields to the rate_ctr and stat_item group descriptions. The stats reporter code is extended to only process groups whose class_id does not exceed a per reporter max_class level. If the class_id is not set, the code assumes 'global' for groups with idx == 0 and 'subscriber' otherwise. The following vty command is added to config-stats: level (global|peer|subscriber) Set the maximum group level Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=16fe8dab7c1fede87f6bdbfbbcbf19f64d60648a commit 16fe8dab7c1fede87f6bdbfbbcbf19f64d60648a Author: Jacob Erlbeck Date: Mon Nov 2 11:30:01 2015 +0100 stats: Report group indices as unsigned int Currently the unsigned group index value is silently being cast to (signed) int in the log and statsd reporter code. If the resulting value is negative (which can happen for instance with MMCTX counters), the index is assumed to be unset. This commit changes the affected types to unsigned. The index value 0 is then the only value indicating an unset group. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=34eec7da8dd91c2e812863601ca5f787d6589ecb commit 34eec7da8dd91c2e812863601ca5f787d6589ecb Author: Jacob Erlbeck Date: Mon Nov 2 10:50:50 2015 +0100 vty: Add reserved nodes to enum node_type Currently every time a node is added to enum node_type, this constitutes an ABI change, since _LAST_OSMOVTY_NODE will get incremented accordingly. In this case, every project that adds new node type based on that value will have to be recompiled. This commit adds 4 spare node type values, which can be replaced one-by-one by new real types until they are exhausted to avoid this kind of ABI change. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=fc9533d6c4bde795dc0e18f02f91f54ab92888a2 commit fc9533d6c4bde795dc0e18f02f91f54ab92888a2 Author: Jacob Erlbeck Date: Thu Oct 29 00:55:58 2015 +0100 stats: Add osmo_ name prefix to identifiers Since the the stat_item and stats functions and data types are meant to be exported, they get an osmo_ prefix. Sponsored-by: On-Waves ehf [hfreyther: Prepended the enum values too. This was requested by Jacob] http://cgit.osmocom.org/osmocom-bb/commit/?id=bc4f7ae512b32fa4b569dfc5242d0b7a5da3f81b commit bc4f7ae512b32fa4b569dfc5242d0b7a5da3f81b Author: Jacob Erlbeck Date: Wed Oct 28 21:47:45 2015 +0100 stats: Add log reporter This reporter passes the measurement values to the logging subsystem as DSTATS (which is currently DLGLOBAL) level INFO messages. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=490b38f57a24726f3e3493fc3500cda526c5d0aa commit 490b38f57a24726f3e3493fc3500cda526c5d0aa Author: Jacob Erlbeck Date: Tue Oct 27 15:10:28 2015 +0100 stats: Use function pointers in reporter objects Currently case statements are used to select the right reporter functions. This makes it difficult to add new reporter types, especially if they are not going to reside in the same file. This commit introduces per reporter function pointer for open, close, send_count, and send_item. They are checked for non-NULL before being called or skipped. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=ed197fd4f923512fca5b93b90c2132845896fa59 commit ed197fd4f923512fca5b93b90c2132845896fa59 Author: Jacob Erlbeck Date: Tue Oct 27 14:43:24 2015 +0100 stats: Make net config optional To support reporters without network configuration, this commit introduces the have_net_config flag to provide corresponding error messages. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=4aa11770622ae9009074d68cc8c340821b19adf3 commit 4aa11770622ae9009074d68cc8c340821b19adf3 Author: Jacob Erlbeck Date: Tue Oct 27 11:55:20 2015 +0100 stats: Add missing mtu command to 'write' output Currently the config_write_stats_reporter function does not output the mtu value, which is fixed by this commit. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=d01acfcc75a6c5798a95a8ccca9be18eba65a0bf commit d01acfcc75a6c5798a95a8ccca9be18eba65a0bf Author: Jacob Erlbeck Date: Mon Oct 26 16:22:45 2015 +0100 stats: Support statsd Multi-Metric Packets If the MTU is given, combine several messages into a single UDP packet until the limit is reached. Flush all reporters after the values have been scanned. New vty commands (node config-stats): mtu <100-65535> Enable multi-metric packets and set the maximum packet size (in byte) no mtu Disable multi-metric packets Note that single messages that are longer than the given MTU (minus 28 octets protocol overhead) will be dropped. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=c8f47b600f8e2ad21266d4c27e960e477e5fe35c commit c8f47b600f8e2ad21266d4c27e960e477e5fe35c Author: Jacob Erlbeck Date: Mon Oct 26 14:42:05 2015 +0100 stats: Add support for osmo_counters This commit changes the reporting code to also show all modified osmo_counter values. Since there is no grouping of these values, the name string just consists of the optional prefix and the counter name. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=80db4ec3875b0de7f06de769881d6c5d4b713f2d commit 80db4ec3875b0de7f06de769881d6c5d4b713f2d Author: Jacob Erlbeck Date: Mon Oct 26 14:39:08 2015 +0100 core: Add difference function to osmo_counter The osmo_counter_difference returns the counter value difference since the last call of this function with the given counter object. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=c27671c10935ee384d03a87170c3f31ab435da07 commit c27671c10935ee384d03a87170c3f31ab435da07 Author: Jacob Erlbeck Date: Mon Oct 26 12:32:07 2015 +0100 stats: Report stat item values Currently only rate counter are being supported. This commit adds support for stat items. All groups are polled for changed values. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=b1dbfb4c4179a62cd4b761ebdc7a3c2de5bdc0d9 commit b1dbfb4c4179a62cd4b761ebdc7a3c2de5bdc0d9 Author: Jacob Erlbeck Date: Mon Oct 26 11:58:38 2015 +0100 stats: Implement timer based reporting This calls stats_flush in regular intervals which polls the statistical values and calls the active reporters when values have changed. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=adc900e0e38373193c8451c0310fe742d62c2c8e commit adc900e0e38373193c8451c0310fe742d62c2c8e Author: Jacob Erlbeck Date: Tue Oct 20 19:05:52 2015 +0200 stats/vty: Add stats configuration This commit provides stats configuration similar to the log configuration. The following vty commands are added to the config node: stats reporter statsd Create/Modify a statsd reporter no stats reporter statsd Remove a statsd reporter To actually configure a reporter, the config-stats node is entered when the "stats reporter" command has succeeded. The following new vty commands are available there: local-ip ADDR Set the IP address to which we bind locally no local-ip Do not bind to a certain IP address remote-ip ADDR Set the remote IP address to which we connect remote-port <1-65535> Set the remote port to which we connect prefix PREFIX Set the item/counter name prefix no prefix Do not use a prefix enable Enable the reporter disable Disable the reporter Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=95bf828003b065f00a78144296072a9730cbf7bc commit 95bf828003b065f00a78144296072a9730cbf7bc Author: Jacob Erlbeck Date: Tue Oct 20 19:05:52 2015 +0200 stats: Add the reporting framework This commit provides the stats reporting framework that can manage several types of measurement reporters. Initially support for rate_ctr and the statsd protocol is included. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=45513e6040195f5494d40a2750de4dac7037593f commit 45513e6040195f5494d40a2750de4dac7037593f Author: Jacob Erlbeck Date: Mon Oct 19 15:14:13 2015 +0200 stats/vty: Add stats_vty.c This file will contain the VTY code related to statistics. This commit adds a minimal file with just as single VTY command: - show stats This command shows all statistical values To enable this and future commands, the main program needs to call stats_vty_add_cmds(). Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=7211fe157e1107d4a9c04a0ecf494a7b9633c400 commit 7211fe157e1107d4a9c04a0ecf494a7b9633c400 Author: Jacob Erlbeck Date: Mon Oct 19 15:11:50 2015 +0200 stat/vty: Add vty_out_statistics_full to show all statistics This functions shows the state of all osmo_counters, stat_item groups, and counter groups. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=aec583f68786f91c3f0d76a8f8706c85aaca07a8 commit aec583f68786f91c3f0d76a8f8706c85aaca07a8 Author: Jacob Erlbeck Date: Mon Oct 19 15:06:01 2015 +0200 stat/vty: Use the iterator algorithms to show ctrg and statg Currently the groups for stat_items and counter are iterated manually. This commit makes use of the new iterator functions to access the single elements via handlers. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=e5b0fe2e3c84dd0de7021d65d416356612db4260 commit e5b0fe2e3c84dd0de7021d65d416356612db4260 Author: Jacob Erlbeck Date: Mon Oct 19 15:00:59 2015 +0200 core: Update osmo_counters_for_each doc Fix type and add a note about the semantics of the handler's return code. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=c6a7108828bf98ebcaf31d24bd8d789afdd4da94 commit c6a7108828bf98ebcaf31d24bd8d789afdd4da94 Author: Jacob Erlbeck Date: Mon Oct 19 14:04:38 2015 +0200 stats: Add stat_item_for_each functions This commit adds the following functions: stat_item_for_each_group Call a handler for each group stat_item_for_each_item Call a handler for each item of a group Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=423c1e5a4fc7ad2cd5e95e852b778c7e2c892bc1 commit 423c1e5a4fc7ad2cd5e95e852b778c7e2c892bc1 Author: Jacob Erlbeck Date: Mon Oct 19 13:45:42 2015 +0200 core: Extend rate_ctr by helper functions For global value reporting, some additional helper functions are needed. The statsd protocol expects differential counter values, which are currently not provided by rate_ctr (except for s/m/h/d intervals). This commit adds several helper functions to rate_ctr: - rate_ctr_difference returns the counter delta since the last call to this function for a given counter - rate_ctr_for_each_counter iterates through each counter of a group - rate_ctr_for_each_group iterates through all globally registered counter groups Note that the rate_ctr_difference function can only be used by a single backend, since it modifies the 'previous' field in the rate_ctr obj. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=b27b352e937dd0760da1e7fb05f9207be05702b8 commit b27b352e937dd0760da1e7fb05f9207be05702b8 Author: Jacob Erlbeck Date: Mon Oct 12 18:47:09 2015 +0200 stats: Use a global index for stat item values Currently each stat item has a separate index value which basically counts each single value added to the item and which can be used by a reporter to get all new values that have not been reported yet. The drawback is, that such an index must be stored for each stat item. This commit introduces a global index which is incremented for each new stat item value. This index is then stored together with the item value. So a single stored index per reporter is sufficient to make sure that only new values are reported. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=0a1400fc8311268d0a66bb20e0620e546e8d11c8 commit 0a1400fc8311268d0a66bb20e0620e546e8d11c8 Author: Jacob Erlbeck Date: Tue Oct 6 15:23:25 2015 +0200 ns: Add statistics for some events The following counters are added to the ns.nsvc counter group: lost.alive The number of missing ALIVE ACK messages lost.reset The number of missing RESET ACK messages The following items are added to the ns.nsvc stat item group: alive.delay The time in ms between sending ALIVE and receiving the next ALIVE ACK Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=738d9e22108a8e472458fad42509fd8d96994d6c commit 738d9e22108a8e472458fad42509fd8d96994d6c Author: Jacob Erlbeck Date: Tue Oct 6 15:21:56 2015 +0200 stats: Add vty_out_stat_item_group This functions dumps a whole stat item group to the VTY. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=9732cb4a92a883c7e9f7dcd928b6e22976a797ca commit 9732cb4a92a883c7e9f7dcd928b6e22976a797ca Author: Jacob Erlbeck Date: Thu Oct 1 20:43:53 2015 +0200 stats: Add stat_item for value monitoring This commit adds instrumentation function to gather measurement and statistical values similar to counter groups. Multiple values can be stored per item, which can be retrieved in FIFO order. Getting values from the item does not modify its state to allow for multiple independant backends (e.g. VTY and statd). When a new value is set, the oldest value gets silently overwritten. Lost values are skipped when getting values from the item. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=c84851bccc2e5e60536afa474a5f13134a3b79c9 commit c84851bccc2e5e60536afa474a5f13134a3b79c9 Author: Neels Hofmeyr Date: Fri Oct 9 00:01:06 2015 +0200 comments http://cgit.osmocom.org/osmocom-bb/commit/?id=5eeb17a0178a72d291cb99f2391d8ea7e9b65dd4 commit 5eeb17a0178a72d291cb99f2391d8ea7e9b65dd4 Author: Neels Hofmeyr Date: Wed Sep 23 23:18:15 2015 +0200 ipaccess: add OAP proto_ext (in design). http://cgit.osmocom.org/osmocom-bb/commit/?id=3de7b05d8557a60eaa5a4dd857aa3467cecd105c commit 3de7b05d8557a60eaa5a4dd857aa3467cecd105c Author: Neels Hofmeyr Date: Wed Sep 23 23:16:53 2015 +0200 utils: add 'returns' doc to osmo_hexparse(). http://cgit.osmocom.org/osmocom-bb/commit/?id=c2ddc4f5550e4081575fbcbaf37f6b3dafe7c05e commit c2ddc4f5550e4081575fbcbaf37f6b3dafe7c05e Author: Jan Engelhardt Date: Wed Sep 16 14:32:31 2015 +0200 build: have a disable-static build succeed When using configure --disable-static, no libosmogsm.a will be created, and the tests fail to link because symbols like _a5_3 and _a5_4 are not exported through the only remaining libosmogsm.so. A method to overcome this is an intermediate private non-distributed library, examples of which are present in e.g. libabc, kmod and systemd. With this, disable-static can now be the default and practical compile time be halved. http://cgit.osmocom.org/osmocom-bb/commit/?id=d452a48ac66d8e99a562c91660f371270d9c6b21 commit d452a48ac66d8e99a562c91660f371270d9c6b21 Author: Holger Hans Peter Freyther Date: Sun Aug 23 17:38:26 2015 +0200 Prepare new upstream release http://cgit.osmocom.org/osmocom-bb/commit/?id=69b1b8bea6cabb34f9a107fa549cd91956122c24 commit 69b1b8bea6cabb34f9a107fa549cd91956122c24 Author: Sylvain Munaut Date: Wed Aug 19 11:15:14 2015 +0200 build: Enable subdir-objects This fixes warning (and even build on some newer automake). This should now work in the CI as well thanks to the fix for tests. Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=0d727855686c9e857b608d7b8b22bfdf7c618b07 commit 0d727855686c9e857b608d7b8b22bfdf7c618b07 Author: Sylvain Munaut Date: Wed Aug 19 11:14:23 2015 +0200 tests: Don't reference file in src/ to test hidden func. Use static link. Taken from: https://qiaomuf.wordpress.com/2011/03/27/handling-unit-test-with-c-visibilityhidden/ Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=1a8c4e05fbf51662e3ffe47ed64c20f4752e2563 commit 1a8c4e05fbf51662e3ffe47ed64c20f4752e2563 Author: Harald Welte Date: Sun Aug 16 17:56:25 2015 +0200 Introduce gsm48_mi_type_name() function http://cgit.osmocom.org/osmocom-bb/commit/?id=1f6aad1c042f3040ac62696fc38c65a875862b6a commit 1f6aad1c042f3040ac62696fc38c65a875862b6a Author: Harald Welte Date: Sat Aug 15 19:51:45 2015 +0200 Add G-RNTI derived TLLI types defined in 23.003 http://cgit.osmocom.org/osmocom-bb/commit/?id=538ff49837c95e2ba6514356c863112569128532 commit 538ff49837c95e2ba6514356c863112569128532 Author: Holger Hans Peter Freyther Date: Tue Aug 18 13:17:53 2015 +0200 Revert "configure.ac: Add subdir-objects" This reverts commit 7c942ba1475a366cc7c8a129fbdd335166ce21c6. With automake 1.14 and using the above option the distclean will fail with: Making distclean in tests gmake[2]: Entering directory '/home/builder/source/workspace/libosmocore/label/FreeBSD_amd64/libosmocore-0.8.0.47-7c94/_build/tests' Makefile:848: ../src/gsm/.deps/a5.Po: No such file or directory Makefile:849: ../src/gsm/.deps/kasumi.Po: No such file or directory gmake[2]: *** No rule to make target '../src/gsm/.deps/kasumi.Po'. Stop. gmake[2]: Leaving directory '/home/builder/source/workspace/libosmocore/label/FreeBSD_amd64/libosmocore-0.8.0.47-7c94/_build/tests' Makefile:506: recipe for target 'distclean-recursive' failed gmake[1]: *** [distclean-recursive] Error 1 gmake[1]: Leaving directory '/home/builder/source/workspace/libosmocore/label/FreeBSD_amd64/libosmocore-0.8.0.47-7c94/_build' Makefile:714: recipe for target 'distcheck' failed As we are not required to use the option, let's fix the build http://cgit.osmocom.org/osmocom-bb/commit/?id=7c942ba1475a366cc7c8a129fbdd335166ce21c6 commit 7c942ba1475a366cc7c8a129fbdd335166ce21c6 Author: Harald Welte Date: Sat Aug 15 10:49:46 2015 +0200 configure.ac: Add subdir-objects Apparently this is required under latest autotools versions. http://cgit.osmocom.org/osmocom-bb/commit/?id=a9e5252128d1d871739f067fe9b0ca9b9a75a6f7 commit a9e5252128d1d871739f067fe9b0ca9b9a75a6f7 Author: Holger Hans Peter Freyther Date: Sun Aug 2 02:14:07 2015 +0000 vty: Change API to have node installation be done by int We are mixing enums and hope that no short-enums are used. This is leading to a lot compiler warnings generated by clang. Change the API to work with integers. Porting: The go_parent_cb implementations in the applications need to be fixed. The API change leads to a compile time warning. Fixes: abis_om2000_vty.c:46:2: warning: implicit conversion from enumeration type 'enum bsc_vty_node' to different enumeration type 'enum node_type' [-Wenum-conversion] OM2K_NODE, ^~~~~~~~~ http://cgit.osmocom.org/osmocom-bb/commit/?id=c136da587fc2fafff1f649828eae5c996c345017 commit c136da587fc2fafff1f649828eae5c996c345017 Author: Holger Hans Peter Freyther Date: Sat Aug 1 20:19:13 2015 +0200 release: Prepare the 0.8.2 release I have kind of used 0.8.1 by accident already so let us move to 0.8.2 now. http://cgit.osmocom.org/osmocom-bb/commit/?id=c1cb75eff5b060da9e6d43521e4913a8bf4e74fc commit c1cb75eff5b060da9e6d43521e4913a8bf4e74fc Author: Jacob Erlbeck Date: Thu Jun 18 13:21:30 2015 +0200 bssgp: Fix IMSI buffer size (Coverity) Currently the size of the IMSI pointer is used instead of the size of the talloc'ed buffer. This commit changes the call to gsm48_mi_to_string to use the same value that has been used with talloc_zero_size(). The length is changed to 17 since that value is used for GSM_IMSI_LENGTH in openbsc. Fixes: Coverity CID 1040663 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=2c58197e5d717c5eb24e2b8cecac43c2afdff22a commit 2c58197e5d717c5eb24e2b8cecac43c2afdff22a Author: Jacob Erlbeck Date: Thu Jun 18 11:51:34 2015 +0200 bssgp/test: Add missing START/END printfs Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=7f31c90b80c08fbfe2d84d70d397402fdb38b94c commit 7f31c90b80c08fbfe2d84d70d397402fdb38b94c Author: Jacob Erlbeck Date: Thu Jun 4 08:39:34 2015 +0200 ipa: Add libosmogsm.map entry for ipa_ccm_idtag_parse_off Addresses: CCLD utils/utils_test utils_test.o: In function `test_idtag_parsing': git/libosmocore/tests/utils/utils_test.c:64: undefined reference to `ipa_ccm_idtag_parse_off' Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=f558ed4bb9c0f00997b8f97c2b251a574c1a64c4 commit f558ed4bb9c0f00997b8f97c2b251a574c1a64c4 Author: Holger Hans Peter Freyther Date: Tue Jun 2 15:52:06 2015 +0200 ipa: Properly parse LV stream of a ID_GET request For some reason the structure is closer to be a LV (length and value). The value is actually a tag but it is counted inside the length. Introduce an overload of the parse function to provide an offset for the length. This will be taken from the returned length. http://cgit.osmocom.org/osmocom-bb/commit/?id=91ff17c9ef7dd4a29bb13d6b9995100ffc65b72a commit 91ff17c9ef7dd4a29bb13d6b9995100ffc65b72a Author: Holger Hans Peter Freyther Date: Tue May 26 00:11:37 2015 +0800 osmo-auc-gen: '-a' is already the algorithm. Fix the help http://cgit.osmocom.org/osmocom-bb/commit/?id=a6ea50c4ff58d8389b40ca6169c3ca826500abf2 commit a6ea50c4ff58d8389b40ca6169c3ca826500abf2 Author: Holger Hans Peter Freyther Date: Mon May 25 14:17:29 2015 +0200 debian: New development release with APN changes for the SGSN http://cgit.osmocom.org/osmocom-bb/commit/?id=908085ccbc6383e95f2c80134bcaf2e9816b7187 commit 908085ccbc6383e95f2c80134bcaf2e9816b7187 Author: Harald Welte Date: Wed Oct 1 16:18:11 2014 +0800 Add APN utility function to libosmogsm The current functions are used to 'qualify' an APN from the user-supplied APN name (name identifier) towards the fully-qualified APN name which is used in the .grps DNS zone. http://cgit.osmocom.org/osmocom-bb/commit/?id=0d86c21f6af7452291f4148c166e145fb65dc0b9 commit 0d86c21f6af7452291f4148c166e145fb65dc0b9 Author: Holger Hans Peter Freyther Date: Sun May 17 19:55:53 2015 +0200 build: Fix the building of tests as well In file included from ../../include/osmocom/core/msgb.h:25:0, from ../../tests/sms/sms_test.c:31: ../../include/osmocom/core/bits.h:6:35: fatal error: osmocom/core/bit16gen.h: No such file or directory #include http://cgit.osmocom.org/osmocom-bb/commit/?id=9eb1c800205b921c8e471c90e9fe8c5c4108aef0 commit 9eb1c800205b921c8e471c90e9fe8c5c4108aef0 Author: Andreas Rottmann Date: Sun May 17 16:31:54 2015 +0200 build: Fix out-of-tree builds Fixes: In file included from ../../../include/osmocom/core/msgb.h:25:0, from ../../../include/osmocom/sim/sim.h:4, from ../../../src/sim/reader_pcsc.c:30: ../../../include/osmocom/core/bits.h:6:35: fatal error: osmocom/core/bit16gen.h: No such file or directory #include In file included from ../../include/osmocom/core/msgb.h:25:0, from ../../utils/osmo-sim-test.c:26: ../../include/osmocom/core/bits.h:6:35: fatal error: osmocom/core/bit16gen.h: No such file or directory #include http://cgit.osmocom.org/osmocom-bb/commit/?id=16082fd3cda0ced8f22736e92394348ee2ecfda3 commit 16082fd3cda0ced8f22736e92394348ee2ecfda3 Author: Holger Hans Peter Freyther Date: Wed May 6 17:58:07 2015 +0200 debian: Bump version for new local packages http://cgit.osmocom.org/osmocom-bb/commit/?id=9385d1e01bd05c7099e3e441248ce0b10a6d02e2 commit 9385d1e01bd05c7099e3e441248ce0b10a6d02e2 Author: Jacob Erlbeck Date: Wed May 6 09:29:32 2015 +0200 bssgp: Fix bssgp_tx_fc_bvc parameter type Currently large values for Bmax default MS get sliced since a uint16_t is used as the type of the corresponding parameter of bssgp_tx_fc_bvc. GSM 48.018, 11.3.2 which in turn refers to 11.3.5 specifies a maximum of 6MB (0xffff * 100). This commit changes the type to uint32_t to cover the full value range. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=455d34f4767df3bcd0eccdd4ac42a755c016e0ed commit 455d34f4767df3bcd0eccdd4ac42a755c016e0ed Author: Jacob Erlbeck Date: Mon May 4 07:44:43 2015 +0200 bssgp/test: Fix bssgp-fc test The fix in the commit "bssgp: Fix call to llist_entry in fc_queue_timer_cfg" prevents the flow control code from generating certain logging messages ("-BSSGP-FC: fc_timer_cb() but still not able to send PDU of 10 bytes") during the tests. This breaks the test suite, since the update of the correseponding stderr output file misses. This commit updates the bssgp_fc_tests.err file accordingly. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=780bba625d2d09478527ec6038f0f6e15eb6e651 commit 780bba625d2d09478527ec6038f0f6e15eb6e651 Author: Holger Hans Peter Freyther Date: Sat May 2 07:59:00 2015 +0200 linuxlist: Remove casting of ptr from container_of macro The cast is not present in the original macro and was added in OpenBSC with commit (be68f6fc6cde1367a4481d2e774a64e2cd657267) to help using the header with C++. Due the recent issue in the bssgp flow control code, let's remove the cast to see wrong pointer usage. In case C++ code doesn't compile anymore we can see how to add a cast back to it. Change was proposed by Michael McTernan http://cgit.osmocom.org/osmocom-bb/commit/?id=97319359849cb21342a3243c6202def1cd18bc94 commit 97319359849cb21342a3243c6202def1cd18bc94 Author: Jacob Erlbeck Date: Thu Apr 30 19:28:03 2015 +0200 bssgp: Fix call to llist_entry in fc_queue_timer_cfg Currently the DL sometimes hangs and sometimes a lot of messages (still not able to send PDU) are logged. This is caused by an invalid timer delay computation, setting msecs either to 0 or to some big value. This is due to an '&' operator at the wrong place, accessing some parts in fc instead of the first element of the list. This commit fixes that issue. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=580af4be0023a669d1b756f0f6180eed5ea98144 commit 580af4be0023a669d1b756f0f6180eed5ea98144 Author: Jacob Erlbeck Date: Wed Apr 29 15:00:30 2015 +0200 bssgp: Fix encoding of BVC_FLOW_CONTROL Currently all 2 byte IE of the message are transmitted in the little endian byte ordering. This commit adds htons to the encoding expressions. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=1bda44213ed90ffd00f9791d8eeea8179fe02594 commit 1bda44213ed90ffd00f9791d8eeea8179fe02594 Author: Jacob Erlbeck Date: Wed Apr 29 15:00:29 2015 +0200 bssgp: Fix output of the VTY 'show bssgp stats' command The output is terminated by a '\n' instead of VTY_NEWLINE. This is fixed by the commit. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=ad69f89b529e0cdc235406802448c37fcb61efda commit ad69f89b529e0cdc235406802448c37fcb61efda Author: Holger Hans Peter Freyther Date: Thu Apr 16 21:23:49 2015 +0200 debian: Build new version http://cgit.osmocom.org/osmocom-bb/commit/?id=0f40ae12c87c3ddf4f93aa5c16e3be84b288f220 commit 0f40ae12c87c3ddf4f93aa5c16e3be84b288f220 Author: Holger Hans Peter Freyther Date: Mon Apr 13 09:21:05 2015 +0200 osmo_static_assert: Put back the typedef in the code In OSX the int declares linkage and for libosmo-abis we have two static asserts with the same name in two different compilation units. When adding the "unused" attribute I removed the typedef. I verified with a gcc 4.9.2 that no new warnings will be shown when compiling libosmo-abis. http://cgit.osmocom.org/osmocom-bb/commit/?id=6b1faf73628f3a8cc94a360600f1c4e6c76ca461 commit 6b1faf73628f3a8cc94a360600f1c4e6c76ca461 Author: Holger Hans Peter Freyther Date: Sat Apr 11 19:33:10 2015 +0200 logginrb: Fix compiler warning about fprintf loggingrb/loggingrb_test.c:76:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, log_target_rb_get(ringbuf_target, 0)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loggingrb/loggingrb_test.c:77:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, log_target_rb_get(ringbuf_target, 1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http://cgit.osmocom.org/osmocom-bb/commit/?id=c2b4458e0789dcf42bd0fb7498d97c041aca87be commit c2b4458e0789dcf42bd0fb7498d97c041aca87be Author: Holger Hans Peter Freyther Date: Sat Apr 11 19:31:03 2015 +0200 sim: Use extern for these structs to generate a linkage Fixes: duplicate symbol _ts102221_fcp_vals in: .libs/core.o .libs/card_fs_usim.o duplicate symbol _pcsc_reader_ops in: .libs/reader.o .libs/card_fs_usim.o http://cgit.osmocom.org/osmocom-bb/commit/?id=1885395551fb9a34145e9e242754ba3b2a9aa09e commit 1885395551fb9a34145e9e242754ba3b2a9aa09e Author: Holger Hans Peter Freyther Date: Sat Apr 11 19:29:52 2015 +0200 macaddr: Use the BSD code for Darwin as well It simply compiles, no other testing has been done. http://cgit.osmocom.org/osmocom-bb/commit/?id=9a1a5a1c0ad0e42ad2cb897e7248638634aaef5a commit 9a1a5a1c0ad0e42ad2cb897e7248638634aaef5a Author: Holger Hans Peter Freyther Date: Sat Apr 11 19:26:55 2015 +0200 utils: Disable the weak symbol for darwin We should consider simply removing the alias as we have had several ABI changes since introducint the alias utils.c:223:23: error: only weak aliases are supported on darwin __attribute__((weak, alias("osmo_hexdump_nospc"))); http://cgit.osmocom.org/osmocom-bb/commit/?id=a84db616737cda5dfc6e8590a29523dc08090f60 commit a84db616737cda5dfc6e8590a29523dc08090f60 Author: Jacob Erlbeck Date: Thu Apr 9 14:22:22 2015 +0200 gprs: Add assertion for msg != NULL to bssgp_msgb_alloc (Coverity) Currently out-of-memory is not handled by bssgp_msgb_alloc, leading to SEGV failures if msgb_alloc_headroom returns NULL. This commit adds an OSMO_ASSERT to catch this case, which improves the situation only slightly. But bssgp_msgb_alloc is used in many places without checking the return value, so just adding a conditional early NULL return would not fix the issue either. Fixes: Coverity CID 1293377 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=d154f8bda2e379a8a0e1c3712a9af6a9d97b7b97 commit d154f8bda2e379a8a0e1c3712a9af6a9d97b7b97 Author: Jacob Erlbeck Date: Thu Apr 9 14:22:21 2015 +0200 msgb: Check the return value of msgb_alloc (Coverity) In some places, the return value of msgb_alloc/msgb_alloc_headroom is not checked before it is dereferenced. This commit adds NULL checks to return with -ENOMEM from the calling functions if the alloc function has failed. Fixes: Coverity CID 1249692, 1293376 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=8d192d7153498498ff6232209c900e67256b8036 commit 8d192d7153498498ff6232209c900e67256b8036 Author: Jacob Erlbeck Date: Tue Apr 7 17:52:45 2015 +0200 ns: Log when sending fails (Coverity) Currently the return value of the gprs_ns_tx family of functions is often ignored. This is not a serious issue, since the successful delivery of the messages is neither guaranteed nor acknowledged by the network layer anyway. Nevertheless this commit adds logging (level INFO) to gprs_ns_tx and gprs_ns_msgb_alloc. The definition of the latter has been moved from the header file to gprs_ns.c. Fixes: Coverity CID 1040678, 1040679, 1040680, 1040681, 1040682, 1040683, 1040684, 1040686, 1040687, 1040688, 1111545, 1240203, 1240204 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=b535e391b0f1d030373159ddbf54483d7fa54763 commit b535e391b0f1d030373159ddbf54483d7fa54763 Author: Jacob Erlbeck Date: Tue Apr 7 17:52:44 2015 +0200 bssgp: Ensure non-NULL bctx before calling bssgp_rx_ptp (Coverity) Currently bssgp_rx_ptp might be called with bctx being NULL, when the NS BVCI is neither BVCI_SIGNALLING nor BVCI_PTM, but the message is a BVC_RESET or it contains an BVCI IE != BVCI_SIGNALLING where the BVCI is not known. This patch ensures that bssgp_rx_ptp will only be called with a non-NULL bctx. A log message will be issued, if the bctx is NULL when this was not expected. Fixes: Coverity CID 1040674 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=c641591ae9298894178dae78c37e5f96687be576 commit c641591ae9298894178dae78c37e5f96687be576 Author: Jacob Erlbeck Date: Tue Apr 7 17:52:43 2015 +0200 bssgp: Always expect dup != NULL in bssgp_tx_dl_ud (Coverity) Currently the implementation of bssgp_tx_dl_ud conditionally adds some optional IE if dup != NULL. Later on is dereferences dup to access qos_profile and fc, but this without checking dup in advance. This may lead to an segmentation violation fault. This commit changes the value range of the function to only accept dup != NULL. An assertion will fail otherwise. All other explicit checks for non-NULL are removed. Fixes: Coverity CID 1040673 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=a11994ddff1edbdb85ee9dc1ffd36f9b9834edf3 commit a11994ddff1edbdb85ee9dc1ffd36f9b9834edf3 Author: Max Date: Mon Apr 6 16:17:49 2015 +0200 fix compiler warnings for a5 tests Signed-off-by: Max http://cgit.osmocom.org/osmocom-bb/commit/?id=5fb265eaa725928b59b44aa9bfe8959256014ba1 commit 5fb265eaa725928b59b44aa9bfe8959256014ba1 Author: Holger Hans Peter Freyther Date: Sun Apr 5 14:36:31 2015 +0200 ctrl: Avoid accessing cmd_desc->command out of bounds We check that the amount of commands is not more than we have but we don't check it the other way. It appears that the vector is allowed to be bigger than the amount of commands. So we match a prefix of a longer command depending on the installation order. http://cgit.osmocom.org/osmocom-bb/commit/?id=4e0543f730b255849305787ecce89867e89f40f8 commit 4e0543f730b255849305787ecce89867e89f40f8 Author: Michael McTernan Date: Mon Mar 30 13:22:14 2015 +0100 Tests: Fix broken loggingrb testcase. The loggingrb (ringbuffer) test case was not actually being built or ran, instead still using the normal logging test. This patch fixes the makefile, then the loggingrb testcase is changed to use the current loggingrb API so that it builds and passes. Signed-off-by: Michael McTernan http://cgit.osmocom.org/osmocom-bb/commit/?id=f8699ca51eeb4f3d34336501abcaf071b4a95a47 commit f8699ca51eeb4f3d34336501abcaf071b4a95a47 Author: Max Date: Wed Mar 25 17:20:31 2015 +0100 gsm: Add A5/3-4 cipher support Signed-off-by: Max Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=249a81b7ff57d39af843cd267b60c0ce0400ce8d commit 249a81b7ff57d39af843cd267b60c0ce0400ce8d Author: Holger Hans Peter Freyther Date: Sun Mar 22 09:03:42 2015 +0100 endian: Be able to detect endian on GNU and BSD On GNU __BYTE_ORDER and __LITTLE_ENDIAN is defined and the include is "endian.h" on FreeBSD it is "sys/endian.h" and LITTLE_ENDIAN/_LITTLE_ENDIAN and BYTE_ORDER/_BYTE_ORDER is defined. Create a header file that defines OSMO_IS_LITTLE_ENDIAN and OSMO_IS_BIG_ENDIAN and can be used as #if OSMO_IS_LITTLE_ENDIAN do_little_endian #elif OSMO_IS_BIG_ENDIAN do_big_endian #else #error "Unknown endian" #endif http://cgit.osmocom.org/osmocom-bb/commit/?id=789334640f2c34e58b9f3a8c19c57ac15bd2ed38 commit 789334640f2c34e58b9f3a8c19c57ac15bd2ed38 Author: Michael McTernan Date: Fri Mar 20 15:29:25 2015 +0100 vty: Fix writing the logging of category Fix copy and paste issue introduced by Holger in 2d6ad13d8daf860595e6d4025861e122ce574871. http://cgit.osmocom.org/osmocom-bb/commit/?id=267fd86e7da57719577c50039129654bd396c651 commit 267fd86e7da57719577c50039129654bd396c651 Author: Holger Hans Peter Freyther Date: Wed Mar 18 21:52:38 2015 +0100 libctrl: Include config.h so we can include netinet/tcp.h In e15ac060e7ae78d4c3569d7fc9071bcf49807e05 we tried to fix the nuttx build but we never included "netinet/tcp.h" after it and the compiler warned about the unused "on" parameter which we didn't notice because of the other warnings... Include config.h so we can see if there is a tcp.h and then include it. http://cgit.osmocom.org/osmocom-bb/commit/?id=6cce3d71537cd9dc077c407d865b8b8ffe1ee77f commit 6cce3d71537cd9dc077c407d865b8b8ffe1ee77f Author: Holger Hans Peter Freyther Date: Wed Mar 18 21:35:56 2015 +0100 msgfile: Fix warning on BSDs stdio msgfile.c:116:16: warning: implicit declaration of function 'getline' is invalid in C99 [-Wimplicit-function-declaration] while (getline(&line, &n, file) != -1) { http://cgit.osmocom.org/osmocom-bb/commit/?id=ca8dcb7bff9f9ed4cc52875a772246011e93cf31 commit ca8dcb7bff9f9ed4cc52875a772246011e93cf31 Author: Holger Hans Peter Freyther Date: Wed Mar 18 21:26:57 2015 +0100 gsm0808: Remove duplicate initialization These types were compatible so simply remove one. Fixes: gsm0808.c:323:37: warning: initializer overrides prior initialization CC gsm0480.lo of this subobject CC abis_nm.lo [-Winitializer-overrides] [GSM0808_IE_LSA_INFORMATION] = { TLV_TYPE_TLV }, ^~~~~~~~~~~~ gsm0808.c:316:36: note: previous initialization is here [GSM0808_IE_LSA_INFORMATION] = { TLV_TYPE_TLV }, ^~~~~~~~~~~~ http://cgit.osmocom.org/osmocom-bb/commit/?id=36153dc61aa15f9c3084c2824c51356fc4babadb commit 36153dc61aa15f9c3084c2824c51356fc4babadb Author: Jacob Erlbeck Date: Tue Mar 17 10:21:17 2015 +0100 bssgp: Handle BSSGP STATUS messages Currently incoming BSSGP STATUS messages are just logged and no other action is taken. This makes it impossible for higher layers to react to failures which are indicated by corresponding STATUS messages unless a timeout is triggered as a result of that failure later on. This commit adds a bssgp_rx_status() function and calls it on incoming STATUS messages. That function logs a message, increments the new BSSGP_CTR_STATUS counter if the bctx context exists and invokes an NM_STATUS status indication. The latter will allow the application to handle failures immediately. Since all STATUS messages should be handled, the function is already called in bssgp_rcvmsg and the message is no longer handled in (and will not reach) bssgp_rx_sign and bssgp_rx_ptp. Ticket: OW#1414 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=49ed9beed1a1f6df197defb295cf436b5eeb8933 commit 49ed9beed1a1f6df197defb295cf436b5eeb8933 Author: Jacob Erlbeck Date: Tue Mar 17 10:21:16 2015 +0100 bssgp: Don't reply with STATUS when receiving a PtP STATUS message Currently each incoming PtP BSSGP STATUS message is handled as 'not yet implemented' and a BSSGP STATUS message (cause BSSGP_CAUSE_PROTO_ERR_UNSPEC) is sent back to the peer. This will cause endless messages loops if both peers use this BSSGP stack implementation. This does not apply to signalling messages. This commit changes the implementation of bssgp_rx_ptp() to just do logging in this case. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=b61b2ca1a0c63d99c642fe46b0bfef83eb092ba1 commit b61b2ca1a0c63d99c642fe46b0bfef83eb092ba1 Author: Jacob Erlbeck Date: Tue Mar 17 10:21:15 2015 +0100 logging: Implement subsecond resolution of extended timestamps Currently when using 'logging print extended-timestamp 1', the subsecond part (milliseconds) of the printed timestamp is always 0. This makes it difficult to correlate log entries with PCAP file entries if there are many of them per second. This patch changes _output in logging.c to use gettimeofday() instead of time() when extended timestamps are enabled and replaces the '000' by the milliseconds computed from tv_usec. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=4dafdefa7adaea9ca10b357ed966fdcd183347df commit 4dafdefa7adaea9ca10b357ed966fdcd183347df Author: Holger Hans Peter Freyther Date: Sat Mar 14 19:30:19 2015 +0100 debian: Aim for a higher standards version http://cgit.osmocom.org/osmocom-bb/commit/?id=4d45d40c782c3c536d917c51c0054e9ee01a676a commit 4d45d40c782c3c536d917c51c0054e9ee01a676a Author: Holger Hans Peter Freyther Date: Sat Mar 14 19:21:25 2015 +0100 debian: Move to multi-arch support in libosmocore Enable multi-arch support in libosmocore. This means the package can not be built on squeeze anymore. The concept of "foreign" is not really well documented but I think I use it correctly here. http://cgit.osmocom.org/osmocom-bb/commit/?id=879acef39465bb978f9a3bcb349594b818aec442 commit 879acef39465bb978f9a3bcb349594b818aec442 Author: Holger Hans Peter Freyther Date: Tue Jan 27 11:06:51 2015 +0100 vty: Fix typo in the state creation This got introduced in 2d6ad13d8daf860595e6d4025861e122ce574871 and I thought that our vty tests would have caught such mistakes. http://cgit.osmocom.org/osmocom-bb/commit/?id=19d00517af53261523b35e14b14de7b87ea8d669 commit 19d00517af53261523b35e14b14de7b87ea8d669 Author: Holger Hans Peter Freyther Date: Sun Jan 18 21:23:16 2015 +0100 debian: Add pcsc build depends and pkg-config for the m4 macro http://cgit.osmocom.org/osmocom-bb/commit/?id=f6a0ceb92fcdb9c8f496f6efeb385850dbc33d0b commit f6a0ceb92fcdb9c8f496f6efeb385850dbc33d0b Author: altaf Date: Mon Jan 12 12:51:44 2015 +0100 core/gsmtap: LTE RRC message types and LTE MAC define Submitted-by: altaf Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=25aeab7a8235141a72c7cbb37155d8949071ec3f commit 25aeab7a8235141a72c7cbb37155d8949071ec3f Author: Holger Hans Peter Freyther Date: Sun Jan 18 19:05:19 2015 +0100 Prepare a new libosmocore release http://cgit.osmocom.org/osmocom-bb/commit/?id=4deb2dfa2547adb5ee71ff03c2ffdd0be088fa36 commit 4deb2dfa2547adb5ee71ff03c2ffdd0be088fa36 Author: Holger Hans Peter Freyther Date: Sun Jan 18 19:20:19 2015 +0100 ctrl: Link to libraries we use symbols from Fixes: dpkg-shlibdeps: warning: symbol vector_free used by debian/libosmoctrl0/usr/lib/libosmoctrl.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol vector_set used by debian/libosmoctrl0/usr/lib/libosmoctrl.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol vector_set_index used by debian/libosmoctrl0/usr/lib/libosmoctrl.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol tall_vty_vec_ctx used by debian/libosmoctrl0/usr/lib/libosmoctrl.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol ipa_msg_recv_buffered used by debian/libosmoctrl0/usr/lib/libosmoctrl.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol cmd_free_strvec used by debian/libosmoctrl0/usr/lib/libosmoctrl.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol vector_lookup used by debian/libosmoctrl0/usr/lib/libosmoctrl.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol vector_lookup_ensure used by debian/libosmoctrl0/usr/lib/libosmoctrl.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol cmd_make_strvec used by debian/libosmoctrl0/usr/lib/libosmoctrl.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol vector_init used by debian/libosmoctrl0/usr/lib/libosmoctrl.so.0.0.0 found in none of the libraries http://cgit.osmocom.org/osmocom-bb/commit/?id=c869069950515add4155dfb37d94bd29d833d3fe commit c869069950515add4155dfb37d94bd29d833d3fe Author: Holger Hans Peter Freyther Date: Sun Jan 18 19:16:25 2015 +0100 sim: Link to libosmocore and libosmogsm The big LIBOSMOCORE_CFLAGS and LIBOSMOCORE_LIBS macros are not defined when building linosmocore. Use the .la files directly Fixes: dpkg-shlibdeps: warning: symbol osmo_hexdump used by debian/libosmosim0/usr/lib/libosmosim.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol gsm48_parse_ra used by debian/libosmosim0/usr/lib/libosmosim.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol _talloc_zero used by debian/libosmosim0/usr/lib/libosmosim.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol _talloc_memdup used by debian/libosmosim0/usr/lib/libosmosim.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol talloc_strndup used by debian/libosmosim0/usr/lib/libosmosim.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol msgb_length used by debian/libosmosim0/usr/lib/libosmosim.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol msgb_alloc used by debian/libosmosim0/usr/lib/libosmosim.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol msgb_free used by debian/libosmosim0/usr/lib/libosmosim.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol talloc_strdup used by debian/libosmosim0/usr/lib/libosmosim.so.0.0.0 found in none of the libraries dpkg-shlibdeps: warning: symbol talloc_free used by debian/libosmosim0/usr/lib/libosmosim.so.0.0.0 found in none of the libraries http://cgit.osmocom.org/osmocom-bb/commit/?id=78ffdb8ab2cc16251974bc2a93aa1d9ae35b7874 commit 78ffdb8ab2cc16251974bc2a93aa1d9ae35b7874 Author: Holger Hans Peter Freyther Date: Sun Jan 18 19:06:01 2015 +0100 misc: Ignore a file generated by doxygen http://cgit.osmocom.org/osmocom-bb/commit/?id=419684e30c2fe12d3e3441cfa9fea21f1c4de959 commit 419684e30c2fe12d3e3441cfa9fea21f1c4de959 Author: Tobias Engel Date: Thu Mar 8 13:31:52 2012 +0100 Supplementary Services (de)activation, interrogation added These patches enhance the Supplementary Service (SS) processing from only being able to handle USSD to other SS, specifically activation, deactivation and interrogation of those SS. Registration is not yet implemented. include/osmocom/gsm/protocol/gsm_09_02.h has been added with needed values for SS. Modified by Harald Welte to keep the old ussd-only functiosn for API/ABI stability. http://cgit.osmocom.org/osmocom-bb/commit/?id=c13cf8bbd3a0650993b43e1cea071c02d0f00d8f commit c13cf8bbd3a0650993b43e1cea071c02d0f00d8f Author: Harald Welte Date: Tue Dec 30 13:25:44 2014 +0100 SMS-CB: introduce and use GSM341_7BIT_PADDING http://cgit.osmocom.org/osmocom-bb/commit/?id=c993a07ceb8cff0226885d39c6af17f0f903e01a commit c993a07ceb8cff0226885d39c6af17f0f903e01a Author: Harald Welte Date: Tue Dec 30 13:22:56 2014 +0100 use the new GSM341 / GSM412 size constants http://cgit.osmocom.org/osmocom-bb/commit/?id=61ced83a700aa4426390c2c12326f00d72ec193e commit 61ced83a700aa4426390c2c12326f00d72ec193e Author: Harald Welte Date: Tue Dec 30 13:18:26 2014 +0100 SMS-CB: Add #defines for maximum block/msg size and payload chars http://cgit.osmocom.org/osmocom-bb/commit/?id=f626123f83675af8ea1ffd5d578dc40f71270bef commit f626123f83675af8ea1ffd5d578dc40f71270bef Author: Daniel Willmann Date: Tue Dec 30 12:07:17 2014 +0100 smscb/gsm0341_test: Add \r padding to the message http://cgit.osmocom.org/osmocom-bb/commit/?id=be4bbeb01b85cbe38c70e0f272e59e4c57f13aa2 commit be4bbeb01b85cbe38c70e0f272e59e4c57f13aa2 Author: Harald Welte Date: Tue Dec 30 01:22:26 2014 +0100 add missing gsm0341.h http://cgit.osmocom.org/osmocom-bb/commit/?id=65f676dac581d5ff6240aa76104d38df2cbf93ab commit 65f676dac581d5ff6240aa76104d38df2cbf93ab Author: Harald Welte Date: Tue Dec 30 00:43:39 2014 +0100 test http://cgit.osmocom.org/osmocom-bb/commit/?id=63b156a9e04546dae0970e658cfd2d4d1230ced4 commit 63b156a9e04546dae0970e658cfd2d4d1230ced4 Author: Harald Welte Date: Tue Dec 30 00:43:32 2014 +0100 fixup http://cgit.osmocom.org/osmocom-bb/commit/?id=783d073a370191cdb9cba0f205ded50459663500 commit 783d073a370191cdb9cba0f205ded50459663500 Author: Harald Welte Date: Mon Dec 29 17:09:11 2014 +0100 add gsm0341_test to generate SMSCB hex strings Those hex strings can then be copy+pasted into the OSmoNITB VTY http://cgit.osmocom.org/osmocom-bb/commit/?id=a19717a7c50dededf0c8ec8ccb347c1c5d019382 commit a19717a7c50dededf0c8ec8ccb347c1c5d019382 Author: Harald Welte Date: Mon Dec 29 13:14:01 2014 +0100 Add Cell Broadcast MSGIDs from TS 23.041 v12.6.0 Release 12 http://cgit.osmocom.org/osmocom-bb/commit/?id=6ec6bd9d887e02b868c1492fe24c0c8f1cc20f7c commit 6ec6bd9d887e02b868c1492fe24c0c8f1cc20f7c Author: Holger Hans Peter Freyther Date: Sun Dec 28 18:27:38 2014 +0100 log: "logging level everything" is a badly named option. We tried to fix it but it isn't that easy. The original fix was cd6ed82d1ff48f47ad9e33e6322df62896a76ed5 but we had to revert it as "everything" is present/used in existing config files. If we ever change the ABI we can make everything be something that is > 0. For now use a wording that makes it obvious that people should not use "everything". http://cgit.osmocom.org/osmocom-bb/commit/?id=c8c33094afe13b78a5c75ecfd62eff06e68d197d commit c8c33094afe13b78a5c75ecfd62eff06e68d197d Author: Holger Hans Peter Freyther Date: Sun Dec 28 18:22:48 2014 +0100 bitvec: Fix typo in the csn1 encoding code We can curse about CSN.1 and 3GPP but I think we want to call it cursor here. http://cgit.osmocom.org/osmocom-bb/commit/?id=1b12d16c4c6a2914e4d3def56b304cb0da9246b0 commit 1b12d16c4c6a2914e4d3def56b304cb0da9246b0 Author: Harald Welte Date: Sun Dec 28 13:37:01 2014 +0100 libosmo-gsm: Add PCHAN/LCHAN types for CBCH http://cgit.osmocom.org/osmocom-bb/commit/?id=a6be224b889baa8aecc4e7247e596583bbcfc8cb commit a6be224b889baa8aecc4e7247e596583bbcfc8cb Author: Jacob Erlbeck Date: Mon Dec 22 10:58:46 2014 +0100 ipa: Return -errno instead of -1 in ipa_send Currently, the ipa_send function returns -1 in one execution branch to indicate an error and -EIO in another. This is not consistent and can lead to a misinterpretation of the error code, since -1 is -EPERM and in general, EPERM is not returned by write(2). This patch changes the return code to -errno instead of -1 for the case that write(2) fails for same reason. So -rc is always a sensible error value if there is a failure. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=3cd6753a1135b89e4665c78d18650f9addc1e874 commit 3cd6753a1135b89e4665c78d18650f9addc1e874 Author: Jacob Erlbeck Date: Mon Dec 22 10:58:45 2014 +0100 ipa: Add forward declaration of struct osmo_fd A pointer to struct osmo_fd is used in a few prototypes declared in gsm/ipa.h, but is neither declared explicitly nor is such a declaration reachable via the given include directives. This patch adds a forward declaration of this type to ensure proper compilation. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=4448048828db597aa99729b2b437986f59722c0e commit 4448048828db597aa99729b2b437986f59722c0e Author: Holger Hans Peter Freyther Date: Sun Dec 14 19:01:14 2014 +0100 ipa: Make a reservation for the GSUP protocol GSUP is a protocol to have the OpenBSC SGSN talk to an exterbal system for 3GPP MAP connectivity. http://cgit.osmocom.org/osmocom-bb/commit/?id=5f91a400685c0762df5f0f3bbb0b97daaf0d2371 commit 5f91a400685c0762df5f0f3bbb0b97daaf0d2371 Author: Holger Hans Peter Freyther Date: Fri Dec 5 10:29:45 2014 +0100 logging: Call color only once and use the result First we check if a color is defined and then we call it again and use the result. Avoid the second call and use the result of the previous call. http://cgit.osmocom.org/osmocom-bb/commit/?id=2d6ad13d8daf860595e6d4025861e122ce574871 commit 2d6ad13d8daf860595e6d4025861e122ce574871 Author: Holger Hans Peter Freyther Date: Fri Dec 5 09:35:30 2014 +0100 logging: Make it possible to print category/subsys and timestamps We want to see from which category/subsystem a certain log message is coming from and use a different timestamp format as well. Add two new bitfields. This doesn't change the size of the structure and on 32bit we still have 27bits left. The extended timestamp will take preference over the current and default timestamp format. Fixes: SYS#602 http://cgit.osmocom.org/osmocom-bb/commit/?id=a5dc19dc4053e45a4a9ae8facfbdb7393ad5fe69 commit a5dc19dc4053e45a4a9ae8facfbdb7393ad5fe69 Author: Holger Hans Peter Freyther Date: Thu Dec 4 14:35:21 2014 +0100 gtp: Add a global region for the gtp library of OpenGGSN We want to use libosmocore/libosmovty in the GGSN sourcecode and reserve a global region here. http://cgit.osmocom.org/osmocom-bb/commit/?id=9f0f978c8daa764d01f0892ef7b5e443f7c551a8 commit 9f0f978c8daa764d01f0892ef7b5e443f7c551a8 Author: Holger Hans Peter Freyther Date: Fri Nov 21 10:40:07 2014 +0100 vty: Check with the application before writing the config For the BSC/NITB application we see that people modify the band without modifying the ARFCN. This creates an unbootable config. Using the new hook the BSC/NITB can check if the config is consistent and prevent the config file being written. Related: SYS#739 http://cgit.osmocom.org/osmocom-bb/commit/?id=e15ac060e7ae78d4c3569d7fc9071bcf49807e05 commit e15ac060e7ae78d4c3569d7fc9071bcf49807e05 Author: Harald Welte Date: Thu Dec 4 14:15:36 2014 +0100 fix libosmocore build for NuttX target this fixes some compilation issues with libosmocore under NuttX, particularly as some #defines are missing or some header files are slightly different. http://cgit.osmocom.org/osmocom-bb/commit/?id=20144f7bc5c04e57da36cd7d7883f576510f0298 commit 20144f7bc5c04e57da36cd7d7883f576510f0298 Author: Harald Welte Date: Tue Mar 11 10:47:08 2014 +0100 vty/vector.c: Use string.h, not memory.h http://cgit.osmocom.org/osmocom-bb/commit/?id=78a870ed0fc7ec03d0eb24241d9772470e4a78ae commit 78a870ed0fc7ec03d0eb24241d9772470e4a78ae Author: Harald Welte Date: Tue Mar 11 10:45:38 2014 +0100 remove references to u_long type, use 'unsigned long' instead .. Nuttx doesn't know u_long http://cgit.osmocom.org/osmocom-bb/commit/?id=7b74dda31bc05a7210bbbcb382b78d6f9cde5b15 commit 7b74dda31bc05a7210bbbcb382b78d6f9cde5b15 Author: Harald Welte Date: Tue Mar 11 10:31:19 2014 +0100 remove references to u_char type, use 'unsigned char' instead ... u_char not being defined on Nuttx. http://cgit.osmocom.org/osmocom-bb/commit/?id=b592ab71a7e3d49d62ea986401f0902953375057 commit b592ab71a7e3d49d62ea986401f0902953375057 Author: Harald Welte Date: Mon Mar 10 18:12:17 2014 +0100 strrb.c: Use string.h, not strings.h Not all systems have strings.h http://cgit.osmocom.org/osmocom-bb/commit/?id=9e166e8e0815a5b429738614025fc2beb96473d4 commit 9e166e8e0815a5b429738614025fc2beb96473d4 Author: Harald Welte Date: Mon Mar 10 17:28:33 2014 +0100 select.c: Add missing #include lines for string.h and sys/select.h This is needed on Nuttx. http://cgit.osmocom.org/osmocom-bb/commit/?id=18bcc8ab6214e92539370eb3c5b601f18def4dde commit 18bcc8ab6214e92539370eb3c5b601f18def4dde Author: Holger Hans Peter Freyther Date: Fri Nov 14 15:06:09 2014 +0100 pcsc: Allow to disable the PCSC dependency * PCSC is enabled by default * --enable-pcsc is enabling it * --disable-pcscis disabling it * Fix the makefile of the utilities to not build pcsc and use the right header files/libraries. http://cgit.osmocom.org/osmocom-bb/commit/?id=8497b0a78671e09015ec2cb40f0a21cae7baf5ad commit 8497b0a78671e09015ec2cb40f0a21cae7baf5ad Author: Ciaby Date: Mon Nov 10 12:33:35 2014 -0600 Fix debian packaging - Added debian/libosmosim0.install - Added libosmosim definition in debian/control http://cgit.osmocom.org/osmocom-bb/commit/?id=0673b70f7d6c608566da84410c58f2ad5f290027 commit 0673b70f7d6c608566da84410c58f2ad5f290027 Author: Jacob Erlbeck Date: Mon Nov 10 08:27:15 2014 +0100 bssgp: Fix VTY command 'show bssgp nsei N' Currently this command segfaults (at least when ASAN is enabled), because when getting the NSEI the index to argv is wrong and out of bounds. This patch fixes the offset. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=d6ec984c51ffa8c3185b1a0472b4aa0b522364fa commit d6ec984c51ffa8c3185b1a0472b4aa0b522364fa Author: Harald Welte Date: Mon Oct 27 20:43:06 2014 +0100 osmo-sim-test: Fix read_binary() return check if we expect rmsg to be set, we should check for it... http://cgit.osmocom.org/osmocom-bb/commit/?id=881b5169e5210e7bbfe1b93ea81b345dfef08e51 commit 881b5169e5210e7bbfe1b93ea81b345dfef08e51 Author: Harald Welte Date: Mon Oct 27 20:41:40 2014 +0100 sim: reader_pcsc:Remove dead code PCSC_ERROR() macro is already performing error checking. Found by coverity. http://cgit.osmocom.org/osmocom-bb/commit/?id=b0310dd376aa4a5058e2601800b81ac2ff4cf421 commit b0310dd376aa4a5058e2601800b81ac2ff4cf421 Author: Holger Hans Peter Freyther Date: Mon Oct 27 12:00:37 2014 +0100 pcsc: Fix the include path The pkg-config file already points into the PCSC directory. This is needed for FreeBSD where /usr/local/include is not in the default compiler search path. On Debian $ pkg-config --cflags libpcsclite -pthread -I/usr/include/PCSC On FreeBSD $ pkg-config --cflags libpcsclite -I/usr/local/include/PCSC -D_THREAD_SAFE -pthread http://cgit.osmocom.org/osmocom-bb/commit/?id=33e940b862197cdbdc9f4e5781aa2d3df3a0ea52 commit 33e940b862197cdbdc9f4e5781aa2d3df3a0ea52 Author: Harald Welte Date: Sun Oct 26 20:52:25 2014 +0100 sttrb / loggingrb: Use GPLv2+ as license, not AGPLv3+ according to Holger, using AGPLv3+ at the time was a mistake and the license should always have indicated GPLv2+. http://cgit.osmocom.org/osmocom-bb/commit/?id=fd5ad17c5cfd6cf9d57072c161a6443487a878ae commit fd5ad17c5cfd6cf9d57072c161a6443487a878ae Author: Harald Welte Date: Sun Oct 26 20:47:42 2014 +0100 Change copyright notice of ipa.c to GPLv2+ ... which it should have been all along. http://cgit.osmocom.org/osmocom-bb/commit/?id=388fb034062427b196ffa25caae2c58cd305e5ac commit 388fb034062427b196ffa25caae2c58cd305e5ac Author: Harald Welte Date: Sun Oct 26 20:42:49 2014 +0100 Change license of gsm0411_smc/smr to GPLv2+ libosmocore.{so,a} should always have been GPLv2+. However, when migrating some code from OpenBSC or OsmocomBB, we sometimes introduced it with a wrong license header. http://cgit.osmocom.org/osmocom-bb/commit/?id=7fa89c2e886ea61ae3362d990915ac0c086d8d42 commit 7fa89c2e886ea61ae3362d990915ac0c086d8d42 Author: Harald Welte Date: Sun Oct 26 20:33:09 2014 +0100 Change license of libosmogb from AGPLv3+ to GPLv2+ The copyright holders Harald Welte, Holger Freyther, Andreas Eversberg and sysmocom - s.f.m.c. GmbH (represented by Holger and Harald) agree that the license of libosmogb should be GPLv2+ and not AGPLv3+. The reason the source files stated AGPLv3+ is due to the history, as they were moved from OpenBSC to libosmocore at the time we needed to use them from osmo-pcu. It was an oversight back then to not re-license them accordingly. http://cgit.osmocom.org/osmocom-bb/commit/?id=a97ebc9599d4b3210d7127a2cc75d552e69eeb9a commit a97ebc9599d4b3210d7127a2cc75d552e69eeb9a Merge: 42645d7d 534163ba Author: Harald Welte Date: Sun Oct 26 20:14:04 2014 +0100 Merge branch 'laforge/sim' This contains some work from 2012 about creating a general library about the data structure of data contained on SIM cards. This 'libosmosim' is supposed to be used by (among others) * tools to review/modify/personalize SIM card filesystem data * virtual SIM card implementation http://cgit.osmocom.org/osmocom-bb/commit/?id=534163badec879a644af985c9f5d04b7c957a355 commit 534163badec879a644af985c9f5d04b7c957a355 Author: Harald Welte Date: Sun Oct 26 20:09:17 2014 +0100 remove doxygen_sqlite3.db during 'make clean' http://cgit.osmocom.org/osmocom-bb/commit/?id=6729a9776aeffde08b11342dfc53e33873a33594 commit 6729a9776aeffde08b11342dfc53e33873a33594 Author: Harald Welte Date: Sun Oct 26 19:04:56 2014 +0100 make sure to register DF.TELECOM and DF.GSM for SIM, USIM + TSIM before we only did it partially, and by exporting data from sim, rather than the new osim_int_cprof_add_{gsm,telecom}() functions. http://cgit.osmocom.org/osmocom-bb/commit/?id=db2b52ee8477a0223114aeadc15c3bfe8c2ee1fd commit db2b52ee8477a0223114aeadc15c3bfe8c2ee1fd Author: Harald Welte Date: Sun Oct 26 19:04:41 2014 +0100 sim: More talloc return NULL checking http://cgit.osmocom.org/osmocom-bb/commit/?id=67354b1b4ee412a8e878a53607fcd65f2b344948 commit 67354b1b4ee412a8e878a53607fcd65f2b344948 Author: Harald Welte Date: Sun Oct 26 18:47:30 2014 +0100 sim: add missing const to reader_ops member of reader_handle http://cgit.osmocom.org/osmocom-bb/commit/?id=55790aa09a8f92d437ea06b3ef2c74465612fa8b commit 55790aa09a8f92d437ea06b3ef2c74465612fa8b Author: Harald Welte Date: Sun Oct 26 18:46:50 2014 +0100 sim: Prepare infrastructure for protocols != T=0 and other drivers http://cgit.osmocom.org/osmocom-bb/commit/?id=586d710e0586a51ba19b71bf20f2bb12aa8c0aeb commit 586d710e0586a51ba19b71bf20f2bb12aa8c0aeb Author: Harald Welte Date: Sun May 4 17:01:16 2014 +0200 sim: More comments in sim.h http://cgit.osmocom.org/osmocom-bb/commit/?id=aad7e0664b310ccc463538a18ac5238cb7c0ac3c commit aad7e0664b310ccc463538a18ac5238cb7c0ac3c Author: Harald Welte Date: Sun May 4 16:31:24 2014 +0200 sim: Make TETRA SIM (TSIM) support compile http://cgit.osmocom.org/osmocom-bb/commit/?id=30115dbd72e121b6b5c29a8224419cc554024b95 commit 30115dbd72e121b6b5c29a8224419cc554024b95 Author: Harald Welte Date: Sun May 4 16:30:46 2014 +0200 sim: Only one default_decode() function for all card types http://cgit.osmocom.org/osmocom-bb/commit/?id=171c5b1ec7fef03ded86a44ba8a19fdf974abc6f commit 171c5b1ec7fef03ded86a44ba8a19fdf974abc6f Author: Harald Welte Date: Sun May 4 14:09:35 2014 +0200 sim: Add 3GPP TS 31.103 ISIM definitions http://cgit.osmocom.org/osmocom-bb/commit/?id=bb5f3c7e04e356caa315618f41008280a64929d8 commit bb5f3c7e04e356caa315618f41008280a64929d8 Author: Harald Welte Date: Sun May 4 13:59:41 2014 +0200 sim: Update to latest SIM/USIM specs and include size information http://cgit.osmocom.org/osmocom-bb/commit/?id=3fc3f068b3f981ff531bb606ebae9247b8f2b578 commit 3fc3f068b3f981ff531bb606ebae9247b8f2b578 Author: Harald Welte Date: Sun May 4 13:59:17 2014 +0200 sim: Make osmo-sim-test compile again http://cgit.osmocom.org/osmocom-bb/commit/?id=0d24644f5243b3420c18e7afdee9ae641f179a56 commit 0d24644f5243b3420c18e7afdee9ae641f179a56 Author: Harald Welte Date: Sun May 4 13:58:54 2014 +0200 sim: reader_pcsc.c: Avoid compiler warnings by using pcsc-lite LONG http://cgit.osmocom.org/osmocom-bb/commit/?id=e8dd2bd4b52f4ee6c3ecb4a5b4b4386d281b35a7 commit e8dd2bd4b52f4ee6c3ecb4a5b4b4386d281b35a7 Author: Harald Welte Date: Sun May 4 13:42:38 2014 +0200 sim: mark osim_msgb_cb as __may_alias__ to avoid gcc warnings http://cgit.osmocom.org/osmocom-bb/commit/?id=2656e65bed12680d288c55dbe53e1d6c92bdfdc5 commit 2656e65bed12680d288c55dbe53e1d6c92bdfdc5 Author: Harald Welte Date: Sat May 3 14:23:44 2014 +0200 sim: Add sfi to EF_*() macros http://cgit.osmocom.org/osmocom-bb/commit/?id=1e0dfdad69fcb48d8bc134be4ddabc72d5dfc9e3 commit 1e0dfdad69fcb48d8bc134be4ddabc72d5dfc9e3 Author: Harald Welte Date: Sat May 3 14:22:12 2014 +0200 sim: Add minimal/recommended size of file / record http://cgit.osmocom.org/osmocom-bb/commit/?id=d83d29610a7c63a387fee77dbc2b18b19dc83b14 commit d83d29610a7c63a387fee77dbc2b18b19dc83b14 Author: Harald Welte Date: Mon Mar 4 17:52:33 2013 +0000 sim: further updates/fixes http://cgit.osmocom.org/osmocom-bb/commit/?id=7674960ffadd5d7cb1a58ecee77252fe19e1e86f commit 7674960ffadd5d7cb1a58ecee77252fe19e1e86f Author: Harald Welte Date: Wed Sep 19 20:55:54 2012 +0200 sim: add decoding of status words http://cgit.osmocom.org/osmocom-bb/commit/?id=43eabeeeaa993b6628e0490fbf6b78f24cee4788 commit 43eabeeeaa993b6628e0490fbf6b78f24cee4788 Author: Kevin Redon Date: Sun Sep 16 18:40:02 2012 +0200 sim: replaced function/structure comments with doxygen comments affected files: sim.h, sim/core.c affected funtions/strucutres: osim_new_apdumsg, osim_apdu_case,osim_apdu_cmd_hdr, osim_msgb_cb http://cgit.osmocom.org/osmocom-bb/commit/?id=dede831fcd5ccc67ad4d0e05aaa9688c119a5b93 commit dede831fcd5ccc67ad4d0e05aaa9688c119a5b93 Author: Kevin Redon Date: Tue Sep 11 11:59:21 2012 +0200 sim: add comment/explaination for structure osim_msgb_cb http://cgit.osmocom.org/osmocom-bb/commit/?id=1707306da59a53c8ce72952fc5e41b999e36b73c commit 1707306da59a53c8ce72952fc5e41b999e36b73c Author: Kevin Redon Date: Tue Sep 11 11:54:52 2012 +0200 sim: add comment/explaination for structure osim_apdu_cmd_hdr http://cgit.osmocom.org/osmocom-bb/commit/?id=5985760a61591af16c2bd424881e9f15cd67e820 commit 5985760a61591af16c2bd424881e9f15cd67e820 Author: Kevin Redon Date: Tue Sep 11 11:47:04 2012 +0200 sim: added utils/osmo-sim-test to .gitignore http://cgit.osmocom.org/osmocom-bb/commit/?id=e07967f689c56473a8492ec422ee38964d00c9c3 commit e07967f689c56473a8492ec422ee38964d00c9c3 Author: Kevin Redon Date: Tue Sep 11 11:44:18 2012 +0200 sim: renamed case to the one defined in ISO7816-3 APDU_CASE_2 becomes APDU_CASE_2S APDU_CASE_2_EXT becmoes APDU_CASE_2E APDU_CASE_3 becomes APDU_CASE_3S APDU_CASE_3_EXT becmoes APDU_CASE_3E APDU_CASE_4 becomes APDU_CASE_4S APDU_CASE_4_EXT becmoes APDU_CASE_4E http://cgit.osmocom.org/osmocom-bb/commit/?id=6956ee1ba11aa2b7321e0d4fd41877184d9a3650 commit 6956ee1ba11aa2b7321e0d4fd41877184d9a3650 Author: Kevin Redon Date: Tue Sep 11 11:42:29 2012 +0200 sim: add comment/explaination for structure osim_apdu_case http://cgit.osmocom.org/osmocom-bb/commit/?id=0f0ee32d8115cc29d89e41539ed0aac01852cf94 commit 0f0ee32d8115cc29d89e41539ed0aac01852cf94 Author: Kevin Redon Date: Tue Sep 11 11:40:41 2012 +0200 sim: comment/explain signature of osim_new_apdumsg http://cgit.osmocom.org/osmocom-bb/commit/?id=a5c9255baa0dd97b564ea8d44444ac80c38153b9 commit a5c9255baa0dd97b564ea8d44444ac80c38153b9 Author: Harald Welte Date: Mon Sep 10 21:05:42 2012 +0200 sim: strip the SW from the returned data, as SW is passed in msgb->cb http://cgit.osmocom.org/osmocom-bb/commit/?id=495fe2682c37d7e2ba9d969fa0675e59db461790 commit 495fe2682c37d7e2ba9d969fa0675e59db461790 Author: Harald Welte Date: Mon Sep 10 16:28:17 2012 +0200 sim: Use autotools for libpcsc-lite linkage http://cgit.osmocom.org/osmocom-bb/commit/?id=ad41863b8d3f3ac7df0c34b2c7d342b864d944cc commit ad41863b8d3f3ac7df0c34b2c7d342b864d944cc Author: Harald Welte Date: Mon Sep 10 10:49:59 2012 +0200 sim: add copyright notices and merge file_codec.c into core.c http://cgit.osmocom.org/osmocom-bb/commit/?id=a0ba4d943816a10e78984d8bbca56fbdbdfe82bb commit a0ba4d943816a10e78984d8bbca56fbdbdfe82bb Author: Harald Welte Date: Mon Sep 10 10:43:15 2012 +0200 sim: osmo-sim-test: Also dump binary files http://cgit.osmocom.org/osmocom-bb/commit/?id=d54c2ee8c51b41b7f7a5a469efd6bb391a0c2b75 commit d54c2ee8c51b41b7f7a5a469efd6bb391a0c2b75 Author: Harald Welte Date: Tue Jan 17 18:25:50 2012 +0100 initial checkin of 'libosmosim' http://cgit.osmocom.org/osmocom-bb/commit/?id=cac3cd6fcd941ae0906e5a95a1cb3b5ebec8a72a commit cac3cd6fcd941ae0906e5a95a1cb3b5ebec8a72a Author: Harald Welte Date: Mon Sep 10 20:58:20 2012 +0200 msgb: make msgb_get() finally work as expected http://cgit.osmocom.org/osmocom-bb/commit/?id=42645d7d78a22db7b76039407b7b43bc0cc79c54 commit 42645d7d78a22db7b76039407b7b43bc0cc79c54 Author: Holger Hans Peter Freyther Date: Sat Oct 25 12:20:24 2014 +0200 misc: Ignore the new test file as well http://cgit.osmocom.org/osmocom-bb/commit/?id=e0a1a8021f04f58efa03a42c25ac63af7f6ab4e8 commit e0a1a8021f04f58efa03a42c25ac63af7f6ab4e8 Author: Holger Hans Peter Freyther Date: Sat Oct 25 12:19:56 2014 +0200 bssgp: Include sys/socket.h for AF_INET on FreeBSD http://cgit.osmocom.org/osmocom-bb/commit/?id=b43baf20c571925cca16266482c4b5c325f41700 commit b43baf20c571925cca16266482c4b5c325f41700 Author: Jacob Erlbeck Date: Wed Sep 10 12:43:28 2014 +0200 gprs: Don't discard SUSPEND/RESUME in bssgp_rcvmsg Currently sending SUSPEND/RESUME messages to this function (like it is done in the osmo-sgsn) results in STATUS messages complaining about an unknown BVCI. The reason is, that these messages rely on a TLLI/RAI pair to identify the context and do not contain an explicit BVCI. This patch modifies bssgp_rcvmsg() to only complain about and unknown BVCI if one is given but a matching context is not found (except for RESET messages). The ctx argument is removed from the functions handling SUSPEND and RESUME since it will always be NULL then. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=cdebf7484a72c6a8221d68d7f360aee58d21ea83 commit cdebf7484a72c6a8221d68d7f360aee58d21ea83 Author: Jacob Erlbeck Date: Tue Oct 14 14:49:37 2014 +0200 gprs/test: Add BSSGP tests This patch adds a test suite for the BSSGP protocol. The first (and only) test checks the handling of BSSGP SUSPEND/RESUME. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=862ba65bd64202b5e860a05adf6fdd51c8790591 commit 862ba65bd64202b5e860a05adf6fdd51c8790591 Author: Max Date: Mon Oct 13 14:54:25 2014 +0200 Move common socket routine into separate function Signed-off-by: Max http://cgit.osmocom.org/osmocom-bb/commit/?id=10dd73cf6afdc0ba237022510ec702a56237d7d7 commit 10dd73cf6afdc0ba237022510ec702a56237d7d7 Author: Holger Hans Peter Freyther Date: Fri Oct 10 17:24:34 2014 +0200 bssgp: Free msgb in case of error when calling into gprs_ns_sendmsg In the OsmoSGSN we have a crash with a DEAD/BLOCKED GPRS-NS and segmented SN-UNITDATA. For the caller it is not easy to know if the passed msg buffer has been freed or not. The most easy solution is to always take the ownership and either pass it on or free it in case of an error. Adjust indirect and direct callers of gprs_ns_sendmsg. I found the following call-chains with an external msgb parameter. gprs_ns_sendmsg <- _bssgp_tx_dl_ud <- bssgp_fc_in <- bssgp_tx_dl_ud Update the test to allocate a real msgb because for the test with '1000' we will msgb_free it right away. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=dade018f2fa577de2020c4bfaa9bfde770ae3b30 commit dade018f2fa577de2020c4bfaa9bfde770ae3b30 Author: Jacob Erlbeck Date: Thu Oct 9 11:07:56 2014 +0200 gprs-ns/test: Check the nsvc state explicitely This patch extends test_sgsn_reset_invalid_state by assertions to check that nscv->state and nsvc->remote_state have been set as expected. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=84bcce6b4f8cbfa16d634d3e77cdd489216d1d2f commit 84bcce6b4f8cbfa16d634d3e77cdd489216d1d2f Author: Holger Hans Peter Freyther Date: Thu Oct 9 16:07:37 2014 +0200 gprs-ns/test: Re-add return value check for gprs_nsvc_reset The return value check has been removed in the commit 'Use gprs_nsvc_reset instead of gprs_ns_tx_reset', because gprs_nsvc_reset had no return value then. Since a compatible return value has been added by 'Let gprs_nsvc_reset return a value', the former patch is partly reverted by this commit. The printf is now an OSMO_ASSERT. The commit message was taken from Jacob. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=6ac70a41ee4cc9f3f286fb6b8f397215590fc2ac commit 6ac70a41ee4cc9f3f286fb6b8f397215590fc2ac Author: Jacob Erlbeck Date: Tue Oct 7 14:12:30 2014 +0200 gprs-ns: Fix reset state handling Currently the NS-VC's state is updated from within gprs_ns_tx_reset, which can lead to an inconsistent state when the RESET_ACK is lost. In this state, the NSE_S_RESET bit is set but the Tns-reset timer is not started. This patch moves the state update into gprs_nsvc_reset. This way, the state flags are consistent with the timer. Addresses: SGSN -> BSS NS_ALIVE BSS -> SGSN NS_ALIVE_ACK BSS -> SGSN BVC_RESET SGSN -> BSS NS_STATUS, Cause: NS-VC blocked, NS VCI: 0x65 and there is no BSS->SGSN NS_ALIVE Ticket: OW#1213 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=0540d839ace7811257793c383275b929768175a5 commit 0540d839ace7811257793c383275b929768175a5 Author: Jacob Erlbeck Date: Wed Oct 8 11:47:36 2014 +0200 gprs-ns: Let gprs_nsvc_reset return a value Currently gprs_nsvc_reset does not return any value. This patch changes the function to return an integer, where a value less than zero indicates an error. The value is taken from the gprs_ns_tx_reset function. In case of failure, an error message is logged. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=cdb85f58c5f10b5b340d4cf064a096bd6fc6409f commit cdb85f58c5f10b5b340d4cf064a096bd6fc6409f Author: Jacob Erlbeck Date: Tue Oct 7 14:07:39 2014 +0200 gprs-ns/test: Add test_sgsn_reset_invalid_state This tests the behaviour for a certain combination of messages and packet losses that can put the NS-VC object into an undefined state. In that state, the peer's ALIVE messages are properly answered, but the local test procedure has stopped, incoming unitdata PDUs are answered by STATUS(NS-VC blocked) and the unblocking procedure is not initiated. Ticket: OW#1312 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=f1bcbb0f8a92429ae086bef0064ce5a5cebd75d0 commit f1bcbb0f8a92429ae086bef0064ce5a5cebd75d0 Author: Jacob Erlbeck Date: Tue Oct 7 14:03:44 2014 +0200 gprs-ns/test: Add expire_nsvc_timer This function forces the expiration of the timer within struct gprs_nsvc. It is meant to be used for controlled (and faster) timer expiration in unit tests. The timer_mode of the expired timer is returned (or -1 if the timer wasn't active). Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=2381fded689d5e2d19f4ed2e8ab7d7b83788b8b5 commit 2381fded689d5e2d19f4ed2e8ab7d7b83788b8b5 Author: Jacob Erlbeck Date: Tue Oct 7 13:59:30 2014 +0200 gprs-ns/test: Save the last PDU type sent This records the PDU type of the last message sent to the remote peer in the global variable sent_pdu_type, which can then be used in assertions. Note that sent_pdu_type will remain unchanged if no message has been sent via sendto. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=f357c877242cbb3618ad4a2ed499e3038ee5d5dd commit f357c877242cbb3618ad4a2ed499e3038ee5d5dd Author: Jacob Erlbeck Date: Tue Oct 7 13:52:07 2014 +0200 gprs-ns/test: Use gprs_nsvc_reset instead of gprs_ns_tx_reset Currently gprs_ns_tx_reset is used to let the NS stack generate NS_RESET message. This is not adjusting the nsvc state properly. This patch uses gprs_nsvc_reset instead which starts the full reset procedure. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=1a632552e0f9297b8f2ec8e08b659c1e25394747 commit 1a632552e0f9297b8f2ec8e08b659c1e25394747 Author: Jan Engelhardt Date: Sat Oct 4 11:06:13 2014 +0200 build: resolve compiler warning about implicit delcaration CC msgfile_test.o msgfile/msgfile_test.c: In function "main": msgfile/msgfile_test.c:48:2: warning: implicit declaration of function "talloc_free" [-Wimplicit-function-declaration] talloc_free(entries); ^ http://cgit.osmocom.org/osmocom-bb/commit/?id=c60de4f35f3f73f3d79b4ff61d0a20b92f818702 commit c60de4f35f3f73f3d79b4ff61d0a20b92f818702 Author: Jan Engelhardt Date: Thu Oct 2 22:22:28 2014 +0200 build: fix linker error with kasumi_test When the osmocore package is configured with --disable-static, building of kasumi_test fails. This seems quite legit, given the function _kasumi_kgcore is not exported. Don't try to workaround the build system. Include the code. CCLD kasumi/kasumi_test kasumi_test.o: In function `test_expansion': ~tests/kasumi/kasumi_test.c:25: undefined reference to `_kasumi_key_expand' kasumi_test.o: In function `main': ~tests/kasumi/kasumi_test.c:56: undefined reference to `_kasumi' ~tests/kasumi/kasumi_test.c:100: undefined reference to `_kasumi_key_expand' ~tests/kasumi/kasumi_test.c:112: undefined reference to `_kasumi_kgcore' [...] http://cgit.osmocom.org/osmocom-bb/commit/?id=9ffeb9756a5077dce1e9fffa705239dc290e0d98 commit 9ffeb9756a5077dce1e9fffa705239dc290e0d98 Author: Jan Engelhardt Date: Mon Jun 3 01:59:25 2013 +0200 build: remove unused all_includes and use AM_CPPFLAGS Preprocessor flags are best placed in AM_CPPFLAGS. Remove use of the unused all_includes variable, which is never set. http://cgit.osmocom.org/osmocom-bb/commit/?id=a6d83932ba3aee8f0570d86f0f23773bd44909cc commit a6d83932ba3aee8f0570d86f0f23773bd44909cc Author: Jan Engelhardt Date: Mon Jun 3 01:38:57 2013 +0200 utils: resolve compiler warnings on implicit declarations CC osmo-auc-gen.o osmo-auc-gen.c: In function 'main': osmo-auc-gen.c:216:3: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] http://cgit.osmocom.org/osmocom-bb/commit/?id=96af78650d1de134ebb37ddb829508cf0bd30c51 commit 96af78650d1de134ebb37ddb829508cf0bd30c51 Author: Holger Hans Peter Freyther Date: Thu Sep 25 18:18:49 2014 +0200 misc: Look into the build directory for generated files the bits/crc files are not inside the sourcedirectory but will end in the build directory. Go and look there as well. This somehow doesn't fail with make distcheck but when building for Yocto Dizzy. http://cgit.osmocom.org/osmocom-bb/commit/?id=a39e2deff8f12f164f8a88fb061c66626bfe22a5 commit a39e2deff8f12f164f8a88fb061c66626bfe22a5 Author: Jacob Erlbeck Date: Tue Sep 23 13:28:24 2014 +0200 gprs: Set bssgph field in bssgp_msgb_alloc() Currently the bssgph field is not set when using the bssgp_tx_* functions. This hinders unit testing of generated messages. This patch initializes the bssgph field directly after allocation a new bssgp msgb in bssgp_msgb_alloc() so that it is set by default. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=b83b838bd1d0d4f3fe9d699e886634fe7d90f420 commit b83b838bd1d0d4f3fe9d699e886634fe7d90f420 Author: Jacob Erlbeck Date: Tue Sep 23 13:28:22 2014 +0200 gprs: Fix bssgp_rcvmsg to handle signalling msgs with BVCI IE Currently BSSGP messages with an NS BVCI of 0 (signalling) are discarded if they aren't RESET messages. Thus valid signalling messages (e.g. BLOCK) are not handled properly, because the BVCI IE is ignored if it present. Instead a STATUS message referring to BVCI 0 (instead of the BVCI used in the BLOCK message) is returned. This patch changes the implementation to use the BVCI contained in the BVCI IE if that is present in a signalling message. It fixes BSSGP BLOCK/UNBLOCK for the osmo-sgsn. Note that signalling messages without an BVCI IE (e.g. SUSPEND/RESUME) are still rejected. Ticket: OW#1205 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=a7165778c6696a8853bc7696ffed29dd757b4b0f commit a7165778c6696a8853bc7696ffed29dd757b4b0f Author: Jacob Erlbeck Date: Tue Sep 23 13:28:21 2014 +0200 gprs: Fix and check BVCI in BSSGP STATUS messages Currently the BVCI is not set in all invocations to bssgp_tx_status() when the cause is UNKNOWN_BVCI. This patch adds the argument where it is missing. It also adds a check for compliance (GSM 08.18, 10.4.14.1) to bssgp_tx_status() to emit errors when the following requirement is not fulfilled: The BVCI must be included if (and only if) the cause is either "BVCI blocked" or "BVCI unknown". Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=de883e7f6cfb71f46921d6ef7564b24aeecd6f2c commit de883e7f6cfb71f46921d6ef7564b24aeecd6f2c Author: Harald Welte Date: Thu Sep 11 13:20:07 2014 +0800 Fix copyright header in gan.c When I wrote the gan.c, I used the wrong copyright/license header (AGPLv3+ intead of GPLv2+). This was a mistake and is fixed hereby. http://cgit.osmocom.org/osmocom-bb/commit/?id=468b64331a6c7065e05800f760a87de729b51ca7 commit 468b64331a6c7065e05800f760a87de729b51ca7 Author: Harald Welte Date: Thu Sep 11 13:05:51 2014 +0800 add missing copyright statements to source code files Some source code files didn't have the usual copyright and licence statement at their top. I'm adding them baesed on information in the commitlog. http://cgit.osmocom.org/osmocom-bb/commit/?id=804590e6d297fb63714eeda44e65e285a5d69c15 commit 804590e6d297fb63714eeda44e65e285a5d69c15 Author: Holger Hans Peter Freyther Date: Mon Sep 8 07:44:20 2014 +0200 debian: Depend on the right version of libosmogsm as well http://cgit.osmocom.org/osmocom-bb/commit/?id=575a5395a677501d87227a0f0d06f7711d5c74b1 commit 575a5395a677501d87227a0f0d06f7711d5c74b1 Author: Holger Hans Peter Freyther Date: Mon Sep 8 07:27:52 2014 +0200 debian: Depend on libosmocore5 for the legacy package http://cgit.osmocom.org/osmocom-bb/commit/?id=2cbfb5967c440ddc8684ddb4679ea60299f0c6d0 commit 2cbfb5967c440ddc8684ddb4679ea60299f0c6d0 Author: Ciaby Date: Sun Aug 31 15:35:29 2014 -0500 debian: fix build errors with libosmogsm and libosmoctrl libosmogsm: the transition from 5 to 6 wasn't done properly. Fixed version number. libosmoctrl: missing definition in debian/control and also missing libosmoctrl0.install. http://cgit.osmocom.org/osmocom-bb/commit/?id=3ec8de0072a4fdbddcd4c7e528144035dded7929 commit 3ec8de0072a4fdbddcd4c7e528144035dded7929 Author: Holger Hans Peter Freyther Date: Tue Sep 2 18:17:34 2014 +0200 logging: Document the ABI breakage in the release todo In commit fb84f325b8e672ba7ca1a961f4ef01f4d011e33d the ABI was broken, let's add the required entry. http://cgit.osmocom.org/osmocom-bb/commit/?id=8d950eac9e29819c3e2e334d258cfa3824e8f376 commit 8d950eac9e29819c3e2e334d258cfa3824e8f376 Author: Holger Hans Peter Freyther Date: Fri Aug 29 14:19:20 2014 +0200 msgfile: Fix memleak in the test and release the list http://cgit.osmocom.org/osmocom-bb/commit/?id=fb84f325b8e672ba7ca1a961f4ef01f4d011e33d commit fb84f325b8e672ba7ca1a961f4ef01f4d011e33d Author: Harald Welte Date: Thu Jun 6 07:33:54 2013 +0200 logging: Add ability to save/print current log filters This enables the persistent configuration of let's say 'log filter imsi 012345678' for a given log file in the config file. http://cgit.osmocom.org/osmocom-bb/commit/?id=276ca4b1722df573f9af7735820712bcaf32b800 commit 276ca4b1722df573f9af7735820712bcaf32b800 Author: Harald Welte Date: Sun Aug 24 17:35:19 2014 +0200 gsm48.h: define the reserved TMSI in libosmocore, not openbsc http://cgit.osmocom.org/osmocom-bb/commit/?id=f39aed69424b8116f577d497a0235ba2d735a0cd commit f39aed69424b8116f577d497a0235ba2d735a0cd Author: Harald Welte Date: Sun Aug 24 16:52:12 2014 +0200 add port number 4238 for BTS control interface http://cgit.osmocom.org/osmocom-bb/commit/?id=39c9e7b471f29ec1df8b4fc407bb3fe2ac96cb9e commit 39c9e7b471f29ec1df8b4fc407bb3fe2ac96cb9e Author: Harald Welte Date: Fri Aug 22 00:28:51 2014 +0200 libctrl: Add support for 'deferred control commands' Sometimes a control interface command cannot be processed and responded immediately, but we need to process it asynchronously. In order to support this, we introduce the 'ctrl_cmd_def', which represents such a deferred command. It is created by the service implementing the command using ctrl_cmd_def_make(), and a response is later sent using ctrl_cmd_def_send(). ctrl_cmd_def_is_zombie() must be called to handle the case where the control connection has disconnected/died between receiving the command and sending the response. http://cgit.osmocom.org/osmocom-bb/commit/?id=5e21131c8dd37a536ec7df968d602c2c85580c39 commit 5e21131c8dd37a536ec7df968d602c2c85580c39 Author: Holger Hans Peter Freyther Date: Thu Aug 21 16:31:52 2014 +0200 ctrl: Attempt fix the build on FreeBSD and add include file IPPROTO_TCP is defined in netinet/in.h. Include it and hope the build is fixed for FreeBSD. http://cgit.osmocom.org/osmocom-bb/commit/?id=336915aa0a86316ba26cdfecbf160ed643ccf301 commit 336915aa0a86316ba26cdfecbf160ed643ccf301 Author: Harald Welte Date: Thu Aug 21 15:51:07 2014 +0200 prepare for 0.7.0 release http://cgit.osmocom.org/osmocom-bb/commit/?id=5ddd435919073d71f788858b2334ff249142271f commit 5ddd435919073d71f788858b2334ff249142271f Author: Harald Welte Date: Thu Aug 21 15:42:44 2014 +0200 Convert recently-introduced header files to #pragma once http://cgit.osmocom.org/osmocom-bb/commit/?id=c7947ed1f6fe8a9113451fbd1e58078a98ee4912 commit c7947ed1f6fe8a9113451fbd1e58078a98ee4912 Author: Harald Welte Date: Thu Aug 21 12:17:11 2014 +0200 New file listing tcp ports for CTRL interface http://cgit.osmocom.org/osmocom-bb/commit/?id=ae2fcb22cfa81fe3934d4adaac68887001ab3a91 commit ae2fcb22cfa81fe3934d4adaac68887001ab3a91 Author: Harald Welte Date: Thu Aug 21 15:20:00 2014 +0200 rename controlif_setup() to ctrl_interface_setup() which means that all control interface related functions now have the common ctrl_ prefix. http://cgit.osmocom.org/osmocom-bb/commit/?id=bfdc259824e23160ecb5035defd52eb1bcf55dbf commit bfdc259824e23160ecb5035defd52eb1bcf55dbf Author: Harald Welte Date: Thu Aug 21 15:18:04 2014 +0200 libctrl: Make two internal helper functions static http://cgit.osmocom.org/osmocom-bb/commit/?id=528134b01cd731d861b8e3c00554fdedf1e0b58f commit 528134b01cd731d861b8e3c00554fdedf1e0b58f Author: Harald Welte Date: Thu Aug 21 15:13:08 2014 +0200 libctrl: Move bulk of control node lookup inti libosmoctrl The control interface user now only has to register a very short node lookup function callback. This function is optional, and only required if hierarchical command lookup should be supported. http://cgit.osmocom.org/osmocom-bb/commit/?id=c78e74e3d022400c66da05015e716ccb7fa18a63 commit c78e74e3d022400c66da05015e716ccb7fa18a63 Author: Harald Welte Date: Thu Aug 21 14:34:32 2014 +0200 libctrl: remove 'struct gsm_network' references libctrl doesn't need any knowledge about the type of the user-private data that it gets passed upon setup time and includes on callbacks. http://cgit.osmocom.org/osmocom-bb/commit/?id=d8db92c578d7fcd81148ef5b977f5d2480a56cde commit d8db92c578d7fcd81148ef5b977f5d2480a56cde Author: Harald Welte Date: Thu Aug 21 14:32:26 2014 +0200 libctrl: remove bsc-specific declaration this was moved by accident when importing the code from openbsc. http://cgit.osmocom.org/osmocom-bb/commit/?id=acbb4c91b63ed3cb68c20c4564db5439654e6de5 commit acbb4c91b63ed3cb68c20c4564db5439654e6de5 Author: Harald Welte Date: Wed Aug 20 22:51:25 2014 +0200 libctrl: adopt to recent ipaccess/ipa naming change http://cgit.osmocom.org/osmocom-bb/commit/?id=3ff81b1a6b830d16803f3fc7356e9fd71162b6c6 commit 3ff81b1a6b830d16803f3fc7356e9fd71162b6c6 Author: Harald Welte Date: Wed Aug 20 19:58:40 2014 +0200 libctrl: autotools build system integration Now we actually build the recently-imported libctrl http://cgit.osmocom.org/osmocom-bb/commit/?id=7fd0c830d968e67be555bd1aeabced4cc5e08061 commit 7fd0c830d968e67be555bd1aeabced4cc5e08061 Author: Harald Welte Date: Wed Aug 20 19:58:13 2014 +0200 libctrl: Add DLCTRL as logging context for the control interface ... and make libctrl code use it http://cgit.osmocom.org/osmocom-bb/commit/?id=f3c7e85d05f7b2b7bf093162b776f71b2bc6420d commit f3c7e85d05f7b2b7bf093162b776f71b2bc6420d Author: Harald Welte Date: Wed Aug 20 22:50:47 2014 +0200 libctrl: remove reference to bsc_replace_string() ... and rather introduce a general osmo_talloc_replace_string() to libosmocore. http://cgit.osmocom.org/osmocom-bb/commit/?id=c9df37d84a7a9bace75cc0549a21fdcd9b178182 commit c9df37d84a7a9bace75cc0549a21fdcd9b178182 Author: Harald Welte Date: Wed Aug 20 19:55:17 2014 +0200 libctrl: Avoid using external tall_bsc_ctx Instead of using one flat talloc context (and one that is specific to openbsc), we should attach the objects to whatever parent context they are being used in. http://cgit.osmocom.org/osmocom-bb/commit/?id=1238cc64d79308c3db46baa7f755f17ac3db9e49 commit 1238cc64d79308c3db46baa7f755f17ac3db9e49 Author: Harald Welte Date: Wed Aug 20 19:50:04 2014 +0200 libctrl: remove openbsc headers, convert from make_sock to libosmocore http://cgit.osmocom.org/osmocom-bb/commit/?id=e1a502b0df4a2e8ca90db42549fc22f00c2b72f6 commit e1a502b0df4a2e8ca90db42549fc22f00c2b72f6 Author: Harald Welte Date: Wed Aug 20 19:28:05 2014 +0200 libctrl: Remove reference to 'DNAT' in favor of 'DCTRL' http://cgit.osmocom.org/osmocom-bb/commit/?id=dda42251532c347af66ccd6f515745ab83eb8bd5 commit dda42251532c347af66ccd6f515745ab83eb8bd5 Author: Harald Welte Date: Wed Aug 20 19:18:15 2014 +0200 libctr: rename/move control interface to libosmocore naming scheme http://cgit.osmocom.org/osmocom-bb/commit/?id=5ad742d56e9f0d7d3e442ddde17bba94d6b1e6c4 commit 5ad742d56e9f0d7d3e442ddde17bba94d6b1e6c4 Author: Holger Hans Peter Freyther Date: Fri Aug 8 19:41:28 2014 +0200 ctrl: Allow the value to contain spaces. No need to split the string http://cgit.osmocom.org/osmocom-bb/commit/?id=0e7b67c3d971dceb662fbd161a34501c9929f874 commit 0e7b67c3d971dceb662fbd161a34501c9929f874 Author: Holger Hans Peter Freyther Date: Thu May 15 17:27:12 2014 +0200 ctrl: Use CTRL_CMD_DEFINE_STRUCT in CTRL_CMD_DEFINE_RANGE Jacob pointed out that I didn't convert CTRL_CMD_DEFINE_RANGE. This patch is doing it now. http://cgit.osmocom.org/osmocom-bb/commit/?id=6217930688a95ab236e80ba49b247cec3786407f commit 6217930688a95ab236e80ba49b247cec3786407f Author: Holger Hans Peter Freyther Date: Thu May 15 15:33:46 2014 +0200 ctrl: Reduce code duplication and add a define to create the struct This has been pointed out by Jacob and removes two more duplicates of the struct. For the unused CTRL_CMD_DEFINE_STRING macro there will be no verify command. http://cgit.osmocom.org/osmocom-bb/commit/?id=50059bb64f64f3d7842d9edd454433d9e5fd8b36 commit 50059bb64f64f3d7842d9edd454433d9e5fd8b36 Author: Holger Hans Peter Freyther Date: Thu May 15 15:45:55 2014 +0200 ctrl: Remove the param parameter as it was never used/implemented http://cgit.osmocom.org/osmocom-bb/commit/?id=c08c55186fb03deb8d9439fe7c5b7bfc12a201bd commit c08c55186fb03deb8d9439fe7c5b7bfc12a201bd Author: Holger Hans Peter Freyther Date: Wed May 14 09:50:27 2014 +0200 ctrl: Introduce a macro for read-only attributes and use it Certain attributes are read-only. Add a macro to make it more easy to define those. http://cgit.osmocom.org/osmocom-bb/commit/?id=141de62b06000fcbe582713a9f44a809ea2fbd62 commit 141de62b06000fcbe582713a9f44a809ea2fbd62 Author: Jacob Erlbeck Date: Mon Mar 31 13:42:11 2014 +0200 ipa: Use enhanced ipa_msg_recv_buffered() to cope with partioned IPA messages The old ipa_msg_recv() implementation didn't support partial receive, so IPA connections got disconnected when this happened. This patch adds the handling of the temporary message buffers and uses ipa_msg_recv_buffered(). It has been successfully tested by jerlbeck with osmo-nitb and osmo-bsc. Ticket: OW#768 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=ea62a38b5d770f31e3d3cc635c52d4854f585fb3 commit ea62a38b5d770f31e3d3cc635c52d4854f585fb3 Author: Holger Hans Peter Freyther Date: Sun Mar 23 16:25:16 2014 +0100 ctrl: Move the lookup into a separate file in preparation for GPRS For GPRS the look-up via bts/trx does not make any sense and would introduce bad depdencies for the SGSN. Move the look-up code to a new file and introduce new setup methods. http://cgit.osmocom.org/osmocom-bb/commit/?id=416e316564ef7cba2b76f1cf5fc81bc76fba8ecf commit 416e316564ef7cba2b76f1cf5fc81bc76fba8ecf Author: Holger Hans Peter Freyther Date: Fri Feb 22 11:04:35 2013 +0100 ctrl: Make it possible to re-use the string get and set routine This can be used for the description field that requires some special handling for newlines. http://cgit.osmocom.org/osmocom-bb/commit/?id=05f655e2b058459c9df5cf9381b5b8ccb9781fe1 commit 05f655e2b058459c9df5cf9381b5b8ccb9781fe1 Author: Holger Hans Peter Freyther Date: Fri Feb 22 10:09:45 2013 +0100 ctrl: Make the int range set, get and verify methods available For the max power reduction we will need to have a different range method. It will need to check if the value is even. Make the set, get and verify methods available through a macro. http://cgit.osmocom.org/osmocom-bb/commit/?id=e6d56159a6ee76b1bd9fd7ade1f64801818861b3 commit e6d56159a6ee76b1bd9fd7ade1f64801818861b3 Author: Jacob Erlbeck Date: Mon Sep 16 11:20:29 2013 +0200 ctrl: Set a generic reply when it hasn'n been set When verification failed and the reply string was not updated, the message "Someone forgot to fill in the reply." was shown instead of the default "Value failed verification." message. This patch changes the default reply handling in ctrl_cmd_handle() by setting the reply to NULL initially and then checking it at the end. If it hasn't been set, a generic message is assigned and an error is logged. http://cgit.osmocom.org/osmocom-bb/commit/?id=6d96dd7477d974b571bd5326b02e1564b0248e44 commit 6d96dd7477d974b571bd5326b02e1564b0248e44 Author: Harald Welte Date: Sat Mar 16 10:13:04 2013 +0100 ctrlif: Flush/Clear write_queue when closing the control socket http://cgit.osmocom.org/osmocom-bb/commit/?id=35f5653a182805d8945a5e8ec2ed4d3419571ca3 commit 35f5653a182805d8945a5e8ec2ed4d3419571ca3 Author: Alexander Huemer Date: Tue Jun 11 14:31:27 2013 +0200 Makefile.am: Use AM_CPPFLAGS Since automake 1.13 INCLUDES is depricates and causes a warning http://cgit.osmocom.org/osmocom-bb/commit/?id=e9f7be16acb78b28ab18fcb61f228569cbea652d commit e9f7be16acb78b28ab18fcb61f228569cbea652d Author: Holger Hans Peter Freyther Date: Fri Feb 22 10:53:29 2013 +0100 ctrl: Provide a reply in case the range check failed http://cgit.osmocom.org/osmocom-bb/commit/?id=da5eded5ad3f530ec7e03de8e1c065711299d7d4 commit da5eded5ad3f530ec7e03de8e1c065711299d7d4 Author: Holger Hans Peter Freyther Date: Fri Feb 22 10:03:56 2013 +0100 ctrl: Make the commands static to not pollute the namespace We do not need to access these commands from another compilation unit and can just make it static. http://cgit.osmocom.org/osmocom-bb/commit/?id=17e7e5a8690ac9a33f7f3d3cd3df3cabfcbe3805 commit 17e7e5a8690ac9a33f7f3d3cd3df3cabfcbe3805 Author: Holger Hans Peter Freyther Date: Wed Jan 9 17:11:50 2013 +0100 ctrl: Work on the cmd->node instead of the data pointer passed Make the macros use the cmd->node instead of the data pointer. The naming of the variable inside the macro already indicates that it should use the nodes data structure. http://cgit.osmocom.org/osmocom-bb/commit/?id=43a11db87998add9132f1bfbe41e3369bb0a7e5f commit 43a11db87998add9132f1bfbe41e3369bb0a7e5f Author: Holger Hans Peter Freyther Date: Wed Jan 9 16:54:49 2013 +0100 ctrl: Fix the signature of the string control commands Like with all type unsafe callbacks we will need to cast from void to the dtype. This addresses some compiler warnings. Make it possible to only include the control_cmd.h to use the macros defined in this file. http://cgit.osmocom.org/osmocom-bb/commit/?id=9c97493c5c90d7c81a11cf28965fd513f665d1cd commit 9c97493c5c90d7c81a11cf28965fd513f665d1cd Author: Daniel Willmann Date: Thu Aug 25 16:37:45 2011 +0200 libctrl, osmo-bsc: Get rid of net prefix net is now implicit in the root node http://cgit.osmocom.org/osmocom-bb/commit/?id=3463941c724966c30a827c39b70360fa4bbe0bd9 commit 3463941c724966c30a827c39b70360fa4bbe0bd9 Author: Daniel Willmann Date: Thu Aug 18 15:22:01 2011 +0200 ctrl: Use strtol instead of atoi to detect conversion errors http://cgit.osmocom.org/osmocom-bb/commit/?id=5d9b203db61b1840562b040411ca69a0fed9d80f commit 5d9b203db61b1840562b040411ca69a0fed9d80f Author: Daniel Willmann Date: Thu Aug 18 13:48:26 2011 +0200 ctrl: Improve error messages in ctrl_cmd_handle http://cgit.osmocom.org/osmocom-bb/commit/?id=bed515f5d6b049eccc2b135be17874156f598705 commit bed515f5d6b049eccc2b135be17874156f598705 Author: Daniel Willmann Date: Thu Aug 18 13:44:49 2011 +0200 ctrl: Change the paths to bts.%i. instead of bts%i http://cgit.osmocom.org/osmocom-bb/commit/?id=9f97316fcf99aab2420504c31884343613d6798c commit 9f97316fcf99aab2420504c31884343613d6798c Author: Daniel Willmann Date: Fri Aug 5 12:22:35 2011 +0200 ctrl: Improve error handling if controlif setup fails http://cgit.osmocom.org/osmocom-bb/commit/?id=35a1b3b493b1b11e4f6ac893b64bb43f673a371d commit 35a1b3b493b1b11e4f6ac893b64bb43f673a371d Author: Daniel Willmann Date: Fri May 6 16:38:11 2011 +0200 libctrl: Add function ctrl_cmd_send_to_all Sends a command to all ctrl connections except the one it originated from. http://cgit.osmocom.org/osmocom-bb/commit/?id=f2e75d437160b23f852a9144117f4f340a396618 commit f2e75d437160b23f852a9144117f4f340a396618 Author: Daniel Willmann Date: Fri Jul 22 18:08:31 2011 +0200 libctrl: Add trap helper function http://cgit.osmocom.org/osmocom-bb/commit/?id=782974b6c9f562be223023b25547bb0d5e258864 commit 782974b6c9f562be223023b25547bb0d5e258864 Author: Daniel Willmann Date: Fri Jul 22 17:55:42 2011 +0200 libctrl: Change controlif_setup so it returns the ctrl handle nat: Catch up with controlif_setup API change We now save a control handle reference in the nat osmo-bsc: Catch up with controlif_setup API change We now save a control handle reference in the gsm network http://cgit.osmocom.org/osmocom-bb/commit/?id=0e0cf37c44d70feb23123d7bff0ab89f97fc1c28 commit 0e0cf37c44d70feb23123d7bff0ab89f97fc1c28 Author: Daniel Willmann Date: Fri May 6 16:37:25 2011 +0200 libctrl: Keep track of connections in struct ctrl_handle http://cgit.osmocom.org/osmocom-bb/commit/?id=ad6451fc982defb05c7d9cbb4516342169d7334a commit ad6451fc982defb05c7d9cbb4516342169d7334a Author: Holger Hans Peter Freyther Date: Fri Mar 16 12:18:39 2012 +0100 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] http://cgit.osmocom.org/osmocom-bb/commit/?id=1d3634e0cb6f226aa9474b08180281ce178cf461 commit 1d3634e0cb6f226aa9474b08180281ce178cf461 Author: Alexander Huemer Date: Wed Oct 12 00:29:30 2011 +0200 libctrl: only free() msgb if it was alloc()ed Before this patch a SIGABRT was caused when doing e.g.: $ ncat 127.0.0.1 4249 ^C http://cgit.osmocom.org/osmocom-bb/commit/?id=4376bcc1b089920ea454fd773fb35d79dd8a5f14 commit 4376bcc1b089920ea454fd773fb35d79dd8a5f14 Author: Alexander Huemer Date: Tue Sep 6 00:09:48 2011 +0200 fix some "implicit declaration" warnings in osmo-nitb http://cgit.osmocom.org/osmocom-bb/commit/?id=a6b34015af942e4eabb0d4f8b0a9a53daa34c3e1 commit a6b34015af942e4eabb0d4f8b0a9a53daa34c3e1 Author: Holger Hans Peter Freyther Date: Mon Aug 22 23:44:32 2011 +0200 libctrl: Add a function to create the cmd http://cgit.osmocom.org/osmocom-bb/commit/?id=9225ab1ecc55992a05c4be4af44a3d6193a6507c commit 9225ab1ecc55992a05c4be4af44a3d6193a6507c Author: Daniel Willmann Date: Thu Jul 28 21:38:51 2011 +0200 libctrl: Don't overwrite error reply if the verify function sets one http://cgit.osmocom.org/osmocom-bb/commit/?id=f7c74e58799850661b34b81137b994993a40ddd2 commit f7c74e58799850661b34b81137b994993a40ddd2 Author: Daniel Willmann Date: Fri Aug 5 11:48:18 2011 +0200 libctrl: Mark the cmd set/get/verify functions static http://cgit.osmocom.org/osmocom-bb/commit/?id=b06dd3010fa6740c996f0cbffe5b64e801b78ef0 commit b06dd3010fa6740c996f0cbffe5b64e801b78ef0 Author: Daniel Willmann Date: Fri Jul 29 10:41:24 2011 +0200 libctrl: Bind control interface to localhost http://cgit.osmocom.org/osmocom-bb/commit/?id=19abc959702a6e019de4dc49f2c9eb462850f107 commit 19abc959702a6e019de4dc49f2c9eb462850f107 Author: Holger Hans Peter Freyther Date: Mon Aug 22 23:37:02 2011 +0200 libctrl: Use DCTRL as logging destination in libctrl http://cgit.osmocom.org/osmocom-bb/commit/?id=10dfc26e8f03306ca8f96688c9a2553a2af907e8 commit 10dfc26e8f03306ca8f96688c9a2553a2af907e8 Author: Pablo Neira Ayuso Date: Wed Aug 17 22:44:07 2011 +0200 src: port openBSC over libosmo-abis This is a big patch that ports openBSC over libosmo-abis. Sorry, the changes that are included here are all dependent of libosmo-abis, splitting them into smaller pieces would leave the repository in some intermediate state, which is not desired. The main changes are: - The directory libabis/ has been removed as it now lives in libosmo-abis. - new configuration file format for nanoBTS and HSL femto, we need to define the virtual e1_line and attach it to the OML link. - all the existing BTS drivers (nanoBTS, hsl femto, Nokia site, BS11 and rbs2000) now use the new libosmo-abis framework. - use r232 input driver available in libosmo-abis for bs11_config. - use ipa_msg_recv instead of old ipaccess_read_msg function. - delete definition of gsm_e1_subslot and input_signal_data. These structures now lives in libosmo-abis. Most of this patch are deletions of libabis/ which has been moved to libosmo-abis. This patch also modifies openBSC to use all the new definitions available in libosmocore and libosmo-abis. In order to do that, we have replaced the following: - DINP, DMI, DMIB and DMUX by their respective DL* correspondences. - SS_GLOBAL by SS_L_GLOBAL - SS_INPUT by SS_L_INPUT - S_GLOBAL_SHUTDOWN by S_L_GLOBAL_SHUTDOWN - SS_INPUT by SS_L_INPUT - S_INP_* by S_L_INP_* sub-signals - E1INP_NODE by L_E1INP_NODE vty node This patch has been tested with: - one nanoBTS - the HSL femto with the examples available under libosmo-abis - BS11 with both dahdi and misdn drivers. http://cgit.osmocom.org/osmocom-bb/commit/?id=0834a34063811f4501f1a1358bc9df9c922ee26e commit 0834a34063811f4501f1a1358bc9df9c922ee26e Author: Daniel Willmann Date: Tue Jul 19 12:12:10 2011 +0200 libctrl: Use inttypes.h macros to make uint64_t printfs portable. http://cgit.osmocom.org/osmocom-bb/commit/?id=18b70b5b8194233d5d34fef504b69eea66374826 commit 18b70b5b8194233d5d34fef504b69eea66374826 Author: Harald Welte Date: Wed Jul 13 14:14:03 2011 +0200 controlif: declare controlif_setup() in control_cmd.h this avoids us to copy+paste external declarations over all 'main' files. http://cgit.osmocom.org/osmocom-bb/commit/?id=8b7a9626a20ee7de20d1e09cfa1e8491a2325d52 commit 8b7a9626a20ee7de20d1e09cfa1e8491a2325d52 Author: Daniel Willmann Date: Thu Mar 17 15:37:54 2011 +0100 libctrl: Add ctrl_cmd_cpy() to copy a command http://cgit.osmocom.org/osmocom-bb/commit/?id=e9f5894e2c72c39e55bb9173470dff40de61a326 commit e9f5894e2c72c39e55bb9173470dff40de61a326 Author: Daniel Willmann Date: Thu Apr 21 11:43:55 2011 +0200 libctrl: Add commands to query counters and rate_cntr These commands are installed in controlif_setup. Query them like this: "rate_ctr...." for rate counters and "counter." for regular counters. may be either "abs" for absolute values or one or "per_{sec,min,hour,day}". It is possible to query all rate counters in a group (regardless of index) or all counters in a group and with a certain index if you omit and or just . http://cgit.osmocom.org/osmocom-bb/commit/?id=fcf010f7215cbd33b68132023ab756a309265a55 commit fcf010f7215cbd33b68132023ab756a309265a55 Author: Daniel Willmann Date: Thu May 5 17:01:09 2011 +0200 libctrl: Add macros to help define commands http://cgit.osmocom.org/osmocom-bb/commit/?id=1264cb404f460576690f52fdc8032b74de0bc04e commit 1264cb404f460576690f52fdc8032b74de0bc04e Author: Daniel Willmann Date: Thu Oct 21 15:00:36 2010 +0200 Add libctrl, an SNMP-like control interface In contrast to the VTY interface the control interface is meant to be used by programs. This patch adds basic support, no commands are defined. http://cgit.osmocom.org/osmocom-bb/commit/?id=28570a4e6208e704e8d4feed0081e576d449e4ac commit 28570a4e6208e704e8d4feed0081e576d449e4ac Author: Harald Welte Date: Thu Aug 21 12:15:59 2014 +0200 new file listing VTY tcp ports imported from http://openbsc.osmocom.org/trac/wiki/PortNumbers http://cgit.osmocom.org/osmocom-bb/commit/?id=715e94505560236ddba8bfced8d3f775c6363a3b commit 715e94505560236ddba8bfced8d3f775c6363a3b Author: Holger Hans Peter Freyther Date: Thu Aug 21 14:17:45 2014 +0200 gsm0808: Fix copy and paste pointed out by clang The element following the identifier list was the GSM0808_IE_LSA_INFORMATION. It is a TLV type as well and the issue got introduced in 92107dfd3b99ab0dbb0f4770286454ad94a36de2. Fixes: gsm0808.c:316:40: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [GSM0808_IE_LSA_IDENTIFIER_LIST] = { TLV_TYPE_TLV }, ^~~~~~~~~~~~ gsm0808.c:315:40: note: previous initialization is here [GSM0808_IE_LSA_IDENTIFIER_LIST] = { TLV_TYPE_TLV }, http://cgit.osmocom.org/osmocom-bb/commit/?id=efe0100189a85fabddeb1e0c61dc845d983b7893 commit efe0100189a85fabddeb1e0c61dc845d983b7893 Author: Holger Hans Peter Freyther Date: Thu Aug 21 14:14:38 2014 +0200 macaddr: Add some code for FreeBSD (it should work on the others too) There doesn't seem to be a way to share this code with Linux as it doesn't have the sockaddr_dl concept inside the getifaddrs. I manually verified this on a FreeBSD10 box and hex decoding gave me the correct mac address and rc was 0. http://cgit.osmocom.org/osmocom-bb/commit/?id=f196a02a65a71dc8687d571c94af75047684348f commit f196a02a65a71dc8687d571c94af75047684348f Author: Harald Welte Date: Thu Aug 21 09:42:03 2014 +0200 ipa: use %z as format string whne printing sizeof() result thanks to Holger for reminding me http://cgit.osmocom.org/osmocom-bb/commit/?id=11bca8b8aae8b72c82b952b1944a7b4e55c7c2a2 commit 11bca8b8aae8b72c82b952b1944a7b4e55c7c2a2 Author: Harald Welte Date: Thu Aug 21 02:39:48 2014 +0200 ipa: fix compiler warning regarding printf (%d -> %lu) http://cgit.osmocom.org/osmocom-bb/commit/?id=78b0868302aafc2c7a6752ab72e7b888bdc77d12 commit 78b0868302aafc2c7a6752ab72e7b888bdc77d12 Author: Harald Welte Date: Thu Aug 21 02:37:57 2014 +0200 macaddr: add #include unistd.h for close() function this fixes a compile warning http://cgit.osmocom.org/osmocom-bb/commit/?id=e391996947f9aa2b42377c4b797eda7db4f78c5c commit e391996947f9aa2b42377c4b797eda7db4f78c5c Author: Harald Welte Date: Wed Aug 20 22:28:23 2014 +0200 ipa: rename functions for consistency As we are breaking builds by moving functions from libosmo-abis to libosmocore anyway, we might as well give functions more appropriate names. ipaccess is a company, while IPA is the multiplex protocol, and CCM is the protocol used for establishing identities on the IPA multiplex. http://cgit.osmocom.org/osmocom-bb/commit/?id=28aa991c2fa8c27a3100530bf9d7ab5d592f4792 commit 28aa991c2fa8c27a3100530bf9d7ab5d592f4792 Author: Harald Welte Date: Wed Aug 20 22:06:04 2014 +0200 import various generic IPA related functions from libosmo-abis libosmo-abis is about forming A-bis interfaces/lines by means of E1 or the IPA multiplex (or possibly other link layers). The IPA multiplex is used in other contexts, such as the Control interface, or the A interface. In that context, it makes sense to have generic IPA related functions in libosmocore. http://cgit.osmocom.org/osmocom-bb/commit/?id=fe3e42bdcbaa3bcb336227b8d2a7aad73c636047 commit fe3e42bdcbaa3bcb336227b8d2a7aad73c636047 Author: Harald Welte Date: Mon Aug 18 19:19:45 2014 +0200 Add osmo_get_macaddr() function to obtain etherent mac address This used to be private in osmo-bts/common/abis.c, where it really didn't belong. http://cgit.osmocom.org/osmocom-bb/commit/?id=40d56f96b907f8afb717a5d33fd72bee0f6ad1fb commit 40d56f96b907f8afb717a5d33fd72bee0f6ad1fb Author: Harald Welte Date: Mon Aug 18 19:03:40 2014 +0200 osmocore: Add function osmo_macaddr_parse() to parse ETH MAC address http://cgit.osmocom.org/osmocom-bb/commit/?id=cc27fa6479efd446065d691d888d1729bc1be2c8 commit cc27fa6479efd446065d691d888d1729bc1be2c8 Author: Harald Welte Date: Mon Aug 18 15:31:04 2014 +0200 TLV: add TLVP_PRES_LEN() definition to check for existance + minimum length This is an import from osmo-bts where it was introduced in 6b561bb7ba5f10c5fd96542a7e42de2822352a67 http://cgit.osmocom.org/osmocom-bb/commit/?id=900e180f919d788adf55202a9d56e6ef7458de82 commit 900e180f919d788adf55202a9d56e6ef7458de82 Author: Harald Welte Date: Mon Aug 18 11:34:17 2014 +0200 ipaccess.h: Add IPAC_PROTO_EXT_ORC for OML Router Control http://cgit.osmocom.org/osmocom-bb/commit/?id=8d5180e003919326e35104d5c32c2c32b0714cb7 commit 8d5180e003919326e35104d5c32c2c32b0714cb7 Author: Harald Welte Date: Sun Aug 17 19:36:26 2014 +0200 abis_nm: add abis_nm_msg_disc_names[] value_string http://cgit.osmocom.org/osmocom-bb/commit/?id=604d552e49530c6c98886da4f069f13e1eb438b5 commit 604d552e49530c6c98886da4f069f13e1eb438b5 Author: Harald Welte Date: Sun Aug 17 18:42:58 2014 +0200 abis_nm: introduce abis_nm_{osmo,ipa}_magic[] ... used to be oml_{osmo,ipa}_magic in osmo-bts http://cgit.osmocom.org/osmocom-bb/commit/?id=777b056fb4eef1bde8ae670a360c766d26f093bf commit 777b056fb4eef1bde8ae670a360c766d26f093bf Author: Holger Hans Peter Freyther Date: Mon Jul 7 20:00:35 2014 +0200 gprs-ns: Re-initialize the list head and free the unknown_nsvc Fix re-initialize issue of the GPRS NS. This was found while working on the GB Proxy tests. ==27800== Invalid write of size 4 ==27800== at 0x403C263: rate_ctr_group_alloc (linuxlist.h:65) ==27800== by 0x4050974: gprs_nsvc_create (gprs_ns.c:209) ==27800== by 0x405320D: gprs_ns_instantiate (gprs_ns.c:1330) ==27800== by 0x804B212: main (gbproxy_test.c:797) ==27800== Address 0x434173c is 52 bytes inside a block of size 784 free'd ==27800== at 0x4029DA8: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==27800== by 0x4041BBD: _talloc_free (talloc.c:609) ==27800== by 0x40432B2: talloc_free (talloc.c:578) ==27800== by 0x40532D3: gprs_ns_destroy (gprs_ns.c:1363) ==27800== by 0x804B1FE: main (gbproxy_test.c:791) http://cgit.osmocom.org/osmocom-bb/commit/?id=eb55e6aa88f5dfef10c86fae5377e1280cf91bf7 commit eb55e6aa88f5dfef10c86fae5377e1280cf91bf7 Author: Holger Hans Peter Freyther Date: Tue Jul 1 19:39:26 2014 +0200 write_queue: Use EBADF instead of EBABDFD for portability EBADFD is linux specific while EBADF is POSIX. Fix the build on FreeBSD and use EBADF throughout the file. http://cgit.osmocom.org/osmocom-bb/commit/?id=77ab2f723ee221e0a12f9664383c578e62b7cd13 commit 77ab2f723ee221e0a12f9664383c578e62b7cd13 Author: Daniel Willmann Date: Wed May 21 15:08:19 2014 +0200 vty: Avoid use-after-free in VTY telnet interface If the read callback closes the connection conn is already freed so we can't derefernce it. Instead return -EBADFD in the read function if it closed the connection and check for that. http://cgit.osmocom.org/osmocom-bb/commit/?id=17aa6b25cb0b720279f5d8221de17b01398d0143 commit 17aa6b25cb0b720279f5d8221de17b01398d0143 Author: Holger Hans Peter Freyther Date: Sun Jun 22 16:53:55 2014 +0200 osmo-auc-gen: Fix compiler warnings about aliasing I ran "./utils/osmo-auc-gen -2 -a COMP128v1" and verified that the RAND doen't look empty Fixes: osmo-auc-gen.c: In function ???main???: osmo-auc-gen.c:219:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(uint32_t *)&_rand[0] = rand(); ^ osmo-auc-gen.c:220:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(uint32_t *)(&_rand[4]) = rand(); ^ osmo-auc-gen.c:221:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(uint32_t *)(&_rand[8]) = rand(); ^ osmo-auc-gen.c:222:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(uint32_t *)(&_rand[12]) = rand(); http://cgit.osmocom.org/osmocom-bb/commit/?id=bd8a89debc48bb6696c58a346b463d8df18febb2 commit bd8a89debc48bb6696c58a346b463d8df18febb2 Author: Daniel Willmann Date: Tue Jun 10 10:02:24 2014 +0200 write_queue: Avoid possible use-after-free if fd is read-/writable If the FD is both readable and writable and the read callback closes the connection (and frees the surrounding structure) we shouldn't call the write callback (or check anything else in the read fd). With this patch callback functions can return -EBADFD if they don't want the FD to be handled any more. http://cgit.osmocom.org/osmocom-bb/commit/?id=92107dfd3b99ab0dbb0f4770286454ad94a36de2 commit 92107dfd3b99ab0dbb0f4770286454ad94a36de2 Author: Harald Welte Date: Sat Jun 21 23:16:20 2014 +0200 update TS 08.08 header + TLV definitions to TS 48.008 / 11.7.0 This adds support for A-over-IP and LCLS related message/IEI definitions. Old definitions are in decimal, which is very hard (at least for me) to compare with the binary tables in the spec. Hex is much easier to manually compare for completeness/correctness. I didn't touch the existing definitions, but think they should move to hex, too. http://cgit.osmocom.org/osmocom-bb/commit/?id=c8585cf4081207a777db43dee2be684323fc777e commit c8585cf4081207a777db43dee2be684323fc777e Author: Harald Welte Date: Sat Jun 21 22:28:12 2014 +0200 update gsm_08_08.h to Release 11 http://cgit.osmocom.org/osmocom-bb/commit/?id=5469ef837a9902d594d008257d627b6c09b0d970 commit 5469ef837a9902d594d008257d627b6c09b0d970 Author: Sylvain Munaut Date: Mon Jun 16 16:39:08 2014 +0200 core/bitXXgen: Don't do 'return' in functions returning void ISO C forbids 'return' with expression, in function returning void Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=3baa0d6ab5b56b80725b69e03701af3af1680b2c commit 3baa0d6ab5b56b80725b69e03701af3af1680b2c Author: Sylvain Munaut Date: Mon Jun 16 16:38:31 2014 +0200 core/bitXXgen: Use explicit cast of void* to uint8_t Turns out we use this header in C++ code ... Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=26ea7068e70bbfee9fb2117431ce8593e9df4e2a commit 26ea7068e70bbfee9fb2117431ce8593e9df4e2a Author: Sylvain Munaut Date: Mon Jun 16 15:57:36 2014 +0200 tests/bits: Make sure all 'inline' are also static Not doing so seems to break the BSD build Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=579a7103a1738df11009d75b7bf02559e711a1cb commit 579a7103a1738df11009d75b7bf02559e711a1cb Author: Sylvain Munaut Date: Mon Jun 16 14:59:30 2014 +0200 gsm: Add Kasumi cipher implementation Submitted-by: Max Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=e2c1390d1badbce07945d19ead64704ad4056309 commit e2c1390d1badbce07945d19ead64704ad4056309 Author: Max Date: Wed Jun 4 19:07:42 2014 +0200 bits: Add left circular shift function Submitted-by: Max Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=ece46d2a43193505ca586c3a6d73c2c8aba87006 commit ece46d2a43193505ca586c3a6d73c2c8aba87006 Author: Max Date: Wed Jun 4 19:07:41 2014 +0200 Add missing entry in .gitignore for utils_test Submitted-by: Max Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=537770174625cd3ce5c165ab0289aef5d974dac3 commit 537770174625cd3ce5c165ab0289aef5d974dac3 Author: Max Date: Wed Jun 4 19:07:41 2014 +0200 core: Add generic LE/BE load/store uint type convertors and use them in msgb Submitted-by: Max Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=12ba778afdb797575e05284decd34cf2c27e3647 commit 12ba778afdb797575e05284decd34cf2c27e3647 Author: Sylvain Munaut Date: Mon Jun 16 10:13:40 2014 +0200 include: Switch to #pragma once pattern Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=b0a3c2f1de73cb3acd70f7c93be8fc7e8925f31e commit b0a3c2f1de73cb3acd70f7c93be8fc7e8925f31e Author: Max Date: Tue Jun 10 19:04:59 2014 +0200 gsmtap: add LTE defines to GSMTAP v2 Submitted-by: Max Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=e28bc6876d127e1165dc7ad2ea96b585a1161ec6 commit e28bc6876d127e1165dc7ad2ea96b585a1161ec6 Author: Sylvain Munaut Date: Sun Jun 15 18:47:03 2014 +0200 build: Add .version to EXTRA_DIST This is required to make distcheck work and apparently that's the "good way" to do it. See http://comments.gmane.org/gmane.comp.lib.gnulib.bugs/27780 Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=da73aa640e8dc22a199d651b44d45e2569a6f9b1 commit da73aa640e8dc22a199d651b44d45e2569a6f9b1 Author: Holger Hans Peter Freyther Date: Fri May 23 08:51:22 2014 +0200 gsm0411_smr: Fix the size of the array The code is lacking a "," at the end of a string and we ended up doing string concatination instead of having an invalid state. Fixes Coverity CID 1206564 http://cgit.osmocom.org/osmocom-bb/commit/?id=61d33925a02b187bcab88d391bd5b037c9cc1059 commit 61d33925a02b187bcab88d391bd5b037c9cc1059 Author: Holger Hans Peter Freyther Date: Fri May 23 08:49:34 2014 +0200 gsm0411_smr: Make the look-up table static http://cgit.osmocom.org/osmocom-bb/commit/?id=8e5435a864da30ec0210f36fdff464a72cc5b31a commit 8e5435a864da30ec0210f36fdff464a72cc5b31a Author: Holger Hans Peter Freyther Date: Fri May 23 08:37:02 2014 +0200 timer: Use the now parameter when it is not NULL The code would have used an uninitialized current_time in case "now" was not NULL. As now is const and timersub expects a non const parameter I decided to copy now into current_time. Fixes: CID #1040661 http://cgit.osmocom.org/osmocom-bb/commit/?id=550b06c04c5c1b1afafc53ee1274444a09ca4122 commit 550b06c04c5c1b1afafc53ee1274444a09ca4122 Author: ??lvaro Neira Ayuso Date: Mon May 19 19:22:55 2014 +0200 abis_nm: Add the abis_nm_osmo_att_tlvdef to the abis header Avoid compiler warnings and declare the presence of the new tlv_description. Signed-off-by: Alvaro Neira Ayuso http://cgit.osmocom.org/osmocom-bb/commit/?id=5b5650f3de0213a459b4184bab3ab2d0d833c4a4 commit 5b5650f3de0213a459b4184bab3ab2d0d833c4a4 Author: Harald Welte Date: Mon May 19 11:25:46 2014 +0200 Fix introducing osmocom speficic OML attributes Rename NM_ATT_O_REDUCEPOWER to NM_ATT_OSMO_REDUCEPOWER, which makes it more clear that this is an osmcoom specific attribute. Also, we cannot simply overload 0x01 as an already defined OML attribute. The problem is quite simple: When we use abis_nm_att_tlvdef during the TLV parse, 0x01 will match to NM_ATT_ABIS_CHANNEL, which is defined as { TLV_TYPE_FIXED, 3 }. So instead, we need to introduce a new abis_nm_osmo_att_tlvdef[], which has to be patched into abis_nm_att_tlvdef[] by the means of tlv_def_patch(), exactly how we do it for bs-11 and nanobts specific attributes. I'm using 0xfe for the attribute, as 0xfe doesn't overlap with the IPA specific attribues (and we might want to combine/merge the 12.21 plus IPA plus osmocom spefici attributes) http://cgit.osmocom.org/osmocom-bb/commit/?id=c22d72cdedcea9dfd2f6286fb89d352c80808327 commit c22d72cdedcea9dfd2f6286fb89d352c80808327 Author: ??lvaro Neira Ayuso Date: Mon May 5 16:04:02 2014 +0200 protocol/gsm_12_21.h: Add the Manufacturer Attribute ID O_REDUCEPOWER. Signed-off-by: Alvaro Neira Ayuso http://cgit.osmocom.org/osmocom-bb/commit/?id=92e1e70dbae0b36f0b090c270965881b18b9b950 commit 92e1e70dbae0b36f0b090c270965881b18b9b950 Author: Holger Hans Peter Freyther Date: Wed Apr 9 17:24:00 2014 +0200 select: Fix english in comment http://cgit.osmocom.org/osmocom-bb/commit/?id=c2c042dfd796dae243d84b32e56e01ea5484ad21 commit c2c042dfd796dae243d84b32e56e01ea5484ad21 Author: Holger Hans Peter Freyther Date: Thu Apr 17 23:19:10 2014 +0200 backtrace: Speculative fix for FreeBSD10.0 and execinfo.h FreeBSD 10.0 ships an execinfo.h but one needs to link to an additional library for the backtrace functions. Check if there is a backtrace symbol in libexecinfo and if so link to that library. http://cgit.osmocom.org/osmocom-bb/commit/?id=0c50b17a2636a4a9d471ebbaf2cdb9396390e4cd commit 0c50b17a2636a4a9d471ebbaf2cdb9396390e4cd Author: Holger Hans Peter Freyther Date: Mon Mar 31 15:36:57 2014 +0200 Release: Prepare the release of 0.6.6 http://cgit.osmocom.org/osmocom-bb/commit/?id=5ade61a4f49bbc5bdff271b3eaff0fc4ffd2fb60 commit 5ade61a4f49bbc5bdff271b3eaff0fc4ffd2fb60 Author: ??lvaro Neira Ayuso Date: Mon Mar 24 13:02:00 2014 +0100 src/socket: Adding unix domain socket support Added some function for adding the unix domain socket support. Signed-off-by: Alvaro Neira Ayuso http://cgit.osmocom.org/osmocom-bb/commit/?id=cc0645b26df92b007e7f4f397607ee235c58172e commit cc0645b26df92b007e7f4f397607ee235c58172e Author: Alexander Chemeris Date: Fri Mar 7 21:00:19 2014 +0100 sms: Add missing brackets in the relative validity time calculation. http://cgit.osmocom.org/osmocom-bb/commit/?id=d0ed9218bc79a25b46023a6cc57aedcda3fc9152 commit d0ed9218bc79a25b46023a6cc57aedcda3fc9152 Merge: e4c50d5a 3dc4e167 Author: Holger Hans Peter Freyther Date: Wed Mar 26 18:15:06 2014 +0100 Merge remote-tracking branch 'daniel/lapdm-desync' This should fix long delays when sending a long SMS on an encrypted channel. It is the most minimal change to the polling mode. One option we discussed internally is to queue a higher level representation and generate the actual LAPDm frames later. http://cgit.osmocom.org/osmocom-bb/commit/?id=3dc4e16786d1e5723e76ad7c70ad54134957f9e5 commit 3dc4e16786d1e5723e76ad7c70ad54134957f9e5 Author: Daniel Willmann Date: Thu Mar 20 19:24:48 2014 +0100 gsm/lapdm: Prevent LAPD tx_queue from filling up in polling mode If LAPDm receives an I-Frame while there already is an I-Frame in the tx_queue the code generates an additional RR (to acknowledge the received I-Frame). Instead, N(R) of the I-Frame in the tx_queue should be updated to ACK the data. http://cgit.osmocom.org/osmocom-bb/commit/?id=09129352f99a90a784912ae3c8ff442268a35480 commit 09129352f99a90a784912ae3c8ff442268a35480 Author: Daniel Willmann Date: Thu Mar 20 18:54:57 2014 +0100 tests/lapd: Add a testcase to check for LAPDm sync issues Regression test for LAPDm recording the current state http://cgit.osmocom.org/osmocom-bb/commit/?id=55405fb40b080b303dcbb380ecb2d738dc8f6206 commit 55405fb40b080b303dcbb380ecb2d738dc8f6206 Author: Daniel Willmann Date: Wed Mar 26 13:45:17 2014 +0100 lapdm: Make lapdm_datalink_for_sapi public This API allows you to get the lapdm_datalink for a SAPI. It's needed in the lapdm_test, so make it public. http://cgit.osmocom.org/osmocom-bb/commit/?id=e4c50d5a43f129aa4bdfaf62a7238c4db671974b commit e4c50d5a43f129aa4bdfaf62a7238c4db671974b Author: Alexander Chemeris Date: Fri Mar 7 20:42:03 2014 +0100 sms_test: Do not crash on logging. http://cgit.osmocom.org/osmocom-bb/commit/?id=1512ea6452c123fbf7da325422b4378d64b90087 commit 1512ea6452c123fbf7da325422b4378d64b90087 Author: Holger Hans Peter Freyther Date: Sun Mar 16 23:59:58 2014 +0100 lapd: Improve log message and mention the SAPI the dl is on When debugging an issue that involves SAPI=0 and SAPI=3 the log file does not have enough context. Add the SAPI to this message so we at least understand which SAPI we are talking about. http://cgit.osmocom.org/osmocom-bb/commit/?id=e47523874da2e79e79f149f433d6a53f230dc30c commit e47523874da2e79e79f149f433d6a53f230dc30c Author: Alexander Chemeris Date: Sun Mar 9 11:48:16 2014 +0100 sms: Fix typo in a macros name: GSM340_SMS_RESSERVED -> GSM340_SMS_RESERVED. http://cgit.osmocom.org/osmocom-bb/commit/?id=4b3de6840ef08b0630bafb9d4d19fc2d10aacdd1 commit 4b3de6840ef08b0630bafb9d4d19fc2d10aacdd1 Merge: 10f0bdec 8dac4159 Author: Holger Hans Peter Freyther Date: Mon Mar 10 15:00:20 2014 +0100 Merge branch 'jerlbeck/fixes/ladp-sms' http://cgit.osmocom.org/osmocom-bb/commit/?id=8dac4159adb7377f016317808e3a6b0c79df7fa1 commit 8dac4159adb7377f016317808e3a6b0c79df7fa1 Author: Jacob Erlbeck Date: Tue Jan 28 11:03:11 2014 +0100 ladpm: Fix msgb handling and SAPI=3 establishment delay Currently it takes 3s to establish a SAPI 3 SACCH connection with osmo-bts. This is due to the fact, that a broken SABME request is sent first and and is ignored by the MS. Then, after a T200 timeout (2s) the SABME command is sent again (this time correctly) and answered by the MS. The first SABME message is broken (it has a length field of 3 and ends with 3 bytes from the tail of the original RSL message), because of it is expected throughout lapdm.c that msg buffers containing RSL have msg->l2h == msg->data. Some abis input drivers fulfill this but IPA doesn't, thus the 3 bytes of the IPA header are still part of the msg and confuse length computation. Since internal fields of the msg are modified directly, this is difficult to see. This patch adds a new function msgb_pull_to_l3() that explicitely skips over all headers prepending L3 and therefore resets l1h and l2h. This function is then used instead of msgb_pull_l2h() which only worked correctly when msg->l2h == msg->data. In addition, code manipulating msg->tail and msg->len directly has been replaced by calls to msgb_trim(). Note that this patch does not fix all issues of this case in the LADP related code. Ticket: SYS#192 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=7d5f17aa2149d67fb709ea44007c207431aeedc7 commit 7d5f17aa2149d67fb709ea44007c207431aeedc7 Author: Jacob Erlbeck Date: Fri Feb 28 15:54:03 2014 +0100 lapd/test: Check for empty ACCH queue, too This just adds a single test to verify that the ACCH queue is actually empty. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=c893c2233ad167585b4aa7e4246c2255e32c9734 commit c893c2233ad167585b4aa7e4246c2255e32c9734 Author: Jacob Erlbeck Date: Tue Jan 28 10:53:59 2014 +0100 lapd/test: Extend test case to test msgs having data before l2h Since e.g. the IPA input driver leaves it's specific header in front of msg->l2h, so that msg->l2h != msg->data. The lapdm code does not expect this at least in rslms_rx_rll_est_req(). This patch modifies the test program to add a dummy L1 header to generated messages (unless the test would abort when doing so). Note that the ok file reflects the current state which is not correct. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=2462cf6ee12452362f24510d26a4c0ff19599342 commit 2462cf6ee12452362f24510d26a4c0ff19599342 Author: Jacob Erlbeck Date: Tue Feb 25 10:49:00 2014 +0100 lapd/test: Show dequeued messages This adds and uses a wrapper for lapdm_phsap_dequeue_prim() that prints information about the message that has been taken from the queue. http://cgit.osmocom.org/osmocom-bb/commit/?id=baa225ed867fa7357ad05b35b90c9ecb7192f189 commit baa225ed867fa7357ad05b35b90c9ecb7192f189 Author: Jacob Erlbeck Date: Fri Feb 28 15:14:40 2014 +0100 msgb: Add msgb_hexdump() function This function works like osmo_hexdump() and returns a static buffer containing hex bytes along with markers for the layers. Note that it uses osmo_hexdump() internally, thus a call to msgb_hexdump() invalidates the buffer that has been returned by an earlier call to osmo_hexdump(). In short: don't mix them in a single call printf(). Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=10f0bdecad8d711ccc5fcc04bb0be0adf11a7902 commit 10f0bdecad8d711ccc5fcc04bb0be0adf11a7902 Author: Holger Hans Peter Freyther Date: Sun Feb 9 20:03:38 2014 +0100 lapd: Use the right struct for the talloc_zero_array call I saw this while playing with talloc pools and wondered why lapd_core is creating a log_info. Use the right struct for the array. http://cgit.osmocom.org/osmocom-bb/commit/?id=f4f5a8489c427432b12b09ebba456c3ca25106a3 commit f4f5a8489c427432b12b09ebba456c3ca25106a3 Author: Holger Hans Peter Freyther Date: Sat Feb 8 15:14:53 2014 +0100 sms: The msg_ref is passed from the outside so remove the wrong fixme http://cgit.osmocom.org/osmocom-bb/commit/?id=90937fe2c5505c655ed974699e43a5e1fc86c8cb commit 90937fe2c5505c655ed974699e43a5e1fc86c8cb Author: Jacob Erlbeck Date: Fri Jan 24 13:48:19 2014 +0100 lapd/test: Add test case for RSL EST REQ -> LAPD This test case processes RSL establish requests for SMS (SAPI 3) on the SDCCH and the SACCH channels. The TX queues are checked after processing each message. Ticket: SYS#192 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=c620604dfc942e972de0ef7a7c264cd6033d602e commit c620604dfc942e972de0ef7a7c264cd6033d602e Author: Holger Hans Peter Freyther Date: Thu Jan 23 15:00:55 2014 +0100 lapdm: Fix typo in the comment http://cgit.osmocom.org/osmocom-bb/commit/?id=050e9c4a1c785ca87043b606b80ad9b253a9eb12 commit 050e9c4a1c785ca87043b606b80ad9b253a9eb12 Author: Holger Hans Peter Freyther Date: Mon Jan 20 10:37:42 2014 +0100 debian: Build the new upstream version of libosmocore http://cgit.osmocom.org/osmocom-bb/commit/?id=85bc549ea5e279c08a4080a277894fe80f0e967e commit 85bc549ea5e279c08a4080a277894fe80f0e967e Author: Jacob Erlbeck Date: Mon Jan 13 14:21:23 2014 +0100 gsm/gsm48ie: Fix range 256 W[i] decoding Currently w[14]/w[15] and w[18]/w[19] are swapped in range 256 format decoding in gsm48_decode_freq_list(). This patch fixes this. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=26cbd459fcc7cd7bed8256a5ad078c177a7a7fe2 commit 26cbd459fcc7cd7bed8256a5ad078c177a7a7fe2 Author: Jacob Erlbeck Date: Tue Jan 7 13:39:24 2014 +0100 sms: Fix gsm_7bit legacy functions return value The legacy 7bit conversion functions (those without the '_n_' in the name) gave wrong return values on 64 bit platforms due to unproper signed/unsigned conversions and the usage of SIZE_MAX. This patch fixes this by using a smaller max size (see GSM_7BIT_LEGACY_MAX_BUFFER_SIZE, currently set to 64k) for the legacy wrappers and by using unsigned int for max_septets. In addition, there are tests now that check the return values of legacy encoding and decoding. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=d4d87c5427bdf838cbfc3948bcf035e1e4036fd9 commit d4d87c5427bdf838cbfc3948bcf035e1e4036fd9 Author: Holger Hans Peter Freyther Date: Thu Jan 2 14:10:25 2014 +0100 abis: Use the right return value for abis_nm_pchan4chcomb abis_nm_pchan4chcomb will return a pchan for a given channel combination but returned a value of the channel combination. Fix it to return the physical channel combination. Fixes: Coverity CID 1040767 http://cgit.osmocom.org/osmocom-bb/commit/?id=324470205860303edb6ea213fc8670b2b69a7f11 commit 324470205860303edb6ea213fc8670b2b69a7f11 Author: Nils O. Sel??sdal Date: Thu Jan 2 14:04:43 2014 +0100 utils: Greatly improve performance of osmo_hexdump routines In the osmo-bts and libosmo-abis code the hexdump routine is used for every incoming/outgoing packet (including voice frames) and the usage of snprintf showed up inside profiles. There is a semantic change when more than 4096 characters are used. The code will now truncate at byte boundaries (and not nibbles). Code: static const int lengths[] = { 23, 1000, 52 }; char buf[4096]; int i; for (i = 0; i < 30000; ++i) char *res = osmo_hexdump(buf, lengths[i & 3]); Results: before: after: real 0m3.233s real 0m0.085s user 0m3.212s user 0m0.084s sys 0m0.000s sys 0m0.000s http://cgit.osmocom.org/osmocom-bb/commit/?id=b79a148eca01ff8f101662f389b8032ea2d9a535 commit b79a148eca01ff8f101662f389b8032ea2d9a535 Author: Holger Hans Peter Freyther Date: Thu Jan 2 13:55:00 2014 +0100 utils: Add a simple testcase for osmo_hexdump This code makes a simple dump and tests for the corner case http://cgit.osmocom.org/osmocom-bb/commit/?id=b7d0f4686b4aa55fd9b69884e6cc0c4c79ea1cd5 commit b7d0f4686b4aa55fd9b69884e6cc0c4c79ea1cd5 Author: Holger Hans Peter Freyther Date: Sun Dec 29 19:38:01 2013 +0100 logging: Copy the filter_fn and fix the IMSI filter in OpenBSC The filter_fn has not been copied into the new structure breaking the imsi and other filters in OpenBSC. Looking at the code we should also introduce a callback for the reset of the context so we could use subscr_get/subscr_put on the subscriber structure. http://cgit.osmocom.org/osmocom-bb/commit/?id=6308c2971149c1f4f2f13846ca1a334a82b6519c commit 6308c2971149c1f4f2f13846ca1a334a82b6519c Author: Holger Hans Peter Freyther Date: Thu Dec 12 12:31:18 2013 +0100 debian: Enable hardening options for debian http://cgit.osmocom.org/osmocom-bb/commit/?id=4f0abc0e3eb553c94e8e409ea14a1b047efe3028 commit 4f0abc0e3eb553c94e8e409ea14a1b047efe3028 Author: Max Date: Mon Dec 2 11:30:32 2013 +0100 Refactor COMP128v23 implementation and add test suit http://cgit.osmocom.org/osmocom-bb/commit/?id=56cc60dc2079a63e983d746689fd03d9a48ea8f5 commit 56cc60dc2079a63e983d746689fd03d9a48ea8f5 Author: Holger Hans Peter Freyther Date: Fri Nov 22 16:05:26 2013 +0100 gb: Remove comment about ABI changes from the Makefile Okay. this comment thing has not worked (I totally forgot about it). I think either we try to find ABI breakages with tools or we use #error macros and check for a version... http://cgit.osmocom.org/osmocom-bb/commit/?id=1fa166462317c6e5de3f5cf0dbf493954c65bef3 commit 1fa166462317c6e5de3f5cf0dbf493954c65bef3 Author: Jacob Erlbeck Date: Mon Nov 11 09:43:06 2013 +0100 debian: Update the changelog Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=9b591b7da8e3de13b87002af668431dc0dea6806 commit 9b591b7da8e3de13b87002af668431dc0dea6806 Author: Jacob Erlbeck Date: Mon Nov 11 09:43:05 2013 +0100 gprs: Fix VTY NSVC initialisation bug by changing gprs_nsvc_create() Currently the field nsvci_is_valid is set to 0 in the NSVC object returned by gprs_nsvc_create(). This was a semantic change probably introduced by commit 5e6d679d. As a result, NSVC created via the VTY have this flag set to 0 causing RESET_ACK messages to be rejected. This patch changes the default behaviour of gprs_nsvc_create() to always set this flag. So it must be set to 0 explicitely if needed which is more intuitive and thus less error prone. It fixes breaking connections from the Gbproxy to the SGSN. Ticket: OW#874 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=be355cd78a5aac7d11c1b9234254537b3c55f2d5 commit be355cd78a5aac7d11c1b9234254537b3c55f2d5 Author: Kevin Redon Date: Sat Nov 2 18:11:01 2013 +0100 implement COMP128 version 2 and 3 A3/A8 algorithm simple copy into C from reversed code from www.hackingprojects.net http://cgit.osmocom.org/osmocom-bb/commit/?id=3d557b18d099249b0d60ea91c72695a678c9465f commit 3d557b18d099249b0d60ea91c72695a678c9465f Author: Jacob Erlbeck Date: Mon Oct 28 13:29:11 2013 +0100 gprs: Ignore NS RESET_ACK and ALIVE_ACK without RESET Currently those messages are answered by a NS_STATUS message when received on an uninitialised (no NS_RESET hat been seen yet) NS_VC which violates GPP TS 08.16 7.3.1 and 7.4.1. This patch adds checks to gprs_ns_vc_create() and eventually returns before the error NS_STATUS message is generated. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=e7c427165f696d844be6761a27b3d7a66f5aa49c commit e7c427165f696d844be6761a27b3d7a66f5aa49c Author: Jacob Erlbeck Date: Mon Oct 28 13:29:10 2013 +0100 grps: Add test for NS messages that shall be ignored Several messages shall not be answered when a RESET hasn't been received on a NS-VC: - NS_RESET_ACK (see 3GPP TS 08.16, 7.3.1) - NS_ALIVE_ACK (see 3GPP TS 08.16, 7.4.1) - NS_STATUS (see 3GPP TS 08.16, 7.5.1) Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=ce397dee70eb03358da6eb1c1ca19ed7cf155a62 commit ce397dee70eb03358da6eb1c1ca19ed7cf155a62 Author: Holger Hans Peter Freyther Date: Sat Oct 26 13:35:15 2013 +0200 lapd: Extend the test to check if lapdm_channel_exit is idempotent I have a crash with an older libosmocore and the sysmobts. I am not sure how we can have a release for a channel where the lapdm_channel has not gone through lapdm_channel_init. But to prevent the crash we can promise lapdm_channel_exit to be idempotent. It has been idempotent since f5a079f739c57d8be7c59149fd45475c402a45fc http://cgit.osmocom.org/osmocom-bb/commit/?id=9e1cd5a5a5a431f30d4b418ef8f688d992814141 commit 9e1cd5a5a5a431f30d4b418ef8f688d992814141 Author: Holger Hans Peter Freyther Date: Fri Oct 25 11:09:26 2013 +0200 gprs: Address coverity warning for gprs_ns_tx_status result Add a #define for the check and use this in this path as well. Fixes: Coverity CID 1103092 http://cgit.osmocom.org/osmocom-bb/commit/?id=726e2729fa264fa3221e567b42c49f2007a369fb commit 726e2729fa264fa3221e567b42c49f2007a369fb Author: Holger Hans Peter Freyther Date: Fri Oct 25 11:05:10 2013 +0200 gprs: Address coverity warning on unchecked return of gprs_ns_tx_reset_ack Fixes: Coverity CID 1111545 http://cgit.osmocom.org/osmocom-bb/commit/?id=7c91bfdd4e8a91d4888e772a6adbe8d406c2e599 commit 7c91bfdd4e8a91d4888e772a6adbe8d406c2e599 Author: Holger Hans Peter Freyther Date: Fri Oct 25 11:02:05 2013 +0200 gprs: Address coverity warning on unchecked return of gprs_ns_tx_status We could consider creating a CHECK MACRO that will print a message in case of a tx failure. Fixes: Coverity CID 1111544 http://cgit.osmocom.org/osmocom-bb/commit/?id=0cccf408602f509943c6556676327f3cb18b5f59 commit 0cccf408602f509943c6556676327f3cb18b5f59 Author: Holger Hans Peter Freyther Date: Fri Oct 25 11:00:23 2013 +0200 gprs: Make sure that the buf is NULL terminated at the end Fixes: Coverity CID 1107253 http://cgit.osmocom.org/osmocom-bb/commit/?id=7fcb3ce2dfb60d8114f7a0533a78c2b5d94be87b commit 7fcb3ce2dfb60d8114f7a0533a78c2b5d94be87b Author: Holger Hans Peter Freyther Date: Fri Oct 25 09:51:17 2013 +0200 debian: Update the changelog http://cgit.osmocom.org/osmocom-bb/commit/?id=54b8b2dfefae7d495aa17c3e187b317a0a6243cd commit 54b8b2dfefae7d495aa17c3e187b317a0a6243cd Author: Jacob Erlbeck Date: Thu Oct 24 01:33:25 2013 +0200 gb: Create new NSVC object instead of patching the NSVCI When a RESET is received on the same link with a different NSVCI from a BSS on a dynamically created NS connection do not patch the nsvc object but create a new one instead. Thus the NSVCI is never modified at a nsvc object after the NS-VC has been established. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=ab852ee23439725360f28c63d20ab61b0d774b2b commit ab852ee23439725360f28c63d20ab61b0d774b2b Author: Jacob Erlbeck Date: Thu Oct 24 01:33:24 2013 +0200 gb: Fix RESET handling with changing NSEI This modifies the NS stack's behavior to accept RESET and RESET_ACK NSEI changes for NS-VC dynamically created by RESET messages from BSSes. This feature is not used for NS-VC configured via VTY or NS-VC to a SGSN. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=5405a104bbe7d3711fe6f19ea7d0fce50ef91147 commit 5405a104bbe7d3711fe6f19ea7d0fce50ef91147 Author: Jacob Erlbeck Date: Thu Oct 24 01:33:23 2013 +0200 gb: Fix NS RESET/RESET_ACK abnormal cases This changes the implementations for the reception of RESET and RESET_ACK to be compatible with 3GPP TS 08.16, 7.3.1: - Just send a RESET_ACK with correct values back to the SGSN when a RESET with an invalid NSVCI or NSEI has been received. - Check RESET_ACK for matching NSEI and NSVCI. - Ignore unexpected RESET_ACKs. In addition, use RESET_ACK from a BSS to update the BSS source address based on the NSVCI to be tolerant with changing UDP source addresses/ports. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=81d7c14756ee17c2748c3d34a198c640655fd0c6 commit 81d7c14756ee17c2748c3d34a198c640655fd0c6 Author: Jacob Erlbeck Date: Thu Oct 24 01:33:22 2013 +0200 gb: Add test cases for NS RESET procedures Add a test handling proper and mismatching RESETs. The latter may occur, when ports change within a NS-VC without the SGSN getting notice. This tests for the behavior of the NS protocol stack for RESET and RESET_ACK messages which changing/invalid NSEI and NSVCI like it is being described in 3GPP TS 08.16, 7.3.1. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=a52ba0175f0e84c06faeb582414e4dc2dfe458c3 commit a52ba0175f0e84c06faeb582414e4dc2dfe458c3 Author: Jacob Erlbeck Date: Thu Oct 24 01:33:21 2013 +0200 gb: Fix gprs_nsvc_delete() to free ctr group This fixes a SEGV error that happens the next time the statistics are updated. Addresses: Program terminated with signal 11, Segmentation fault. #0 0xb7711fa5 in rate_ctr_group_intv (grp=) at rate_ctr.c:107 107 for (i = 0; i < grp->desc->num_ctr; i++) { #0 0xb7711fa5 in rate_ctr_group_intv (grp=) at rate_ctr.c:107 #1 rate_ctr_timer_cb (data=0x0) at rate_ctr.c:129 #2 0xb770ec59 in osmo_timers_update () at timer.c:243 #3 0xb770ef7a in osmo_select_main (polling=0) at select.c:133 #4 0x08049987 in main (argc=3, argv=0xbfba8084) at gb_proxy_main.c:306 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=35fe87c68622e4472f752ec82b0df58ae72e79a1 commit 35fe87c68622e4472f752ec82b0df58ae72e79a1 Author: Jacob Erlbeck Date: Thu Oct 24 01:33:20 2013 +0200 gb/vty: Fix the VTY node string for L_NS_NODE Use 'config-ns' instead of plain 'ns' and append a blank after the '#' to make the vty python test script work. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=687b69087661237eb7b2ca34bd769ed715381cb6 commit 687b69087661237eb7b2ca34bd769ed715381cb6 Author: Jacob Erlbeck Date: Thu Oct 24 01:33:19 2013 +0200 gb/vty: Perform NS-VC operations based on NS-VCI This adds a 'nsvc nsvci <0-65535> (block|unblock|reset)' vty command. It selects the NS-VC based on the nsvci instead of using the first with a matching NSEI, like it is done when the 'nsei' keyword is used instead. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=317de52dfc6d9b66d21d01e283c9620e8ce3bd7d commit 317de52dfc6d9b66d21d01e283c9620e8ce3bd7d Author: Holger Hans Peter Freyther Date: Thu Oct 17 14:50:15 2013 +0200 misc: Ignore generated files * compile is generated by newer automake * ignore the test binary http://cgit.osmocom.org/osmocom-bb/commit/?id=81286a7f43a97b3ea37f9ad640fc04928286b486 commit 81286a7f43a97b3ea37f9ad640fc04928286b486 Author: Holger Hans Peter Freyther Date: Thu Oct 17 14:49:02 2013 +0200 debian: Bump the changelog for some new packages http://cgit.osmocom.org/osmocom-bb/commit/?id=bf0219654b09b6d8f3bc2c9f4d48c065b47f2983 commit bf0219654b09b6d8f3bc2c9f4d48c065b47f2983 Author: Jacob Erlbeck Date: Thu Oct 17 13:58:35 2013 +0200 gb: Fix gprs_active_nsvc_by_nsei() The state matching condition is inverted. This is corrected by this fix. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=0d4e949e229a649ffd0503d8e930dba8be7dd34d commit 0d4e949e229a649ffd0503d8e930dba8be7dd34d Author: Jacob Erlbeck Date: Thu Oct 17 13:58:34 2013 +0200 gb: Test sending messages to the SGSN This adds tests for the gprs_ns_sendmsg() function. For this it merges back functions from the gbproxy test. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=f41e5e6c5d964896b62746be70e39d34c1a83a53 commit f41e5e6c5d964896b62746be70e39d34c1a83a53 Author: Holger Hans Peter Freyther Date: Thu Oct 10 14:17:51 2013 +0200 release: Prepare the 0.6.4 release of libosmocore New interfaces and ABI incompatible changes in the GB library http://cgit.osmocom.org/osmocom-bb/commit/?id=16ae51eb19eedf5a1a636bdcb93142c4ad12be38 commit 16ae51eb19eedf5a1a636bdcb93142c4ad12be38 Author: Alexander Huemer Date: Sun Oct 6 21:55:09 2013 +0200 ussd: Fix text of RELEASE COMPLETE Before the assigned value (0xFF) was truncated, reg->text[0] is of type char. A corresponding test for the same value in openbsc could only fail. http://cgit.osmocom.org/osmocom-bb/commit/?id=5e6d679df39e5e20b55ef24754a4e6310c9bcad2 commit 5e6d679df39e5e20b55ef24754a4e6310c9bcad2 Author: Jacob Erlbeck Date: Mon Oct 14 22:06:48 2013 +0200 gb: Fix gprs_ns_rx_reset to not create NS-VC duplicates Under special circumstances (see below) receiving a NS-RESET leads to duplicated NS-VC entries. This happens when the source port of a NS-VC changes to a new one that has already been used by another NS-VC. This patch changes gprs_ns_rx_reset() to check for this case and to use the existing NS-VC object. The NS-VC object that was associated with the source address before is detached from this source but kept in the NS-VC list so that it can be reattached when a correspondent NS-RESET is received later on. Meanwhile it will have a cleared link layer address which will not match a real link info. A new counter NS_CTR_REPLACED is incremented each time when the NS-VC object is replacing another one. A new signal S_NS_REPLACED is added which gets dispatched in this case, too. Another new counter NS_CTR_NSEI_CHG is incremented each time when the NSEI of a NS-VC object (with fixed NSVCI) changes. Ticket: OW#874 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=96550e03214697be2d1b303a690ef10ea3bb12b7 commit 96550e03214697be2d1b303a690ef10ea3bb12b7 Author: Jacob Erlbeck Date: Mon Oct 14 22:06:47 2013 +0200 gb: Add functions to access the LL part of the NS-VC objects Adds the functions gprs_ns_ll_copy() and gprs_ns_ll_clear(). Renames gprs_ns_format_peer() to gprs_ns_ll_str(). All of these functions uniformly access the link layer part within the NS-VC objects. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=6901715124d53574dc607d540105128573808b24 commit 6901715124d53574dc607d540105128573808b24 Author: Jacob Erlbeck Date: Mon Oct 14 12:03:54 2013 +0200 gb: When sending on a NS-VC group use the first active NS-VC Currently this first NS-VC with a matching NSEI is always used to send a UNITDATA message via gprs_ns_sendmsg(). If the NS-VC found is either dead or blocked, an error is returned. This patch changes to code to skip blocked or dead NS-VCs while searching and return the error if no usable NS-VC is found. This makes it possible to have several NS-VCs per connection group. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=34fc4701c7681a4855534c20a6f59d12c4c81521 commit 34fc4701c7681a4855534c20a6f59d12c4c81521 Author: Jacob Erlbeck Date: Wed Oct 9 11:27:04 2013 +0200 tests/gb: Show invoked signals in test output Register an osmo signal handler to print a short notice about every SS_L_NS signal that is generated while processing the tests. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=2c9168cf34d370b4ea2b21177402d01a7cfffea8 commit 2c9168cf34d370b4ea2b21177402d01a7cfffea8 Author: Holger Hans Peter Freyther Date: Thu Oct 10 20:21:33 2013 +0200 vty: Make vty_event dispatch signals and use it in the testcase The testcase didn't work on Ubuntu 12.04 because vty_create will directly call vty_event (e.g. not through the plt). This means that the approach to override vty_event in the testcase failed. Use the signal interface of libosmocore and make the testcase use it. The signals can be generally useful as well. http://cgit.osmocom.org/osmocom-bb/commit/?id=4cb8b94db8180e84a55c3ef88044507111077783 commit 4cb8b94db8180e84a55c3ef88044507111077783 Author: Holger Hans Peter Freyther Date: Thu Oct 10 15:20:23 2013 +0200 debian: Print test results in case of a failure http://cgit.osmocom.org/osmocom-bb/commit/?id=b6390f9bd899370317ae2cd96271b21f07fdf637 commit b6390f9bd899370317ae2cd96271b21f07fdf637 Author: Jacob Erlbeck Date: Tue Oct 8 12:04:46 2013 +0200 gb: Use the NS-VCI to find an existing NS-VC Currently when a NS-RESET is recevied over a link that has not yet been associated with a NS-VC, the NSEI is used to find an existing NS-VC. If one is found, the reset procedure is initiated. This behaviour is not conformant with 3GPP TS 08.16 (see chapter 4.2.3) which allows to use several NS-VC between two endpoints in parallel. The patch changes the implementation to use the NSVCI instead of the NSEI to search for an existing NS-VC object. Ticket: OW#874 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=05395a63b77e97217fc5ffa84ab375adfcaca244 commit 05395a63b77e97217fc5ffa84ab375adfcaca244 Author: Jacob Erlbeck Date: Tue Oct 8 12:04:45 2013 +0200 gb: Fix NS-RESET response message order According to 3GPP TS 08.16, 7.3 "Reset procedure" the entity receiving a NS-RESET PDU responds with a NS-RESET-ACK and 'then' starts the test procedure which essentially means, that a NS-ALIVE gets sent and a timer is started. Currently the NS-ALIVE is sent before the NS-RESET-ACK. This patch fixes the implementation by reversing the order in which these messages are sent. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=84cdc70e0bbeddf33404df472f3c992f5446ff12 commit 84cdc70e0bbeddf33404df472f3c992f5446ff12 Author: Jacob Erlbeck Date: Tue Oct 8 12:04:44 2013 +0200 gb: Separate nsvc creation from NS message processing This patch refactors gprs_ns_rcvmsg() by moving the parts relevant to the NS messages into the new functions gprs_ns_vc_create() (nsvc object creation) and gprs_ns_process_msg() (main NS automaton). These do not contain code that directly depends on the link layer (they call other functions that still do). This reduces the gprs_ns_rcvmsg() function to calling these two functions and optionally setting up the link layer specific fields of the nsvc. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/osmocom-bb/commit/?id=dcce196be96c842bde791f8838a07206fd9fdd24 commit dcce196be96c842bde791f8838a07206fd9fdd24 Author: Jacob Erlbeck Date: Tue Oct 8 12:04:43 2013 +0200 tests/gb: Add test for GPRS NS protocol This tests the connection establishment by directly calling gprs_ns_rcvmsg() and printing the resulting messages and the NS-VC list. http://cgit.osmocom.org/osmocom-bb/commit/?id=73ae7a9ca0b9f2bbf4a6800ed8e9aa9bbd99d597 commit 73ae7a9ca0b9f2bbf4a6800ed8e9aa9bbd99d597 Author: Jacob Erlbeck Date: Tue Oct 8 12:04:42 2013 +0200 tests: Fix warnings This fixes warnings that are raised by missing includes, missing casts, missing return statements, using printf %lu with uint64_t, and unused symbols. http://cgit.osmocom.org/osmocom-bb/commit/?id=42e0dc0cc3d20b4c222151dc7a9b5e63dabac734 commit 42e0dc0cc3d20b4c222151dc7a9b5e63dabac734 Author: Jacob Erlbeck Date: Tue Oct 8 12:04:41 2013 +0200 msgb: Add may_alias attribute to struct libgb_msgb_cb This explicitely allows aliasing of this struct to avoid the warning shown below. Note, that this warning isn't show when '-fno-strict-aliasing' is used. Addresses: gb/gprs_ns_test.c:85:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] http://cgit.osmocom.org/osmocom-bb/commit/?id=bb9f89745a96dc2b1452a05d4b0e260c276a5779 commit bb9f89745a96dc2b1452a05d4b0e260c276a5779 Author: Holger Hans Peter Freyther Date: Tue Oct 8 13:57:51 2013 +0200 tests: Fix the sms_test and use the right array It started to behave weird on Debian Testing (GCC 4.8), I compiled it with address sanitizer support and set a breakpoint in __asan_report_error to get a backtrace. http://cgit.osmocom.org/osmocom-bb/commit/?id=5b6416a729b46aab8ac7ea25a7ec91f3afeaf4fc commit 5b6416a729b46aab8ac7ea25a7ec91f3afeaf4fc Author: Holger Hans Peter Freyther Date: Mon Sep 16 14:13:25 2013 +0200 bssgp: Address various compiler warnings in the bssgp code gb/bssgp_fc_test.c: In function ???fc_out_cb???: gb/bssgp_fc_test.c:46:1: warning: no return statement in function returning non-void [-Wreturn-type] gb/bssgp_fc_test.c: In function ???fc_in???: gb/bssgp_fc_test.c:56:1: warning: no return statement in function returning non-void [-Wreturn-type] gb/bssgp_fc_test.c: In function ???test_fc???: gb/bssgp_fc_test.c:79:3: warning: implicit declaration of function ???usleep??? [-Wimplicit-function-declaration] http://cgit.osmocom.org/osmocom-bb/commit/?id=1c3f088c1fee825946c4e9607d7f39a18775164c commit 1c3f088c1fee825946c4e9607d7f39a18775164c Author: Jacob Erlbeck Date: Mon Sep 16 10:29:57 2013 +0200 gsm48: Added 'Network Daylight Saving Time' info element This information element has been added to the MM Information message in GSM24.008. This patch adds it to the tlv_definition to keep the TLV parser from breaking. Ticket: OW#978 http://cgit.osmocom.org/osmocom-bb/commit/?id=b3657e121645977a494c48950838129cb5fd0cd5 commit b3657e121645977a494c48950838129cb5fd0cd5 Author: Jacob Erlbeck Date: Tue Sep 10 14:04:54 2013 +0200 vty: Allow vty_go_parent() in all nodes. This patch removes an assertion of node > CONFIG_NODE and changes the function to handle all nodes properly. For the sake of completeness, the generic 'exit' command implementation is extended to work properly with all nodes, too. http://cgit.osmocom.org/osmocom-bb/commit/?id=6ef71b062b9e8ddfcc1cf43aaf4a640a8b21c38e commit 6ef71b062b9e8ddfcc1cf43aaf4a640a8b21c38e Author: Holger Hans Peter Freyther Date: Tue Sep 10 11:17:46 2013 +0200 vty: Fix compiler warning in the test http://cgit.osmocom.org/osmocom-bb/commit/?id=2349721d801d63f450e585b0938f76abd5150e79 commit 2349721d801d63f450e585b0938f76abd5150e79 Author: Jacob Erlbeck Date: Tue Sep 10 09:07:31 2013 +0200 vty: Replace 'enum node_type' by 'int' for last_node In this case the last_node variable may hold values that are not in enum node_type, so int is used instead. http://cgit.osmocom.org/osmocom-bb/commit/?id=0c987bd83b2b23f3f125c74f4a653c2fd2ae8c92 commit 0c987bd83b2b23f3f125c74f4a653c2fd2ae8c92 Author: Jacob Erlbeck Date: Fri Sep 6 16:52:00 2013 +0200 vty: Add vty_install_default() and use for the vty nodes This adds the vty_install_default() function that is basically the install_default() function plus the registration of the commands 'exit' and 'end'. The latter is only provided in subnodes of ENABLED_NODE and CONFIG_NONE. The VTY test program is extended to check these commands. Ticket: OW#952 http://cgit.osmocom.org/osmocom-bb/commit/?id=7eed0538ae79394a10ac9667a798237457ac2373 commit 7eed0538ae79394a10ac9667a798237457ac2373 Author: Jacob Erlbeck Date: Fri Sep 6 16:51:59 2013 +0200 vty: Refactored vty_go_parent(), 'end' and 'exit' Put all 'exit' logic into vty_go_parent() and replace the implementations of 'exit' and 'end' by generic ones that use vty_go_parent(). http://cgit.osmocom.org/osmocom-bb/commit/?id=2442e096585302dee6287495d1b3d03cb712dcda commit 2442e096585302dee6287495d1b3d03cb712dcda Author: Jacob Erlbeck Date: Fri Sep 6 16:51:58 2013 +0200 vty: Rename is_config() to is_config_child() The function is_config() returns 0 for CONFIG_NODE. Since that node is a config node, the function is renamed to resolve this. http://cgit.osmocom.org/osmocom-bb/commit/?id=6145a2569fced13f18c4da200b9ba2070e643079 commit 6145a2569fced13f18c4da200b9ba2070e643079 Author: Holger Hans Peter Freyther Date: Wed Sep 4 12:12:58 2013 +0200 misc: Include time.h for time_t on FreeBSD Fix the build after I changed the order of header files in the SMS test. http://cgit.osmocom.org/osmocom-bb/commit/?id=d71a006cf6c51eb0bc1300ccdd3793572e132edd commit d71a006cf6c51eb0bc1300ccdd3793572e132edd Merge: c4cc9240 4d7e49bc Author: Holger Hans Peter Freyther Date: Wed Sep 4 10:41:21 2013 +0200 Merge branch 'zecke/features/alpha-numeric' http://cgit.osmocom.org/osmocom-bb/commit/?id=4d7e49bc0a094c27352f43cad0a8556a9bd3befa commit 4d7e49bc0a094c27352f43cad0a8556a9bd3befa Author: Holger Hans Peter Freyther Date: Thu May 2 22:37:16 2013 +0200 sms: Implement encoding the address as alphanumeric type The number of digits is the number of used octets times two (two digits per octet). The result has been successfully dissected by wireshark. It has not been tested with real phones. http://cgit.osmocom.org/osmocom-bb/commit/?id=c4cc924074bff7e560380851d92782b255083075 commit c4cc924074bff7e560380851d92782b255083075 Author: Jacob Erlbeck Date: Thu Aug 15 10:38:05 2013 +0200 core: Remove defined() check for OSMO_DEPRECATE This reverts commit bf991bc0f3006eddf45d494ee7e476a75dbaf36e and fixes the bug instead. It's just sufficient to remove the defined() test, since identifiers that aren't macros are just considered as 0 when used with #if. (see cpp info page, section 4.2.2 'If' in cpp-4.6.info) http://cgit.osmocom.org/osmocom-bb/commit/?id=bf991bc0f3006eddf45d494ee7e476a75dbaf36e commit bf991bc0f3006eddf45d494ee7e476a75dbaf36e Author: Holger Hans Peter Freyther Date: Wed Aug 14 20:40:31 2013 +0200 core: Fix-up the OSMO_DEPRECATED for older compilers The code started to use #if defined(...) but the value was always for GCC/Clang. The only difference was that for older compilers the value of the definition was 0. Conditionally define these macros. http://cgit.osmocom.org/osmocom-bb/commit/?id=3f74d9e76795ef20ee401bbe712dd72733bfa77f commit 3f74d9e76795ef20ee401bbe712dd72733bfa77f Author: Jacob Erlbeck Date: Wed Aug 14 18:13:45 2013 +0200 core: Support clang with OSME_DEPRECATED Separate feature checking from implementation. Supported are clang and gcc. http://cgit.osmocom.org/osmocom-bb/commit/?id=3c761c8d8a3c7c2ebad6b088e3a8ddeec9d690e0 commit 3c761c8d8a3c7c2ebad6b088e3a8ddeec9d690e0 Author: Jacob Erlbeck Date: Wed Aug 14 18:13:46 2013 +0200 conv: Fix main() of conv_test to compile with clang. Fix type of argument 'argv'. Addresses: conv/conv_test.c:358:5: error: second parameter of 'main' (argument array) must be of type 'char **' int main(int argc, char argv[]) http://cgit.osmocom.org/osmocom-bb/commit/?id=6b2621883f4c0ce446bae52198c6169c02efda6b commit 6b2621883f4c0ce446bae52198c6169c02efda6b Author: Jacob Erlbeck Date: Wed Aug 14 12:26:27 2013 +0200 core: Move OSMO_DEPRECATED to new core/defs.h file Add a new core/defs.h file for definitions that can be used from within header files without including prototypes and extern declarations. It's primarily meant for macro definitions and basic typedefs. Move the definition of OSMO_DEPRECATED there and use compiler version info to avoid compiler errors. http://cgit.osmocom.org/osmocom-bb/commit/?id=30fbcf5a4134945cb24d50e7fa2151d05241a1f6 commit 30fbcf5a4134945cb24d50e7fa2151d05241a1f6 Author: Jacob Erlbeck Date: Mon Aug 12 17:13:19 2013 +0200 tests: Move expensive tests to the end of the list This lets make check fail earlier (in average) to shorten the debugging cycle time. http://cgit.osmocom.org/osmocom-bb/commit/?id=3f69ceb3a466750c0029fb25688c3daa34adf307 commit 3f69ceb3a466750c0029fb25688c3daa34adf307 Author: Jacob Erlbeck Date: Mon Aug 12 18:31:59 2013 +0200 sms: Disable deprecated message This is a workaround to make the FreeBSD8.4 and Debian6.0 target build again. The deprecated attribute doesn't have arguments. http://cgit.osmocom.org/osmocom-bb/commit/?id=1810925dfb6115f50d6b82eede833468145349c0 commit 1810925dfb6115f50d6b82eede833468145349c0 Author: Jacob Erlbeck Date: Mon Aug 12 17:07:54 2013 +0200 sms: Added comment about the gsm_7bit_alphabet table The table structure is not intuitive, so this comment shall aid to understand this. http://cgit.osmocom.org/osmocom-bb/commit/?id=1d7f3b5eb27154b5d1ef698b40edfb9f74a9d4d2 commit 1d7f3b5eb27154b5d1ef698b40edfb9f74a9d4d2 Author: Jacob Erlbeck Date: Mon Aug 12 17:07:53 2013 +0200 sms: Added result buffer size parameter to 7bit conv funs The 7bit<->8bit encoding/decoding functions didn't check whether there is still enough space in the destination buffer. Therefore a buffer size parameter has been added to each of the functions which is used to truncate the output if the buffer is too small. In addition, the return value of the decoding functions has been changed to number of characters written (excluding \0), so this value is always equal to strlen(decoded). The old functions are still available as wrapper functions. http://cgit.osmocom.org/osmocom-bb/commit/?id=9a935e27b59b5b51713d0030970c8c758e2ba385 commit 9a935e27b59b5b51713d0030970c8c758e2ba385 Author: Holger Hans Peter Freyther Date: Mon Aug 12 11:47:12 2013 +0200 debian: Split libosmocore into various libs and address lintian warnings Package the various libraries separately. This will allow to install libosmogsm3 and libosmogsm4 in parallel. E: libosmocore-dev: non-empty-dependency_libs-in-la-file usr/lib/libosmocore.la E: libosmocore-dev: non-empty-dependency_libs-in-la-file usr/lib/libosmogb.la E: libosmocore-dev: non-empty-dependency_libs-in-la-file usr/lib/libosmogsm.la E: libosmocore-dev: non-empty-dependency_libs-in-la-file usr/lib/libosmovty.la W: libosmocore-dbg: wrong-bug-number-in-closes l54:#nnnn W: libosmocore: wrong-bug-number-in-closes l54:#nnnn W: libosmocore: package-name-doesnt-match-sonames libosmocodec0 libosmocore4 libosmogb2 libosmogsm4 libosmovty0 http://cgit.osmocom.org/osmocom-bb/commit/?id=9b037a6a7a16bf580906e3197a54a366ac26060c commit 9b037a6a7a16bf580906e3197a54a366ac26060c Author: Holger Hans Peter Freyther Date: Thu Jul 11 08:17:02 2013 +0200 lapd: Remove the double NULL check idiom with msgb_free if (ptr) msgb_free(ptr) extends to: if (ptr) talloc_free(ptr) And according to the talloc documentation a talloc_free(NULL) will not crash: "... Likewise, if "ptr" is NULL, then the function will make no modifications and returns -1." http://cgit.osmocom.org/osmocom-bb/commit/?id=73fa6427aa5df95728eab41ec1b24f04a0dcf51e commit 73fa6427aa5df95728eab41ec1b24f04a0dcf51e Author: Holger Hans Peter Freyther Date: Fri Aug 9 17:48:06 2013 +0200 debian: Create a new upstream changelog entry http://cgit.osmocom.org/osmocom-bb/commit/?id=f136013f0d2c2b3156ff3ba26c6257d83e66187b commit f136013f0d2c2b3156ff3ba26c6257d83e66187b Author: Holger Hans Peter Freyther Date: Fri Aug 9 17:40:08 2013 +0200 gsm: The LAPDm prim/structs changed, increment current version http://cgit.osmocom.org/osmocom-bb/commit/?id=8a1666b1bf630f62f635028edcf49b0f069b9e7a commit 8a1666b1bf630f62f635028edcf49b0f069b9e7a Author: Jacob Erlbeck Date: Thu Aug 8 12:38:54 2013 +0200 ussd: Changed 7bit test to check spec conformance directly Renamed gsm_7bit_ussd() to test_7bit_ussd() and extended the function to take the expected binary encoding and eventually added trailing bytes in the re-decoded text as arguments. These are used to check assertions of the right behaviour instead of solely relying on regression data, because the value are determined by the spec and fixed and it is more obvious this way. Especially concerning the case with the duplicated \r which can easily be overlooked when it's only present in the ok file. http://cgit.osmocom.org/osmocom-bb/commit/?id=9597555a362cd28c02e9bbfe4f55c4b90ecdfa34 commit 9597555a362cd28c02e9bbfe4f55c4b90ecdfa34 Author: Andreas Eversberg Date: Thu Aug 8 12:38:53 2013 +0200 Add special 7-bit encoding and decoding functions for USSD coding Handling 7-bit coding is a little different for USSD, as TS 03.38 states: To avoid the situation where the receiving entity confuses 7 binary zero pad bits as the @ character, the carriage return or character shall be used for padding in this situation [...]. If is intended to be the last character and the message (including the wanted ) ends on an octet boundary, then another must be added together with a padding bit 0. The receiving entity will perform the carriage return function twice, but this will not result in misoperation as the definition of [...] is identical to the definition of . The receiving entity shall remove the final character where the message ends on an octet boundary with as the last character. Jacob has verified the fix with fakeBTS and the wireshark dissector. Fixes: OW#947 Reviewed-by: Jacob Erlbeck http://cgit.osmocom.org/osmocom-bb/commit/?id=6bfa7445fca074fdf94707681d93e92ec0993bbd commit 6bfa7445fca074fdf94707681d93e92ec0993bbd Author: Holger Hans Peter Freyther Date: Thu Aug 8 12:38:52 2013 +0200 encoding: Provide an overload for the gsm_7bit_encode and a simple test This is required for encoding the SMS header using the alpha numeric rules. Reviewed-by: Jacob Erlbeck http://cgit.osmocom.org/osmocom-bb/commit/?id=94b2f64ae735b85e7b7c42a76b5456dd09e00b2b commit 94b2f64ae735b85e7b7c42a76b5456dd09e00b2b Author: Holger Hans Peter Freyther Date: Wed Aug 7 11:09:43 2013 +0200 gsm: Try to clarify why we have gsm_septet_encode in the header file These functions are not meant to be used by applications and are only here for the unit tests. Try to document that. http://cgit.osmocom.org/osmocom-bb/commit/?id=cd195fa267b1869156e6d675032fdafe3035bf5e commit cd195fa267b1869156e6d675032fdafe3035bf5e Author: Jacob Erlbeck Date: Tue Aug 6 14:29:15 2013 +0200 vty: Support multi-char separators and end strings In vty_cmd_string_from_valstr() include the real string lengths of the sep and end arguments into the buffer size calculation. http://cgit.osmocom.org/osmocom-bb/commit/?id=ae15a2cac1a01e98e34b4ccd8932ae8f1b99186c commit ae15a2cac1a01e98e34b4ccd8932ae8f1b99186c Author: Jacob Erlbeck Date: Tue Aug 6 14:29:14 2013 +0200 vty: Fix misusage of snprintf in vty/utils.c Compiled with ubuntu 1204 (precise), where -Wformat-security is enabled by -Wall. Test yields ok, but the current implementation doesn't properly support multi-character separators and end strings. So the test output is truncated. Addresses: utils.c: In function 'vty_cmd_string_from_valstr': utils.c:84:2: warning: format not a string literal and no format arguments [-Wformat-security] utils.c:84:2: warning: format not a string literal and no format arguments [-Wformat-security] utils.c:108:2: warning: format not a string literal and no format arguments [-Wformat-security] utils.c:108:2: warning: format not a string literal and no format arguments [-Wformat-security] http://cgit.osmocom.org/osmocom-bb/commit/?id=a652abc5bf75435ba7f1c96ed914cf5805fc326f commit a652abc5bf75435ba7f1c96ed914cf5805fc326f Author: Holger Hans Peter Freyther Date: Sun Jul 14 09:11:47 2013 +0200 utils: Fix compiler warnings n the osmo-auc-gen utility osmo-auc-gen.c:217:3: warning: implicit declaration of function ???time??? [-Wimplicit-function-declaration] osmo-auc-gen.c:249:3: warning: format ???%lu??? expects argument of type ???long unsigned int???, but argument 2 has type ???uint64_t??? [-Wformat] Fixes: Coverity CID 1040668 http://cgit.osmocom.org/osmocom-bb/commit/?id=6a75d16c6d8f9718c925d208538088404c6942aa commit 6a75d16c6d8f9718c925d208538088404c6942aa Author: Holger Hans Peter Freyther Date: Sun Jul 14 09:07:11 2013 +0200 vty: Fix logically dead code in the description handling The code most likely wanted to check the result of argv_concat. To do this we need to dereference the dptr. Logically dead code (DEADCODE) dead_error_line: Execution cannot reach this statement "return 1; Fixes: Coverity CID 1040675 http://cgit.osmocom.org/osmocom-bb/commit/?id=2909942a9fe54a8c1f98588dcfece6f4fe35d100 commit 2909942a9fe54a8c1f98588dcfece6f4fe35d100 Author: Dmitri Soloviev Date: Thu Jul 11 09:25:37 2013 +0200 gsm0808.c: Add TLV definition for LAYER3_HEADER_INFORMATION This is required for osmo-bsc to parse Alcatel S-12 CIPHER MODE COMMAND in osmo-bsc. http://cgit.osmocom.org/osmocom-bb/commit/?id=cad54b8fb7b0eaec12ee13a5b5cc9ef920152fd2 commit cad54b8fb7b0eaec12ee13a5b5cc9ef920152fd2 Author: Andreas Eversberg Date: Tue Jul 9 20:25:24 2013 +0200 LAPD: Free resume/re-establishment msgb if it carries no content lapdm.c takes the re-establishment message and forwards it to lapd_core.c, so we can assume that msgb is set at primitive. In case there is data in the re-establishment msg, it is moved into send_buffer. In case of no data (0 length), it must be freed. Fixes an issue spotted by Coverity Scan. http://cgit.osmocom.org/osmocom-bb/commit/?id=47aa482bb0094edfc21bbb45dc0f0e8c9c42c521 commit 47aa482bb0094edfc21bbb45dc0f0e8c9c42c521 Author: Holger Hans Peter Freyther Date: Sun Jul 7 13:54:53 2013 +0200 gsm: Revert the gsm_7bit_encode changes as they are wrong This reverts commit f996b05dbddccb8e8788dd69777a4fedfa2373eb and 2b0cac4ef83137ee0bdd583aee877eac467abeab. A detailed explanation can be found here: http://lists.osmocom.org/pipermail/openbsc/2013-July/004737.html The short description is that: 1.) The API should return (as out parameter) the number of octets used. 2.) The handling for the encoding only applies to USSD and it is incomplete. On top of that it broke the SMS test. http://cgit.osmocom.org/osmocom-bb/commit/?id=98de27a18740ea147ffee634ed3d2006329b254f commit 98de27a18740ea147ffee634ed3d2006329b254f Author: Harald Welte Date: Sat Jul 6 23:54:09 2013 +0200 make lapd_test compile again. For whatever reason two functions were present twice in the code, probably some git merge/rebase artefact? http://cgit.osmocom.org/osmocom-bb/commit/?id=b8add369e38b18f2bb25e7582a6c7e703c0b6407 commit b8add369e38b18f2bb25e7582a6c7e703c0b6407 Author: Harald Welte Date: Sat Jul 6 23:49:41 2013 +0200 utils.h: we need to include utils.h for osmo_generate_backtrace() this causes compiler warnings in user code ever since commit 55cf02221f0654a3f48888f3b13766b671a120f0 http://cgit.osmocom.org/osmocom-bb/commit/?id=1342bed6f961ad6dafb5db7cfb0459278506b08a commit 1342bed6f961ad6dafb5db7cfb0459278506b08a Merge: 8d50600d 2b0cac4e Author: Harald Welte Date: Sat Jul 6 23:36:57 2013 +0200 Merge branch 'jolly/trx' http://cgit.osmocom.org/osmocom-bb/commit/?id=2b0cac4ef83137ee0bdd583aee877eac467abeab commit 2b0cac4ef83137ee0bdd583aee877eac467abeab Author: Andreas Eversberg Date: Thu Jul 4 09:51:33 2013 +0200 Fix: Handle returned length by gsm_7bit_encode correctly http://cgit.osmocom.org/osmocom-bb/commit/?id=f996b05dbddccb8e8788dd69777a4fedfa2373eb commit f996b05dbddccb8e8788dd69777a4fedfa2373eb Author: Andreas Eversberg Date: Thu Jul 4 09:44:47 2013 +0200 Fix encoding of last character at 7bit encoding function To avoid the situation where the receiving entity confuses 7 binary zero pad bits as the @ character, the carriage return or character shall be used for padding in this situation. http://cgit.osmocom.org/osmocom-bb/commit/?id=c62a1bf4d53edec94b0db05da717d24438824357 commit c62a1bf4d53edec94b0db05da717d24438824357 Author: Holger Hans Peter Freyther Date: Tue Jul 2 09:10:11 2013 +0200 libosmogb: Add function to close NS instance without destroying it http://cgit.osmocom.org/osmocom-bb/commit/?id=c8cac64abbf91b1a515010b43347ab408caf2549 commit c8cac64abbf91b1a515010b43347ab408caf2549 Author: Andreas Eversberg Date: Wed Jun 19 20:58:59 2013 +0200 Fix RR cause values http://cgit.osmocom.org/osmocom-bb/commit/?id=5977db0faf88dc75b56d0ddf37aefb5019a114dd commit 5977db0faf88dc75b56d0ddf37aefb5019a114dd Author: Andreas Eversberg Date: Wed Jun 12 09:34:51 2013 +0200 LAPDm: Allow sending unit data on DCCH It is used to transfer PHYSICAL INFORMATION message to the MS. http://cgit.osmocom.org/osmocom-bb/commit/?id=ccc463355d752034db9d380d590d3acc220cf79e commit ccc463355d752034db9d380d590d3acc220cf79e Author: Andreas Eversberg Date: Wed Jun 12 09:25:27 2013 +0200 LAPDm: Fix re-establishment of datalink If the datalink fails or if handover or assignment to a new channel fails, it is re-establised by sending SABM again. The length of establish message is 0 in this case. The length is used to differentiate between re-establishment and contention resolution, which has to be handled differently. See TS 04.06 Chapter 5.4.2.1 http://cgit.osmocom.org/osmocom-bb/commit/?id=610517c8bd5f9e87729acdb4529c0870b0b5dced commit 610517c8bd5f9e87729acdb4529c0870b0b5dced Author: Andreas Eversberg Date: Wed Jun 12 09:21:18 2013 +0200 Add chan_nr to RACH info at L1SAP interface The chan_nr is required to locate timeslot and subslot of access bursts during handover procedure. http://cgit.osmocom.org/osmocom-bb/commit/?id=15b8057085a52daddc01b82c244b051a28309dfd commit 15b8057085a52daddc01b82c244b051a28309dfd Author: Andreas Eversberg Date: Sat Mar 16 16:34:55 2013 +0100 Add RSSI to l1sap http://cgit.osmocom.org/osmocom-bb/commit/?id=227a9de51e2797757f09bab86ee418ff039742fb commit 227a9de51e2797757f09bab86ee418ff039742fb Author: Andreas Eversberg Date: Thu Feb 7 12:21:33 2013 +0100 Add MPH and TCH primitives to layer 1 SAP In order to control layer 1 via primitives, MPH primitives are required. There is only one (MPH-INFO) primitive defined in TS 04.04 for all control and measurement functions. A type identifier inside this primitive is used to differentiate between different functions. The TCH primitives are used to carry traffic. TCH primitives carry voice or data traffic, whereas PH-DATA primitives carry FACCH data. PH_RTS and TCH_RTS (ready-to-send) primitives are used to poll requests from upper layers. http://cgit.osmocom.org/osmocom-bb/commit/?id=aa85a2d4b4988f5fe8271a076866c0669bb793f2 commit aa85a2d4b4988f5fe8271a076866c0669bb793f2 Author: Andreas Eversberg Date: Thu Feb 7 12:18:37 2013 +0100 Remove osmo_phsap_prim from lapdm.h and move to a seperate header file http://cgit.osmocom.org/osmocom-bb/commit/?id=a3de4dfb5c24007c4b0c462df93e2015b245a6b7 commit a3de4dfb5c24007c4b0c462df93e2015b245a6b7 Author: Andreas Eversberg Date: Wed Feb 6 14:13:21 2013 +0100 Add LAPDm collision test (contention resolution on network side) http://cgit.osmocom.org/osmocom-bb/commit/?id=8d50600d7d927a5c9f08c2a9573b6a45866dc602 commit 8d50600d7d927a5c9f08c2a9573b6a45866dc602 Author: Holger Hans Peter Freyther Date: Thu Jul 4 20:14:10 2013 +0200 get_value_string: Null terminate after the call to snprintf It is impossible that the snprintf will fill the entire namebuf but just follow the idiom to make sure it is null terminated. Related: Coverity CID 1040676 http://cgit.osmocom.org/osmocom-bb/commit/?id=047213b01e786c9765460fccd5f394e93fc777f1 commit 047213b01e786c9765460fccd5f394e93fc777f1 Author: Holger Hans Peter Freyther Date: Wed Jul 3 09:32:37 2013 +0200 vty: Attempt to fix various meam leaks in the VTY lookup code These routines were not freeing vectors used for the lookup. On review it is fixing another path not detected by coverity. The danger is a double free in tab completion now. It is difficult to test this. Fixes: Coverity CID 23037, CID 23038 http://cgit.osmocom.org/osmocom-bb/commit/?id=cd252e356556e28cfc72d66f82fa87d12f3e5a2a commit cd252e356556e28cfc72d66f82fa87d12f3e5a2a Author: Holger Hans Peter Freyther Date: Wed Jul 3 09:56:53 2013 +0200 gsm0408: Avoid unaligned memory access in gsm48_generate_mid_from_tmsi The &buf[3] is unlikely to be aligned properly. Use memcpy instead of an assignment. Add a small testcase that verifies that I didn't mess up the conversion. Alignment trap: osmo-nitb (3293) PC=0x492b7094 Instr=0xe5803003 Address=0xbeb259db FSR 0x801 http://cgit.osmocom.org/osmocom-bb/commit/?id=476cf3337d79e5ed279aab33abb866ad48a39664 commit 476cf3337d79e5ed279aab33abb866ad48a39664 Author: Holger Hans Peter Freyther Date: Wed Jul 3 09:30:02 2013 +0200 strrb: Remove a tautology from the code This already came up during review but now that Coverity complains about it as well, let us just remove it. The variable is unsigned so it can never be < 0. Fixes: Coverity CID 1040669. http://cgit.osmocom.org/osmocom-bb/commit/?id=b3b955bef2b7f95afa033c97e4c3df4b7e4b5568 commit b3b955bef2b7f95afa033c97e4c3df4b7e4b5568 Author: Holger Hans Peter Freyther Date: Mon Jul 1 09:30:52 2013 +0200 misc: Fix compiler warnings about the static_assert macro with gcc 4.8 The modified macro is still working on a gcc 4.7 and gcc 4.8 after the removal of the typedef and addition of the unused attribute. include/osmocom/core/msgb.h: In function ???msgb_alloc_headroom???: include/osmocom/core/utils.h:40:51: warning: typedef ???dummyheadroom_bigger??? locally defined but not used [-Wunused-local-typedefs] #define osmo_static_assert(exp, name) typedef int dummy##name [(exp) ? 1 : -1]; ^ include/osmocom/core/msgb.h:386:2: note: in expansion of macro ???osmo_static_assert??? osmo_static_assert(size > headroom, headroom_bigger); ^ http://cgit.osmocom.org/osmocom-bb/commit/?id=d24467579dba8a49dceb82d033316b62401ebfbc commit d24467579dba8a49dceb82d033316b62401ebfbc Author: Holger Hans Peter Freyther Date: Wed Jun 26 08:03:14 2013 +0200 debian: Prepare the 0.6.2 release with a new changelog http://cgit.osmocom.org/osmocom-bb/commit/?id=27b2bb7e924161ac087240cfbdf96acf035cba2a commit 27b2bb7e924161ac087240cfbdf96acf035cba2a Author: Harald Welte Date: Sat Jun 22 09:44:00 2013 +0200 BSSGP: prevent divide-by-zero in flow control If the BTS tells us to not send any data at all anymore (bucket leak rate of 0 bits per second), then we should respect this and not run into a divide-by-zero. However, as this indicates complete overload, we print a log message to that regard. http://cgit.osmocom.org/osmocom-bb/commit/?id=a62fe31d69a5205cea9d7f4c744c50aa07b0a332 commit a62fe31d69a5205cea9d7f4c744c50aa07b0a332 Author: Harald Welte Date: Wed Jun 19 15:14:37 2013 +0200 introduce gsm0808_create_reset_ack() http://cgit.osmocom.org/osmocom-bb/commit/?id=14df1c07ec6f1525902fa31037fdfd60c24b3bb9 commit 14df1c07ec6f1525902fa31037fdfd60c24b3bb9 Author: Holger Hans Peter Freyther Date: Wed Jun 26 07:56:45 2013 +0200 fr: Fix the linking of the test and use $(LIBRARY_DL) for linking On Ubuntu 13.04 the build was failing on the OBS with: /usr/bin/ld: fr_test.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5' /usr/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in DSO /lib/x86_64-linux-gnu/libdl.so.2 so try adding it to the linker command line /lib/x86_64-linux-gnu/libdl.so.2: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status http://cgit.osmocom.org/osmocom-bb/commit/?id=3cc268c8dafda560c026c8144ae47b36e71fe5b5 commit 3cc268c8dafda560c026c8144ae47b36e71fe5b5 Author: Holger Hans Peter Freyther Date: Wed Jun 19 08:30:59 2013 +0200 lapd: Upate the assert to OSMO_ASSERT and describe what we would like to have Update the OSMO_ASSERT to what it should be like but can't due a known issue in the LAPDm code. http://cgit.osmocom.org/osmocom-bb/commit/?id=dd34ed5b904a715a6ed742b635ed44c2b9b0b564 commit dd34ed5b904a715a6ed742b635ed44c2b9b0b564 Author: Holger Hans Peter Freyther Date: Wed Jun 19 08:16:56 2013 +0200 lapd: The two known LAPDm issues have been addressed, update the test The issue about the wrong padding has been found when creating the testcase in commit 15f740caa3a1ef681b3a5564daf6dfccb7b1e489 but the patch to fix that was never proposed by inclusion by its author. The issue about about the establish confirm carrying data with a wrong size is still present. http://cgit.osmocom.org/osmocom-bb/commit/?id=087116aca771ae3cd2dcbcbd8cb63a91dfc75f20 commit 087116aca771ae3cd2dcbcbd8cb63a91dfc75f20 Author: Harald Welte Date: Tue Jun 18 21:41:34 2013 +0200 lapd_core: msgb_trim() the L2 padding from ESTABLISH.ind When a SABM(E) frame arrives, we have to trim the L2 padding (0x2b for gsm) before handing the data off to L3, just like we do with I frames. Also, we should use mggb_trim() or even msgb_l3trim() instead of manually fiddling with msgb->length and ->tail pointers. http://cgit.osmocom.org/osmocom-bb/commit/?id=1e4400d26a7e3a947a1d6235e7d0615506311860 commit 1e4400d26a7e3a947a1d6235e7d0615506311860 Author: Alexander Huemer Date: Tue Jun 11 14:19:48 2013 +0200 Makefile.am: Use AM_CPPFLAGS Since automake 1.13 INCLUDES is depricates and causes a warning http://cgit.osmocom.org/osmocom-bb/commit/?id=9ac453759cb9480244aa00ae4a1665c352a547f2 commit 9ac453759cb9480244aa00ae4a1665c352a547f2 Author: Holger Hans Peter Freyther Date: Tue Jun 11 17:54:56 2013 +0200 misc: Fix the spelling of frame in the RLM cause strings http://cgit.osmocom.org/osmocom-bb/commit/?id=e6b45d81648feb89bbada6d141400d61037a7e31 commit e6b45d81648feb89bbada6d141400d61037a7e31 Author: Bhaskar Date: Thu May 16 17:11:51 2013 +0530 gsm_04_08.h: GSM48_MT_RR_VGCS_UPL_GRANT value corrected http://cgit.osmocom.org/osmocom-bb/commit/?id=31e844bfe2756e36dd50f8bed9fa8b087ee6a1d9 commit 31e844bfe2756e36dd50f8bed9fa8b087ee6a1d9 Author: Bhaskar Date: Thu May 16 17:06:35 2013 +0530 gsm_04_08.h: Fix GSM48_CMODE_DATA_3k6 as per 3GPP TS 04.08 / 10.5.2.6. http://cgit.osmocom.org/osmocom-bb/commit/?id=6b30f925e2d92d4b3cff8595ad7e02e9b5704461 commit 6b30f925e2d92d4b3cff8595ad7e02e9b5704461 Author: Bhaskar Date: Thu May 16 17:35:49 2013 +0530 gsm_utils: refer to ETSI TS 05.08 instead of TS 08.05 http://cgit.osmocom.org/osmocom-bb/commit/?id=f5a079f739c57d8be7c59149fd45475c402a45fc commit f5a079f739c57d8be7c59149fd45475c402a45fc Author: Holger Hans Peter Freyther Date: Wed May 8 18:42:39 2013 +0200 lapd: Set the tx_hist to NULL after freeing it Make detecting use after free of the tx_hist easy and set the variable to NULL after talloc_free has been freed. http://cgit.osmocom.org/osmocom-bb/commit/?id=d0ce550251f8d1809f768428c11da0f80f940f10 commit d0ce550251f8d1809f768428c11da0f80f940f10 Author: Holger Hans Peter Freyther Date: Sun Apr 21 21:04:19 2013 +0200 osmo-arfcn: Return something from the method This is a fatal error when building RPMs for OpenSUSE. http://cgit.osmocom.org/osmocom-bb/commit/?id=e1f164dd2f1e67f34cf92e43c3e8888eb5646016 commit e1f164dd2f1e67f34cf92e43c3e8888eb5646016 Merge: b64b2b03 b36ad2de Author: Holger Hans Peter Freyther Date: Sun Apr 7 20:17:30 2013 +0200 Merge branch 'zecke/jolly-lapdm-fixes' * Squashed fix and testcase into one. http://cgit.osmocom.org/osmocom-bb/commit/?id=b36ad2debed2906674b0dc92062437d38994901e commit b36ad2debed2906674b0dc92062437d38994901e Author: Andreas Eversberg Date: Tue Feb 5 12:01:32 2013 +0100 Fix of potential memory leaks at lapdm.c http://cgit.osmocom.org/osmocom-bb/commit/?id=6e182087f4ef6cc73f245e0fbc5db11916651ba0 commit 6e182087f4ef6cc73f245e0fbc5db11916651ba0 Author: Andreas Eversberg Date: Wed Feb 6 14:13:21 2013 +0100 Fix: LAPDm contention resoltion must acknowledge subsequent SABM After reception of SABM, the network responds with UA and enters the establised multiframe state. If UA is not received by mobile, the SABM is transmitted again, and the network must respond with UA again, unless it is from a different mobile. Add LAPDm collision test (contention resolution on network side). http://cgit.osmocom.org/osmocom-bb/commit/?id=b64b2b031344b354b7a59f1eb4c1f97d457613f3 commit b64b2b031344b354b7a59f1eb4c1f97d457613f3 Author: Holger Hans Peter Freyther Date: Mon Mar 25 17:41:15 2013 +0100 debian: Start a new release cycle with libosmocore 0.6.0 http://cgit.osmocom.org/osmocom-bb/commit/?id=2c3393d9e3fc1999641d8dab3b59418393c4b616 commit 2c3393d9e3fc1999641d8dab3b59418393c4b616 Author: Holger Hans Peter Freyther Date: Mon Mar 25 11:59:58 2013 +0100 gprs_ns: Allow to set the DSCP for the UDP socket. Allow to tag the NS service with a custom DSCP. http://cgit.osmocom.org/osmocom-bb/commit/?id=1c83e36cc930f5efc17fd66ccb9a6c541e44c5de commit 1c83e36cc930f5efc17fd66ccb9a6c541e44c5de Author: Holger Hans Peter Freyther Date: Tue Mar 12 10:35:26 2013 +0100 tests: Verify that all tests exit with status=0. http://cgit.osmocom.org/osmocom-bb/commit/?id=55cf02221f0654a3f48888f3b13766b671a120f0 commit 55cf02221f0654a3f48888f3b13766b671a120f0 Author: Katerina Barone-Adesi Date: Tue Mar 12 10:23:52 2013 +0100 utils: Use fprintf to print the assertion and generate a backtrace This is changing the semantic of the assert. The regression tests now either need to check the stderr result, the exit status or print a message when all tests are completed. This is not that bad as the osmo_generate_backtrace is printing to the stdout right now. http://cgit.osmocom.org/osmocom-bb/commit/?id=1a02cfc24d2c812ba13e5aa936588be447bb24af commit 1a02cfc24d2c812ba13e5aa936588be447bb24af Author: Harald Welte Date: Tue Mar 19 10:37:39 2013 +0100 logging_vty: Fix segfault un unused entries in log_info_cat array of app http://cgit.osmocom.org/osmocom-bb/commit/?id=54c5ed1518b5856e282fd3f7bba02c27ea9d879d commit 54c5ed1518b5856e282fd3f7bba02c27ea9d879d Author: Harald Welte Date: Tue Mar 19 09:55:42 2013 +0100 Revert "Follow up fix for the log level "everything"" This reverts commit a6428d2376034d619f342897d3ce415b3f9a3584. http://cgit.osmocom.org/osmocom-bb/commit/?id=9b1867093f7ddc4f1bc4cdd56813a8195bd574e4 commit 9b1867093f7ddc4f1bc4cdd56813a8195bd574e4 Author: Harald Welte Date: Tue Mar 19 09:55:28 2013 +0100 Revert "Fix log level "everything" and make it equal to "debug"" This reverts commit cd6ed82d1ff48f47ad9e33e6322df62896a76ed5. http://cgit.osmocom.org/osmocom-bb/commit/?id=8e878738d16ad4f8776dc0130ebff78dea422ee7 commit 8e878738d16ad4f8776dc0130ebff78dea422ee7 Author: Harald Welte Date: Mon Mar 18 19:06:13 2013 +0100 application: don't ignore SIGHUP but do config file reopen. http://cgit.osmocom.org/osmocom-bb/commit/?id=4de854dcf00124b82c12421c3ea1f06a9edeff76 commit 4de854dcf00124b82c12421c3ea1f06a9edeff76 Author: Harald Welte Date: Mon Mar 18 19:01:40 2013 +0100 logging: add new log_targets_reopen() function This function will re-open all existing log files in the application, praticularly useful for SIGHUP handlers in case of logrotate http://cgit.osmocom.org/osmocom-bb/commit/?id=e128f4663104ed64e33e362cff2566f36d65e658 commit e128f4663104ed64e33e362cff2566f36d65e658 Author: Harald Welte Date: Thu Mar 7 18:36:32 2013 +0000 add new gsm/meas_rep.h file for shared/common measurement report stuff http://cgit.osmocom.org/osmocom-bb/commit/?id=533f63f15aa584eec73044802e0a8bc798a313fe commit 533f63f15aa584eec73044802e0a8bc798a313fe Author: Harald Welte Date: Wed Mar 13 15:15:50 2013 +0100 Add smpp34_osmocom.h for Osmocom SMPP vendor additions http://cgit.osmocom.org/osmocom-bb/commit/?id=ca69388be813c614ff706b6b6d91b25a14a5a973 commit ca69388be813c614ff706b6b6d91b25a14a5a973 Author: Harald Welte Date: Wed Mar 13 15:10:55 2013 +0100 gsm_septets2octets(): Input parameter should be const http://cgit.osmocom.org/osmocom-bb/commit/?id=6d2d4d688ef7e32550f4dbe7813c9055c4395aaf commit 6d2d4d688ef7e32550f4dbe7813c9055c4395aaf Author: Harald Welte Date: Sun Mar 10 09:53:24 2013 +0000 logging_vty: Print 'log filter all' info in 'show logging vty' When we print information about the current logging configuration, it makes sense to also print information about the log filters. http://cgit.osmocom.org/osmocom-bb/commit/?id=008e53baaeba1aaf126b11b5c211a1110e9dc087 commit 008e53baaeba1aaf126b11b5c211a1110e9dc087 Author: Katerina Barone-Adesi Date: Sun Mar 3 10:36:52 2013 +0000 utils: Introduce OSMO_ASSERT in the utils and use it in the unit tests The tests should unconditionally assert, regardless of debug settings. This uses the OSMO_ prefix as it's in the global namespace. http://cgit.osmocom.org/osmocom-bb/commit/?id=45cdaa095a0e2fe9558de682e1c12229dfab9adc commit 45cdaa095a0e2fe9558de682e1c12229dfab9adc Author: Holger Hans Peter Freyther Date: Sun Mar 3 10:07:16 2013 +0100 cygwin: Link many libraries with -no-undefined to create a dll Only the Gb library relies on having undefined references to a symbol that needs to be provided by the host application. For all other libraries we can link with -no-undefined. http://cgit.osmocom.org/osmocom-bb/commit/?id=ed8170ac676a0a59df39f9c73ec84996fc222145 commit ed8170ac676a0a59df39f9c73ec84996fc222145 Author: Sylvain Munaut Date: Fri Mar 1 16:35:46 2013 +0100 codec: Fix the GSM 06.20 ordering tables Seems the script I used to parse those had a bug where range of bits in the 'decreasing' direction ( like 6..0 ) were not processed properly. Thanks to Andreas for noticing this ! Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=a6428d2376034d619f342897d3ce415b3f9a3584 commit a6428d2376034d619f342897d3ce415b3f9a3584 Author: Holger Hans Peter Freyther Date: Wed Feb 27 15:32:51 2013 +0100 Follow up fix for the log level "everything" Commit cd6ed82d1ff48f47ad9e33e6322df62896a76ed5 made "EVERYTHING" map to LOGL_DEBUG but when writing out the configuration the following would be written: logging level all unknown 0x0 This happend because no string was found for the value 0. Address it by adding a legacy check for 0 and write out the str from the index 0. Currently this is "EVERYTHING". http://cgit.osmocom.org/osmocom-bb/commit/?id=3309a43ef56366926589fdb3f7e4ee8af41fe1c5 commit 3309a43ef56366926589fdb3f7e4ee8af41fe1c5 Author: Katerina Barone-Adesi Date: Thu Feb 21 05:16:29 2013 +0000 Added a ring buffer log target to store the last N log messages. The log target can be used via log alarms and show alarms. Why? This feature was proposed/requested at http://openbsc.osmocom.org/trac/wiki/Tasks/ErrorLogTarget All messages use the same amount of space, prioritizing simplicity. http://cgit.osmocom.org/osmocom-bb/commit/?id=efd2bd691fd948df00c1eebcd8599b871f5c34f5 commit efd2bd691fd948df00c1eebcd8599b871f5c34f5 Author: Holger Hans Peter Freyther Date: Wed Feb 27 14:51:23 2013 +0100 Revert "Added a ring buffer log target to store the last N log messages." I noticed some more issues and it is the easiest to revert and include the fixed version. This reverts commit 73377229bb33ab79682ce4b126a63602d13304ad. http://cgit.osmocom.org/osmocom-bb/commit/?id=73377229bb33ab79682ce4b126a63602d13304ad commit 73377229bb33ab79682ce4b126a63602d13304ad Author: Katerina Barone-Adesi Date: Thu Feb 21 05:16:29 2013 +0000 Added a ring buffer log target to store the last N log messages. The log target can be used via log alarms and show alarms. Why? This feature was proposed/requested at http://openbsc.osmocom.org/trac/wiki/Tasks/ErrorLogTarget All messages use the same amount of space, prioritizing simplicity. http://cgit.osmocom.org/osmocom-bb/commit/?id=24e5e05b6f5ee841e4533facb434617a33423e22 commit 24e5e05b6f5ee841e4533facb434617a33423e22 Author: Tobias Engel Date: Wed Feb 20 22:00:06 2013 +0100 Add UMTS RRC message types http://cgit.osmocom.org/osmocom-bb/commit/?id=cd6ed82d1ff48f47ad9e33e6322df62896a76ed5 commit cd6ed82d1ff48f47ad9e33e6322df62896a76ed5 Author: Harald Welte Date: Tue Feb 19 11:57:14 2013 +0100 Fix log level "everything" and make it equal to "debug" As Holger points out "logging level XXX everything" wasn't working, as it sets category->loglevel to 0, which is checked in osmo_vlogp() and will never get logged. http://cgit.osmocom.org/osmocom-bb/commit/?id=c28c6a02d224ed74878fe4899870d693de15f54d commit c28c6a02d224ed74878fe4899870d693de15f54d Author: Katerina Barone-Adesi Date: Fri Feb 15 13:27:59 2013 +0100 misc: Doxygen tweaks: fixed some typos and minor errors Doxygen generates quite a lot of warnings on libosmocore. Some of them are obvious typos - this patch aims to fix such low-hanging fruit. http://cgit.osmocom.org/osmocom-bb/commit/?id=a5007dbdc59e46c09a2ac6c52fc53a7712812cd9 commit a5007dbdc59e46c09a2ac6c52fc53a7712812cd9 Author: Holger Hans Peter Freyther Date: Wed Feb 13 19:27:42 2013 +0100 debian: Re-enable the debug packages Remove the .dirs/.install as things will go wrong then. debhelper will try to install the debug symbols before they were created. Thanks to Jan for pointing that out. http://cgit.osmocom.org/osmocom-bb/commit/?id=b3f304bc26b8333adb957d37be4c3b3e2998581b commit b3f304bc26b8333adb957d37be4c3b3e2998581b Author: Holger Hans Peter Freyther Date: Wed Feb 13 18:11:43 2013 +0100 debian: Update the change log for a new package http://cgit.osmocom.org/osmocom-bb/commit/?id=d17aa59c3e7646667f70601eb7fc4ff11ada7604 commit d17aa59c3e7646667f70601eb7fc4ff11ada7604 Author: Harald Welte Date: Tue Feb 12 11:11:34 2013 +0100 VTY: don't show HIDDEN or DEPRECATED vty commands in ? completion This hides HIDDEN or DEPRECATED commands from showing up when the full list of commands is inquired with '?' at any given point in the command tree. Only if the hidden/deprecated command is already typed in partially, then it will still tab-complete. http://cgit.osmocom.org/osmocom-bb/commit/?id=80d30fe8036b4e79e16e766846a173e822d95512 commit 80d30fe8036b4e79e16e766846a173e822d95512 Author: Harald Welte Date: Tue Feb 12 11:08:57 2013 +0100 vty/command.c: Cosmetic cleanup this is just changing some of the code to reduce the way too high level of indentation and thus improve readability. http://cgit.osmocom.org/osmocom-bb/commit/?id=647e39f172b6beaa07e60c2ed6ceb49017bf9d18 commit 647e39f172b6beaa07e60c2ed6ceb49017bf9d18 Author: Harald Welte Date: Sun Feb 10 17:02:18 2013 +0100 abis_nm: add parenthesis for new abis_nm_debugp_foh() macro without this, we break e.g. the openbsc build... http://cgit.osmocom.org/osmocom-bb/commit/?id=868a5c4782eeca54bff38f4c74704a12e3a7f8d4 commit 868a5c4782eeca54bff38f4c74704a12e3a7f8d4 Author: Harald Welte Date: Sun Feb 10 09:29:27 2013 +0100 turn abis_nm_debugp_foh() into a macro this will avoid printing 'abis_nm.c' as the filename in the log, which is pretty useless during debugging. We want to know where abis_nm_debugp_foh() is being used from, not where it is implemented. http://cgit.osmocom.org/osmocom-bb/commit/?id=25bcb6cecef0af52599c6d220e226f937ab78b12 commit 25bcb6cecef0af52599c6d220e226f937ab78b12 Author: Sylvain Munaut Date: Fri Feb 8 13:50:13 2013 +0100 doc: Fix typo in Doxyfile.core.in causing sources to be ignored Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=9adfda2ca30f19858ca272e0ee99b3ff3ff62a93 commit 9adfda2ca30f19858ca272e0ee99b3ff3ff62a93 Author: Sylvain Munaut Date: Fri Feb 1 20:37:03 2013 +0100 core/crc: Fix the 64 bits implementation We used 1ULL at one place and not the other ... at the same time, we now use (uintXX_t) so that the proper type is used each time. Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=49f4e5be9fba5c27cce228c198e13ab55b740782 commit 49f4e5be9fba5c27cce228c198e13ab55b740782 Author: Holger Hans Peter Freyther Date: Tue Jan 15 21:18:02 2013 +0100 fr_test: Speculative build fix for FreeBSD http://cgit.osmocom.org/osmocom-bb/commit/?id=97602d973457a5248ada6ca9e5c29c1a5811240d commit 97602d973457a5248ada6ca9e5c29c1a5811240d Author: Holger Hans Peter Freyther Date: Sun Nov 11 14:21:26 2012 +0100 fr: Begin with a GRE/FrameRelay test due the recent regression The framerelay code is seldomly used and the socket clean ups introduced a regression. Create a testcase that will work as a user not having the right capabilities to create raw sockets. We have to make sure that this test is working even when not ran as root. The easiest way to do this is to provide our own socket implementation. This is done with dlopen/dlsym to convert the raw socket request to an UDP one. http://cgit.osmocom.org/osmocom-bb/commit/?id=e04a14d9a23ed42178c405cb0c0afb9a2d2b93ab commit e04a14d9a23ed42178c405cb0c0afb9a2d2b93ab Author: Pablo Neira Ayuso Date: Mon Jan 14 00:12:28 2013 +0100 socket: fix osmo_sock_init with SOCK_RAW and IPPROTO_RAW getaddrinfo returns EAI_SERVICE (-8) if that combination is used. More information available in here: http://sourceware.org/bugzilla/show_bug.cgi?id=15015 Reported by Holger Hans Peter Freyther. While at it, this patch also removes hints.ai_flags = 0 as memset to zero already happened just a bit before that. http://cgit.osmocom.org/osmocom-bb/commit/?id=06ddf8bd24ae1104f77498d4cd0c766c164d4525 commit 06ddf8bd24ae1104f77498d4cd0c766c164d4525 Author: Evgeny Zverev Date: Sat Jan 12 00:02:40 2013 +0400 Fix build on Cygwin http://cgit.osmocom.org/osmocom-bb/commit/?id=de6e4983e7f83794e45af5a70b036ed9f4437ab5 commit de6e4983e7f83794e45af5a70b036ed9f4437ab5 Author: Harald Welte Date: Thu Dec 6 21:25:27 2012 +0100 add some missing doxygen annotation for libosmocore functions http://cgit.osmocom.org/osmocom-bb/commit/?id=9043fe57e8852ac4693fe25b887246f2c23aa688 commit 9043fe57e8852ac4693fe25b887246f2c23aa688 Author: Alex Badea Date: Sat Jan 5 20:59:12 2013 +0200 doxyfiles: refer paths to @srcdir@ When building out-of-srcdir, paths such as "src/gsm" will not find any source files. Since the Doxyfiles are preprocessed, we can prepend @srcdir@ to fix that. Signed-off-by: Alex Badea http://cgit.osmocom.org/osmocom-bb/commit/?id=695e5fb049822490a1695277d35e3006f6fd3e27 commit 695e5fb049822490a1695277d35e3006f6fd3e27 Author: Alex Badea Date: Sat Jan 5 20:59:00 2013 +0200 tests/timer: tweak path to config.h When building out-of-srcdir, "../../config.h" fails to reach config.h because the compiler is invoked in $builddir/tests/, not $builddir/tests/timer/. Use "../config.h" instead; this also works for in-srcdir builds. Signed-off-by: Alex Badea http://cgit.osmocom.org/osmocom-bb/commit/?id=854debc32cb858ca8f29274181e3aa837c401a01 commit 854debc32cb858ca8f29274181e3aa837c401a01 Author: Christian Vogel Date: Sat Jan 5 20:30:41 2013 +0100 Replace obsolete automake AM_CONFIG_HEADER. This fixes the following complaint by autoconf 2.69-1, automake 1.13.1-1. : configure.ac:80: error: 'AM_CONFIG_HEADER': this macro is obsolete. : You should use the 'AC_CONFIG_HEADERS' macro instead. : /usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expan : configure.ac:80: the top level Automake 1:1.11.3-1ubuntu2, autoconf 2.68-1ubuntu2 don't even emit a warning without, and work just fine with this patch. Signed-off-by: Christian Vogel http://cgit.osmocom.org/osmocom-bb/commit/?id=b73d191c0b625552b2792e26c72a6e83d8595167 commit b73d191c0b625552b2792e26c72a6e83d8595167 Author: Holger Hans Peter Freyther Date: Fri Jan 4 09:55:29 2013 +0100 debian: Bump the changelog and package osmo-arfcn http://cgit.osmocom.org/osmocom-bb/commit/?id=4d8eea48f2357fb4de5795824165d32d1de3ae64 commit 4d8eea48f2357fb4de5795824165d32d1de3ae64 Author: Sylvain Munaut Date: Fri Dec 28 11:58:23 2012 +0100 vty: Do better filtering of arguments, optional args particularly This is essentially http://patchwork.diac24.net/patch/271/ forward ported to libosmovty Original-by: Paul Jakma Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=01e06046379350aa9090ef785a9b0fe2ca03ce23 commit 01e06046379350aa9090ef785a9b0fe2ca03ce23 Author: Sylvain Munaut Date: Thu Jan 3 09:36:16 2013 +0100 core/bits: Prevent osmo_revbytebits_buf stack trashing The second loop in osmo_revbytebits_buf() in src/bits.c grabs 4 bytes each iteration, which can easily go past the supplied input in some cases. Compiled with -fstack-protector , I get a "stack smashing detected" in the bits test. From: Nils O. Sel??sdal Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=13bb169d71a7eff694b8a2ba24497ee08c73a090 commit 13bb169d71a7eff694b8a2ba24497ee08c73a090 Author: Daniel Willmann Date: Wed Dec 26 00:12:21 2012 +0100 tests: Don't delete atconfig in clean This file is created in ./configure so we shouldn't remove it with make. Otherwise ./configure && make clean && make check fails with: make[3]: *** No rule to make target `atconfig', needed by `check-local'. Stop. http://cgit.osmocom.org/osmocom-bb/commit/?id=af723a4ed4c0232047590896935fb0b8da7c78a8 commit af723a4ed4c0232047590896935fb0b8da7c78a8 Author: Holger Hans Peter Freyther Date: Wed Dec 26 10:51:00 2012 +0100 lapd: Fix compiler warnings in the lapd code lapd_test.c: In function ???ms_to_bts_l1_cb???: lapd_test.c:192:6: warning: variable ???rc??? set but not used [-Wunused-but-set-variable] lapd_test.c:199:1: warning: no return statement in function returning non-void [-Wreturn-type] lapd_test.c: In function ???main???: lapd_test.c:355:2: warning: implicit declaration of function ???osmo_init_logging??? [-Wimplicit-function-declaration] http://cgit.osmocom.org/osmocom-bb/commit/?id=e523392c2c091f53c18edf2086d6966eec38561f commit e523392c2c091f53c18edf2086d6966eec38561f Author: Daniel Willmann Date: Tue Dec 25 23:15:50 2012 +0100 lapd: Check in rslms_rx_rll() if lapdm context was initialized earlier This was found while implementing handover on a sysmobts. When we receive a channel release request for a channel that was never really activated (set_lapdm_context() was not called) we segfault in lapd_recv_dlsap(). We now return early with -EINVAL in rslms_rx_rll() if we receive a message that assumes set_lapdm_context() was already called. These are: * RSL_MT_UNIT_DATA_REQ * RSL_MT_DATA_REQ * RSL_MT_SUSP_REQ * RSL_MT_REL_REQ A test case was added to trigger the issue. http://cgit.osmocom.org/osmocom-bb/commit/?id=0167596c2bf19102eac8a69f5066eedbae72a167 commit 0167596c2bf19102eac8a69f5066eedbae72a167 Author: Andreas Eversberg Date: Tue Nov 6 12:02:59 2012 +0100 Add tlvp_val16_unal() / tlvp_val32_unal() to align 16 and 32 bit values This is required for CPUs < armv6, to access 16 and 32 values at right memory locations. http://cgit.osmocom.org/osmocom-bb/commit/?id=31659f72cba5f354b79448991bb7d4ca1d608f83 commit 31659f72cba5f354b79448991bb7d4ca1d608f83 Author: Sylvain Munaut Date: Wed Dec 12 00:00:43 2012 +0100 core: Fix missing include in msgfile.c for getline Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=5689a3b7449bde69ce6276b3b348f98d07c856cf commit 5689a3b7449bde69ce6276b3b348f98d07c856cf Author: Sylvain Munaut Date: Tue Dec 11 23:59:31 2012 +0100 build: Don't use the deprecated INCLUDES in the various Makefile.am Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=c44310e351bd7740b377dda83cae1d29a3dc8b76 commit c44310e351bd7740b377dda83cae1d29a3dc8b76 Author: Sylvain Munaut Date: Tue Dec 11 23:45:03 2012 +0100 utils/osmo-arfcn: Implement option to get ARFCN from frequency Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=5572031749ffa4cdfa15e9c73b8897e39c3ddb0b commit 5572031749ffa4cdfa15e9c73b8897e39c3ddb0b Author: Sylvain Munaut Date: Tue Dec 11 23:44:41 2012 +0100 gsm: Add method to find ARFCN based on frequency Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=6e264ae3cdd5962182b66a07151d4bcf2f104e40 commit 6e264ae3cdd5962182b66a07151d4bcf2f104e40 Author: Harald Welte Date: Sat Nov 24 13:14:09 2012 +0100 osmo-arfcn: add support for PCS band http://cgit.osmocom.org/osmocom-bb/commit/?id=0357e9b37528911397ba019319065d206f067af0 commit 0357e9b37528911397ba019319065d206f067af0 Author: Holger Hans Peter Freyther Date: Thu Dec 6 11:57:31 2012 +0100 rsl: Add the 9.3.20 release mode enum to be used in OpenBSC http://cgit.osmocom.org/osmocom-bb/commit/?id=68f9447744609177669444aae40eafc613fd18e1 commit 68f9447744609177669444aae40eafc613fd18e1 Author: Holger Hans Peter Freyther Date: Sat Dec 1 12:51:34 2012 +0100 sms: Print 'network' or 'mobile' when creating the SMC/SMR http://cgit.osmocom.org/osmocom-bb/commit/?id=c1e9be95c20fb0517efcd5746e38fc95b4d9da14 commit c1e9be95c20fb0517efcd5746e38fc95b4d9da14 Author: Sylvain Munaut Date: Thu Dec 6 08:23:02 2012 +0100 gsm/a5: Return -ENOTSUP if the selected cipher is not supported Extracted from a patch by Max Suraev Max.Suraev at fairwaves.ru> Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmocom-bb/commit/?id=8c01231681fca386b3e7b71eeba999d545edbbdf commit 8c01231681fca386b3e7b71eeba999d545edbbdf Author: Holger Hans Peter Freyther Date: Mon Nov 26 16:52:23 2012 +0100 lapd: Use LOGL_ERROR for messgaes that are wrong in the given context Log message that are either too big or have the C/R bit set as error. http://cgit.osmocom.org/osmocom-bb/commit/?id=579fb09eacf0412b9980af381c558eafb220f0d5 commit 579fb09eacf0412b9980af381c558eafb220f0d5 Author: Holger Hans Peter Freyther Date: Thu Nov 22 10:54:23 2012 +0100 misc: Use static const struct for LAPD and Abis http://cgit.osmocom.org/osmocom-bb/commit/?id=9473c5d75d54129135472ce93b1cff78d246a9c9 commit 9473c5d75d54129135472ce93b1cff78d246a9c9 Author: Holger Hans Peter Freyther Date: Thu Nov 22 10:50:52 2012 +0100 sms: Mark the state dispatch table as static const GCC 4.7.2 was already smart enough to see that the table is const so there is no change in the generated assembly code. For some reason the dispatch is still going through one relocation. http://cgit.osmocom.org/osmocom-bb/commit/?id=1c4c373b9f38227470b1e9b3e36a6696a0fa9716 commit 1c4c373b9f38227470b1e9b3e36a6696a0fa9716 Author: Holger Hans Peter Freyther Date: Thu Nov 22 00:33:52 2012 +0100 sms: Fix typos in the comments and log messages. http://cgit.osmocom.org/osmocom-bb/commit/?id=bcf125c524482a442fd27938036a18f9bcc6e265 commit bcf125c524482a442fd27938036a18f9bcc6e265 Author: Holger Hans Peter Freyther Date: Wed Nov 14 06:07:47 2012 +0100 smr: Introduce an id and prefix all log messages with SMR(ID) When OpenBSC is handling more than one message at a time it is difficult to see which log message belongs to which SMR instance. Introduce a uint64_t id that can be set to the row_id/message_id and prefix all log messages with SMR(ID). This change is ABI and API incompatible with previous versions of libosmogsm. http://cgit.osmocom.org/osmocom-bb/commit/?id=33e8a87cd7306fa365d6de0549ed2397edbf4df9 commit 33e8a87cd7306fa365d6de0549ed2397edbf4df9 Author: Holger Hans Peter Freyther Date: Wed Nov 14 06:07:47 2012 +0100 smc: Introduce an id and prefix all log messages with SMC(ID) When OpenBSC is handling more than one message at a time it is difficult to see which log message belongs to which SMC. Introduce a uint64_t id that can be set to the row_id/message_id and prefix all log messages with SMC(ID). This change is ABI and API incompatible with previous versions of libosmogsm. Example: SMC(100) instance created SMC(100) message MNSMS-EST-REQ received in state IDLE http://cgit.osmocom.org/osmocom-bb/commit/?id=6643386f3fadea66a3a92207d1af07113269710a commit 6643386f3fadea66a3a92207d1af07113269710a Author: Harald Welte Date: Thu Nov 15 12:41:15 2012 +0100 actually install osmo-arfcn and osmo-auc-gen as part of 'make install' ----------------------------------------------------------------------- hooks/post-receive -- The Open Source GSM Base Band stack