Hoernchen has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/14489


Change subject: RSL: Fix fixed MS power control in RSL CHAN ACTIV
......................................................................

RSL: Fix fixed MS power control in RSL CHAN ACTIV

Dynamic MS power control should only be active if a power parameters IE
was supplied.

Change-Id: I0bbe171a287b10d71fc853cd721f66e4c84db8c5
---
M src/common/rsl.c
1 file changed, 8 insertions(+), 0 deletions(-)



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

diff --git a/src/common/rsl.c b/src/common/rsl.c
index 7630a8c..0a613bb 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -1116,6 +1116,14 @@

        /* 9.3.32 BS Power Parameters */
        /* 9.3.31 MS Power Parameters */
+       if (TLVP_PRESENT(&tp, RSL_IE_MS_POWER_PARAM))
+               lchan->ms_power_ctrl.fixed = 0;
+       else {
+               /* Spec explicitly states BTS should only perform
+               * autonomous MS power control loop in BTS if 'MS Power
+               * Parameters' IE is present! */
+               lchan->ms_power_ctrl.fixed = 1;
+       }
        /* 9.3.16 Physical Context */

        /* 9.3.29 SACCH Information */

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I0bbe171a287b10d71fc853cd721f66e4c84db8c5
Gerrit-Change-Number: 14489
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <ew...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to