aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-02-22 13:24:18 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-04-22 09:09:32 +0200
commit297d6a36fe7f126c32166394556d48bb966a9bd6 (patch)
tree1307a7e078575d29b676eb160bff62d98c6b1597
parenta3ba0f2205d22f7181838c4bea6c769211ab687e (diff)
nitb: Add ctrl command to set the BTS ms max power
-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 d583b15bb..388bb0492 100644
--- a/openbsc/src/osmo-nitb/ctrl_commands.c
+++ b/openbsc/src/osmo-nitb/ctrl_commands.c
@@ -148,6 +148,8 @@ 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);
+CTRL_CMD_DEFINE_RANGE(bts_ms_max_power, "ms-max-power", struct gsm_bts,
+ ms_max_power, 0, 40);
int bsc_ctrl_cmds_install(void)
@@ -176,6 +178,7 @@ int bsc_ctrl_cmds_install(void)
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);
+ rc |= ctrl_cmd_install(CTRL_NODE_BTS, &cmd_bts_ms_max_power);
return rc;
}