diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2022-12-19 15:07:27 +0100 |
---|---|---|
committer | daniel <dwillmann@sysmocom.de> | 2022-12-21 23:51:51 +0000 |
commit | 63baf960c621aa3bd30f5a7acff4b04401821a4e (patch) | |
tree | 0cd8a70be27b1dedba6ffebd6a85f303036ee1bc /src/osmo-bts-trx | |
parent | 73773447715c57075ad5acb96a5346ff23d7e91f (diff) |
shutdown_fsm: Add power_ramp_force() to jump straight to the tgt power
Both power_ramp_start() and power_ramp_force() are now small macros
around _power_ramp_start()
The new behavior is:
* ramp down power when stopping bts through Ctrl-C
* the other shutdown causes skip power ramping
This will cause the bts to reconnect faster when the oml link is
dropped and power ramping is enabled.
Change-Id: Ida1d7bbf094958b9142af306dbf84206729a609e
Related: SYS#6237
Diffstat (limited to 'src/osmo-bts-trx')
-rw-r--r-- | src/osmo-bts-trx/l1_if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-trx/l1_if.c b/src/osmo-bts-trx/l1_if.c index 8c364c3c..ae4fe70a 100644 --- a/src/osmo-bts-trx/l1_if.c +++ b/src/osmo-bts-trx/l1_if.c @@ -195,7 +195,7 @@ void bts_model_abis_close(struct gsm_bts *bts) { /* Go into shutdown state deactivating transceivers until Abis link * becomes up again */ - bts_shutdown_ext(bts, "Abis close", false); + bts_shutdown_ext(bts, "Abis close", false, true); } int bts_model_adjst_ms_pwr(struct gsm_lchan *lchan) |