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


Change subject: osmo-bts-trx/trx_if.c: drop RSSI / ToA debugging code
......................................................................

osmo-bts-trx/trx_if.c: drop RSSI / ToA debugging code

This kind of debugging can be done using trx_sniff.py tool from
the TRX Toolkit [1]. Probably, this code was needed during the
initial development and testing.

[1] https://git.osmocom.org/osmocom-bb/tree/src/target/trx_toolkit

Change-Id: I50e0e5feeba4c3028f55209dd8e41e09ed5f70b1
---
M src/osmo-bts-trx/trx_if.c
1 file changed, 0 insertions(+), 13 deletions(-)



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

diff --git a/src/osmo-bts-trx/trx_if.c b/src/osmo-bts-trx/trx_if.c
index f2e8b90..0ae12c2 100644
--- a/src/osmo-bts-trx/trx_if.c
+++ b/src/osmo-bts-trx/trx_if.c
@@ -48,9 +48,6 @@
 #include "l1_if.h"
 #include "trx_if.h"

-/* enable to print RSSI level graph */
-//#define TOA_RSSI_DEBUG
-
 int transceiver_available = 0;

 /*
@@ -933,16 +930,6 @@
                (bi.flags & TRX_BI_F_NOPE_IND) ? "NOPE.ind" : "UL burst",
                hdr_ver, bi.tn, bi.fn, bi.rssi, bi.toa256);

-#ifdef TOA_RSSI_DEBUG
-       char deb[128];
-
-       sprintf(deb, "|                                0              "
-               "                 | rssi=%4d  toa=%5d fn=%u",
-               bi.rssi, bi.toa256, bi.fn);
-       deb[1 + (128 + bi.rssi) / 4] = '*';
-       fprintf(stderr, "%s\n", deb);
-#endif
-
        /* feed received burst into scheduler code */
        trx_sched_ul_burst(&l1h->l1s, &bi);


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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I50e0e5feeba4c3028f55209dd8e41e09ed5f70b1
Gerrit-Change-Number: 14669
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <axilira...@gmail.com>
Gerrit-MessageType: newchange

Reply via email to