Change in osmo-bts[master]: l1sap.c: ensure ms power control loop is running

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Tue Nov 26 15:38:32 UTC 2019


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


Change subject: l1sap.c: ensure ms power control loop is running
......................................................................

l1sap.c: ensure ms power control loop is running

When a bad SACCH frame is received the processing of the frame is ended
early and lchan_ms_pwr_ctrl() is not called. This means that the power
control loop does not get informed about a situation where the signal
level is very weak and increasing the ms power would make sense. In
order to ensure that the power control keeps working on lost SAACH
frames, lets call lchan_ms_pwr_ctrl() with dummy values.

Related: OS#4281
Change-Id: I4fb85754b1a69376b02da7f4b175c6e8ec9cc35c
---
M src/common/l1sap.c
1 file changed, 2 insertions(+), 0 deletions(-)



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

diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index ad7ec83..cb188cc 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -1249,6 +1249,8 @@
 
 			radio_link_timeout(lchan, 1);
 		}
+
+		lchan_ms_pwr_ctrl(lchan, lchan->ms_power_ctrl.current, 110);
 		return -EINVAL;
 	}
 

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I4fb85754b1a69376b02da7f4b175c6e8ec9cc35c
Gerrit-Change-Number: 16233
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191126/5e15a6a6/attachment.htm>


More information about the gerrit-log mailing list