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.orgfixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24810 ) Change subject: BSC: add a test case for BCCH carrier power reduction mode ...................................................................... BSC: add a test case for BCCH carrier power reduction mode Change-Id: I084f7736cd7d09b68ed49f8ba52a14de928d4c01 Related: SYS#4919 --- M bsc/BSC_Tests.ttcn 1 file changed, 27 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/10/24810/1 diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn index cf6eaf6..6739790 100644 --- a/bsc/BSC_Tests.ttcn +++ b/bsc/BSC_Tests.ttcn @@ -6787,6 +6787,32 @@ f_shutdown_helper(); } +/* Verify activation and deactivation of the BCCH carrier power reduction mode */ +testcase TC_bcch_power_red_mode() runs on test_CT { + f_init(1); + + for (var integer red := 6; red >= 0; red := red - 2) { + /* Configure BCCH carrier power reduction mode via the VTY */ + f_vty_transceive(BSCVTY, "bts 0 bcch-power-red " & int2str(red)); + + /* Expect Osmocom specific BS Power Control message on the RSL */ + var template RSL_Message tr_rsl_pdu := tr_RSL_BS_PWR_CTRL( + chan_nr := t_RslChanNr_BCCH(0), + bs_power := tr_RSL_IE_BS_Power(red / 2)); + tr_rsl_pdu.msg_disc := tr_RSL_MsgDisc(RSL_MDISC_CCHAN, false); + var RSL_Message unused := f_exp_ipa_rx(0, tr_rsl_pdu); + + /* Additionally verify the applied value over the CTRL interface */ + var CtrlValue cred := f_ctrl_get_bts(IPA_CTRL, 0, "bcch-power-reduction"); + if (cred != int2str(red)) { + setverdict(fail, "Unexpected BCCH carrier power reduction value ", + cred, " (expected ", red, ")"); + } + } + + f_shutdown_helper(); +} + /*********************************************************************** * MSC Pooling ***********************************************************************/ @@ -9205,6 +9231,7 @@ /* Power control related */ execute( TC_assignment_verify_ms_power_params_ie() ); + execute( TC_bcch_power_red_mode() ); /* MSC pooling */ /* FIXME: in SCCPlite, indicating how many MSCs should be connected does currently not work. Since -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24810 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: I084f7736cd7d09b68ed49f8ba52a14de928d4c01 Gerrit-Change-Number: 24810 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/20210629/ef0a873b/attachment.htm>