pespin has submitted this change. (
https://gerrit.osmocom.org/c/osmo-bts/+/27399 )
Change subject: bts-trx: Log lchan if avaialble in Meas Avg
......................................................................
bts-trx: Log lchan if avaialble in Meas Avg
Change-Id: I1460715fa46c4195c5aaac91be776ad770d8099e
---
M src/osmo-bts-trx/scheduler_trx.c
1 file changed, 5 insertions(+), 3 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, but someone else must approve
laforge: Looks good to me, but someone else must approve
pespin: Looks good to me, approved
diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c
index 1159e59..0534086 100644
--- a/src/osmo-bts-trx/scheduler_trx.c
+++ b/src/osmo-bts-trx/scheduler_trx.c
@@ -690,7 +690,9 @@
.ci_cb = (ci_cb_sum / n),
};
- LOGP(DMEAS, LOGL_DEBUG, "Measurement AVG (num=%u, shift=%u): "
- "RSSI %f, ToA256 %d, C/I %d cB\n", n, shift,
- avg->rssi, avg->toa256, avg->ci_cb);
+ LOGP(DMEAS, LOGL_DEBUG, "%s%sMeasurement AVG (num=%u, shift=%u): "
+ "RSSI %f, ToA256 %d, C/I %d cB\n",
+ chan_state->lchan ? gsm_lchan_name(chan_state->lchan) : "",
+ chan_state->lchan ? " " : "",
+ n, shift, avg->rssi, avg->toa256, avg->ci_cb);
}
--
To view, visit
https://gerrit.osmocom.org/c/osmo-bts/+/27399
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I1460715fa46c4195c5aaac91be776ad770d8099e
Gerrit-Change-Number: 27399
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged