diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-02-22 13:24:18 +0100 |
---|---|---|
committer | Ivan Kluchnikov <kluchnikovi@gmail.com> | 2014-01-13 16:08:27 +0400 |
commit | f43bc74c244b59e0313e260f0f9c5a52deae085a (patch) | |
tree | 0269320840e309803f7484c653463da49eea8c58 /openbsc/src/osmo-nitb/ctrl_commands.c | |
parent | 242b08c65817063408243d0852b3645d7d7ae54c (diff) |
nitb: Add ctrl command to set the BTS ms max power
Diffstat (limited to 'openbsc/src/osmo-nitb/ctrl_commands.c')
-rw-r--r-- | openbsc/src/osmo-nitb/ctrl_commands.c | 3 |
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; } |