Change in osmo-ttcn3-hacks[master]: pcu: Allow setting 'egprs only' mode by test

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

pespin gerrit-no-reply at lists.osmocom.org
Mon Apr 27 15:37:12 UTC 2020


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


Change subject: pcu: Allow setting 'egprs only' mode by test
......................................................................

pcu: Allow setting 'egprs only' mode by test

Will be used by next patches testing EGPRS features.

Change-Id: I7b0ff2f4895b7af39314600c10cc2f139bf45a2f
---
M pcu/PCU_Tests_RAW.ttcn
1 file changed, 8 insertions(+), 0 deletions(-)



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

diff --git a/pcu/PCU_Tests_RAW.ttcn b/pcu/PCU_Tests_RAW.ttcn
index 7c525e2..006aea9 100644
--- a/pcu/PCU_Tests_RAW.ttcn
+++ b/pcu/PCU_Tests_RAW.ttcn
@@ -129,6 +129,8 @@
 	var uint8_t g_mcs_max_dl := 9;
 	var uint8_t g_mcs_max_ul := 9;
 
+	var boolean g_egprs_only := false;
+
 	/* Guard timeout */
 	timer g_T_guard := 60.0;
 };
@@ -175,6 +177,12 @@
 	map(self:PCUVTY, system:PCUVTY);
 	f_vty_set_prompts(PCUVTY);
 	f_vty_transceive(PCUVTY, "enable");
+
+	if (g_egprs_only) {
+		f_vty_config2(PCUVTY, {"pcu"}, "egprs only");
+	} else {
+		f_vty_config2(PCUVTY, {"pcu"}, "no egprs");
+	}
 }
 
 private function f_init_raw(charstring id, template (value) PCUIF_info_ind info_ind := ts_PCUIF_INFO_default)

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/17956
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: I7b0ff2f4895b7af39314600c10cc2f139bf45a2f
Gerrit-Change-Number: 17956
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200427/85f0265d/attachment.htm>


More information about the gerrit-log mailing list