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/+/19517 ) Change subject: BTS_Tests: compose the MA bitmask in f_resolve_fh_params() ...................................................................... BTS_Tests: compose the MA bitmask in f_resolve_fh_params() Change-Id: Ic0a07d9deb60712347a42d9aa7813c684eaccd01 Related: SYS#4868, OS#4546 --- M bts/BTS_Tests.ttcn 1 file changed, 10 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/17/19517/1 diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index dfda043..0ca5b7c 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -545,13 +545,21 @@ } if (ispresent(pars.maio_hsn)) { - /* Compose the Mobile Allocation */ + /* Prepare the Mobile Allocation bitmask (length & padding) */ + pars.ma_map.len := mp_transceiver_num / 8; + if (mp_transceiver_num mod 8 > 0) + { pars.ma_map.len := pars.ma_map.len + 1; } + pars.ma_map.ma := f_pad_bit('0'B, pars.ma_map.len * 8, '0'B); + + /* Compose the actual Mobile Allocation and the bitmask */ for (j := 0; j < lengthof(g.trx_maio); j := j + 1) { var FreqHopGroupItem gi := g.trx_maio[j]; pars.ma := pars.ma & { l1ctl_ma_def[gi.trx_nr] }; + pars.ma_map.ma[gi.trx_nr] := '1'B; } - log("Freq. hopping parameters: ", pars.maio_hsn, pars.ma); + log("Freq. hopping parameters: maio_hsn=", pars.maio_hsn, + ", ma=", pars.ma, ", ma_map=", pars.ma_map); break; /* We're done */ } } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19517 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: Ic0a07d9deb60712347a42d9aa7813c684eaccd01 Gerrit-Change-Number: 19517 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/20200803/149059da/attachment.htm>