Change in osmo-bts[master]: l1sap: Take L1SACCH MS_PWR from bitfield instead of manual parsing

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
Mon Sep 6 15:58:50 UTC 2021


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


Change subject: l1sap: Take L1SACCH MS_PWR from bitfield instead of manual parsing
......................................................................

l1sap: Take L1SACCH MS_PWR from bitfield instead of manual parsing

Change-Id: Ib2918d5d6b8463c659896f6e535a0c6eaca4bd87
---
M src/common/l1sap.c
1 file changed, 1 insertion(+), 1 deletion(-)



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

diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 9785bfd..e9d58ce 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -1632,7 +1632,7 @@
 		lchan->meas.l1_info.ta = l1_hdr->ta;
 		lchan->meas.flags |= LC_UL_M_F_L1_VALID;
 
-		lchan_ms_pwr_ctrl(lchan, data[0] & 0x1f, data_ind->rssi, data_ind->lqual_cb);
+		lchan_ms_pwr_ctrl(lchan, l1_hdr->ms_pwr, data_ind->rssi, data_ind->lqual_cb);
 		lchan_bs_pwr_ctrl(lchan, (const struct gsm48_hdr *) &data[5]);
 	} else
 		le = &lchan->lapdm_ch.lapdm_dcch;

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ib2918d5d6b8463c659896f6e535a0c6eaca4bd87
Gerrit-Change-Number: 25385
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/20210906/afe76fe5/attachment.htm>


More information about the gerrit-log mailing list