aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/common/scheduler.c4
-rw-r--r--src/osmo-bts-trx/trx_vty.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/src/common/scheduler.c b/src/common/scheduler.c
index 9796506f..3dd76931 100644
--- a/src/common/scheduler.c
+++ b/src/common/scheduler.c
@@ -1491,8 +1491,8 @@ int trx_sched_ul_burst(struct l1sched_ts *l1ts, struct trx_ul_burst_ind *bi)
/* check if channel is active */
if (!TRX_CHAN_IS_ACTIVE(l1cs, bi->chan)) {
- /* handle noise measurements */
- if (TRX_CHAN_IS_DEDIC(bi->chan))
+ /* handle noise measurements on dedicated and idle channels */
+ if (TRX_CHAN_IS_DEDIC(bi->chan) || bi->chan == TRXC_IDLE)
trx_sched_noise_meas(l1cs, bi);
return 0;
}
diff --git a/src/osmo-bts-trx/trx_vty.c b/src/osmo-bts-trx/trx_vty.c
index 27c835f5..bb9d1584 100644
--- a/src/osmo-bts-trx/trx_vty.c
+++ b/src/osmo-bts-trx/trx_vty.c
@@ -100,6 +100,9 @@ DEFUN(show_transceiver, show_transceiver_cmd, "show transceiver",
tn, mf->name, VTY_NEWLINE);
vty_out(vty, " pending DL prims : %u%s",
llist_count(&l1ts->dl_prims), VTY_NEWLINE);
+ vty_out(vty, " interference : %ddBm%s",
+ l1ts->chan_state[TRXC_IDLE].meas.interf_avg,
+ VTY_NEWLINE);
}
}