Change in osmo-ttcn3-hacks[master]: BTS_Tests: explicitly configure Intave in TC_pcu_interf_ind

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
Wed Nov 10 01:27:49 UTC 2021


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


Change subject: BTS_Tests: explicitly configure Intave in TC_pcu_interf_ind
......................................................................

BTS_Tests: explicitly configure Intave in TC_pcu_interf_ind

Starting from [1] osmo-bts does average the interference levels as
defined by the Intave parameter before reporting over the PCUIF.

In TC_pcu_interf_ind we expect to receive an interference report
every 480ms (one SACCH period), so let's the Intave to 1.

[1] osmo-bts.git I3fbaad5dbc3bbd305b3ad4cb4bfb431a42cfbffc

Change-Id: I070b195af8c62454edd8de961cce6be2c120ae48
Related: SYS#5313
---
M bts/BTS_Tests.ttcn
1 file changed, 8 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/95/26195/1

diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 7476a0c..754516b 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -6070,6 +6070,11 @@
 	var PCUIF_send_data sd;
 	timer T;
 
+	/* Set the averaging/reporting period to 480ms */
+	f_init_vty_bsc();
+	f_vty_cfg_bts(BSCVTY, 0, { "interference-meas avg-period 1" });
+	f_vty_transceive(BSCVTY, "drop bts connection 0 oml");
+
 	f_init_with_pcuif();
 	f_TC_pcu_act_req(0, 0, 7, true);
 
@@ -6114,6 +6119,9 @@
 		}
 	}
 
+	/* Reset the averaging/reporting period back to default */
+	f_vty_cfg_bts(BSCVTY, 0, { "interference-meas avg-period 6" });
+
 	Misc_Helpers.f_shutdown(__BFILE__, __LINE__);
 }
 

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I070b195af8c62454edd8de961cce6be2c120ae48
Gerrit-Change-Number: 26195
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/20211110/958a39e3/attachment.htm>


More information about the gerrit-log mailing list