aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/main.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/main.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/main.c')
-rw-r--r--src/osmo-bts-sysmo/main.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/osmo-bts-sysmo/main.c b/src/osmo-bts-sysmo/main.c
index 88981eef..68143bb4 100644
--- a/src/osmo-bts-sysmo/main.c
+++ b/src/osmo-bts-sysmo/main.c
@@ -55,7 +55,6 @@
#include "oml_router.h"
extern int pcu_direct;
-static unsigned int dsp_trace = 0x00000000;
/* Set the clock calibration to the value
* read from the eeprom.
@@ -168,22 +167,17 @@ int bts_model_handle_options(int argc, char **argv)
int option_idx = 0, c;
static const struct option long_options[] = {
/* specific to this hardware */
- { "dsp-trace", 1, 0, 'p' },
{ "hw-version", 0, 0, 'w' },
{ "pcu-direct", 0, 0, 'M' },
{ 0, 0, 0, 0 }
};
- c = getopt_long(argc, argv, "p:w:M",
+ c = getopt_long(argc, argv, "wM",
long_options, &option_idx);
if (c == -1)
break;
switch (c) {
- case 'p':
- dsp_trace = strtoul(optarg, NULL, 16);
-#warning use dsp_trace!!!
- break;
case 'M':
pcu_direct = 1;
break;