diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-05-29 13:29:00 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-06-03 17:33:14 +0000 |
commit | dbc837206431dc1ef7fe1f2d245a975c92c727a2 (patch) | |
tree | 009f2a0689962600f51a6c59ec4f6d60bfde9040 /src/osmo-bts-trx/l1_if.h | |
parent | 9daa67d0e7f3294918aa632d0a6eb237b2cd87f8 (diff) |
bts-trx: vty: Add 'nominal-tx-power' cmd
This value will be soon acquired automatically by osmo-bts-trx by asking
over TRXC to new versions of osmo-trx which is the nominal tx power for a given trx.
However, to still be able to work correctly against older versions of
osmo-trx or other TRX implementation (older or current) not supporting
this new TRX comamnd, let's allow the user to force a given value
through VTY for Tx power to work correctly.
Change-Id: Ib1b6f80d3b54afc42db9d358a79582cc619c6ce4
Diffstat (limited to 'src/osmo-bts-trx/l1_if.h')
-rw-r--r-- | src/osmo-bts-trx/l1_if.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo-bts-trx/l1_if.h b/src/osmo-bts-trx/l1_if.h index 73709995..42452d24 100644 --- a/src/osmo-bts-trx/l1_if.h +++ b/src/osmo-bts-trx/l1_if.h @@ -78,6 +78,8 @@ struct trx_config { int power_oml; int power_sent; + bool nominal_power_set_by_vty; /* whether nominal trx power was enforced/retreived from VTY config "nominal-tx-power" */ + int maxdly_valid; int maxdly; int maxdly_sent; |