bts-trx: Instruct user to set manually nominal-tx-power if NOMTXPOWER not supported

Using the VTY command will force that value and prevent osmo-bts-trx to
use/send NOMTXPOWER cmd over TRXC.

Change-Id: I496753bc74767a7e18b831768d9d422a738192b7
This commit is contained in:
Pau Espin 2020-06-19 19:13:50 +02:00 committed by laforge
parent f5e22703e7
commit 34940bdb2a
1 changed files with 4 additions and 1 deletions

View File

@ -557,7 +557,10 @@ static int trx_ctrl_rx_rsp_nomtxpower(struct trx_l1h *l1h, struct trx_ctrl_rsp *
unsigned int nominal_power;
if (rsp->status)
LOGPPHI(pinst, DTRX, LOGL_ERROR, "transceiver NOMTXPOWER failed with status %d\n",
LOGPPHI(pinst, DTRX, LOGL_ERROR, "transceiver NOMTXPOWER failed "
"with status %d. If your transceiver doesn't support this "
"command, then please set the nominal transmit power manually "
"through VTY cmd 'nominal-tx-power'.\n",
rsp->status);
if (cb) {
sscanf(rsp->params, "%u", &nominal_power);