laforge submitted this change.

View Change


Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified
BTS_Tests_LAPDm.TC_nr_seq_error: Fix test

Related: OS#5968
Change-Id: I4cdff6ab607e158d4956a1bd87f74e9e75579cff
---
M bts/BTS_Tests_LAPDm.ttcn
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git a/bts/BTS_Tests_LAPDm.ttcn b/bts/BTS_Tests_LAPDm.ttcn
index b4c2c33..2e984d1 100644
--- a/bts/BTS_Tests_LAPDm.ttcn
+++ b/bts/BTS_Tests_LAPDm.ttcn
@@ -801,6 +801,11 @@
/* SAPI = 0, C = 1, P = 0, M = 0, L = N201, N(S) = 0, N(R) = 1. * */
LAPDM.send(t_PH_DATA(0, false, ts_LAPDm_I(sapi, c_r:=cr_MO_CMD, p:=false,
nr:=1, ns:=0, l3:=l3_mo)));
+ /* LAPD indicates the data and then indicates error with sequence error cause. */
+ RSL.receive(tr_RSL_DATA_IND(g_chan_nr, link_id, l3_mo));
+ RSL.receive(tr_RSL_ERROR_IND(g_chan_nr, link_id, '07'O));
+ /* Release RSL link. */
+ RSL.send(ts_RSL_REL_REQ(g_chan_nr, link_id));

/* The BTS may: a) send a DISC frame within N200×T200; */
/* DISC SAPI = 0, C = 0, P = 1, M = 0, L = 0. */

To view, visit change 35047. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I4cdff6ab607e158d4956a1bd87f74e9e75579cff
Gerrit-Change-Number: 35047
Gerrit-PatchSet: 3
Gerrit-Owner: jolly <andreas@eversberg.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-MessageType: merged