aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-litecell15/main.c
diff options
context:
space:
mode:
authorMinh-Quang Nguyen <minh-quang.nguyen@nutaq.com>2016-06-09 15:01:01 -0400
committerHarald Welte <laforge@gnumonks.org>2016-06-15 09:44:51 +0000
commitd0d2c9217a909c1455dfabb26cd3e678493490d9 (patch)
tree7a909ab29b6f50d53f6fe91bd2c4ed0c8bbd6fac /src/osmo-bts-litecell15/main.c
parent7158c2ed082eaca6063a501e490e8d3c3b181560 (diff)
LC15: Bring back DSP trace argument
Diffstat (limited to 'src/osmo-bts-litecell15/main.c')
-rw-r--r--src/osmo-bts-litecell15/main.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/osmo-bts-litecell15/main.c b/src/osmo-bts-litecell15/main.c
index ef132f87..2aaacd3c 100644
--- a/src/osmo-bts-litecell15/main.c
+++ b/src/osmo-bts-litecell15/main.c
@@ -60,6 +60,8 @@
#include "oml_router.h"
#include "misc/lc15bts_bid.h"
+unsigned int dsp_trace = 0x00000000;
+
int bts_model_init(struct gsm_bts *bts)
{
struct gsm_bts_trx *trx;
@@ -133,8 +135,8 @@ void bts_update_status(enum bts_global_status which, int on)
void bts_model_print_help()
{
printf( " -w --hw-version Print the targeted HW Version\n"
- " -M --pcu-direct Force PCU to access message queue for "
- "PDCH dchannel directly\n"
+ " -M --pcu-direct Force PCU to access message queue for PDCH dchannel directly\n"
+ " -p --dsp-trace Set DSP trace flags\n"
);
}
@@ -180,6 +182,9 @@ int bts_model_handle_options(int argc, char **argv)
break;
switch (c) {
+ case 'p':
+ dsp_trace = strtoul(optarg, NULL, 16);
+ break;
case 'M':
pcu_direct = 1;
break;