pcu: Allow setting 'egprs only' mode by test
Will be used by next patches testing EGPRS features.
Change-Id: I7b0ff2f4895b7af39314600c10cc2f139bf45a2f
diff --git a/pcu/PCU_Tests_RAW.ttcn b/pcu/PCU_Tests_RAW.ttcn
index 54412e3..d491f48 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)