aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-02-21 11:27:30 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-03-06 23:02:44 +0100
commitbd4a7f45f44b9fea16e7227549b502501b213381 (patch)
tree2a80fb7d26a3f1f26a86b1b85bbdbe89f019cf02
parent318ec7c67058e08008f2e50ee1a0db063bfca0ab (diff)
nitb: Add ctrl command to set the BTS cell_identity
-rw-r--r--openbsc/src/libbsc/bsc_ctrl_commands.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/bsc_ctrl_commands.c b/openbsc/src/libbsc/bsc_ctrl_commands.c
index df77aff7b..52b9ad0d7 100644
--- a/openbsc/src/libbsc/bsc_ctrl_commands.c
+++ b/openbsc/src/libbsc/bsc_ctrl_commands.c
@@ -204,6 +204,8 @@ CTRL_CMD_DEFINE_RANGE(bts_unit_id, "unit-id", struct gsm_bts,
ip_access.site_id, 0, 65534);
CTRL_CMD_DEFINE_RANGE(bts_lac, "location-area-code", struct gsm_bts,
location_area_code, 0, 65535);
+CTRL_CMD_DEFINE_RANGE(bts_ci, "cell-identity", struct gsm_bts,
+ cell_identity, 0, 65535);
int bsc_base_ctrl_cmds_install(void)
{
@@ -231,6 +233,7 @@ int bsc_base_ctrl_cmds_install(void)
rc |= ctrl_cmd_install(CTRL_NODE_BTS, &cmd_bts_description);
rc |= ctrl_cmd_install(CTRL_NODE_BTS, &cmd_bts_unit_id);
rc |= ctrl_cmd_install(CTRL_NODE_BTS, &cmd_bts_lac);
+ rc |= ctrl_cmd_install(CTRL_NODE_BTS, &cmd_bts_ci);
return rc;
}