Commit Graph

16 Commits

Author SHA1 Message Date
Pau Espin faedcec65c Bump version: 0.5.0.11-b7c9-dirty → 0.6.0
Change-Id: I8d5e3ffd928fa65bc3d3b43553fcd6774a7812dc
2023-09-12 13:30:07 +02:00
Oliver Smith cd813cde13 systemd: depend on networking-online.target
Related: SYS#6400
Change-Id: I29e547242b2ed1cfc4750c7d7e5f8636c2e8f3dc
2023-05-26 14:10:44 +02:00
Pau Espin 7d2df40c69 Bump version: 0.4.0.26-8aba-dirty → 0.5.0
Change-Id: I178d34a67cba0359b16fe27fa30b2145703a2909
2023-02-07 11:57:43 +01:00
Oliver Smith df67b3535a contrib/spec: add /etc/osmocom/osmo-e1d.cfg
Fix that the file only got installed to /usr/share as example, but not
to /etc/osmocom in the rpm packaging.

Related: OS#5817
Change-Id: I4ffa23f7ab26b7ed3cba04aed4f57eeaa3edca31
2022-12-08 15:59:47 +01:00
Harald Welte 20419bdf55 doxygen API documentation for libosmo-e1d
If we actually expect 3rd party applications to use libosmo-e1d to talk
to osmo-e1d, we'd better add some basic documentation on how this API
shall be used.

Change-Id: Ib4a97045bca276fbd3892f801898a436de7dc39b
2022-11-07 14:43:53 +01:00
Harald Welte e443318da4 jenkins.sh: Support for building + publishing the manual
Change-Id: Ic399662e6ac5e5e7f999e6e7127df9a9580a0627
2022-11-07 14:36:51 +01:00
Harald Welte 1d4cf36e2a Add support of RPM package building via osmo-e1d.spec.in
Change-Id: If9d3d4b7b06aef156fd895415db3b30bdecd74b4
2022-11-07 11:03:29 +01:00
Sylvain Munaut 7cc8a7b806 contrib/e1-prbs-test: Delay the TX pipe fill data until first RX
There is non negligible time between the moment init_timeslot is
called and the moment when we get the first RX (which is when
we start sending out data at the same rate we RX it). And those
1024 byte were borderline not enough to not underflow.

By delaying the 1024 byte pre-fill until we get the first RX,
we ensure the time that pre-fill covers is more consistant and
less dependend on whatever the app/scheduling does during the
init phase.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Change-Id: Ic1c93fd138073a75830dc16bb41c4541e68eef90
2022-01-09 15:09:11 +01:00
Harald Welte a82fe56aea e1d-prbs-test: Initialize libosmocore logging
Fixes the following crash when libosmo-e1d wants to log something:

ERROR: osmo_log_info == NULL! You must call log_init() before using logging in log_check_level()!
Assert failed osmo_log_info logging.c:299
backtrace() returned 13 addresses
/usr/local/lib/libosmocore.so.17(osmo_generate_backtrace+0x1c) [0x7ff4ed29d6cf]
/usr/local/lib/libosmocore.so.17(+0x263c7) [0x7ff4ed29d3c7]
/usr/local/lib/libosmocore.so.17(osmo_panic+0xe0) [0x7ff4ed29d4ac]
/usr/local/lib/libosmocore.so.17(assert_loginfo+0x74) [0x7ff4ed298f57]
/usr/local/lib/libosmocore.so.17(log_check_level+0x1e) [0x7ff4ed29b091]
/usr/local/lib/libosmo-e1d.so.1(osmo_e1dp_send+0xf2) [0x7ff4ed2727a2]
/usr/local/lib/libosmo-e1d.so.1(+0x19d4) [0x7ff4ed2729d4]
/usr/local/lib/libosmo-e1d.so.1(+0x1c37) [0x7ff4ed272c37]
/usr/local/lib/libosmo-e1d.so.1(osmo_e1dp_client_ts_open+0x1d) [0x7ff4ed2730ed]
./e1-prbs-test(+0x1841) [0x55e00daeb841]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7ff4ed0a60b3]
./e1-prbs-test(+0x192e) [0x55e00daeb92e]
Aborted

Change-Id: Ia305b008711c15383c84f7cf2acedd20b568ef8a
2021-04-04 11:16:58 +02:00
Harald Welte e542b30f44 Use OSMO_FD_* instead of deprecated BSC_FD_*
Change-Id: I7d0972705e898fd75cda3e92104c67c56ec166d5
2020-10-18 22:36:34 +02:00
Harald Welte ead2e020f0 e1-prbs-test: Add support for osmo-e1d
This allows e1-prbs-test to not only use DAHDI devices, but also
osmo-e1d supported devices

Change-Id: I0e88f2b056db931b0e442567efa9a8d270abb9f2
2020-09-11 13:04:21 +02:00
Harald Welte e1145c53e3 add systemd service/unit
Change-Id: I956cd9e7ff378a6372524175a1c83416be45610b
2020-07-01 08:29:39 +00:00
Harald Welte d4e9f2ef93 e1-prbs-test: Add initial code for checking ICE40-E1 traces
The idea of this code is to check captures made by ICE40 against
the known transmitted per-timeslots PRBS sequences.

Change-Id: I084a9737c9e051dcadf971e39e32f10f89aecfbd
2020-01-06 17:37:07 +01:00
Harald Welte eb995b4a7e contrib: add e1-prbs-test
e1-prbs-test is a small utility that can be used to do PRBS testing
on E1/T1 lines using DAHDI cards.  A transmiter and receiver are
exchanging timeslot-specific PRBS sequences.

Change-Id: Ib25d266e61e0d70919cc4e65d5b1bf0bc9ec7d00
2020-01-06 17:37:07 +01:00
Oliver Smith 2d7cc61101 contrib/jenkins.sh: run "make maintainer-clean"
Related: OS#3047
Change-Id: If69a9bddefd74fbdd8003d9efbb4f7756f407037
2019-07-10 13:31:03 +02:00
Sylvain Munaut cc95b5ebe3 contrib: Add jenkins build script
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-05-11 22:36:24 +02:00