aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-litecell15/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-litecell15/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-litecell15/main.c')
-rw-r--r--src/osmo-bts-litecell15/main.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/osmo-bts-litecell15/main.c b/src/osmo-bts-litecell15/main.c
index f9cacb74..ae789f47 100644
--- a/src/osmo-bts-litecell15/main.c
+++ b/src/osmo-bts-litecell15/main.c
@@ -60,7 +60,6 @@
#include "misc/lc15bts_bid.h"
extern int pcu_direct;
-static unsigned int dsp_trace = 0x00000000;
int bts_model_init(struct gsm_bts *bts)
{
@@ -127,8 +126,7 @@ void bts_update_status(enum bts_global_status which, int on)
void bts_model_print_help()
{
- printf( " -p --dsp-trace Set DSP trace flags\n"
- " -w --hw-version Print the targeted HW Version\n"
+ printf( " -w --hw-version Print the targeted HW Version\n"
" -M --pcu-direct Force PCU to access message queue for "
"PDCH dchannel directly\n"
);
@@ -164,7 +162,6 @@ int bts_model_handle_options(int argc, char **argv)
while (1) {
int option_idx = 0, c;
static const struct option long_options[] = {
- /* FIXME: all those are generic Osmocom app options */
{ "dsp-trace", 1, 0, 'p' },
{ "hw-version", 0, 0, 'w' },
{ "pcu-direct", 0, 0, 'M' },
@@ -177,10 +174,6 @@ int bts_model_handle_options(int argc, char **argv)
break;
switch (c) {
- case 'p':
- dsp_trace = strtoul(optarg, NULL, 16);
-#warning use dsp_trace!!!
- break;
case 'M':
pcu_direct = 1;
break;