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


Change subject: measurement: log SUB/FULL as text in lchan_new_ul_meas()
......................................................................

measurement: log SUB/FULL as text in lchan_new_ul_meas()

Change-Id: Idfaf8ad2ac0fd4da57a0981563e6ad6104fa4e41
Related: SYS#5853
---
M src/common/measurement.c
1 file changed, 5 insertions(+), 4 deletions(-)



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

diff --git a/src/common/measurement.c b/src/common/measurement.c
index 1251b48..d1f9960 100644
--- a/src/common/measurement.c
+++ b/src/common/measurement.c
@@ -346,10 +346,11 @@
        if (!ulm->is_sub)
                dest->is_sub = ts45008_83_is_sub(lchan, fn);

-       DEBUGPFN(DMEAS, fn, "%s adding measurement (ber10k=%u, ta_offs=%d, 
ci_cB=%d, is_sub=%u, rssi=-%u), num_ul_meas=%d, fn_mod=%u\n",
-                gsm_lchan_name(lchan), ulm->ber10k, ulm->ta_offs_256bits,
-                ulm->ci_cb, dest->is_sub, ulm->inv_rssi, 
lchan->meas.num_ul_meas,
-                fn_mod);
+       DEBUGPFN(DMEAS, fn, "%s adding a %s measurement (ber10k=%u, ta_offs=%d, 
ci_cB=%d, rssi=-%u), num_ul_meas=%d, fn_mod=%u\n",
+                gsm_lchan_name(lchan),
+                dest->is_sub ? "SUB" : "FULL",
+                ulm->ber10k, ulm->ta_offs_256bits, ulm->ci_cb, ulm->inv_rssi,
+                lchan->meas.num_ul_meas, fn_mod);

        lchan->meas.last_fn = fn;


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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Idfaf8ad2ac0fd4da57a0981563e6ad6104fa4e41
Gerrit-Change-Number: 28084
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-MessageType: newchange

Reply via email to