Change in osmo-bts[master]: rsl_tx_rf_res(): also report noise levels for PTDCH

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
Thu Oct 7 12:34:13 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/25713 )


Change subject: rsl_tx_rf_res(): also report noise levels for PTDCH
......................................................................

rsl_tx_rf_res(): also report noise levels for PTDCH

Change-Id: I5b4d1da0920e788ac8063cc765fe5b0223c76758
Related: SYS#5313
---
M src/common/rsl.c
1 file changed, 13 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/13/25713/1

diff --git a/src/common/rsl.c b/src/common/rsl.c
index 2e453d3..df8c007 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -449,13 +449,20 @@
 			if (lchan->meas.interf_meas_avg_dbm == 0)
 				continue;
 
-			/* We're not interested in active lchans */
-			if (lchan->state == LCHAN_S_ACTIVE)
+			/* Only for GSM_LCHAN_{SDCCH,TCH_F,TCH_H,PDTCH} */
+			switch (lchan->type) {
+			case GSM_LCHAN_SDCCH:
+			case GSM_LCHAN_TCH_F:
+			case GSM_LCHAN_TCH_H:
+				/* We're not interested in active CS lchans */
+				if (lchan->state == LCHAN_S_ACTIVE)
+					continue;
+				break;
+			case GSM_LCHAN_PDTCH:
+				break;
+			default:
 				continue;
-
-			/* Only for GSM_LCHAN_{SDCCH,TCH_F,TCH_H} */
-			if (!lchan_is_dcch(lchan))
-				continue;
+			}
 
 			msgb_v_put(nmsg, gsm_lchan2chan_nr_rsl(lchan));
 			msgb_v_put(nmsg, (lchan->meas.interf_band & 0x07) << 5);

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I5b4d1da0920e788ac8063cc765fe5b0223c76758
Gerrit-Change-Number: 25713
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211007/88357dbf/attachment.htm>


More information about the gerrit-log mailing list