osmo-bsc/include
Vadim Yanitskiy 16922c5017 bts: st_op_enabled_on_enter(): resume C0 power reduction
If power saving is enabled for a BTS, it should remain enabled even
if the BTS is restarted for whatever reason.  This persistence can be
achieved by re-sending the configured power reduction value whenever
the BTS NM FSM enters the ENABLED state again (i.e. reconnects).

Separate gsm_bts_send_c0_power_red() from gsm_bts_set_c0_power_red()
and call the former from st_op_enabled_on_enter().  All we need to do
is to send the value that was configured before, per-timeslot power
reduction limits remain and need not to be updated.

Take a chance to move logging from BTS specific to the generic code.

Change-Id: Ic3f8a2ab0ffd049a8ed84361a3a588c1e1b23ac6
Related: SYS#6435
2023-04-28 18:05:37 +07:00
..
osmocom bts: st_op_enabled_on_enter(): resume C0 power reduction 2023-04-28 18:05:37 +07:00
Makefile.am move include/openbsc to include/osmocom/bsc 2017-09-06 16:26:13 +02:00
compat_af_isdn.h move openbsc/* to repos root 2017-08-27 03:52:43 +02:00
mISDNif.h Fix some typos 2019-11-13 22:10:41 +01:00