blob: 57ae18850d174a1d269683a43f785488f3e2837d [file] [log] [blame]
Jacob Erlbeckdcce1962013-10-08 12:04:43 +02001===== NS protocol test START
Jacob Erlbecka52ba012013-10-24 01:33:21 +02002--- Create via RESET (round 0) ---
3
4PROCESSING RESET from 0x01020304:1111
502 00 81 01 01 82 10 01 04 82 10 00
6
7==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:1111
8MESSAGE to BSS, msg length 9
903 01 82 10 01 04 82 10 00
10
11MESSAGE to BSS, msg length 1
120a
13
14result (RESET) = 9
15
16Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +020017 VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111, ALIVE, BLOCKED, UNRESET
Jacob Erlbecka52ba012013-10-24 01:33:21 +020018
19--- Delete nsvc object (round 0)---
20
21Current NS-VCIs:
22
23--- Create via RESET (round 1) ---
24
25PROCESSING RESET from 0x01020304:1111
2602 00 81 01 01 82 10 01 04 82 10 00
27
28==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:1111
29MESSAGE to BSS, msg length 9
3003 01 82 10 01 04 82 10 00
31
32MESSAGE to BSS, msg length 1
330a
34
35result (RESET) = 9
36
37Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +020038 VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111, ALIVE, BLOCKED, UNRESET
Jacob Erlbecka52ba012013-10-24 01:33:21 +020039
40--- Delete nsvc object (round 1)---
41
42Current NS-VCIs:
43
44--- Create via RESET (round 2) ---
45
46PROCESSING RESET from 0x01020304:1111
4702 00 81 01 01 82 10 01 04 82 10 00
48
49==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:1111
50MESSAGE to BSS, msg length 9
5103 01 82 10 01 04 82 10 00
52
53MESSAGE to BSS, msg length 1
540a
55
56result (RESET) = 9
57
58Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +020059 VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111, ALIVE, BLOCKED, UNRESET
Jacob Erlbecka52ba012013-10-24 01:33:21 +020060
61--- Delete nsvc object (round 2)---
62
63Current NS-VCIs:
64
65--- Create via RESET (round 3) ---
66
67PROCESSING RESET from 0x01020304:1111
6802 00 81 01 01 82 10 01 04 82 10 00
69
70==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:1111
71MESSAGE to BSS, msg length 9
7203 01 82 10 01 04 82 10 00
73
74MESSAGE to BSS, msg length 1
750a
76
77result (RESET) = 9
78
79Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +020080 VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111, ALIVE, BLOCKED, UNRESET
Jacob Erlbecka52ba012013-10-24 01:33:21 +020081
82--- Delete nsvc object (round 3)---
83
84Current NS-VCIs:
85
86--- Process timers ---
87
Jacob Erlbecke7c42712013-10-28 13:29:10 +010088--- Send unexpected NS STATUS (should not be answered)---
89
90PROCESSING STATUS from 0x01020304:1111
9108 00 81 0a 02 81 0a
92
93result (STATUS) = 0
94
95--- Send unexpected NS ALIVE ACK (should not be answered)---
96
97PROCESSING ALIVE_ACK from 0x01020304:1111
980b
99
Jacob Erlbecke7c42712013-10-28 13:29:10 +0100100result (ALIVE_ACK) = 0
101
102--- Send unexpected NS RESET ACK (should not be answered)---
103
104PROCESSING RESET_ACK from 0x01020304:1111
10503 01 82 e0 01 04 82 e0 00
106
Jacob Erlbecke7c42712013-10-28 13:29:10 +0100107result (RESET_ACK) = 0
108
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200109--- Setup, send BSSGP RESET ---
110
111Setup NS-VC: remote 0x01020304:1111, NSVCI 0x1122(4386), NSEI 0x1122(4386)
112
Jacob Erlbeckdcce1962013-10-08 12:04:43 +0200113PROCESSING RESET from 0x01020304:1111
11402 00 81 01 01 82 11 22 04 82 11 22
115
Jacob Erlbeck34fc4702013-10-09 11:27:04 +0200116==> got signal NS_RESET, NS-VC 0x1122/1.2.3.4:1111
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200117MESSAGE to BSS, msg length 9
Jacob Erlbeckdcce1962013-10-08 12:04:43 +020011803 01 82 11 22 04 82 11 22
119
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200120MESSAGE to BSS, msg length 1
Jacob Erlbeck05395a62013-10-08 12:04:45 +02001210a
122
Jacob Erlbeckdcce1962013-10-08 12:04:43 +0200123result (RESET) = 9
124
Jacob Erlbeckdcce1962013-10-08 12:04:43 +0200125PROCESSING ALIVE from 0x01020304:1111
1260a
127
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200128MESSAGE to BSS, msg length 1
Jacob Erlbeckdcce1962013-10-08 12:04:43 +02001290b
130
131result (ALIVE) = 1
132
133PROCESSING UNBLOCK from 0x01020304:1111
13406
135
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200136MESSAGE to BSS, msg length 1
Jacob Erlbeckdcce1962013-10-08 12:04:43 +020013707
138
Stefan Sperling797558e2018-11-19 17:18:41 +0100139==> got signal NS_UNBLOCK, NS-VC 0x1122/1.2.3.4:1111
Jacob Erlbeckdcce1962013-10-08 12:04:43 +0200140result (UNBLOCK) = 1
141
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200142PROCESSING ALIVE_ACK from 0x01020304:1111
1430b
144
145result (ALIVE_ACK) = 0
146
147Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200148 VCI 0x1122, NSEI 0x1122, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200149
Jacob Erlbeckdcce1962013-10-08 12:04:43 +0200150PROCESSING BSSGP RESET from 0x01020304:1111
15100 00 00 00 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00
152
153CALLBACK, event 0, msg length 18, bvci 0x0000
15422 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00
155
156result (BSSGP RESET) = 0
157
158--- Peer port changes, RESET, message remains unchanged ---
159
160PROCESSING RESET from 0x01020304:2222
16102 00 81 01 01 82 11 22 04 82 11 22
162
Jacob Erlbeck34fc4702013-10-09 11:27:04 +0200163==> got signal NS_RESET, NS-VC 0x1122/1.2.3.4:2222
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200164MESSAGE to BSS, msg length 9
Jacob Erlbeckdcce1962013-10-08 12:04:43 +020016503 01 82 11 22 04 82 11 22
166
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200167MESSAGE to BSS, msg length 1
Jacob Erlbeck05395a62013-10-08 12:04:45 +02001680a
169
Jacob Erlbeckdcce1962013-10-08 12:04:43 +0200170result (RESET) = 9
171
172Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200173 VCI 0x1122, NSEI 0x1122, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET
Jacob Erlbeckdcce1962013-10-08 12:04:43 +0200174
175--- Peer port changes, RESET, VCI changes ---
176
177PROCESSING RESET from 0x01020304:3333
17802 00 81 01 01 82 33 44 04 82 11 22
179
Jacob Erlbeck34fc4702013-10-09 11:27:04 +0200180==> got signal NS_RESET, NS-VC 0x3344/1.2.3.4:3333
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200181MESSAGE to BSS, msg length 9
Jacob Erlbeckdcce1962013-10-08 12:04:43 +020018203 01 82 33 44 04 82 11 22
183
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200184MESSAGE to BSS, msg length 1
Jacob Erlbeck05395a62013-10-08 12:04:45 +02001850a
186
Jacob Erlbeckdcce1962013-10-08 12:04:43 +0200187result (RESET) = 9
188
189Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200190 VCI 0x3344, NSEI 0x1122, peer 0x01020304:3333, ALIVE, BLOCKED, UNRESET
191 VCI 0x1122, NSEI 0x1122, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET
Jacob Erlbeckdcce1962013-10-08 12:04:43 +0200192
193--- Peer port changes, RESET, NSEI changes ---
194
195PROCESSING RESET from 0x01020304:4444
19602 00 81 01 01 82 11 22 04 82 33 44
197
Jacob Erlbeck34fc4702013-10-09 11:27:04 +0200198==> got signal NS_RESET, NS-VC 0x1122/1.2.3.4:4444
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200199MESSAGE to BSS, msg length 9
Jacob Erlbeckdcce1962013-10-08 12:04:43 +020020003 01 82 11 22 04 82 33 44
201
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200202MESSAGE to BSS, msg length 1
Jacob Erlbeck05395a62013-10-08 12:04:45 +02002030a
204
Jacob Erlbeckdcce1962013-10-08 12:04:43 +0200205result (RESET) = 9
206
207Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200208 VCI 0x3344, NSEI 0x1122, peer 0x01020304:3333, ALIVE, BLOCKED, UNRESET
209 VCI 0x1122, NSEI 0x3344, peer 0x01020304:4444, ALIVE, BLOCKED, UNRESET
Jacob Erlbeckab852ee2013-10-24 01:33:24 +0200210 NS-VC changed NSEI count : 1
Jacob Erlbeckdcce1962013-10-08 12:04:43 +0200211
212--- Peer port 3333, RESET, VCI is changed back ---
213
214PROCESSING RESET from 0x01020304:3333
21502 00 81 01 01 82 11 22 04 82 11 22
216
Jacob Erlbeck5e6d6792013-10-14 22:06:48 +0200217==> got signal NS_REPLACED: 0x1122/1.2.3.4:4444 -> 0x3344/1.2.3.4:3333
Jacob Erlbeck34fc4702013-10-09 11:27:04 +0200218==> got signal NS_RESET, NS-VC 0x1122/1.2.3.4:3333
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200219MESSAGE to BSS, msg length 9
Jacob Erlbeckab852ee2013-10-24 01:33:24 +020022003 01 82 11 22 04 82 11 22
Jacob Erlbeckdcce1962013-10-08 12:04:43 +0200221
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200222MESSAGE to BSS, msg length 1
Jacob Erlbeck05395a62013-10-08 12:04:45 +02002230a
224
Jacob Erlbeckdcce1962013-10-08 12:04:43 +0200225result (RESET) = 9
226
227Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200228 VCI 0x3344, NSEI 0x1122, peer 0x00000000:0, ALIVE, BLOCKED, UNRESET
229 VCI 0x1122, NSEI 0x1122, peer 0x01020304:3333, ALIVE, BLOCKED, UNRESET
Jacob Erlbeck5e6d6792013-10-14 22:06:48 +0200230 NS-VC replaced other count: 1
Jacob Erlbeckab852ee2013-10-24 01:33:24 +0200231 NS-VC changed NSEI count : 2
Jacob Erlbeckdcce1962013-10-08 12:04:43 +0200232
233--- Peer port 4444, RESET, NSEI is changed back ---
234
235PROCESSING RESET from 0x01020304:4444
23602 00 81 01 01 82 11 22 04 82 11 22
237
Jacob Erlbeck34fc4702013-10-09 11:27:04 +0200238==> got signal NS_RESET, NS-VC 0x1122/1.2.3.4:4444
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200239MESSAGE to BSS, msg length 9
Jacob Erlbeckdcce1962013-10-08 12:04:43 +020024003 01 82 11 22 04 82 11 22
241
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200242MESSAGE to BSS, msg length 1
Jacob Erlbeck05395a62013-10-08 12:04:45 +02002430a
244
Jacob Erlbeckdcce1962013-10-08 12:04:43 +0200245result (RESET) = 9
246
247Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200248 VCI 0x3344, NSEI 0x1122, peer 0x00000000:0, ALIVE, BLOCKED, UNRESET
249 VCI 0x1122, NSEI 0x1122, peer 0x01020304:4444, ALIVE, BLOCKED, UNRESET
Jacob Erlbeck5e6d6792013-10-14 22:06:48 +0200250 NS-VC replaced other count: 1
Jacob Erlbeckab852ee2013-10-24 01:33:24 +0200251 NS-VC changed NSEI count : 2
Jacob Erlbeckdcce1962013-10-08 12:04:43 +0200252
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200253--- Setup VC 1 BSS -> SGSN ---
254
255Setup NS-VC: remote 0x01020304:1111, NSVCI 0x1001(4097), NSEI 0x1000(4096)
256
257PROCESSING RESET from 0x01020304:1111
25802 00 81 01 01 82 10 01 04 82 10 00
259
260==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:1111
261MESSAGE to BSS, msg length 9
26203 01 82 10 01 04 82 10 00
263
264MESSAGE to BSS, msg length 1
2650a
266
267result (RESET) = 9
268
269PROCESSING ALIVE from 0x01020304:1111
2700a
271
272MESSAGE to BSS, msg length 1
2730b
274
275result (ALIVE) = 1
276
277PROCESSING UNBLOCK from 0x01020304:1111
27806
279
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200280MESSAGE to BSS, msg length 1
28107
282
Stefan Sperling797558e2018-11-19 17:18:41 +0100283==> got signal NS_UNBLOCK, NS-VC 0x1001/1.2.3.4:1111
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200284result (UNBLOCK) = 1
285
286PROCESSING ALIVE_ACK from 0x01020304:1111
2870b
288
289result (ALIVE_ACK) = 0
290
291Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200292 VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200293
294--- Setup VC 2 BSS -> SGSN ---
295
296Setup NS-VC: remote 0x01020304:2222, NSVCI 0x2001(8193), NSEI 0x2000(8192)
297
298PROCESSING RESET from 0x01020304:2222
29902 00 81 01 01 82 20 01 04 82 20 00
300
301==> got signal NS_RESET, NS-VC 0x2001/1.2.3.4:2222
302MESSAGE to BSS, msg length 9
30303 01 82 20 01 04 82 20 00
304
305MESSAGE to BSS, msg length 1
3060a
307
308result (RESET) = 9
309
310PROCESSING ALIVE from 0x01020304:2222
3110a
312
313MESSAGE to BSS, msg length 1
3140b
315
316result (ALIVE) = 1
317
318PROCESSING UNBLOCK from 0x01020304:2222
31906
320
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200321MESSAGE to BSS, msg length 1
32207
323
Stefan Sperling797558e2018-11-19 17:18:41 +0100324==> got signal NS_UNBLOCK, NS-VC 0x2001/1.2.3.4:2222
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200325result (UNBLOCK) = 1
326
327PROCESSING ALIVE_ACK from 0x01020304:2222
3280b
329
330result (ALIVE_ACK) = 0
331
332Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200333 VCI 0x2001, NSEI 0x2000, peer 0x01020304:2222, ALIVE, UNBLOCKED, UNRESET
334 VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200335
336--- Setup VC 1 SGSN -> BSS ---
337
338MESSAGE to BSS, msg length 12
33902 00 81 01 01 82 10 01 04 82 10 00
340
341PROCESSING RESET_ACK from 0x01020304:1111
34203 01 82 10 01 04 82 10 00
343
344MESSAGE to BSS, msg length 1
3450a
346
Harald Welte35042a22019-02-23 14:07:00 +0100347result (RESET_ACK) = 0
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200348
349Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200350 VCI 0x2001, NSEI 0x2000, peer 0x01020304:2222, ALIVE, UNBLOCKED, UNRESET
351 VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111, ALIVE, BLOCKED, UNRESET
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200352 NS-VC Block count : 1
353
354--- Exchange NSEI 1 + 2 links ---
355
356--- Setup VC 2 SGSN -> BSS (hits NSEI 1) ---
357
358MESSAGE to BSS, msg length 12
35902 00 81 01 01 82 20 01 04 82 20 00
360
361PROCESSING RESET_ACK from 0x01020304:2222
36203 01 82 10 01 04 82 10 00
363
Jacob Erlbeck5405a102013-10-24 01:33:23 +0200364==> got signal NS_REPLACED: 0x1001/1.2.3.4:1111 -> 0x2001/1.2.3.4:2222
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200365MESSAGE to BSS, msg length 1
3660a
367
Harald Welte35042a22019-02-23 14:07:00 +0100368result (RESET_ACK) = 0
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200369
370Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200371 VCI 0x2001, NSEI 0x2000, peer 0x00000000:0, DEAD, BLOCKED, RESET
372 VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET
Jacob Erlbeck5405a102013-10-24 01:33:23 +0200373 NS-VC Block count : 2
374 NS-VC replaced other count: 1
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200375
376--- Setup VC 2 SGSN -> BSS (hits NSEI 2) ---
377
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200378--- Setup VC 1 SGSN -> BSS (hits NSEI 1) ---
379
380MESSAGE to BSS, msg length 12
38102 00 81 01 01 82 10 01 04 82 10 00
382
383PROCESSING RESET_ACK from 0x01020304:2222
38403 01 82 10 01 04 82 10 00
385
386MESSAGE to BSS, msg length 1
3870a
388
Harald Welte35042a22019-02-23 14:07:00 +0100389result (RESET_ACK) = 0
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200390
391Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200392 VCI 0x2001, NSEI 0x2000, peer 0x00000000:0, DEAD, BLOCKED, RESET
393 VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET
Jacob Erlbeck5405a102013-10-24 01:33:23 +0200394 NS-VC Block count : 3
395 NS-VC replaced other count: 1
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200396
397--- Setup VC 2 BSS -> SGSN ---
398
399Setup NS-VC: remote 0x01020304:1111, NSVCI 0x2001(8193), NSEI 0x2000(8192)
400
401PROCESSING RESET from 0x01020304:1111
40202 00 81 01 01 82 20 01 04 82 20 00
403
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200404==> got signal NS_RESET, NS-VC 0x2001/1.2.3.4:1111
405MESSAGE to BSS, msg length 9
40603 01 82 20 01 04 82 20 00
407
408MESSAGE to BSS, msg length 1
4090a
410
411result (RESET) = 9
412
413PROCESSING ALIVE from 0x01020304:1111
4140a
415
416MESSAGE to BSS, msg length 1
4170b
418
419result (ALIVE) = 1
420
421PROCESSING UNBLOCK from 0x01020304:1111
42206
423
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200424MESSAGE to BSS, msg length 1
42507
426
Stefan Sperling797558e2018-11-19 17:18:41 +0100427==> got signal NS_UNBLOCK, NS-VC 0x2001/1.2.3.4:1111
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200428result (UNBLOCK) = 1
429
430PROCESSING ALIVE_ACK from 0x01020304:1111
4310b
432
433result (ALIVE_ACK) = 0
434
435Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200436 VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET
437 VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET
Jacob Erlbeck5405a102013-10-24 01:33:23 +0200438 NS-VC Block count : 3
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200439 NS-VC replaced other count: 1
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200440
441--- RESET with invalid NSEI, BSS -> SGSN ---
442
443PROCESSING RESET from 0x01020304:2222
44402 00 81 01 01 82 10 01 04 82 f0 00
445
Jacob Erlbeckab852ee2013-10-24 01:33:24 +0200446==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:2222
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200447MESSAGE to BSS, msg length 9
Jacob Erlbeckab852ee2013-10-24 01:33:24 +020044803 01 82 10 01 04 82 f0 00
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200449
Jacob Erlbeckab852ee2013-10-24 01:33:24 +0200450MESSAGE to BSS, msg length 1
4510a
452
453result (RESET) = 9
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200454
455Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200456 VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET
457 VCI 0x1001, NSEI 0xf000, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET
Jacob Erlbeck5405a102013-10-24 01:33:23 +0200458 NS-VC Block count : 3
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200459 NS-VC replaced other count: 1
Jacob Erlbeckab852ee2013-10-24 01:33:24 +0200460 NS-VC changed NSEI count : 1
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200461
462--- RESET with invalid NSVCI, BSS -> SGSN ---
463
464PROCESSING RESET from 0x01020304:2222
46502 00 81 01 01 82 f0 01 04 82 10 00
466
Jacob Erlbeck54b8b2d2013-10-24 01:33:25 +0200467==> got signal NS_REPLACED: 0xf001/0.0.0.0:0 -> 0x1001/1.2.3.4:2222
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200468==> got signal NS_RESET, NS-VC 0xf001/1.2.3.4:2222
469MESSAGE to BSS, msg length 9
47003 01 82 f0 01 04 82 10 00
471
472MESSAGE to BSS, msg length 1
4730a
474
475result (RESET) = 9
476
477Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200478 VCI 0xf001, NSEI 0x1000, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET
Jacob Erlbeck54b8b2d2013-10-24 01:33:25 +0200479 NS-VC replaced other count: 1
Max4ce24c42017-10-23 15:09:23 +0200480 VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET
481 VCI 0x1001, NSEI 0xf000, peer 0x00000000:0, ALIVE, BLOCKED, UNRESET
Jacob Erlbeck5405a102013-10-24 01:33:23 +0200482 NS-VC Block count : 3
483 NS-VC replaced other count: 1
Jacob Erlbeck54b8b2d2013-10-24 01:33:25 +0200484 NS-VC changed NSEI count : 1
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200485
486--- RESET with old NSEI, NSVCI, BSS -> SGSN ---
487
488PROCESSING RESET from 0x01020304:2222
48902 00 81 01 01 82 10 01 04 82 10 00
490
Jacob Erlbeck54b8b2d2013-10-24 01:33:25 +0200491==> got signal NS_REPLACED: 0x1001/0.0.0.0:0 -> 0xf001/1.2.3.4:2222
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200492==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:2222
493MESSAGE to BSS, msg length 9
49403 01 82 10 01 04 82 10 00
495
496MESSAGE to BSS, msg length 1
4970a
498
499result (RESET) = 9
500
501Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200502 VCI 0xf001, NSEI 0x1000, peer 0x00000000:0, ALIVE, BLOCKED, UNRESET
Jacob Erlbeck54b8b2d2013-10-24 01:33:25 +0200503 NS-VC replaced other count: 1
Max4ce24c42017-10-23 15:09:23 +0200504 VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET
505 VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET
Jacob Erlbeck5405a102013-10-24 01:33:23 +0200506 NS-VC Block count : 3
Jacob Erlbeck54b8b2d2013-10-24 01:33:25 +0200507 NS-VC replaced other count: 2
Jacob Erlbeckab852ee2013-10-24 01:33:24 +0200508 NS-VC changed NSEI count : 2
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200509
510--- Unexpected RESET_ACK VC 1, BSS -> SGSN ---
511
512PROCESSING RESET_ACK from 0x01020304:2222
51303 01 82 10 01 04 82 10 00
514
Jacob Erlbeck5405a102013-10-24 01:33:23 +0200515result (RESET_ACK) = 0
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200516
517Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200518 VCI 0xf001, NSEI 0x1000, peer 0x00000000:0, ALIVE, BLOCKED, UNRESET
Jacob Erlbeck54b8b2d2013-10-24 01:33:25 +0200519 NS-VC replaced other count: 1
Max4ce24c42017-10-23 15:09:23 +0200520 VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET
521 VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200522 NS-VC Block count : 3
Jacob Erlbeck54b8b2d2013-10-24 01:33:25 +0200523 NS-VC replaced other count: 2
Jacob Erlbeckab852ee2013-10-24 01:33:24 +0200524 NS-VC changed NSEI count : 2
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200525
526--- RESET_ACK with invalid NSEI, BSS -> SGSN ---
527
528MESSAGE to BSS, msg length 12
52902 00 81 01 01 82 10 01 04 82 10 00
530
531PROCESSING RESET_ACK from 0x01020304:2222
53203 01 82 10 01 04 82 f0 00
533
Jacob Erlbeckab852ee2013-10-24 01:33:24 +0200534MESSAGE to BSS, msg length 1
5350a
536
Harald Welte35042a22019-02-23 14:07:00 +0100537result (RESET_ACK) = 0
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200538
539Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200540 VCI 0xf001, NSEI 0x1000, peer 0x00000000:0, ALIVE, BLOCKED, UNRESET
Jacob Erlbeck54b8b2d2013-10-24 01:33:25 +0200541 NS-VC replaced other count: 1
Max4ce24c42017-10-23 15:09:23 +0200542 VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET
543 VCI 0x1001, NSEI 0xf000, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET
Jacob Erlbeckab852ee2013-10-24 01:33:24 +0200544 NS-VC Block count : 4
Jacob Erlbeck54b8b2d2013-10-24 01:33:25 +0200545 NS-VC replaced other count: 2
Jacob Erlbeckab852ee2013-10-24 01:33:24 +0200546 NS-VC changed NSEI count : 3
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200547
548--- RESET_ACK with invalid NSVCI, BSS -> SGSN ---
549
550MESSAGE to BSS, msg length 12
Jacob Erlbeckab852ee2013-10-24 01:33:24 +020055102 00 81 01 01 82 10 01 04 82 f0 00
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200552
553PROCESSING RESET_ACK from 0x01020304:2222
55403 01 82 f0 01 04 82 10 00
555
Jacob Erlbeck54b8b2d2013-10-24 01:33:25 +0200556==> got signal NS_REPLACED: 0xf001/0.0.0.0:0 -> 0x1001/1.2.3.4:2222
557MESSAGE to BSS, msg length 1
5580a
559
Harald Welte35042a22019-02-23 14:07:00 +0100560result (RESET_ACK) = 0
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200561
562Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200563 VCI 0xf001, NSEI 0x1000, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET
Jacob Erlbeck54b8b2d2013-10-24 01:33:25 +0200564 NS-VC Block count : 1
565 NS-VC replaced other count: 2
Max4ce24c42017-10-23 15:09:23 +0200566 VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET
567 VCI 0x1001, NSEI 0xf000, peer 0x00000000:0, DEAD, BLOCKED, RESET
Jacob Erlbeckab852ee2013-10-24 01:33:24 +0200568 NS-VC Block count : 4
Jacob Erlbeck54b8b2d2013-10-24 01:33:25 +0200569 NS-VC replaced other count: 2
Jacob Erlbeckab852ee2013-10-24 01:33:24 +0200570 NS-VC changed NSEI count : 3
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200571
Jacob Erlbeckcc6ac4c2015-12-17 13:22:36 +0100572--- RESET (BSS -> SGSN) crossing an UNBLOCK_ACK (SGSN -> BSS) ---
573
574Setup NS-VC: remote 0x01020304:2222, NSVCI 0x1001(4097), NSEI 0x1000(4096)
575
576PROCESSING RESET from 0x01020304:2222
57702 00 81 01 01 82 10 01 04 82 10 00
578
579==> got signal NS_REPLACED: 0x1001/0.0.0.0:0 -> 0xf001/1.2.3.4:2222
580==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:2222
581MESSAGE to BSS, msg length 9
58203 01 82 10 01 04 82 10 00
583
584MESSAGE to BSS, msg length 1
5850a
586
587result (RESET) = 9
588
589PROCESSING ALIVE from 0x01020304:2222
5900a
591
592MESSAGE to BSS, msg length 1
5930b
594
595result (ALIVE) = 1
596
597PROCESSING UNBLOCK from 0x01020304:2222
59806
599
Jacob Erlbeckcc6ac4c2015-12-17 13:22:36 +0100600MESSAGE to BSS, msg length 1
60107
602
Stefan Sperling797558e2018-11-19 17:18:41 +0100603==> got signal NS_UNBLOCK, NS-VC 0x1001/1.2.3.4:2222
Jacob Erlbeckcc6ac4c2015-12-17 13:22:36 +0100604result (UNBLOCK) = 1
605
606PROCESSING ALIVE_ACK from 0x01020304:2222
6070b
608
609result (ALIVE_ACK) = 0
610
611MESSAGE to BSS, msg length 12
61202 00 81 01 01 82 10 01 04 82 10 00
613
614PROCESSING UNBLOCK_ACK from 0x01020304:2222
61507
616
617==> got signal NS_UNBLOCK, NS-VC 0x1001/1.2.3.4:2222
618result (UNBLOCK_ACK) = 0
619
620Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200621 VCI 0xf001, NSEI 0x1000, peer 0x00000000:0, ALIVE, BLOCKED, UNRESET
Jacob Erlbeckcc6ac4c2015-12-17 13:22:36 +0100622 NS-VC Block count : 1
623 NS-VC replaced other count: 2
Max4ce24c42017-10-23 15:09:23 +0200624 VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET
625 VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, ALIVE, UNBLOCKED, UNRESET
Jacob Erlbeckcc6ac4c2015-12-17 13:22:36 +0100626 NS-VC Block count : 4
627 NS-VC replaced other count: 3
628 NS-VC changed NSEI count : 4
629
630PROCESSING RESET_ACK from 0x01020304:2222
63103 01 82 10 01 04 82 10 00
632
633result (RESET_ACK) = 0
634
635MESSAGE to BSS, msg length 12
63602 00 81 01 01 82 10 01 04 82 10 00
637
638PROCESSING RESET_ACK from 0x01020304:2222
63903 01 82 10 01 04 82 10 00
640
641MESSAGE to BSS, msg length 1
6420a
643
Harald Welte35042a22019-02-23 14:07:00 +0100644result (RESET_ACK) = 0
Jacob Erlbeckcc6ac4c2015-12-17 13:22:36 +0100645
646Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200647 VCI 0xf001, NSEI 0x1000, peer 0x00000000:0, ALIVE, BLOCKED, UNRESET
Jacob Erlbeckcc6ac4c2015-12-17 13:22:36 +0100648 NS-VC Block count : 1
649 NS-VC replaced other count: 2
Max4ce24c42017-10-23 15:09:23 +0200650 VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET
651 VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET
Jacob Erlbeckcc6ac4c2015-12-17 13:22:36 +0100652 NS-VC Block count : 5
653 NS-VC replaced other count: 3
654 NS-VC changed NSEI count : 4
655
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200656Current NS-VCIs:
657
658--- Setup SGSN connection, BSS -> SGSN ---
659
660MESSAGE to SGSN, msg length 12
66102 00 81 01 01 82 01 01 04 82 01 00
662
663PROCESSING RESET_ACK from 0x05060708:32000
66403 01 82 01 01 04 82 01 00
665
666MESSAGE to SGSN, msg length 1
6670a
668
Harald Welte35042a22019-02-23 14:07:00 +0100669result (RESET_ACK) = 0
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200670
671PROCESSING ALIVE_ACK from 0x05060708:32000
6720b
673
674MESSAGE to SGSN, msg length 1
67506
676
677result (ALIVE_ACK) = 1
678
679PROCESSING UNBLOCK_ACK from 0x05060708:32000
68007
681
682==> got signal NS_UNBLOCK, NS-VC 0x0101/5.6.7.8:32000
683result (UNBLOCK_ACK) = 0
684
685Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200686 VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, ALIVE, UNBLOCKED, UNRESET
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200687 NS-VC Block count : 1
688
689--- RESET, SGSN -> BSS ---
690
691PROCESSING RESET from 0x05060708:32000
69202 00 81 01 01 82 01 01 04 82 01 00
693
694==> got signal NS_RESET, NS-VC 0x0101/5.6.7.8:32000
695MESSAGE to SGSN, msg length 9
69603 01 82 01 01 04 82 01 00
697
698MESSAGE to SGSN, msg length 1
6990a
700
701result (RESET) = 9
702
703Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200704 VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, ALIVE, BLOCKED, UNRESET
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200705 NS-VC Block count : 1
706
707--- RESET with invalid NSEI, SGSN -> BSS ---
708
709PROCESSING RESET from 0x05060708:32000
71002 00 81 01 01 82 01 01 04 82 f0 00
711
Jacob Erlbeck5405a102013-10-24 01:33:23 +0200712==> got signal NS_MISMATCH: 0x0101/5.6.7.8:32000 pdu=2, ie=4
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200713MESSAGE to SGSN, msg length 9
Jacob Erlbeck5405a102013-10-24 01:33:23 +020071403 01 82 01 01 04 82 01 00
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200715
Jacob Erlbeck5405a102013-10-24 01:33:23 +0200716result (RESET) = 0
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200717
718Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200719 VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, ALIVE, BLOCKED, UNRESET
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200720 NS-VC Block count : 1
Jacob Erlbeck5405a102013-10-24 01:33:23 +0200721 NSEI was invalid count : 1
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200722
723--- RESET with invalid NSVCI, SGSN -> BSS ---
724
725PROCESSING RESET from 0x05060708:32000
72602 00 81 01 01 82 f0 01 04 82 01 00
727
Jacob Erlbeck5405a102013-10-24 01:33:23 +0200728==> got signal NS_MISMATCH: 0x0101/5.6.7.8:32000 pdu=2, ie=1
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200729MESSAGE to SGSN, msg length 9
Jacob Erlbeck5405a102013-10-24 01:33:23 +020073003 01 82 01 01 04 82 01 00
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200731
Jacob Erlbeck5405a102013-10-24 01:33:23 +0200732result (RESET) = 0
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200733
734Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200735 VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, ALIVE, BLOCKED, UNRESET
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200736 NS-VC Block count : 1
Jacob Erlbeck5405a102013-10-24 01:33:23 +0200737 NS-VCI was invalid count : 1
738 NSEI was invalid count : 1
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200739
740--- RESET, SGSN -> BSS ---
741
742PROCESSING RESET from 0x05060708:32000
74302 00 81 01 01 82 01 01 04 82 01 00
744
745==> got signal NS_RESET, NS-VC 0x0101/5.6.7.8:32000
746MESSAGE to SGSN, msg length 9
74703 01 82 01 01 04 82 01 00
748
749MESSAGE to SGSN, msg length 1
7500a
751
752result (RESET) = 9
753
754Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200755 VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, ALIVE, BLOCKED, UNRESET
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200756 NS-VC Block count : 1
Jacob Erlbeck5405a102013-10-24 01:33:23 +0200757 NS-VCI was invalid count : 1
758 NSEI was invalid count : 1
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200759
760--- Unexpected RESET_ACK VC 1, BSS -> SGSN ---
761
762PROCESSING RESET_ACK from 0x05060708:32000
76303 01 82 01 01 04 82 01 00
764
Jacob Erlbeck5405a102013-10-24 01:33:23 +0200765result (RESET_ACK) = 0
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200766
767Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200768 VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, ALIVE, BLOCKED, UNRESET
Jacob Erlbeck5405a102013-10-24 01:33:23 +0200769 NS-VC Block count : 1
770 NS-VCI was invalid count : 1
771 NSEI was invalid count : 1
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200772
773--- RESET_ACK with invalid NSEI, BSS -> SGSN ---
774
775MESSAGE to SGSN, msg length 12
77602 00 81 01 01 82 01 01 04 82 01 00
777
778PROCESSING RESET_ACK from 0x05060708:32000
77903 01 82 01 01 04 82 e0 00
780
Jacob Erlbeck5405a102013-10-24 01:33:23 +0200781==> got signal NS_MISMATCH: 0x0101/5.6.7.8:32000 pdu=3, ie=4
782result (RESET_ACK) = -22
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200783
784Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200785 VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, DEAD, BLOCKED, RESET
Jacob Erlbeck5405a102013-10-24 01:33:23 +0200786 NS-VC Block count : 1
787 NS-VCI was invalid count : 1
788 NSEI was invalid count : 2
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200789
790--- RESET_ACK with invalid NSVCI, BSS -> SGSN ---
791
792MESSAGE to SGSN, msg length 12
79302 00 81 01 01 82 01 01 04 82 01 00
794
795PROCESSING RESET_ACK from 0x05060708:32000
79603 01 82 e0 01 04 82 01 00
797
Jacob Erlbeck5405a102013-10-24 01:33:23 +0200798==> got signal NS_MISMATCH: 0x0101/5.6.7.8:32000 pdu=3, ie=1
799result (RESET_ACK) = -22
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200800
801Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200802 VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, DEAD, BLOCKED, RESET
Jacob Erlbeck5405a102013-10-24 01:33:23 +0200803 NS-VC Block count : 1
804 NS-VCI was invalid count : 2
805 NSEI was invalid count : 2
Jacob Erlbeck81d7c142013-10-24 01:33:22 +0200806
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200807Current NS-VCIs:
808
Jacob Erlbeckcdb85f52014-10-07 14:07:39 +0200809=== test_sgsn_reset_invalid_state ===
810--- Setup SGSN connection, BSS -> SGSN ---
811
812MESSAGE to SGSN, msg length 12
81302 00 81 01 01 82 01 01 04 82 01 00
814
815PROCESSING RESET_ACK from 0x05060708:32000
81603 01 82 01 01 04 82 01 00
817
818MESSAGE to SGSN, msg length 1
8190a
820
Harald Welte35042a22019-02-23 14:07:00 +0100821result (RESET_ACK) = 0
Jacob Erlbeckcdb85f52014-10-07 14:07:39 +0200822
823PROCESSING ALIVE_ACK from 0x05060708:32000
8240b
825
826MESSAGE to SGSN, msg length 1
82706
828
829result (ALIVE_ACK) = 1
830
831PROCESSING UNBLOCK_ACK from 0x05060708:32000
83207
833
834==> got signal NS_UNBLOCK, NS-VC 0x0101/5.6.7.8:32000
835result (UNBLOCK_ACK) = 0
836
837Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200838 VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, ALIVE, UNBLOCKED, UNRESET
Jacob Erlbeckcdb85f52014-10-07 14:07:39 +0200839 NS-VC Block count : 1
840
841--- Time out local test procedure ---
842
843MESSAGE to SGSN, msg length 1
8440a
845
846MESSAGE to SGSN, msg length 1
8470a
848
849MESSAGE to SGSN, msg length 1
8500a
851
852MESSAGE to SGSN, msg length 1
8530a
854
855MESSAGE to SGSN, msg length 1
8560a
857
858MESSAGE to SGSN, msg length 1
8590a
860
861MESSAGE to SGSN, msg length 1
8620a
863
864MESSAGE to SGSN, msg length 1
8650a
866
867MESSAGE to SGSN, msg length 1
8680a
869
870MESSAGE to SGSN, msg length 1
8710a
872
873MESSAGE to SGSN, msg length 1
8740a
875
876==> got signal NS_ALIVE_EXP, NS-VC 0x0101/5.6.7.8:32000
877==> got signal NS_BLOCK, NS-VC 0x0101/5.6.7.8:32000
878--- Remote test procedure continues ---
879
880PROCESSING ALIVE from 0x05060708:32000
8810a
882
883MESSAGE to SGSN, msg length 12
88402 00 81 0a 01 82 01 01 04 82 01 00
885
886result (ALIVE) = 12
887
888--- Don't send a NS_RESET_ACK message (pretend it is lost) ---
889
890PROCESSING ALIVE from 0x05060708:32000
8910a
892
Jacob Erlbeck6ac70a42014-10-07 14:12:30 +0200893result (ALIVE) = 0
894
895PROCESSING RESET_ACK from 0x05060708:32000
89603 01 82 01 01 04 82 01 00
897
Jacob Erlbeckcdb85f52014-10-07 14:07:39 +0200898MESSAGE to SGSN, msg length 1
Jacob Erlbeck6ac70a42014-10-07 14:12:30 +02008990a
900
Harald Welte35042a22019-02-23 14:07:00 +0100901result (RESET_ACK) = 0
Jacob Erlbeck6ac70a42014-10-07 14:12:30 +0200902
903PROCESSING ALIVE_ACK from 0x05060708:32000
Jacob Erlbeckcdb85f52014-10-07 14:07:39 +02009040b
905
Jacob Erlbeck6ac70a42014-10-07 14:12:30 +0200906MESSAGE to SGSN, msg length 1
90706
908
909result (ALIVE_ACK) = 1
910
911PROCESSING UNBLOCK_ACK from 0x05060708:32000
91207
913
914==> got signal NS_UNBLOCK, NS-VC 0x0101/5.6.7.8:32000
915result (UNBLOCK_ACK) = 0
Jacob Erlbeckcdb85f52014-10-07 14:07:39 +0200916
917PROCESSING UNITDATA from 0x05060708:32000
91800 00 12 34 01 02 03 04
919
Jacob Erlbeck6ac70a42014-10-07 14:12:30 +0200920CALLBACK, event 0, msg length 4, bvci 0x1234
92101 02 03 04
Jacob Erlbeckcdb85f52014-10-07 14:07:39 +0200922
Jacob Erlbeck6ac70a42014-10-07 14:12:30 +0200923result (UNITDATA) = 0
Jacob Erlbeckcdb85f52014-10-07 14:07:39 +0200924
925Current NS-VCIs:
926
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200927--- Send message to SGSN ---
928
929SENDING BSSGP RESET to NSEI 0x0100, BVCI 0x0000
930NS UNITDATA MESSAGE to SGSN, BVCI 0x0000, msg length 18
93122 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00
932
933result (BSSGP RESET) = -22
934
935--- Setup dead connection to SGSN ---
936
937MESSAGE to SGSN, msg length 12
93802 00 81 01 01 82 01 01 04 82 01 00
939
940Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200941 VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, DEAD, BLOCKED, RESET
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200942
943--- Send message to SGSN ---
944
945SENDING BSSGP RESET to NSEI 0x0100, BVCI 0x0000
946NS UNITDATA MESSAGE to SGSN, BVCI 0x0000, msg length 18
94722 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00
948
Jacob Erlbeckbf021962013-10-17 13:58:35 +0200949result (BSSGP RESET) = -16
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200950
951--- Make connection to SGSN alive ---
952
953PROCESSING RESET_ACK from 0x05060708:32000
95403 01 82 01 01 04 82 01 00
955
956MESSAGE to SGSN, msg length 1
9570a
958
Harald Welte35042a22019-02-23 14:07:00 +0100959result (RESET_ACK) = 0
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200960
961PROCESSING ALIVE_ACK from 0x05060708:32000
9620b
963
964MESSAGE to SGSN, msg length 1
96506
966
967result (ALIVE_ACK) = 1
968
969Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200970 VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, ALIVE, BLOCKED, UNRESET
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200971 NS-VC Block count : 1
972
973--- Send message to SGSN ---
974
975SENDING BSSGP RESET to NSEI 0x0100, BVCI 0x0000
976NS UNITDATA MESSAGE to SGSN, BVCI 0x0000, msg length 18
97722 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00
978
Jacob Erlbeckbf021962013-10-17 13:58:35 +0200979result (BSSGP RESET) = -16
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200980
981--- Unblock connection to SGSN ---
982
983PROCESSING UNBLOCK_ACK from 0x05060708:32000
98407
985
986==> got signal NS_UNBLOCK, NS-VC 0x0101/5.6.7.8:32000
987result (UNBLOCK_ACK) = 0
988
989PROCESSING ALIVE from 0x05060708:32000
9900a
991
992MESSAGE to SGSN, msg length 1
9930b
994
995result (ALIVE) = 1
996
997Current NS-VCIs:
Max4ce24c42017-10-23 15:09:23 +0200998 VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, ALIVE, UNBLOCKED, UNRESET
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +0200999 NS-VC Block count : 1
1000
1001--- Send message to SGSN ---
1002
1003SENDING BSSGP RESET to NSEI 0x0100, BVCI 0x0000
1004NS UNITDATA MESSAGE to SGSN, BVCI 0x0000, msg length 18
100522 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00
1006
Jacob Erlbeckbf021962013-10-17 13:58:35 +02001007MESSAGE to SGSN, msg length 22
100800 00 00 00 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00
1009
1010result (BSSGP RESET) = 22
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +02001011
1012--- Send empty message with BVCI to SGSN ---
1013
1014SENDING [empty] to NSEI 0x0100, BVCI 0x0102
1015NS UNITDATA MESSAGE to SGSN, BVCI 0x0102, msg length 0
1016
1017
Jacob Erlbeckbf021962013-10-17 13:58:35 +02001018MESSAGE to SGSN, msg length 4
101900 00 01 02
1020
1021result ([empty]) = 4
Jacob Erlbeck0d4e9492013-10-17 13:58:34 +02001022
Jacob Erlbeckdcce1962013-10-08 12:04:43 +02001023===== NS protocol test END
1024