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 <pes...@sysmocom.de> Gerrit-MessageType: newchange