aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gb
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2013-10-08 12:04:46 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-08 14:51:17 +0200
commitb6390f9bd899370317ae2cd96271b21f07fdf637 (patch)
tree5de9612e7872dfc7104428d13bc7013b415b7842 /tests/gb
parent05395a63b77e97217fc5ffa84ab375adfcaca244 (diff)
gb: Use the NS-VCI to find an existing NS-VC
Currently when a NS-RESET is recevied over a link that has not yet been associated with a NS-VC, the NSEI is used to find an existing NS-VC. If one is found, the reset procedure is initiated. This behaviour is not conformant with 3GPP TS 08.16 (see chapter 4.2.3) which allows to use several NS-VC between two endpoints in parallel. The patch changes the implementation to use the NSVCI instead of the NSEI to search for an existing NS-VC object. Ticket: OW#874 Sponsored-by: On-Waves ehf
Diffstat (limited to 'tests/gb')
-rw-r--r--tests/gb/gprs_ns_test.ok7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/gb/gprs_ns_test.ok b/tests/gb/gprs_ns_test.ok
index 049b5e66..578b9054 100644
--- a/tests/gb/gprs_ns_test.ok
+++ b/tests/gb/gprs_ns_test.ok
@@ -68,6 +68,7 @@ result (RESET) = 9
Current NS-VCIs:
VCI 0x3344, NSEI 0x1122, peer 0x01020304:3333
+ VCI 0x1122, NSEI 0x1122, peer 0x01020304:2222
--- Peer port changes, RESET, NSEI changes ---
@@ -83,8 +84,8 @@ RESPONSE, msg length 1
result (RESET) = 9
Current NS-VCIs:
- VCI 0x1122, NSEI 0x3344, peer 0x01020304:4444
VCI 0x3344, NSEI 0x1122, peer 0x01020304:3333
+ VCI 0x1122, NSEI 0x3344, peer 0x01020304:4444
--- Peer port 3333, RESET, VCI is changed back ---
@@ -100,8 +101,8 @@ RESPONSE, msg length 1
result (RESET) = 9
Current NS-VCIs:
- VCI 0x1122, NSEI 0x3344, peer 0x01020304:4444
VCI 0x1122, NSEI 0x1122, peer 0x01020304:3333
+ VCI 0x1122, NSEI 0x3344, peer 0x01020304:4444
--- Peer port 4444, RESET, NSEI is changed back ---
@@ -117,8 +118,8 @@ RESPONSE, msg length 1
result (RESET) = 9
Current NS-VCIs:
- VCI 0x1122, NSEI 0x1122, peer 0x01020304:4444
VCI 0x1122, NSEI 0x1122, peer 0x01020304:3333
+ VCI 0x1122, NSEI 0x1122, peer 0x01020304:4444
===== NS protocol test END