summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-03-04 10:31:59 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-03-06 23:05:13 +0100
commitb86ebc1c3cac8c59085bde5907c0a7e77c7d329d (patch)
treeee7d247eeae64d46db8c6b6b9266222689d84485
parentdf9243764333e26c4333f57e47f053f5cba7c89c (diff)
DUMMY: Create a rflock/drop command for the BTS/TRX
-rw-r--r--openbsc/src/osmo-nitb/ctrl_commands_dummy.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/openbsc/src/osmo-nitb/ctrl_commands_dummy.c b/openbsc/src/osmo-nitb/ctrl_commands_dummy.c
index e2e3e97ed..d56cbff80 100644
--- a/openbsc/src/osmo-nitb/ctrl_commands_dummy.c
+++ b/openbsc/src/osmo-nitb/ctrl_commands_dummy.c
@@ -45,12 +45,23 @@ int dummy_verify(struct ctrl_cmd *cmd, const char *value, void *data)
/* ROOT related commands below here */
DUMMY_COMMAND(net_trap_meas_enable, "trap-measurement-reports-enable");
+/* BTS related commands below here */
+DUMMY_COMMAND(bts_drop, "drop");
+DUMMY_COMMAND(bts_rflock, "rflock");
+/* TRX related commands below here */
+DUMMY_COMMAND(trx_drop, "drop");
+DUMMY_COMMAND(trx_rflock, "rflock");
int bsc_ctrl_cmds_install_dummies(void)
{
int rc = 0;
rc |= ctrl_cmd_install(CTRL_NODE_ROOT, &cmd_net_trap_meas_enable);
+ rc |= ctrl_cmd_install(CTRL_NODE_BTS, &cmd_bts_drop);
+ rc |= ctrl_cmd_install(CTRL_NODE_BTS, &cmd_bts_rflock);
+
+ rc |= ctrl_cmd_install(CTRL_NODE_TRX, &cmd_trx_drop);
+ rc |= ctrl_cmd_install(CTRL_NODE_TRX, &cmd_trx_rflock);
return rc;
}