osmo-bts-trx: measure interference levels on TRXC_IDLE
We already do the intereference measurements on inactive logical channels. For the active channels we can still use the IDLE slots, on which the UEs shall not transmit Uplink bursts. Change-Id: Ic3030dba5eb223177298aa4e43559a93dc3d1392 Related: SYS#5313, OS#1569
This commit is contained in:
parent
c126870c5f
commit
54d0931330
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue