pespin has submitted this change. (
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(-)
Approvals:
fixeria: Looks good to me, approved
Jenkins Builder: Verified
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)
--
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: 4
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged