Add warning for unsupported DTX configurations

libosmo-abis do not consider DTX bits while processing TRAU frames. As I
do not have equipment to test it, I'm not sure if/how non-IP BTS will
work in case of DTX - warn users about it.

Change-Id: I94ee69cd309fc343a428ddc66942cd57f2a34c05
Related: OS#22
This commit is contained in:
Max 2016-06-06 11:30:57 +02:00
parent 9329e6fb49
commit 6079528b48
1 changed files with 6 additions and 2 deletions

View File

@ -1748,7 +1748,9 @@ DEFUN(cfg_bts_dtxu, cfg_bts_dtxu_cmd, "dtx uplink [force]",
struct gsm_bts *bts = vty->index;
bts->dtxu = (argc > 0) ? GSM48_DTX_SHALL_BE_USED : GSM48_DTX_MAY_BE_USED;
if (!is_ipaccess_bts(bts))
vty_out(vty, "%% DTX enabled on non-IP BTS: this configuration "
"neither supported nor tested!%s", VTY_NEWLINE);
return CMD_SUCCESS;
}
@ -1771,7 +1773,9 @@ DEFUN(cfg_bts_dtxd, cfg_bts_dtxd_cmd, "dtx downlink",
struct gsm_bts *bts = vty->index;
bts->dtxd = true;
if (!is_ipaccess_bts(bts))
vty_out(vty, "%% DTX enabled on non-IP BTS: this configuration "
"neither supported nor tested!%s", VTY_NEWLINE);
return CMD_SUCCESS;
}