aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2020-10-05 15:49:35 +0000
committerHarald Welte <laforge@osmocom.org>2020-10-05 18:23:06 +0200
commit90e0c205b5ff4e94c7705cc8f81ccb510c0eb6df (patch)
treeb51b97833e432b692e5df6b0759def93d1118150 /include
parent17de4e708f92f0f06ef0ffc4c248c80352861f42 (diff)
bts: Add VTY command to manually override Radio Link Timeout
There are some situations where it is useful to be able to change the Radio Link Timeout at runtime, without restarting the BTS. This adds a new (hidden) command for this: "bts <0-255> radio-link-timeout (oml|infinite|<4-64>)" Change-Id: I64674a432cf7751b16d5d0b52f66766fa6e37028
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/bts.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/osmo-bts/bts.h b/include/osmo-bts/bts.h
index ffaeb577..ccbcf9a0 100644
--- a/include/osmo-bts/bts.h
+++ b/include/osmo-bts/bts.h
@@ -283,7 +283,11 @@ struct gsm_bts {
} fn_stats;
/* Radio Link Timeout counter. -1 disables timeout for
* lab/measurement purpose */
- int radio_link_timeout;
+ struct {
+ int oml; /* value communicated by BSC in OML */
+ int current; /* actual currently applied value */
+ bool vty_override; /* OML value overridden by VTY */
+ } radio_link_timeout;
int ul_power_target; /* Uplink Rx power target */