Hi guys,
I think some of us would like to move to redmine and start using public tickets more frequently. So in case we move there are some topics to be discussed and I would like to start with a couple of them right now.
Tickets:
Redmine has a global linear sequence of ticket numbers. If we move from many tracs to a single redmine we can either:
* not import tickets
* only import from one project
* deal with changing ticket numbers
In terms of installations the GMR trac is broken in regard to tickets, there are some for SDR that are probably not being fixed anytime soon, baseband might be relevant and OpenBSC is unlikely to be relevant. I don't think we have ever used ticket reference in OpenBSC commit messages so in terms of OpenBSC having changing ticket numbers would not be a big deal. E.g. we could add a custom field with the old trac number?
Wiki:
We have external references that should be redirected to the new place. Is there any way besides maintaining a list in the apache2/nginx configuration and making redirects as we find broken references? Can we proactively manage this? Is anybody willing to come up with a script and nginx configuration for doing this?
kind regards
holger
Hi Harald,
On Wed, Apr 6, 2016 at 12:59 AM, Harald Welte <laforge(a)gnumonks.org> wrote:
> Can you or somebody else interested in getting this resolved provide a
> full bug report, including
> * debug log output on OsmoNITB side for for the rsl and nm
> * debug log output on OsmoBTS side for oml / transceiver interface or
> anything else related
> * pcap file of A-bis traffic between OsmoBTS and OsmoNITB, as well as
> the control commands between osmo-bts-trx and osmo-trx
Attached are the logs for master branches of OpenBSC, OsmoBTS, and
OsmoTRX leading up to the following RACH access behavior.
<0004> abis_rsl.c:1423 BTS 0 CHAN RQD: no resources for SDCCH 0x2
Hopefully, somebody more familiar than myself with A-bis and related
L1/L2 dependencies can provide some insight on why the above is
happening or where to start debugging. I'll be happy to test any
subsequent changes or look into specific parts of the A-bis code.
-TT
Hi,
It might interest you that OpenBSC has entered Debian unstable today!
https://tracker.debian.org/news/755641
Please test the package and file bugs as you find them. I haven't added init/service files
yet to the package, since it needs some careful thought around what default is the best
for the general users.
Best regards,
Ruben
Dears,
hope this finds you well,
kiindly i need to know how to configure the GT and PC for the various
simulated nodes in osmo-nitb as am testing some security scripts to
simulate different roaming attacks using the MAP protocol
appreciate your support
best regards
Hi,
Is there a way to have an application (ex: trx for calypso BTS) run over the motorola phone immediately after turning the phone ON. In other words, if I flash it to the firmware I want the phone start working as a BTS without having to select it manually from the menu.
Best regards,
Robert,
Dear List,
I am in the process of creating the Wiki page for Ettus B200/B210 with OpenBSC, GPRS and Asterisk.
I am quite close, both data and calls are working, but the voice calls are half sided. The downlink direction works, but the uplink does not.
I tried without Asterisk and LCR (between two phones) and still the calls are half sided.
In the mean time I got these messages in the Osmo-BTS log:
<0006> scheduler.c:276 PH-DATA.req: chan_nr=0x0a link_id=0x00 fn=1284768 ts=2 tr x=0
<0006> scheduler.c:1036 TCH/F has not been served !! No prim for trx=0 ts=1 at f n=1284764 to transmit.
<0006> scheduler.c:1036 TCH/F has not been served !! No prim for trx=0 ts=2 at f n=1284764 to transmit.
<0006> scheduler.c:379 TCH RTS.ind: chan=TCH/F chan_nr=0x09 fn=1284772 ts=1 trx= 0
<0006> scheduler.c:276 PH-DATA.req: chan_nr=0x09 link_id=0x00 fn=1284772 ts=1 tr x=0
<0006> scheduler.c:379 TCH RTS.ind: chan=TCH/F chan_nr=0x0a fn=1284772 ts=2 trx= 0
<0006> scheduler.c:276 PH-DATA.req: chan_nr=0x0a link_id=0x00 fn=1284772 ts=2 tr x=0
<0006> scheduler.c:1036 TCH/F has not been served !! No prim for trx=0 ts=1 at f n=1284768 to transmit.
<0006> scheduler.c:1036 TCH/F has not been served !! No prim for trx=0 ts=2 at f n=1284768 to transmit.
SMS and GPRS seems to be fine.
If someone have any idea, I would love to hear it. :-)
Thanks!
Csaba
From: Max <msuraev(a)sysmocom.de>
Previously it was possible to send RTP data to port 0. This produce
multiple errors during the beginning of RTP transmission.
To address this OSMO_RTP_F_DISABLED flag was introduced. It's set by
default for all new RTP sessions. It can be manually unset after the
call to osmo_rtp_socket_create(). When the flag is set it prevents
transmission and reception of RTP frames for the session. The flag is
unset automatically in osmo_rtp_socket_connect() when session is bound
to non-zero remote port.
Fixes: OS#1662
---
include/osmocom/trau/osmo_ortp.h | 1 +
src/trau/osmo_ortp.c | 14 ++++++++++++--
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/include/osmocom/trau/osmo_ortp.h b/include/osmocom/trau/osmo_ortp.h
index c02cca8..2ca9cfc 100644
--- a/include/osmocom/trau/osmo_ortp.h
+++ b/include/osmocom/trau/osmo_ortp.h
@@ -29,6 +29,7 @@ enum osmo_rtp_param {
/*! \brief Flag to indicate the socket is in polling-only mode */
#define OSMO_RTP_F_POLL 0x0001
+#define OSMO_RTP_F_DISABLED 2
/*! \brief A structure representing one RTP socket */
struct osmo_rtp_socket {
diff --git a/src/trau/osmo_ortp.c b/src/trau/osmo_ortp.c
index 65ec269..22c5856 100644
--- a/src/trau/osmo_ortp.c
+++ b/src/trau/osmo_ortp.c
@@ -149,6 +149,8 @@ static void ortp_sig_cb_ts(RtpSession *rs, void *data)
int osmo_rtp_socket_poll(struct osmo_rtp_socket *rs)
{
mblk_t *mblk;
+ if (rs->flags & OSMO_RTP_F_DISABLED)
+ return 0;
mblk = rtp_session_recvm_with_ts(rs->sess, rs->rx_user_ts);
if (mblk) {
@@ -313,7 +315,7 @@ struct osmo_rtp_socket *osmo_rtp_socket_create(void *talloc_ctx, unsigned int fl
if (!rs)
return NULL;
- rs->flags = flags;
+ rs->flags = OSMO_RTP_F_DISABLED | flags;
rs->sess = rtp_session_new(RTP_SESSION_SENDRECV);
if (!rs->sess) {
talloc_free(rs);
@@ -382,11 +384,16 @@ int osmo_rtp_socket_bind(struct osmo_rtp_socket *rs, const char *ip, int port)
int osmo_rtp_socket_connect(struct osmo_rtp_socket *rs, const char *ip, uint16_t port)
{
int rc;
-
+ if (!port) {
+ LOGP(DLMIB, LOGL_INFO, "osmo_rtp_socket_connect() refused to "
+ "set remote %s:%u\n", ip, port);
+ return 0;
+ }
/* enable the use of connect() so later getsockname() will
* actually return the IP address that was chosen for the local
* sid of the connection */
rtp_session_set_connected_mode(rs->sess, 1);
+ rs->flags &= ~OSMO_RTP_F_DISABLED;
rc = rtp_session_set_remote_addr(rs->sess, ip, port);
if (rc < 0)
@@ -411,6 +418,9 @@ int osmo_rtp_send_frame(struct osmo_rtp_socket *rs, const uint8_t *payload,
mblk_t *mblk;
int rc;
+ if (rs->flags & OSMO_RTP_F_DISABLED)
+ return 0;
+
mblk = rtp_session_create_packet(rs->sess, RTP_FIXED_HEADER_SIZE,
payload, payload_len);
if (!mblk)
--
2.8.1
Hi!
I have some questions regarding GSUP design and current implementation
in ordre to help me undestand the rationale behind some of the
decisions.
1) why are the fields like msisdn, vlr address, hlr address,, sgsn
address still in their encoded form as part of struct
osmo_gsup_message? If there is a decoding/encoding function, why
does it not go all the way? Would anyone object if I was to change
this?
2) osmo_gsup_message conatains multiple fields + associated length
fields. Wy not have a 'struct osmo_buflen { char *buf; size_t len }'
which is re-used for all such fields that have buffer + length? Then
the respective code for dealing with such types could be generalized
and shared.
3) why is the INSERT SUBSCRIBER DATA ignored by the SGSN, but rather it
seems to expect the subscribe data piggy-backed onto the LOCATION
UPDATE RESULT? This seems to break the idea of staying as close as
possible to the MAP level transactions while avoiding the
encoding/decoding and underlying signalling protocol complexities.
Thanks in advance.
Regards,
Harald
--
- Harald Welte <laforge(a)gnumonks.org> http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
Dear Harald,
I want to discuss this topic in mailing list, because I think we should
coordinate our efforts when we work on the same part of project.
As I found out from Alex, several important points were discussed at
osmodevcon:
* reuse gsup protocol for implementing location and authentication
interface for osmo-nitb
* get rid of using internal osmo-nitb database and use only subscriber list
on osmo-nitb side
Could you please confirm and/or enhance this list?
I see that you moved all gsup related code from openbsc to libosmocore in
laforge/pending branches.
Do you have any further plans to continue this development?
As you know, we implemented interface based on gsup for exporting LU from
osmo-nitb (fairwaves/sup branch), but in our implementation we didn't get
rid of using internal database.
Despite this I guess that our code could be updated and reused for this
implementation.
--
Regards,
Ivan Kluchnikov.
http://fairwaves.ru
Hi all,
There has been a few questions recently about building
OpenBSC/OsmoBTS, especially for SDR devices, so I decided to share a
link to a "make world" style build script which may help newcomers to
get started.
The script was hacked together by Sergey Kostanbaev to build static
binaries and was not meant for wide use, so it have rough edges and
may not work for every setup, but I hope it'll be useful for someone.
Check out this git repository for the source code and brief documentation:
https://github.com/fairwaves/osmo-combo
--
Regards,
Alexander Chemeris.
CEO, Fairwaves, Inc.
https://fairwaves.co
Hi all,
This patch set adds to libosmocore an optimized Viterbi decodeer for
architecture specific (Intel SSE) and non-specific cases. The
implementation covers codes with constraint lengths of K=5 and K=7 and
rates 1/4 to 3/4, which make up the majority of GSM use cases. Speedup
from the current implementation is in the range of 5 to 20 depending on
the processor and code type. API is unchanged.
Tested on Haswell (i7-4770K) and Atom (D2550). Additional test codes
from osmo-bts are included. Further tests for AWGN bit-error-rate
and benchmarks can be found in the following repository.
https://github.com/ttsou/osmo-conv-test
Here are some examples.
Bit error test for GPRS CS2 with SNR of 5 dB and 100000 bursts.
$ ./conv_test -c 2 -e -r 5 -i 100000
=================================================
[+] Testing: GPRS CS2
[.] Specs: (N=2, K=5, non-recursive, flushed, not punctured)
[.] Input length : ret = 290 exp = 290 -> OK
[.] Output length : ret = 588 exp = 588 -> OK
[.] BER tests:
[..] Testing base:
[..] Input BER.......................... 0.042443
[..] Output BER......................... 0.000006
[..] Output FER......................... 0.001350 (135)
[..] Testing SIMD:
[..] Input BER.......................... 0.042460
[..] Output BER......................... 0.000005
[..] Output FER......................... 0.001240 (124)
Timed AFS benchmark with 8 threads and 100000 bursts per thread.
$ ./conv_test -b -c 10 -j 8 -i 100000
=================================================
[+] Testing: GSM TCH/AFS 6.7
[.] Specs: (N=4, K=5, recursive, flushed, punctured)
[.] Input length : ret = 140 exp = 140 -> OK
[.] Output length : ret = 448 exp = 448 -> OK
[.] Performance benchmark:
[..] Encoding / Decoding 800000 bursts on 8 thread(s):
[..] Testing base:
[..] Elapsed time....................... 4.320001 secs
[..] Rate............................... 25.925920 Mbps
[..] Testing SIMD:
[..] Elapsed time....................... 0.458272 secs
[..] Rate............................... 244.396341 Mbps
[..] Speedup............................ 9.426718
-TT
Hi,
I’m currently facing a strange issue where the number of entries in the subscriber table is different from the number of entries in the equipment table, therefore I cannot consistently relate each IMSI to its correct IMEI. I also had another issue where I have the same number of entries but the ID’s of the rows are different as shown below:
Subscriber table Equipment table
ID IMSI ID IMEI
1 XXXX 1 XXXX
2 XXXX 2 XXXX
4 XXXX 14 XXXX
Does anyone know why this is happening, and how can I correctly relate each IMSI to its corresponding IMEI ?
Best regards,
Robert,
Coverity complains about a 'Dereference before null check' on *queue.
So, push the NULL check further up.
Though I doubt that 'return EOF' is the proper way to handle allocation
failure, this patch is only about the NULL dereference.
Fixes: CID#57918
---
gtp/queue.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/gtp/queue.c b/gtp/queue.c
index 7c971b0..5b4d849 100644
--- a/gtp/queue.c
+++ b/gtp/queue.c
@@ -127,16 +127,15 @@ int queue_new(struct queue_t **queue)
if (QUEUE_DEBUG)
printf("queue_new\n");
*queue = calloc(1, sizeof(struct queue_t));
+ if (!(*queue))
+ return EOF;
(*queue)->next = 0;
(*queue)->first = -1;
(*queue)->last = -1;
if (QUEUE_DEBUG)
queue_print(*queue);
- if (*queue)
- return 0;
- else
- return EOF;
+ return 0;
}
/*! \brief Deallocates queue structure */
--
2.1.4
From: Max <msuraev(a)sysmocom.de>
This helps to get diff between upstream and distro significantly
smaller. It also significantly reduces the number of warnings+errors
reported by lintian from 42 to only 8.
---
debian/control | 234 ++++++++++++++++++++++++++---
debian/copyright | 237 +++++++++++++++++++++++++-----
debian/libosmocodec-doc.doc-base | 7 +
debian/libosmocodec-doc.install | 1 +
debian/libosmocodec-doc.lintian-overrides | 2 +
debian/libosmocore-dev.install | 1 -
debian/libosmocore-doc.doc-base | 7 +
debian/libosmocore-doc.install | 1 +
debian/libosmocore-doc.lintian-overrides | 2 +
debian/libosmocore-utils.manpages | 1 +
debian/libosmogsm-doc.doc-base | 7 +
debian/libosmogsm-doc.install | 1 +
debian/libosmogsm-doc.lintian-overrides | 2 +
debian/libosmovty-doc.doc-base | 7 +
debian/libosmovty-doc.install | 1 +
debian/libosmovty-doc.lintian-overrides | 2 +
debian/rules | 28 ++++
debian/watch | 2 +
18 files changed, 483 insertions(+), 60 deletions(-)
create mode 100644 debian/libosmocodec-doc.doc-base
create mode 100644 debian/libosmocodec-doc.install
create mode 100644 debian/libosmocodec-doc.lintian-overrides
create mode 100644 debian/libosmocore-doc.doc-base
create mode 100644 debian/libosmocore-doc.install
create mode 100644 debian/libosmocore-doc.lintian-overrides
create mode 100644 debian/libosmocore-utils.manpages
create mode 100644 debian/libosmogsm-doc.doc-base
create mode 100644 debian/libosmogsm-doc.install
create mode 100644 debian/libosmogsm-doc.lintian-overrides
create mode 100644 debian/libosmovty-doc.doc-base
create mode 100644 debian/libosmovty-doc.install
create mode 100644 debian/libosmovty-doc.lintian-overrides
create mode 100644 debian/watch
diff --git a/debian/control b/debian/control
index 459030b..f7138b5 100644
--- a/debian/control
+++ b/debian/control
@@ -1,86 +1,282 @@
Source: libosmocore
+Maintainer: Harald Welte <laforge(a)gnumonks.org>
+Uploaders: Ruben Undheim <ruben.undheim(a)gmail.com>
Section: libs
Priority: optional
-Maintainer: Harald Welte <laforge(a)gnumonks.org>
-Build-Depends: debhelper (>= 9), autotools-dev, autoconf, automake, libtool, dh-autoreconf, libdpkg-perl, git, doxygen, libpcsclite-dev, pkg-config, libtalloc-dev
-Standards-Version: 3.9.6
-Homepage: http://bb.osmocom.org/trac/wiki/libosmocore
+Build-Depends: debhelper (>= 9),
+ autotools-dev,
+ dh-autoreconf,
+ doxygen,
+ txt2man,
+ libpcsclite-dev,
+ pkg-config,
+ autoconf,
+ automake,
+ libtool,
+ libdpkg-perl,
+ git,
+ libtalloc-dev
+Standards-Version: 3.9.7
Vcs-Git: git://git.osmocom.org/libosmocore.git
Vcs-Browser: http://git.osmocom.org/gitweb?p=libosmocore.git;a=summary
+Homepage: http://bb.osmocom.org/trac/wiki/libosmocore
Package: libosmocore
Section: libs
Architecture: any
-Depends: libosmocodec0, libosmocore7, libosmogb4, libosmogsm5, libosmovty3, libosmoctrl0, ${misc:Depends}
-Multi-Arch: foreign
-Description: Open Source MObile COMmunications CORE library
+Multi-Arch: same
+Depends: libosmocodec0 (= ${binary:Version}),
+ libosmocore6 (= ${binary:Version}),
+ libosmogb4 (= ${binary:Version}),
+ libosmogsm5 (= ${binary:Version}),
+ libosmovty3 (= ${binary:Version}),
+ libosmoctrl0 (= ${binary:Version}),
+ libosmosim0 (= ${binary:Version}),
+ ${misc:Depends}
+Description: Open Source MObile COMmunications CORE library (metapackage)
+ The libraries provided by this package contain various utility functions.
+ These were originally developed as part of the
+ OpenBSC project but are of a more generic nature and thus useful to (at
+ least) other programs that are developed in the sphere of Free Software / Open
+ Source mobile communication.
Package: libosmocodec0
Section: libs
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
Multi-Arch: same
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
Description: Osmo codec library
+ This is part of the libosmocore "meta"-library. The libosmocore library
+ contains various utility functions that were originally developed as part of
+ the OpenBSC project, but which are of a more generic nature and thus useful to
+ (at least) other programs that are developed in the sphere of Free Software /
+ Open Source mobile communication.
+ .
+ The libosmocodec library in particular contains the implementation of multiple
+ GSM codecs:
+ .
+ - GSM 06.10 - GSM FR Codec
+ - GSM 06.20 - GSM HR Codec
+ - GSM 06.60 - GSM EFR Codec
+ - GSM 06.90 - GSM AMR Codec
+
+Package: libosmocodec-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends},
+ libosmocodec0,
+ libjs-jquery
+Description: Documentation for the osmo codec library
+ This is part of the libosmocore "meta"-library. The libosmocore library
+ contains various utility functions that were originally developed as part of
+ the OpenBSC project, but which are of a more generic nature and thus useful to
+ (at least) other programs that are developed in the sphere of Free Software /
+ Open Source mobile communication.
+ .
+ This package contains the documentation for the libosmocodec library.
Package: libosmocore7
Section: libs
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
Multi-Arch: same
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
Description: Osmo Core library
+ This is part of the libosmocore "meta"-library. The libosmocore library
+ contains various utility functions that were originally developed as part of
+ the OpenBSC project, but which are of a more generic nature and thus useful to
+ (at least) other programs that are developed in the sphere of Free Software /
+ Open Source mobile communication.
+ .
+ The libosmocore6 library in particular is a collection of common code used in
+ various sub-projects inside the Osmocom family of projects.
+
+Package: libosmocore-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends},
+ libosmocore6,
+ libjs-jquery,
+ libosmocodec-doc,
+ libosmogsm-doc,
+ libosmovty-doc
+Description: Documentation for the Osmo Core library
+ This is part of the libosmocore "meta"-library. The libosmocore library
+ contains various utility functions that were originally developed as part of
+ the OpenBSC project, but which are of a more generic nature and thus useful to
+ (at least) other programs that are developed in the sphere of Free Software /
+ Open Source mobile communication.
+ .
+ This package contains the documentation for the libosmocore library.
Package: libosmogb4
Section: libs
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
Multi-Arch: same
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
Description: Osmo GPRS GB library
+ This is part of the libosmocore "meta"-library. The libosmocore library
+ contains various utility functions that were originally developed as part of
+ the OpenBSC project, but which are of a more generic nature and thus useful to
+ (at least) other programs that are developed in the sphere of Free Software /
+ Open Source mobile communication.
+ .
+ The libosmogb library in particular contains a GPRS BSSGP protocol
+ implementation.
Package: libosmogsm5
Section: libs
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
Multi-Arch: same
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
Description: Osmo GSM utility library
+ This is part of the libosmocore "meta"-library. The libosmocore library
+ contains various utility functions that were originally developed as part of
+ the OpenBSC project, but which are of a more generic nature and thus useful to
+ (at least) other programs that are developed in the sphere of Free Software /
+ Open Source mobile communication.
+ .
+ The libosmogsm library in particular is a collection of common code used in
+ various GSM related sub-projects inside the Osmocom family of projects. It
+ includes A5/1 and A5/2 ciphers, COMP128v1, a LAPDm implementation, a GSM TLV
+ parser, SMS utility routines as well as protocol definitions for a series of
+ protocols.
+
+Package: libosmogsm-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends},
+ libosmogsm5,
+ libjs-jquery
+Description: Documentation for the Osmo GSM utility library
+ This is part of the libosmocore "meta"-library. The libosmocore library
+ contains various utility functions that were originally developed as part of
+ the OpenBSC project, but which are of a more generic nature and thus useful to
+ (at least) other programs that are developed in the sphere of Free Software /
+ Open Source mobile communication.
+ .
+ This package contains the documentation for the libosmogsm library.
Package: libosmovty3
Section: libs
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
Multi-Arch: same
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
Description: Osmo VTY library
+ This is part of the libosmocore "meta"-library. The libosmocore library
+ contains various utility functions that were originally developed as part of
+ the OpenBSC project, but which are of a more generic nature and thus useful to
+ (at least) other programs that are developed in the sphere of Free Software /
+ Open Source mobile communication.
+ .
+ The libosmovty library in particular implements the interactive command-line
+ on the VTY (Virtual TTY) as well as configuration file parsing.
+
+Package: libosmovty-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends},
+ libosmovty3,
+ libjs-jquery
+Description: Documentation for the Osmo VTY library
+ This is part of the libosmocore "meta"-library. The libosmocore library
+ contains various utility functions that were originally developed as part of
+ the OpenBSC project, but which are of a more generic nature and thus useful to
+ (at least) other programs that are developed in the sphere of Free Software /
+ Open Source mobile communication.
+ .
+ This package contains the documentation for the libosmovty library.
Package: libosmoctrl0
Section: libs
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
Multi-Arch: same
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
Description: Osmo control library
+ This is part of the libosmocore "meta"-library. The libosmocore library
+ contains various utility functions that were originally developed as part of
+ the OpenBSC project, but which are of a more generic nature and thus useful to
+ (at least) other programs that are developed in the sphere of Free Software /
+ Open Source mobile communication.
+ .
+ The libosmoctrl library in particular contains an SNMP-like status interface.
Package: libosmosim0
Section: libs
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
Multi-Arch: same
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
Description: Osmo SIM library
+ This is part of the libosmocore "meta"-library. The libosmocore library
+ contains various utility functions that were originally developed as part of
+ the OpenBSC project, but which are of a more generic nature and thus useful to
+ (at least) other programs that are developed in the sphere of Free Software /
+ Open Source mobile communication.
+ .
+ The libosmosim library in particular contains routines for SIM card access.
Package: libosmocore-dev
-Section: libdevel
Architecture: any
-Depends: ${misc:Depends}, libosmocore, libtalloc-dev
Multi-Arch: same
+Section: libdevel
+Depends: libosmocodec0 (= ${binary:Version}),
+ libosmocore7 (= ${binary:Version}),
+ libosmogb4 (= ${binary:Version}),
+ libosmogsm5 (= ${binary:Version}),
+ libosmovty3 (= ${binary:Version}),
+ libosmoctrl0 (= ${binary:Version}),
+ libosmosim0 (= ${binary:Version}),
+ ${misc:Depends},
+ libtalloc-dev
Description: Development headers for Open Source MObile COMmunications CORE library
+ The header files provided by this package may be used to develop
+ with any of the libosmocore libraries.
+ .
+ Also static libraries are installed with this package.
Package: libosmocore-utils
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libosmocore
Multi-Arch: same
+Section: utils
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+ libosmocore
Description: Utilities for gsm
+ This package contains a program for frequency calculation for GSM called
+ 'osmo-arfcn' and a program called 'osmo-auc-gen' that is used for testing GSM
+ authentication.
+ .
+ They use the libosmocore library. The libosmocore library contain various
+ utility functions that were originally developed as part of the OpenBSC
+ project, but which are of a more generic nature and thus useful to (at least)
+ other programs that are developed in the sphere of Free Software / Open Source
+ mobile communication.
Package: libosmocore-dbg
Architecture: any
+Multi-Arch: same
Section: debug
Priority: extra
-Depends: libosmocore (= ${binary:Version}), ${misc:Depends}
-Multi-Arch: same
+Depends: libosmocore (= ${binary:Version}),
+ ${misc:Depends}
Description: Debug symbols for Open Source MObile COMmunications CORE library
+ This proackage contains debug symbols for all the libraries that are part of
+ libosmocore.
+ .
+ The libosmocore library contain various utility functions that
+ were originally developed as part of the OpenBSC project, but which are of a
+ more generic nature and thus useful to (at least) other programs that are
+ developed in the sphere of Free Software / Open Source mobile communication.
diff --git a/debian/copyright b/debian/copyright
index c450be5..2991c85 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,54 +1,211 @@
-This work was packaged for Debian by:
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libosmocore
+Source: git://git.osmocom.org/libosmocore.git
- Harald Welte <laforge(a)gnumonks.org> on Tue, 24 Aug 2010 10:55:04 +0200
+Files: *
+Copyright: 2008 Daniel Willmann <daniel(a)totalueberwachung.de>
+ 2008-2010 Harald Welte <laforge(a)gnumonks.org>
+ 2008-2010 Holger Hans Peter Freyther <zecke(a)selfish.org>
+ 2009-2010 Sylvain Munaut <tnt(a)246tNt.com>
+ 2009-2010 On-Waves
+ 2010 Nico Golde <nico(a)ngolde.de>
+License: GPL-2+
-It was downloaded from:
+Files: src/talloc.c include/osmocom/core/talloc.h
+Copyright: 2004 Andrew Tridgell
+ 2006 Stefan Metzmacher
+License: LGPL-3+
- git://git.osmocom.org/libosmocore.git
+Files: include/osmocom/core/loggingrb.h
+ include/osmocom/core/strrb.h
+ src/strrb.c
+ src/loggingrb.c
+Copyright: 2012-2013 Katerina Barone-Adesi <kat.obsc(a)gmail.com>
+License: GPL-2+
-Upstream Author(s):
+Files: include/osmocom/core/linuxrbtree.h
+ src/rbtree.c
+Copyright: 1999 Andrea Arcangeli <andrea(a)suse.de>
+ 2002 David Woodhouse <dwmw2(a)infradead.org>
+License: GPL-2+
- Harald Welte <laforge(a)gnumonks.org>
- Holger Hans Peter Freyther <zecke(a)selfish.org>
- Sylvain Munaut <tnt(a)246tNt.com>
- Daniel Willmann <daniel(a)totalueberwachung.de>
- Golde <nico(a)ngolde.de>
- For src/talloc.c and include/osmocore/talloc.h:
- Andrew Tridgell
- Stefan Metzmacher
- For src/vty/* and include/osmocom/vty/*
- Kunihiro Ishiguro
+Files: include/osmocom/core/crc16.h
+Copyright: 2005 Ben Gardner <bgardner(a)wabtec.com>
+License: GPL-2+
-Copyright:
+Files: src/utils.c
+Copyright: 2011 Harald Welte <laforge(a)gnumonks.org>
+ 2011 Sylvain Munaut <tnt(a)246tNt.com>
+ 2014 Nils O. Selåsdal <noselasd(a)fiane.dyndns.org>
+License: GPL-2+
- Copyright (C) 2008-2010 Harald Welte <laforge(a)gnumonks.org>
- Copyright (C) 2008-2010 Holger Hans Peter Freyther <zecke(a)selfish.org>
- Copyright (C) 2009-2010 Sylvain Munaut <tnt(a)246tNt.com>
- Copyright (C) 2009-2010 On-Waves
- Copyright (C) 2008 Daniel Willmann <daniel(a)totalueberwachung.de>
- Copyright (C) 2010 Nico Golde <nico(a)ngolde.de>
- For src/talloc.c and include/osmocore/talloc.h:
- Copyright (C) 2004 Andrew Tridgell
- Copyright (C) 2006 Stefan Metzmacher
- For src/vty/* and include/osmocom/vty/*
- Copyright (C) 1998 Kunihiro Ishiguro
+Files: src/gsm/gsm48_ie.c
+ src/gsm/lapd_core.c
+ src/gsm/lapdm.c
+Copyright: 2008,2010-2011 Harald Welte <laforge(a)gnumonks.org>
+ 2009-2011 Andreas Eversberg <jolly(a)eversberg.eu>
+License: GPL-2+
-License:
+Files: src/gsm/gsm0411_smc.c
+ src/gsm/gsm0411_smr.c
+ src/gsm/gsm0411_utils.c
+Copyright: 2008 Daniel Willmann <daniel(a)totalueberwachung.de>
+ 2009 Harald Welte <laforge(a)gnumonks.org>
+ 2010-2013 Holger Hans Peter Freyther <zecke(a)selfish.org>
+ 2010 On-Waves
+ 2011 Andreas Eversberg <jolly(a)eversberg.eu>
+License: GPL-2+
- GNU General Public License, Version 2 or later
+Files: src/gsm/gsm0480.c
+Copyright: 2009 Mike Haben <michael.haben(a)btinternet.com>
+ 2010 Holger Hans Peter Freyther <zecke(a)selfish.org>
+License: GPL-2+
-The Debian packaging is:
+Files: src/gsm/milenage/aes-internal.c
+ src/gsm/milenage/aes-encblock.c
+ src/gsm/milenage/aes.h
+ src/gsm/milenage/milenage.c
+ src/gsm/milenage/aes_wrap.h
+ src/gsm/milenage/aes-internal-enc.c
+ src/gsm/milenage/aes_i.h
+Copyright: 2003-2007 Jouni Malinen <j(a)w1.fi>
+License: GPL-2
+Comment: Most of the file aes-internal.c is public_domain
- Copyright (C) 2010 Harald Welte <laforge(a)gnumonks.org>
+Files: include/osmocom/core/bitXXgen.h.tpl
+ src/gsm/kasumi.c
+Copyright: 2013-2014 Max <max.suraev(a)fairwaves.co>
+License: GPL-2+
-# Please chose a license for your packaging work. If the program you package
-# uses a mainstream license, using the same license is the safest choice.
-# Please avoid to pick license terms that are more restrictive than the
-# packaged work, as it may make Debian's contributions unacceptable upstream.
-# If you just want it to be GPL version 3, leave the following lines in.
+Files: src/gsm/auth_comp128v23.c
+Copyright: 2010-2011 Harald Welte <laforge(a)gnumonks.org>
+ 2013 Kévin Redon <kevredon(a)mail.tsaitgaist.info>
+License: GPL-2+
-and is licensed under the GPL version 3,
-see "/usr/share/common-licenses/GPL-3".
+Files: src/gsm/comp128v23.c
+Copyright: 2013 Kévin Redon <kevredon(a)mail.tsaitgaist.info>
+License: GPL-2+
-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.
+Files: tests/fr/fr_test.c
+ tests/logging/logging_test.c
+ tests/loggingrb/loggingrb_test.c
+Copyright: 2008,2009,2012 Holger Hans Peter Freyther <zecke(a)selfish.org>
+ 2012-2013 Katerina Barone-Adesi <kat.obsc(a)gmail.com>
+License: AGPL-3+
+
+Files: tests/strrb/strrb_test.c
+ tests/vty/vty_test.c
+Copyright: 2012-2013 Katerina Barone-Adesi <kat.obsc(a)gmail.com>
+ 2013 Jacob Erlbeck <jerlbeck(a)sysmocom.de>
+License: GPL-3+
+
+Files: src/vty/* include/osmocom/vty/*
+Copyright: 1997,1998 Kunihiro Ishiguro
+License: GPL-2+
+
+Files: include/osmocom/core/stats.h
+ src/stat_item.c
+ src/stats.c
+ src/vty/stats_vty.c
+ tests/stats/stats_test.c
+Copyright: 2009-2010 by Harald Welte <laforge(a)gnumonks.org>
+ 2009-2014 by Holger Hans Peter Freyther
+ 2015 Sysmocom s.f.m.c. GmbH
+License: GPL-2+
+
+Files: tests/gb/gprs_ns_test.c
+ tests/gb/gprs_bssgp_test.c
+Copyright: 2013-2014 sysmocom s.f.m.c. GmbH
+License: GPL-2+
+Comment: No license is listed in these files, but it is assumed that
+ the project specific license GPL-2+ applies since contributions by
+ sysmocom people to other files in this package are GPL licensed.
+
+Files: debian/*
+Copyright: 2010-2015 Harald Welte <laforge(a)gnumonks.org>
+ 2014-2015 Ruben Undheim <ruben.undheim(a)gmail.com>
+License: GPL-3+
+
+
+License: GPL-2+
+ This package is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+License: GPL-2
+ This package is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, version 2 of the License.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+License: GPL-3+
+ This package is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
+
+
+License: LGPL-3+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 3 of the License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License version 3 can be found in "/usr/share/common-licenses/LGPL-3".
+
+
+License: AGPL-3+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
diff --git a/debian/libosmocodec-doc.doc-base b/debian/libosmocodec-doc.doc-base
new file mode 100644
index 0000000..8480c73
--- /dev/null
+++ b/debian/libosmocodec-doc.doc-base
@@ -0,0 +1,7 @@
+Document: libosmocodec-doc
+Title: Documentation for the libosmocodec library
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libosmocore/codec/html/index.html
+Files: /usr/share/doc/libosmocore/codec/html/*.html
diff --git a/debian/libosmocodec-doc.install b/debian/libosmocodec-doc.install
new file mode 100644
index 0000000..be0255b
--- /dev/null
+++ b/debian/libosmocodec-doc.install
@@ -0,0 +1 @@
+usr/share/doc/libosmocore/codec/
diff --git a/debian/libosmocodec-doc.lintian-overrides b/debian/libosmocodec-doc.lintian-overrides
new file mode 100644
index 0000000..526d4f9
--- /dev/null
+++ b/debian/libosmocodec-doc.lintian-overrides
@@ -0,0 +1,2 @@
+# jquery.js is generated by doxygen. See http://bugs.debian.org/736360
+libosmocodec-doc binary: embedded-javascript-library usr/share/doc/libosmocore/codec/html/jquery.js please use libjs-jquery
diff --git a/debian/libosmocore-dev.install b/debian/libosmocore-dev.install
index 7c5a789..465f933 100644
--- a/debian/libosmocore-dev.install
+++ b/debian/libosmocore-dev.install
@@ -3,4 +3,3 @@ usr/lib/*/lib*.a
usr/lib/*/lib*.so
usr/lib/*/lib*.la
usr/lib/*/pkgconfig/*
-usr/share/doc/libosmocore/*
diff --git a/debian/libosmocore-doc.doc-base b/debian/libosmocore-doc.doc-base
new file mode 100644
index 0000000..b13b82d
--- /dev/null
+++ b/debian/libosmocore-doc.doc-base
@@ -0,0 +1,7 @@
+Document: libosmocore-doc
+Title: Documentation for the libosmocore library
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libosmocore/core/html/index.html
+Files: /usr/share/doc/libosmocore/core/html/*.html
diff --git a/debian/libosmocore-doc.install b/debian/libosmocore-doc.install
new file mode 100644
index 0000000..fe4cb26
--- /dev/null
+++ b/debian/libosmocore-doc.install
@@ -0,0 +1 @@
+usr/share/doc/libosmocore/core/
diff --git a/debian/libosmocore-doc.lintian-overrides b/debian/libosmocore-doc.lintian-overrides
new file mode 100644
index 0000000..345e48d
--- /dev/null
+++ b/debian/libosmocore-doc.lintian-overrides
@@ -0,0 +1,2 @@
+# jquery.js is generated by doxygen. See http://bugs.debian.org/736360
+libosmocore-doc binary: embedded-javascript-library usr/share/doc/libosmocore/core/html/jquery.js please use libjs-jquery
diff --git a/debian/libosmocore-utils.manpages b/debian/libosmocore-utils.manpages
new file mode 100644
index 0000000..13cdaf4
--- /dev/null
+++ b/debian/libosmocore-utils.manpages
@@ -0,0 +1 @@
+debian/man/*.1
diff --git a/debian/libosmogsm-doc.doc-base b/debian/libosmogsm-doc.doc-base
new file mode 100644
index 0000000..6318c1d
--- /dev/null
+++ b/debian/libosmogsm-doc.doc-base
@@ -0,0 +1,7 @@
+Document: libosmogsm-doc
+Title: Documentation for the libosmogsm library
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libosmocore/gsm/html/index.html
+Files: /usr/share/doc/libosmocore/gsm/html/*.html
diff --git a/debian/libosmogsm-doc.install b/debian/libosmogsm-doc.install
new file mode 100644
index 0000000..a4300bc
--- /dev/null
+++ b/debian/libosmogsm-doc.install
@@ -0,0 +1 @@
+usr/share/doc/libosmocore/gsm/
diff --git a/debian/libosmogsm-doc.lintian-overrides b/debian/libosmogsm-doc.lintian-overrides
new file mode 100644
index 0000000..2db0404
--- /dev/null
+++ b/debian/libosmogsm-doc.lintian-overrides
@@ -0,0 +1,2 @@
+# jquery.js is generated by doxygen. See http://bugs.debian.org/736360
+libosmogsm-doc binary: embedded-javascript-library usr/share/doc/libosmocore/gsm/html/jquery.js please use libjs-jquery
diff --git a/debian/libosmovty-doc.doc-base b/debian/libosmovty-doc.doc-base
new file mode 100644
index 0000000..dde189c
--- /dev/null
+++ b/debian/libosmovty-doc.doc-base
@@ -0,0 +1,7 @@
+Document: libosmovty-doc
+Title: Documentation for the libosmovty library
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libosmocore/vty/html/index.html
+Files: /usr/share/doc/libosmocore/vty/html/*.html
diff --git a/debian/libosmovty-doc.install b/debian/libosmovty-doc.install
new file mode 100644
index 0000000..634ba41
--- /dev/null
+++ b/debian/libosmovty-doc.install
@@ -0,0 +1 @@
+usr/share/doc/libosmocore/vty/
diff --git a/debian/libosmovty-doc.lintian-overrides b/debian/libosmovty-doc.lintian-overrides
new file mode 100644
index 0000000..c10975e
--- /dev/null
+++ b/debian/libosmovty-doc.lintian-overrides
@@ -0,0 +1,2 @@
+# jquery.js is generated by doxygen. See http://bugs.debian.org/736360
+libosmovty-doc binary: embedded-javascript-library usr/share/doc/libosmocore/vty/html/jquery.js please use libjs-jquery
diff --git a/debian/rules b/debian/rules
index 3cce05e..42222b2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,6 +12,10 @@
DEBIAN := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2)
DEBVERS := $(shell echo '$(DEBIAN)' | cut -d- -f1)
VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/[+-].*//' -e 's/~//g')
+CHANGELOG_DATE := $(shell LC_ALL=C date -u -d "`dpkg-parsechangelog --show-field Date`" +"%d %B %Y")
+
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Our tests want to override symbols, make it possible on Ubuntu
export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS | sed -e 's/-Wl,-Bsymbolic-functions//')
@@ -38,3 +42,27 @@ override_dh_autoreconf:
override_dh_auto_configure:
dh_auto_configure -- --enable-static
+
+override_dh_clean:
+ dh_clean
+ $(RM) .version
+ $(RM) debian/man/osmo-arfcn.1
+ $(RM) debian/man/osmo-auc-gen.1
+ $(RM) include/osmocom/core/bit16gen.h
+ $(RM) include/osmocom/core/bit32gen.h
+ $(RM) include/osmocom/core/bit64gen.h
+ $(RM) include/osmocom/core/crc16gen.h
+ $(RM) include/osmocom/core/crc32gen.h
+ $(RM) include/osmocom/core/crc64gen.h
+ $(RM) include/osmocom/core/crc8gen.h
+ $(RM) src/crc16gen.c
+ $(RM) src/crc32gen.c
+ $(RM) src/crc64gen.c
+ $(RM) src/crc8gen.c
+ $(RM) tests/package.m4
+ $(RM) tests/testsuite
+ $(RM) -r doc/codec/
+ $(RM) -r doc/core/
+ $(RM) -r doc/gsm/
+ $(RM) -r doc/vty/html/
+ $(RM) -r doc/vty/latex/
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..efce4b8
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/osmocom/libosmocore/releases /osmocom/libosmocore/archive/(\d\S+)\.tar\.(?:bz2|gz|xz)
--
2.8.1
From: Sylvain Munaut <tnt(a)246tNt.com>
Signed-off-by: Sylvain Munaut <tnt(a)246tNt.com>
---
Doxyfile.codec.in | 2 +-
Doxyfile.core.in | 2 +-
Doxyfile.gsm.in | 2 +-
Doxyfile.vty.in | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Doxyfile.codec.in b/Doxyfile.codec.in
index 4f539c7..00ab43a 100644
--- a/Doxyfile.codec.in
+++ b/Doxyfile.codec.in
@@ -1141,7 +1141,7 @@ MATHJAX_RELPATH = http://www.mathjax.org/mathjax
# typically be disabled. For large projects the javascript based search engine
# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution.
-SEARCHENGINE = NO
+SEARCHENGINE = YES
# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
# implemented using a PHP enabled web server instead of at the web client
diff --git a/Doxyfile.core.in b/Doxyfile.core.in
index 71843cc..045402f 100644
--- a/Doxyfile.core.in
+++ b/Doxyfile.core.in
@@ -1141,7 +1141,7 @@ MATHJAX_RELPATH = http://www.mathjax.org/mathjax
# typically be disabled. For large projects the javascript based search engine
# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution.
-SEARCHENGINE = NO
+SEARCHENGINE = YES
# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
# implemented using a PHP enabled web server instead of at the web client
diff --git a/Doxyfile.gsm.in b/Doxyfile.gsm.in
index c4a837f..76c8f81 100644
--- a/Doxyfile.gsm.in
+++ b/Doxyfile.gsm.in
@@ -1141,7 +1141,7 @@ MATHJAX_RELPATH = http://www.mathjax.org/mathjax
# typically be disabled. For large projects the javascript based search engine
# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution.
-SEARCHENGINE = NO
+SEARCHENGINE = YES
# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
# implemented using a PHP enabled web server instead of at the web client
diff --git a/Doxyfile.vty.in b/Doxyfile.vty.in
index 5f7a158..2763823 100644
--- a/Doxyfile.vty.in
+++ b/Doxyfile.vty.in
@@ -1141,7 +1141,7 @@ MATHJAX_RELPATH = http://www.mathjax.org/mathjax
# typically be disabled. For large projects the javascript based search engine
# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution.
-SEARCHENGINE = NO
+SEARCHENGINE = YES
# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
# implemented using a PHP enabled web server instead of at the web client
--
2.7.3
Greetings to everyone who can't be in Berlin these days!
The third day of the OsmoDevCon 2016 is on. So far we have heard inspiring
talks [1], had a chance to socialize in person, and hacked on using the Osmocom
3G stack in-the-making with a low-cost Iuh capable femto cell, among other
things; usually gathering at 10 a.m., some of us are seen on-location at
IN-Berlin's premises [2] up to midnight. We've just heard the introduction on
Globalstar satellite telephony, and are heading into lunch break any minute
now.
Let me share the quotes of the day! the context being documentation charts and
white-on-black terminals, the quotes as such do provide a surprisingly accurate
description of the preferred dress code of one of our most prominent members:
I hate colors.
-- Harald Welte, 2016-04-23, 11:31 a.m.
I always find white extremely disturbing.
-- Harald Welte, 2016-04-23, 11:38 a.m.
All the best from IN-Berlin and OsmoDevCon 2016!
~Neels
[1] http://projects.osmocom.org/projects/openbsc/wiki/OsmoDevCon2016
[2] http://in-berlin.de/
--
- Neels Hofmeyr <nhofmeyr(a)sysmocom.de> http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschäftsführer / Managing Directors: Holger Freyther, Harald Welte
Hi,
I subscribed myself to more change notifications on another gerrit to see how the coments would look like. there is not a lot o context but at least some.
> Begin forwarded message:
>
> Jesus Fernandez has posted comments on this change.
>
> Change subject: Possible crash in QMakeSourceFileInfo
> ......................................................................
>
>
> Patch Set 7:
>
> (6 comments)
>
> Thank you
>
> ....................................................
> File qmake/generators/makefiledeps.cpp
> Line 606
> It's really weird, but you're right.
>
> Dropped... I mean Done.
>
>
> Line 648
> Done
>
>
> Line 655
> Done
>
>
> Line 667
> Done
>
>
> Line 592: for (x += 1 ; x + inc_len < buffer_len && buffer[x + inc_len] != '<';
> And an extra whitespace :)
>
> Done!
>
>
> Line 639: for (x += 1; x + inc_len < buffer_len && buffer[x + inc_len] != '<';
> Done
From: Max <msuraev(a)sysmocom.de>
There is implicit invariant in trx_phy_instance() which is actively used
by various hw-specific implementations to get TRX's phy instance. Let's
make sure there's explicit assertion for this because there's been
segfaults in the past related to it.
---
include/osmo-bts/phy_link.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/osmo-bts/phy_link.h b/include/osmo-bts/phy_link.h
index a559aa3..edc6cc0 100644
--- a/include/osmo-bts/phy_link.h
+++ b/include/osmo-bts/phy_link.h
@@ -125,6 +125,7 @@ void phy_user_statechg_notif(struct phy_instance *pinst, enum phy_link_state lin
static inline struct phy_instance *trx_phy_instance(struct gsm_bts_trx *trx)
{
+ OSMO_ASSERT(trx);
return trx->role_bts.l1h;
}
--
2.8.1
Hi osmo-iuh guys,
for hnb-test, I've added misplaced cases to cn_ranap_*_initiating_msg_co().
The point is, hnb-test simulates an RNC, which is by definition not the CN,
but so far it apparently uses the cn_* functions to parse Iu messages.
Just wanted to let you know that I'm aware of it; I've eagerly pushed the
commits to master but now noticed that hnb-test's use of cn_* is not accurate
and that it's the wrong place to add those cases. 68b7a478688
That shall be fixed, so that cn_ranap_*_initiating_msg_co() still report all
messages not expected at the CN as suspicious.
I could keep the RNC side specifics to hnb-test.c, but I guess I will add the
generic RNC side functions that hnb-test needs to the main headers and sources,
just in case some other code may find that useful some day.
~Neels
--
- Neels Hofmeyr <nhofmeyr(a)sysmocom.de> http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschäftsführer / Managing Directors: Holger Freyther, Harald Welte