From a6078fe1d8701d15262e7eb5b3d50d13d1702bbc Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Mon, 28 Jan 2019 03:52:14 +0100 Subject: use libosmocore osmo_tdef Move the T_defs API to libosmocore as osmo_tdefs: remove the local T_defs API and use libosmocore's osmo_tdef* API instead. The root reason is moving the mgw_endpoint_fsm to libosmo-mgcp-client to be able to use it in osmo-msc for inter-MSC handover. When adding osmo_tdef, the new concept of timer groups was added to the API. It would make sense to apply group names here as well, but do not modify the VTY configuration for timers. The future might bring separate groups (or not). Depends: Ibd6b1ed7f1bd6e1f2e0fde53352055a4468f23e5 (libosmocore) Change-Id: I66674a5d8403d820038762888c846bae10ceac58 --- tests/nanobts_omlattr/nanobts_omlattr_test.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'tests/nanobts_omlattr/nanobts_omlattr_test.c') diff --git a/tests/nanobts_omlattr/nanobts_omlattr_test.c b/tests/nanobts_omlattr/nanobts_omlattr_test.c index 38729ac35..65eb05563 100644 --- a/tests/nanobts_omlattr/nanobts_omlattr_test.c +++ b/tests/nanobts_omlattr/nanobts_omlattr_test.c @@ -21,7 +21,6 @@ #include #include -#include #include #include @@ -192,9 +191,9 @@ static const struct log_info log_info = { .num_cat = ARRAY_SIZE(log_categories), }; -static struct T_def gsm_network_T_defs[] = { - { .T=3105, .default_val=100, .val=13, .unit=T_MS, .desc="Physical Information" }, - { .T=3212, .default_val=5, .unit=T_CUSTOM, +static struct osmo_tdef gsm_network_T_defs[] = { + { .T=3105, .default_val=100, .val=13, .unit=OSMO_TDEF_MS, .desc="Physical Information" }, + { .T=3212, .default_val=5, .unit=OSMO_TDEF_CUSTOM, .desc="Periodic Location Update timer, sent to MS (1 = 6 minutes)" }, {} }; -- cgit v1.2.3