Change in osmo-bts[master]: osmo-bts-trx: measure interference levels on TRXC_IDLE

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Mon Jun 21 16:24:25 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/24715 )

Change subject: osmo-bts-trx: measure interference levels on TRXC_IDLE
......................................................................

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
---
M src/common/scheduler.c
M src/osmo-bts-trx/trx_vty.c
2 files changed, 5 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve



diff --git a/src/common/scheduler.c b/src/common/scheduler.c
index 9796506..3dd7693 100644
--- a/src/common/scheduler.c
+++ b/src/common/scheduler.c
@@ -1491,8 +1491,8 @@
 
 	/* 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 27c835f..bb9d158 100644
--- a/src/osmo-bts-trx/trx_vty.c
+++ b/src/osmo-bts-trx/trx_vty.c
@@ -100,6 +100,9 @@
 				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);
 		}
 	}
 

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ic3030dba5eb223177298aa4e43559a93dc3d1392
Gerrit-Change-Number: 24715
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.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/20210621/3370fde7/attachment.htm>


More information about the gerrit-log mailing list