aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-07-04 01:37:50 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-07-04 01:37:53 +0700
commit3f2283cd3ca17072f67812f31dbe2b8a247aa045 (patch)
treeb69aba5444f9aa58378c247ff5201a8a2c11dc62
parenta99c41bac55c8cbb24cbf2d7bf7742c29771da83 (diff)
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
-rw-r--r--src/osmo-bts-trx/trx_if.c13
1 files changed, 0 insertions, 13 deletions
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 @@ static int trx_data_read_cb(struct osmo_fd *ofd, unsigned int what)
(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);