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 12:57:23 UTC 2021


fixeria has submitted this change. ( 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(-)

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



diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 55bb0ee..72d011d 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -6108,6 +6108,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);
 
@@ -6152,6 +6157,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: 3
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
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/20211110/15586913/attachment.htm>


More information about the gerrit-log mailing list