aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-06-19 19:13:50 +0200
committerlaforge <laforge@osmocom.org>2020-06-19 20:34:08 +0000
commit34940bdb2a51f3206a4dafb0872d23b6758cd9a5 (patch)
tree6f1fa37693ee505f1310b778dd038a67ea7cb777
parentf5e22703e76ee04b8f80911eb71f62a4357d3e64 (diff)
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
-rw-r--r--src/osmo-bts-trx/trx_if.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/osmo-bts-trx/trx_if.c b/src/osmo-bts-trx/trx_if.c
index 1953f71f..6fe0ecd6 100644
--- a/src/osmo-bts-trx/trx_if.c
+++ b/src/osmo-bts-trx/trx_if.c
@@ -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);