Change in osmo-bts[master]: vty: show interference level / band in 'show lchan'

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Fri Oct 8 16:16:17 UTC 2021


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

Change subject: vty: show interference level / band in 'show lchan'
......................................................................

vty: show interference level / band in 'show lchan'

Change-Id: Ide45a0f7836bf35ffbe88070fa8367022311ca44
Related: SYS#5313
---
M src/common/vty.c
1 file changed, 8 insertions(+), 0 deletions(-)

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



diff --git a/src/common/vty.c b/src/common/vty.c
index f99881a..576835b 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -1830,6 +1830,14 @@
 		vty_out(vty, "  RTP/PDCH Loopback Enabled%s", VTY_NEWLINE);
 	vty_out(vty, "  Radio Link Failure Counter 'S': %d%s", lchan->s, VTY_NEWLINE);
 
+	/* Interference levels */
+	if (lchan->meas.interf_meas_avg_dbm != 0) {
+		vty_out(vty, "  Interference: %d dBm (band %d)%s",
+			lchan->meas.interf_meas_avg_dbm,
+			lchan->meas.interf_band,
+			VTY_NEWLINE);
+	}
+
 	/* BS/MS Power Control state and parameters */
 	lchan_bs_power_ctrl_state_dump(vty, 2, lchan);
 	lchan_ms_power_ctrl_state_dump(vty, 2, lchan);

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ide45a0f7836bf35ffbe88070fa8367022311ca44
Gerrit-Change-Number: 25722
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211008/abd6928a/attachment.htm>


More information about the gerrit-log mailing list