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/+/19927 ) Change subject: BSC_Tests/hopping: add TC_fh_params_si4_cbch ...................................................................... BSC_Tests/hopping: add TC_fh_params_si4_cbch Change-Id: Ibc3b73697a1d2c8dbb27274e48f5e5ba21fdd540 Related: SYS#4868, OS#4545 --- M bsc/BSC_Tests.ttcn 1 file changed, 69 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/27/19927/1 diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn index 578b207..ff42f6a 100644 --- a/bsc/BSC_Tests.ttcn +++ b/bsc/BSC_Tests.ttcn @@ -7148,6 +7148,74 @@ setverdict(pass); } +/* Verify the hopping parameters in System Information Type 4 */ +testcase TC_fh_params_si4_cbch() runs on test_CT { + var FHParamsTrx fhp := f_TC_fh_params_gen(tr_tn := 1); + var ASP_RSL_Unitdata rx_rsl_ud; + timer T := 5.0; + + f_init_vty(); + + /* (Re)configure TS0 as BCCH and TS1 as SDCCH8+CBCH */ + f_vty_enter_cfg_trx(BSCVTY, trx := 0); + + f_vty_transceive(BSCVTY, "timeslot 0"); + f_vty_transceive(BSCVTY, "phys_chan_config ccch"); + f_vty_transceive(BSCVTY, "exit"); /* go back */ + + f_vty_transceive(BSCVTY, "timeslot 1"); + f_vty_transceive(BSCVTY, "phys_chan_config sdcch8+cbch"); + f_vty_transceive(BSCVTY, "end"); /* we're done */ + + f_TC_fh_params_set(fhp); /* Enable frequency hopping */ + f_vty_transceive(BSCVTY, "drop bts connection 0 oml"); + + f_init(1); + + T.start; + alt { + [] IPA_RSL[0].receive(tr_ASP_RSL_UD(tr_RSL_BCCH_INFO(RSL_SYSTEM_INFO_4))) -> value rx_rsl_ud { + var RSL_IE_Body ie := rx_rsl_ud.rsl.ies[2].body; /* FULL BCCH Information IE */ + var SystemInformation si := dec_SystemInformation(ie.other.payload); + + /* Make sure that what we decoded is System Information Type 4 */ + if (si.header.message_type != SYSTEM_INFORMATION_TYPE_4) { + setverdict(fail, "RSL FULL BCCH Information IE contains: ", si); + repeat; + } + + /* Make sure that CBCH Channel Description IE is present */ + if (not ispresent(si.payload.si4.cbch_chan_desc)) { + setverdict(fail, "CBCH Channel Description IE is absent"); + repeat; + } + + /* Finally, check the hopping parameters (HSN, MAIO) */ + f_TC_fh_params_match_chan_desc(fhp, si.payload.si4.cbch_chan_desc.v); + } + [] IPA_RSL[0].receive { repeat; } + [] T.timeout { + setverdict(fail, "Timeout waiting for RSL BCCH INFOrmation (SI4)"); + } + } + + /* Disable frequency hopping */ + f_TC_fh_params_unset(fhp); + + /* (Re)configure TS0 as CCCH+SDCCH4 and TS1 as TCH/F */ + f_vty_enter_cfg_trx(BSCVTY, trx := 0); + + f_vty_transceive(BSCVTY, "timeslot 0"); + f_vty_transceive(BSCVTY, "phys_chan_config ccch+sdcch4"); + f_vty_transceive(BSCVTY, "exit"); /* go back */ + + f_vty_transceive(BSCVTY, "timeslot 1"); + f_vty_transceive(BSCVTY, "phys_chan_config tch/f"); + f_vty_transceive(BSCVTY, "end"); /* we're done */ + + setverdict(pass); +} + /* Dyn PDCH todo: * activate OSMO as TCH/F * activate OSMO as TCH/H @@ -7380,6 +7448,7 @@ execute( TC_fh_params_chan_activ() ); execute( TC_fh_params_imm_ass() ); execute( TC_fh_params_assignment_cmd() ); + execute( TC_fh_params_si4_cbch() ); } } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19927 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: Ibc3b73697a1d2c8dbb27274e48f5e5ba21fdd540 Gerrit-Change-Number: 19927 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/20200901/97e1ae6d/attachment.htm>