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 <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged