aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-01-09 19:55:04 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-04-22 09:09:33 +0200
commit15c9d7fb57b6a63a5aa51732104a6ae6613163e3 (patch)
tree3d955ab0d9550ef3c1e25098265f8cfd3a2592f2
parente9139be5bb72841b9bd4cec27f3082d075dc7da9 (diff)
nitb: Add ctrl command to set the TRX ARFCN
-rw-r--r--openbsc/src/osmo-nitb/ctrl_commands.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/osmo-nitb/ctrl_commands.c b/openbsc/src/osmo-nitb/ctrl_commands.c
index 5b4c08e06..2e90daea4 100644
--- a/openbsc/src/osmo-nitb/ctrl_commands.c
+++ b/openbsc/src/osmo-nitb/ctrl_commands.c
@@ -334,6 +334,7 @@ static int verify_trx_max_power(struct ctrl_cmd *cmd, const char *value, void *_
return 0;
}
CTRL_CMD_DEFINE(trx_max_power, "bs-power-reduction");
+CTRL_CMD_DEFINE_RANGE(trx_arfcn, "arfcn", struct gsm_bts_trx, arfcn, 0, 1023);
@@ -370,5 +371,7 @@ int bsc_ctrl_cmds_install(void)
rc |= ctrl_cmd_install(CTRL_NODE_BTS, &cmd_bts_t200);
rc |= ctrl_cmd_install(CTRL_NODE_TRX, &cmd_trx_max_power);
+ rc |= ctrl_cmd_install(CTRL_NODE_TRX, &cmd_trx_arfcn);
+
return rc;
}