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/.
Pau Espin Pedrol gerrit-no-reply at lists.osmocom.orgPau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/11301 Change subject: bts: f_tx_lapdm: Build SacchL1Header with proper values ...................................................................... bts: f_tx_lapdm: Build SacchL1Header with proper values Change-Id: I2c77d9d6262bd4763b3fb53a4a595d2c61f45f4b --- M bts/BTS_Tests.ttcn 1 file changed, 11 insertions(+), 7 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/01/11301/1 diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index 61fe1a7..82a54f3 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -3318,14 +3318,18 @@ var octetstring l2 := enc_LapdmFrame(valueof(l)); if (valueof(link_id.c) == SACCH) { /* prepend dummy L1 header */ - l2 := '0000'O & l2; + var L1ctlDataReq l1hl2 := { + l1header := valueof(ts_SacchL1Header(g_pars.l1_pars.ms_power_level, false, g_pars.l1_pars.ms_actual_ta)), + l2_payload := f_pad_oct(l2, 21, '2B'O) + } + L1CTL.send(ts_L1CTL_DATA_REQ_SACCH(g_chan_nr, link_id, l1hl2)); + } else { + /* If required, pad L2 frame with constant 0x2b filling */ + l2 := f_pad_oct(l2, 23, '2B'O); + + log("encoding ", l, " to ", l2); + L1CTL.send(ts_L1CTL_DATA_REQ(g_chan_nr, link_id, l2)); } - - /* If required, pad L2 frame with constant 0x2b filling */ - l2 := f_pad_oct(l2, 23, '2B'O); - - log("encoding ", l, " to ", l2); - L1CTL.send(ts_L1CTL_DATA_REQ(g_chan_nr, link_id, l2)); } type record RllTestCase { -- To view, visit https://gerrit.osmocom.org/11301 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I2c77d9d6262bd4763b3fb53a4a595d2c61f45f4b Gerrit-Change-Number: 11301 Gerrit-PatchSet: 1 Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181010/e5c754a7/attachment.htm>