Change in osmo-bsc[master]: gsm_data: use ascending order for interference boundaries

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 Nov 5 21:51:44 UTC 2021


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


Change subject: gsm_data: use ascending order for interference boundaries
......................................................................

gsm_data: use ascending order for interference boundaries

It's more logical to have the boundaries sorted in ascending order:

  * band 1 represents lowest interference levels,
  * band 5 represents highest interference levels.

Change-Id: Ie9bf4bf0c89418685b8ea5096332d22cfba7c521
Related: SYS#5313
---
M doc/manuals/chapters/interf_meas.adoc
M src/osmo-bsc/gsm_data.c
2 files changed, 12 insertions(+), 12 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/33/26133/1

diff --git a/doc/manuals/chapters/interf_meas.adoc b/doc/manuals/chapters/interf_meas.adoc
index c54b2a6..9e93faa 100644
--- a/doc/manuals/chapters/interf_meas.adoc
+++ b/doc/manuals/chapters/interf_meas.adoc
@@ -19,7 +19,7 @@
 network
  bts 0
   interference-meas avg-period 6 <1>
-  interference-meas level-bounds -85 <2> -91 -97 -103 -109 -115 <3>
+  interference-meas level-bounds -115 <2> -109 -103 -97 -91 -85 <3>
 ----
 <1> Averaging period (`Intave`) in SACCH multiframe periods (480ms).
 <2> Interference level boundary `0` (in dBm).
@@ -34,11 +34,11 @@
 averaged interference levels (initially in dBm) into these 5 bands.
 
 ----
--85 dBm    -91 dBm    -97 dBm   -103 dBm   -109 dBm   -115 dBm
-   |          |          |          |          |          |
-   +----------+----------+----------+----------+----------+
-   |  band 1  |  band 2  |  band 3  |  band 4  |  band 5  |
-   +----------+----------+----------+----------+----------+
+-115 dBm   -109 dBm   -103 dBm    -97 dBm    -91 dBm    -85 dBm
+    |          |          |          |          |          |
+    +----------+----------+----------+----------+----------+
+    |  band 1  |  band 2  |  band 3  |  band 4  |  band 5  |
+    +----------+----------+----------+----------+----------+
 ----
 
 Unfortunately, it's not claer how to map dBm values exceeding the outer
diff --git a/src/osmo-bsc/gsm_data.c b/src/osmo-bsc/gsm_data.c
index 0134e34..988d70e 100644
--- a/src/osmo-bsc/gsm_data.c
+++ b/src/osmo-bsc/gsm_data.c
@@ -1120,12 +1120,12 @@
 const struct gsm_interf_meas_params interf_meas_params_def = {
 	.avg_period = 6, /* 6 SACCH periods */
 	.bounds_dbm = {
-		 85, /*  0:  -85 dBm */
-		 91, /* X1:  -91 dBm */
-		 97, /* X2:  -97 dBm */
-		103, /* X3: -103 dBm */
-		109, /* X4: -109 dBm */
-		115, /* X5: -115 dBm */
+		115, /*  0: -115 dBm */
+		109, /* X1: -109 dBm */
+		103, /* X2: -103 dBm */
+		 97, /* X3:  -97 dBm */
+		 91, /* X4:  -91 dBm */
+		 85, /* X5:  -85 dBm */
 	},
 };
 

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ie9bf4bf0c89418685b8ea5096332d22cfba7c521
Gerrit-Change-Number: 26133
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/20211105/5a4001ac/attachment.htm>


More information about the gerrit-log mailing list