Change in ...osmo-bts[master]: osmo-bts-trx/scheduler: rx_rach_fn(): provide actual C/I ratio to L1SAP

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

fixeria gerrit-no-reply at lists.osmocom.org
Sun Jul 21 15:16:23 UTC 2019


fixeria has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-bts/+/14688 )

Change subject: osmo-bts-trx/scheduler: rx_rach_fn(): provide actual C/I ratio to L1SAP
......................................................................

osmo-bts-trx/scheduler: rx_rach_fn(): provide actual C/I ratio to L1SAP

Change-Id: I8d86dec7ebc039cbfd038c4342ff328b11281865
---
M src/osmo-bts-trx/scheduler_trx.c
1 file changed, 4 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c
index ec1d832..8144956 100644
--- a/src/osmo-bts-trx/scheduler_trx.c
+++ b/src/osmo-bts-trx/scheduler_trx.c
@@ -826,8 +826,10 @@
 	/* Link quality is defined by C/I (Carrier-to-Interference ratio),
 	 * which has optional presence. If it's absent, report the
 	 * minimum acceptable value to pass L1SAP checks. */
-	/* TODO: check for TRX_BI_F_CI_CB, and use the value from UL.ind */
-	l1sap.u.rach_ind.lqual_cb = l1t->trx->bts->min_qual_rach;
+	if (bi->flags & TRX_BI_F_CI_CB)
+		l1sap.u.rach_ind.lqual_cb = bi->ci_cb;
+	else
+		l1sap.u.rach_ind.lqual_cb = l1t->trx->bts->min_qual_rach;
 
 	/* Decode RACH depending on its synch. sequence */
 	switch (synch_seq) {

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I8d86dec7ebc039cbfd038c4342ff328b11281865
Gerrit-Change-Number: 14688
Gerrit-PatchSet: 8
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
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/20190721/3c9a7c22/attachment.htm>


More information about the gerrit-log mailing list