From cafa3881ad7d7a2c46eb1d7acfae83339787c883 Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Mon, 30 Nov 2020 14:28:52 +0100 Subject: gbproxy: Ensure BVC0 is reset before handling PtP BVCs Change-Id: I9c67f973f7bca00e8eb22a024ef2282c007dd84b Related: SYS#5226 --- tests/gbproxy/gbproxy_test.c | 1 + tests/gbproxy/gbproxy_test.ok | 108 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 109 insertions(+) (limited to 'tests') diff --git a/tests/gbproxy/gbproxy_test.c b/tests/gbproxy/gbproxy_test.c index 06734b407..fec5914d8 100644 --- a/tests/gbproxy/gbproxy_test.c +++ b/tests/gbproxy/gbproxy_test.c @@ -930,6 +930,7 @@ static void setup_ns(struct gprs_ns2_inst *nsi, "NSEI 0x%04x(%d)\n\n", nsei, nsei); send_ns_avail(nsi, nsei); + send_bssgp_reset(nsi, nsei, 0); } static void setup_bssgp(struct gprs_ns2_inst *nsi, diff --git a/tests/gbproxy/gbproxy_test.ok b/tests/gbproxy/gbproxy_test.ok index 14a2641e0..fbd5366b0 100644 --- a/tests/gbproxy/gbproxy_test.ok +++ b/tests/gbproxy/gbproxy_test.ok @@ -13,6 +13,15 @@ Setup NS-VC: NSEI 0x1000(4096) NS2 CALLBACK, prim 2, bvci 0x0000 +PROCESSING BVC_RESET from NSEI 4096 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +NS2 CALLBACK, prim 0, msg length 18, bvci 0x0000 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +Message for BSS (NSEI=4096 BVCI=0): +23 04 82 00 00 + Setup BSSGP: BVCI 0x1002(4098) PROCESSING BVC_RESET from NSEI 4096 @@ -48,6 +57,15 @@ Setup NS-VC: NSEI 0x2000(8192) NS2 CALLBACK, prim 2, bvci 0x0000 +PROCESSING BVC_RESET from NSEI 8192 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +NS2 CALLBACK, prim 0, msg length 18, bvci 0x0000 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +Message for BSS (NSEI=8192 BVCI=0): +23 04 82 00 00 + Setup BSSGP: BVCI 0x2002(8194) PROCESSING BVC_RESET from NSEI 8192 @@ -366,6 +384,15 @@ Setup NS-VC: NSEI 0x1000(4096) NS2 CALLBACK, prim 2, bvci 0x0000 +PROCESSING BVC_RESET from NSEI 4096 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +NS2 CALLBACK, prim 0, msg length 18, bvci 0x0000 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +Message for BSS (NSEI=4096 BVCI=0): +23 04 82 00 00 + --- Setup BVCI 1 --- Setup BSSGP: BVCI 0x1002(4098) @@ -488,6 +515,15 @@ Setup NS-VC: NSEI 0x2000(8192) NS2 CALLBACK, prim 2, bvci 0x0000 +PROCESSING BVC_RESET from NSEI 8192 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +NS2 CALLBACK, prim 0, msg length 18, bvci 0x0000 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +Message for BSS (NSEI=8192 BVCI=0): +23 04 82 00 00 + --- Setup BVCI 1 --- Setup BSSGP: BVCI 0x1002(4098) @@ -679,6 +715,15 @@ Setup NS-VC: NSEI 0x1000(4096) NS2 CALLBACK, prim 2, bvci 0x0000 +PROCESSING BVC_RESET from NSEI 4096 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +NS2 CALLBACK, prim 0, msg length 18, bvci 0x0000 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +Message for BSS (NSEI=4096 BVCI=0): +23 04 82 00 00 + Setup BSSGP: BVCI 0x1002(4098) PROCESSING BVC_RESET from NSEI 4096 @@ -1057,6 +1102,15 @@ Setup NS-VC: NSEI 0x1000(4096) NS2 CALLBACK, prim 2, bvci 0x0000 +PROCESSING BVC_RESET from NSEI 4096 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +NS2 CALLBACK, prim 0, msg length 18, bvci 0x0000 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +Message for BSS (NSEI=4096 BVCI=0): +23 04 82 00 00 + Setup BSSGP: BVCI 0x1002(4098) PROCESSING BVC_RESET from NSEI 4096 @@ -1342,6 +1396,15 @@ Setup NS-VC: NSEI 0x1000(4096) NS2 CALLBACK, prim 2, bvci 0x0000 +PROCESSING BVC_RESET from NSEI 4096 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +NS2 CALLBACK, prim 0, msg length 18, bvci 0x0000 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +Message for BSS (NSEI=4096 BVCI=0): +23 04 82 00 00 + Setup BSSGP: BVCI 0x1002(4098) PROCESSING BVC_RESET from NSEI 4096 @@ -1991,6 +2054,15 @@ Setup NS-VC: NSEI 0x1000(4096) NS2 CALLBACK, prim 2, bvci 0x0000 +PROCESSING BVC_RESET from NSEI 4096 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +NS2 CALLBACK, prim 0, msg length 18, bvci 0x0000 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +Message for BSS (NSEI=4096 BVCI=0): +23 04 82 00 00 + Setup BSSGP: BVCI 0x1002(4098) PROCESSING BVC_RESET from NSEI 4096 @@ -2250,6 +2322,15 @@ Setup NS-VC: NSEI 0x1000(4096) NS2 CALLBACK, prim 2, bvci 0x0000 +PROCESSING BVC_RESET from NSEI 4096 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +NS2 CALLBACK, prim 0, msg length 18, bvci 0x0000 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +Message for BSS (NSEI=4096 BVCI=0): +23 04 82 00 00 + Setup BSSGP: BVCI 0x1002(4098) PROCESSING BVC_RESET from NSEI 4096 @@ -2966,6 +3047,15 @@ Setup NS-VC: NSEI 0x1000(4096) NS2 CALLBACK, prim 2, bvci 0x0000 +PROCESSING BVC_RESET from NSEI 4096 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +NS2 CALLBACK, prim 0, msg length 18, bvci 0x0000 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +Message for BSS (NSEI=4096 BVCI=0): +23 04 82 00 00 + Setup BSSGP: BVCI 0x0000(0) PROCESSING BVC_RESET from NSEI 4096 @@ -4108,6 +4198,15 @@ Setup NS-VC: NSEI 0x1000(4096) NS2 CALLBACK, prim 2, bvci 0x0000 +PROCESSING BVC_RESET from NSEI 4096 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +NS2 CALLBACK, prim 0, msg length 18, bvci 0x0000 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +Message for BSS (NSEI=4096 BVCI=0): +23 04 82 00 00 + Setup BSSGP: BVCI 0x1002(4098) PROCESSING BVC_RESET from NSEI 4096 @@ -5716,6 +5815,15 @@ Setup NS-VC: NSEI 0x1000(4096) NS2 CALLBACK, prim 2, bvci 0x0000 +PROCESSING BVC_RESET from NSEI 4096 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +NS2 CALLBACK, prim 0, msg length 18, bvci 0x0000 +22 04 82 00 00 07 81 08 08 88 11 22 33 40 50 60 10 00 + +Message for BSS (NSEI=4096 BVCI=0): +23 04 82 00 00 + Setup BSSGP: BVCI 0x1002(4098) PROCESSING BVC_RESET from NSEI 4096 -- cgit v1.2.3