Change in osmo-bts[master]: MS Power Control Loop: Fix sub vs full being passed to algo

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
Wed Sep 15 12:43:05 UTC 2021


pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/25467 )

Change subject: MS Power Control Loop: Fix sub vs full being passed to algo
......................................................................

MS Power Control Loop: Fix sub vs full being passed to algo

Fixes: c80abd109b9fc218de047a25ecf4d0de49ca2cdc
Change-Id: Ib66ac938e3e71409848927a2972f1f77b9bacde2
---
M src/common/l1sap.c
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  fixeria: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 40e818d..8aa80e7 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -1614,10 +1614,10 @@
 			/* If DTx is active on Downlink, use the '-SUB', otherwise '-FULL': */
 			if (lchan->tch.dtx.dl_active) {
 				ul_rssi = rxlev2dbm(lchan->meas.ul_res.sub.rx_lev);
-				ul_ci_cb = lchan->meas.ul_ci_cb_full;
+				ul_ci_cb = lchan->meas.ul_ci_cb_sub;
 			} else {
 				ul_rssi = rxlev2dbm(lchan->meas.ul_res.full.rx_lev);
-				ul_ci_cb = lchan->meas.ul_ci_cb_sub;
+				ul_ci_cb = lchan->meas.ul_ci_cb_full;
 			}
 			lchan_ms_pwr_ctrl(lchan, lchan->ms_power_ctrl.current, ul_rssi, ul_ci_cb);
 		}
@@ -1659,10 +1659,10 @@
 		/* If DTx is active on Downlink, use the '-SUB', otherwise '-FULL': */
 		if (lchan->tch.dtx.dl_active) {
 			ul_rssi = rxlev2dbm(lchan->meas.ul_res.sub.rx_lev);
-			ul_ci_cb = lchan->meas.ul_ci_cb_full;
+			ul_ci_cb = lchan->meas.ul_ci_cb_sub;
 		} else {
 			ul_rssi = rxlev2dbm(lchan->meas.ul_res.full.rx_lev);
-			ul_ci_cb = lchan->meas.ul_ci_cb_sub;
+			ul_ci_cb = lchan->meas.ul_ci_cb_full;
 		}
 		lchan_ms_pwr_ctrl(lchan, l1_hdr->ms_pwr, ul_rssi, ul_ci_cb);
 		lchan_bs_pwr_ctrl(lchan, (const struct gsm48_hdr *) &data[5]);

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ib66ac938e3e71409848927a2972f1f77b9bacde2
Gerrit-Change-Number: 25467
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210915/bc9a1b11/attachment.htm>


More information about the gerrit-log mailing list