From 8a64141a533c0b090bbeb756bb8eac2eee457ad4 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 21 Nov 2014 10:54:42 +0100 Subject: bsc: Allow to set the call-identity Allow to set the cell-identity through the control interface and add a small test for it. Related: SYS#739 --- openbsc/src/libbsc/bsc_ctrl_commands.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbsc/src/libbsc') diff --git a/openbsc/src/libbsc/bsc_ctrl_commands.c b/openbsc/src/libbsc/bsc_ctrl_commands.c index fde825be8..09f9acc0c 100644 --- a/openbsc/src/libbsc/bsc_ctrl_commands.c +++ b/openbsc/src/libbsc/bsc_ctrl_commands.c @@ -155,6 +155,7 @@ CTRL_CMD_DEFINE(net_mcc_mnc_apply, "mcc-mnc-apply"); /* BTS related commands below */ 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); static int verify_bts_apply_config(struct ctrl_cmd *cmd, const char *v, void *d) { @@ -234,6 +235,7 @@ int bsc_base_ctrl_cmds_install(void) rc |= ctrl_cmd_install(CTRL_NODE_ROOT, &cmd_net_mcc_mnc_apply); rc |= ctrl_cmd_install(CTRL_NODE_BTS, &cmd_bts_lac); + rc |= ctrl_cmd_install(CTRL_NODE_BTS, &cmd_bts_ci); rc |= ctrl_cmd_install(CTRL_NODE_BTS, &cmd_bts_apply_config); rc |= ctrl_cmd_install(CTRL_NODE_TRX, &cmd_trx_max_power); -- cgit v1.2.3