Change in osmo-bts[master]: bts-trx: loops.c: Follow BSC CHAN ACT ms power level restrictions

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/.

pespin gerrit-no-reply at lists.osmocom.org
Fri Oct 25 14:45:18 UTC 2019


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


Change subject: bts-trx: loops.c: Follow BSC CHAN ACT ms power level restrictions
......................................................................

bts-trx: loops.c: Follow BSC CHAN ACT ms power level restrictions

Fixes TTCN3 BTS_Tests.TC_rsl_ms_pwr_dyn_max

Change-Id: Ifda92155bd9c277ac150a327a7ab63c854087788
---
M src/osmo-bts-trx/loops.c
1 file changed, 4 insertions(+), 0 deletions(-)



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

diff --git a/src/osmo-bts-trx/loops.c b/src/osmo-bts-trx/loops.c
index 2dc6640..6edf643 100644
--- a/src/osmo-bts-trx/loops.c
+++ b/src/osmo-bts-trx/loops.c
@@ -53,6 +53,10 @@
 	if (diff == 0)
 		return;
 
+	/* Don't ask for smaller ms power level than the one requested by BSC CHAN ACT */
+	if (new_power < lchan->ms_power)
+		new_power = lchan->ms_power;
+
 	/* ms transmit power level cannot become negative */
 	if (new_power < 0)
 		new_power = 0;

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ifda92155bd9c277ac150a327a7ab63c854087788
Gerrit-Change-Number: 15877
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191025/c8d3a96c/attachment.htm>


More information about the gerrit-log mailing list