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/+/20102 ) Change subject: BTS_Tests_SMSCB: handle frequency hopping parameters ...................................................................... BTS_Tests_SMSCB: handle frequency hopping parameters Change-Id: I1fd0a46b3d23afabae81fd1da5d2466e61e4a806 Related: SYS#4868, OS#4708 --- M bts/BTS_Tests_SMSCB.ttcn 1 file changed, 20 insertions(+), 4 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/02/20102/1 diff --git a/bts/BTS_Tests_SMSCB.ttcn b/bts/BTS_Tests_SMSCB.ttcn index 29489fc..953801b 100644 --- a/bts/BTS_Tests_SMSCB.ttcn +++ b/bts/BTS_Tests_SMSCB.ttcn @@ -56,6 +56,8 @@ type record CbchTestPars { /* Should we execute on SDCCH4 or SDCCH8? */ RslChannelNr chan_nr, + /* Frequency Hopping parameters */ + FreqHopPars fhp, /* Parameters for BASIC CBCH */ CbchTestParsChan basic, /* Parameters for EXTENDED CBCH */ @@ -235,6 +237,12 @@ mtc.stop; } + /* Obtain frequency hopping parameters for a given timeslot */ + if (mp_freq_hop_enabled and mp_transceiver_num > 1) + { f_resolve_fh_params(pars.fhp, pars.chan_nr.tn); } + else + { pars.fhp.enabled := false; } + f_cbch_compute_exp_blocks(pars); f_init_vty_bsc(); @@ -249,10 +257,18 @@ f_l1_tune(L1CTL, ccch_mode := CCCH_MODE_COMBINED_CBCH); } else { f_l1_tune(L1CTL, ccch_mode := CCCH_MODE_COMBINED); - /* TODO: also handle frequency hopping parameters */ - L1CTL.send(ts_L1CTL_DM_EST_REQ_H0(pars.chan_nr, - 7 /* TODO: mp_tsc */, - mp_trx0_arfcn)); + + if (pars.fhp.enabled) { + L1CTL.send(ts_L1CTL_DM_EST_REQ_H1(pars.chan_nr, + 7 /* TODO: mp_tsc */, + pars.fhp.maio_hsn.hsn, + pars.fhp.maio_hsn.maio, + pars.fhp.ma)); + } else { + L1CTL.send(ts_L1CTL_DM_EST_REQ_H0(pars.chan_nr, + 7 /* TODO: mp_tsc */, + mp_trx0_arfcn)); + } } /* send SMSCB[s] via RSL */ -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20102 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: I1fd0a46b3d23afabae81fd1da5d2466e61e4a806 Gerrit-Change-Number: 20102 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/20200912/dd5267c5/attachment.htm>