Change in ...osmo-bts[master]: osmo-bts-trx/trx_if.c: drop RSSI / ToA debugging code

fixeria gerrit-no-reply at lists.osmocom.org
Sun Jul 7 10:20:06 UTC 2019


fixeria has submitted this change and it was merged. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved
  laforge: Looks good to me, approved



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 <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/20190707/4a1db732/attachment.html>


More information about the gerrit-log mailing list