summaryrefslogtreecommitdiffstats
path: root/openbsc/tests
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-04-23 09:13:01 -0400
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-05-05 21:09:20 +0200
commit49c1a7156c7e0ced1709aee4a3d3438db60bae41 (patch)
tree81f56d0c02c83224a597ddd24910f897f30ed492 /openbsc/tests
parentb927f1c3199b48becb03c0d56926c3b98d6ff5ce (diff)
gsup: Extract the QoS field
Add roundtrip test for the new QoS IE. It will be consumed in later commits.
Diffstat (limited to 'openbsc/tests')
-rw-r--r--openbsc/tests/gprs/gprs_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/tests/gprs/gprs_test.c b/openbsc/tests/gprs/gprs_test.c
index a7c2401..bbd1d8a 100644
--- a/openbsc/tests/gprs/gprs_test.c
+++ b/openbsc/tests/gprs/gprs_test.c
@@ -446,10 +446,11 @@ static void test_gsup_messages_dec_enc(void)
0x08, 0x07, /* MSISDN of the subscriber */
0x91, 0x94, 0x61, 0x46, 0x32, 0x24, 0x43,
0x04, 0x00, /* PDP info complete */
- 0x05, 0x12,
+ 0x05, 0x15,
0x10, 0x01, 0x01,
0x11, 0x02, 0xf1, 0x21, /* IPv4 */
0x12, 0x09, 0x04, 't', 'e', 's', 't', 0x03, 'a', 'p', 'n',
+ 0x13, 0x01, 0x02,
0x05, 0x11,
0x10, 0x01, 0x02,
0x11, 0x02, 0xf1, 0x21, /* IPv4 */