aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-trx/l1_if.h
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-05-29 13:29:00 +0200
committerlaforge <laforge@osmocom.org>2020-06-03 17:33:14 +0000
commitdbc837206431dc1ef7fe1f2d245a975c92c727a2 (patch)
tree009f2a0689962600f51a6c59ec4f6d60bfde9040 /src/osmo-bts-trx/l1_if.h
parent9daa67d0e7f3294918aa632d0a6eb237b2cd87f8 (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.h2
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;