aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-02-21 11:27:30 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-04-22 09:09:32 +0200
commita3ba0f2205d22f7181838c4bea6c769211ab687e (patch)
tree17b94f53d10b53c2d0101fadf53c8584a46d63cb
parentf56cea4794a761fc5ae46a1d5a4b2ed9afe516b7 (diff)
nitb: Add ctrl command to set the BTS cell_identity
-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 804974922..d583b15bb 100644
--- a/openbsc/src/osmo-nitb/ctrl_commands.c
+++ b/openbsc/src/osmo-nitb/ctrl_commands.c
@@ -146,6 +146,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_ctrl_cmds_install(void)
@@ -173,6 +175,7 @@ int bsc_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;
}