From 108b60fabac8f85739584124658e062c3fd7f7cb Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 25 Jul 2016 16:45:31 +0200 Subject: Fix dsp tracing at phy config Due to missing runtime cmd patching DSP tracing was not possible at phy level of config file. No it is possible to specify it as follows: ... phy 0 instance 0 dsp-trace-flag debug dsp-trace-flag mph_cnf ... Change-Id: Ibbbf81d2c4b5d3adbcbc1f08a844d262e603e571 --- src/osmo-bts-sysmo/sysmobts_vty.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/osmo-bts-sysmo/sysmobts_vty.c b/src/osmo-bts-sysmo/sysmobts_vty.c index 4580f1e2..c829c497 100644 --- a/src/osmo-bts-sysmo/sysmobts_vty.c +++ b/src/osmo-bts-sysmo/sysmobts_vty.c @@ -497,6 +497,23 @@ int bts_model_vty_init(struct gsm_bts *bts) NO_STR TRX_STR DSP_TRACE_F_STR, "\n", "", 0); + cfg_phy_dsp_trace_f_cmd.string = + vty_cmd_string_from_valstr(bts, femtobts_tracef_names, + "dsp-trace-flag (", "|", ")", + VTY_DO_LOWER); + cfg_phy_dsp_trace_f_cmd.doc = + vty_cmd_string_from_valstr(bts, femtobts_tracef_docs, + DSP_TRACE_F_STR, "\n", "", 0); + + cfg_phy_no_dsp_trace_f_cmd.string = + vty_cmd_string_from_valstr(bts, femtobts_tracef_names, + "no dsp-trace-flag (", "|", ")", + VTY_DO_LOWER); + cfg_phy_no_dsp_trace_f_cmd.doc = + vty_cmd_string_from_valstr(bts, femtobts_tracef_docs, + NO_STR DSP_TRACE_F_STR, "\n", + "", 0); + install_element_ve(&show_dsp_trace_f_cmd); install_element_ve(&show_sys_info_cmd); install_element_ve(&show_trx_clksrc_cmd); -- cgit v1.2.3