max_power_limit: the limit is 24 dB !
This commit is contained in:
parent
986c3d76db
commit
61a83b2aec
|
@ -1101,7 +1101,7 @@ DEFUN(cfg_trx_max_power_red,
|
||||||
{
|
{
|
||||||
int maxpwr_r = atoi(argv[0]);
|
int maxpwr_r = atoi(argv[0]);
|
||||||
struct gsm_bts_trx *trx = vty->index;
|
struct gsm_bts_trx *trx = vty->index;
|
||||||
int upper_limit = 12; /* default 12.21 max power red. */
|
int upper_limit = 24; /* default 12.21 max power red. */
|
||||||
|
|
||||||
/* FIXME: check if our BTS type supports more than 12 */
|
/* FIXME: check if our BTS type supports more than 12 */
|
||||||
if (maxpwr_r < 0 || maxpwr_r > upper_limit) {
|
if (maxpwr_r < 0 || maxpwr_r > upper_limit) {
|
||||||
|
|
Loading…
Reference in New Issue