aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/vty.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-07-27 13:09:54 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-07-27 16:58:41 +0200
commitf30440553c23815d518f1b3e1790d61f56fd33d3 (patch)
tree9f644aa8d03f81a492fe13780f826ba9eb40ed08 /src/common/vty.c
parentbe15a12c87983ef07fb133fedea4ef18d2213bc6 (diff)
vty: Allow setting power-ramp max-initial to negative values
This allows for instance ramping up from -10 dBm -> -4 dBm if NOMTXPOWER of SDR is really low (below 0dBm) or because the max_power_red is >= NOMTXPOWER. Related: SYS#4920 Change-Id: I0f27fb7b86b58c5a80f5342b66ff4f5d1b775498
Diffstat (limited to 'src/common/vty.c')
-rw-r--r--src/common/vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/vty.c b/src/common/vty.c
index 91f3706c..3f24d667 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -723,7 +723,7 @@ DEFUN(cfg_trx_user_gain,
#define PR_STR "Power-Ramp settings\n"
DEFUN(cfg_trx_pr_max_initial, cfg_trx_pr_max_initial_cmd,
- "power-ramp max-initial <0-100000> (dBm|mdBm)",
+ "power-ramp max-initial <-10000-100000> (dBm|mdBm)",
PR_STR "Maximum initial power\n"
"Value\n" DB_MDB_STR)
{