<p><a href="https://gerrit.osmocom.org/10414">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/10414/1/bts/BTS_Tests.ttcn">File bts/BTS_Tests.ttcn:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/10414/1/bts/BTS_Tests.ttcn@3840">Patch Set #1, Line 3840:</a> <code style="font-family:monospace,monospace">52, 53, 54, 55, 56, 57, 58, 5</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">this is listing all eitght bursts that are required during DTX on a TCH/F. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">I have made some changes that I believe align with your suggestions, which I will push here soon.<br>However, the test is still failing with:</p><p style="white-space: pre-wrap; word-wrap: break-word;">BTS_Tests.ttcn:3912 Received DTX TCH fill frame with bad frame number: 268 (mod 104: 60) (mod 26: 8)</p><p style="white-space: pre-wrap; word-wrap: break-word;">I have read up on the structure and hierarchy of GSM frames, and what you're suggesting now makes a lot of sense to me.<br>But I am still struggling to understand the exact relationship of TCH/F frame numbers sent by osmo-bts and received in TTCN3.</p><p style="white-space: pre-wrap; word-wrap: break-word;">For an unrelated AGCH PCH frame, sent by osmo-bts on chan_nr=144 fn=159, I can easily make out the corresponding frame<br>in the TTCN3 test log (the channel matches and the frame number also matches).</p><p style="white-space: pre-wrap; word-wrap: break-word;">For TCH/F, when osmo-bts is sending:<br>l1sap.c:805 000160/00/04/07/04 sending fill frame TCH chan_nr=9 fn=160 dtx=enabled<br>then I cannot locate the corresponding frame in the TTCN3 test's log by frame number (even though frame 160 should start a block).</p><p style="white-space: pre-wrap; word-wrap: break-word;">However, for this frame:<br>l1sap.c:805 000264/00/04/09/08 sending fill frame TCH chan_nr=9 fn=264 dtx=enabled<br>I can locate a logged message that looks like it corresponds in terms of channel, frame number, and payload:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">19:45:38.982505 6 L1CTL_PortType.ttcn:212 dec_L1ctlDlMessageLV(): Decoded @L1CTL_Types.L1ctlDlMessageLV: {<br>    len := 39,<br>    msg := {<br>        header := {<br>            msg_type := L1CTL_DATA_IND (3),<br>            flags := {<br>                padding := '0000000'B,<br>                f_done := false<br>            },<br>            padding := '0000'O<br>        },<br>        dl_info := {<br>            chan_nr := {<br>                u := {<br>                    ch0 := RSL_CHAN_NR_Bm_ACCH (1)<br>                },<br>                tn := 1<br>            },<br>            link_id := {<br>                c := FACCH_SDCCH (0),<br>                na := false,<br>                prio := SAPI0_PRIO_NORMAL (0),<br>                sapi := 0<br>            },<br>            arfcn := {<br>                pcs := false,<br>                arfcn := 871<br>            },<br>            frame_nr := 264,<br>            rx_level := 60,<br>            snr := 0,<br>            num_biterr := 0,<br>            fire_crc := 0<br>        },<br>        payload := {<br>            data_ind := {<br>                payload := '0303012B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B'O<br>            }<br>        }<br>    }<br>}</pre></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/10414">change 10414</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/10414"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Ie573b54ab5654f027c470aa7a565d2b5b97dc74b </div>
<div style="display:none"> Gerrit-Change-Number: 10414 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Stefan Sperling <ssperling@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: Stefan Sperling <ssperling@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 15 Aug 2018 18:05:25 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>