aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/l1_if.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-01-20 21:56:47 +0100
committerHarald Welte <laforge@gnumonks.org>2016-02-15 14:27:20 +0100
commit9684099ae905e6e61cbc326035d0b37c480f6172 (patch)
treefb429faa3fd123db634b5613316f89f6c7cf2f13 /src/osmo-bts-sysmo/l1_if.c
parent38933afdd95f9e809c2e3a15ff860d22b22f27c4 (diff)
sysmobts/LC15: Fix startup-time DSP trace flage configuration
Due to the changes introduced by the phy_link API, it's not easy to set the default DSP trace flags via a command line argument anymore. We now rather introduce a persitent VTY configuration command, by which the default DSP tracing configuration can be set (for each PHY). The persistent trace flags are stored in the phy_instance, while the current operational run-time flags are in fl1h->phy_instance.
Diffstat (limited to 'src/osmo-bts-sysmo/l1_if.c')
-rw-r--r--src/osmo-bts-sysmo/l1_if.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c
index 8d07422f..55453ef6 100644
--- a/src/osmo-bts-sysmo/l1_if.c
+++ b/src/osmo-bts-sysmo/l1_if.c
@@ -1463,6 +1463,7 @@ struct femtol1_hdl *l1if_open(struct phy_instance *pinst)
fl1h->clk_use_eeprom = 1;
fl1h->min_qual_rach = MIN_QUAL_RACH;
fl1h->min_qual_norm = MIN_QUAL_NORM;
+ fl1h->dsp_trace_f = pinst->u.sysmobts.dsp_trace_f;
get_hwinfo_eeprom(fl1h);
#if SUPERFEMTO_API_VERSION >= SUPERFEMTO_API(2,1,0)
if (fl1h->hw_info.model_nr == 2050) {