fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/32598 )


Change subject: oml: reset BCCH carrier power reduction mode (if enabled)
......................................................................

oml: reset BCCH carrier power reduction mode (if enabled)

We should not maintain BCCH carrier power reduction mode if we loose
connection to the BSC.  When entering NM_BTS_ST_OP_DISABLED_OFFLINE,
reset the related state fields if it was enabled.

Change-Id: I34468e3fccc490f48e30b159b63308a395b65fa9
Related: SYS#6435
(cherry picked from commit acaf6c563bdb7cecb06c4ae15be74cb4db475d8b)
---
M src/common/nm_bts_fsm.c
1 file changed, 17 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/98/32598/1

diff --git a/src/common/nm_bts_fsm.c b/src/common/nm_bts_fsm.c
index 063ffe8..e80a92e 100644
--- a/src/common/nm_bts_fsm.c
+++ b/src/common/nm_bts_fsm.c
@@ -62,6 +62,8 @@
        bts->si_valid = 0;
        TALLOC_FREE(bts->mo.nm_attr);
        bts_cbch_reset(bts);
+       if (bts->c0_power_red_db > 0)
+               bts_set_c0_pwr_red(bts, 0);
 
        bts->mo.setattr_success = false;
        bts->mo.opstart_success = false;

--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/32598
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: 2023q1
Gerrit-Change-Id: I34468e3fccc490f48e30b159b63308a395b65fa9
Gerrit-Change-Number: 32598
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanits...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to