aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/gbproxy/gbproxy_test.c
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-08-15 13:30:09 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-24 16:16:39 +0200
commit425afaca2f9a4abd858c4f109e8e99ef3d91ca76 (patch)
treee583397c313bb66aad80e284575ac1b8c2b66852 /openbsc/tests/gbproxy/gbproxy_test.c
parent59748e653b7d6ab7e8bb62bf55ca714958b356e2 (diff)
gbproxy/test: Fix BSSGP/LLC test messages
The following parts of the messages have been fixed - Attach Accept: checksum - Attach Complete: checksum - RA Update Accept: Use the same MS Radio Access Capabilities and DRX Parameters like the other messages The N(U) of most messages have not been fixed. Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/tests/gbproxy/gbproxy_test.c')
-rw-r--r--openbsc/tests/gbproxy/gbproxy_test.c27
1 files changed, 13 insertions, 14 deletions
diff --git a/openbsc/tests/gbproxy/gbproxy_test.c b/openbsc/tests/gbproxy/gbproxy_test.c
index 0d55fb3db..c463222fb 100644
--- a/openbsc/tests/gbproxy/gbproxy_test.c
+++ b/openbsc/tests/gbproxy/gbproxy_test.c
@@ -181,7 +181,7 @@ static const unsigned char bssgp_attach_acc[88] = {
0x0e, 0x9e, 0x41, 0xc0, 0x05, 0x08, 0x02, 0x01,
0x49, 0x04, 0x21, 0x63, 0x54, 0x40, 0x50, 0x60,
0x19, 0xcd, 0xd7, 0x08, 0x17, 0x16, 0x18, 0x05,
- 0xf4, 0xef, 0xe2, 0xb7, 0x00, 0x42, 0x67, 0x9a
+ 0xf4, 0xef, 0xe2, 0xb7, 0x00, 0x53, 0x62, 0xf1
};
/* Base Station Subsystem GPRS Protocol: GSM A-I/F DTAP - Attach Complete */
@@ -189,7 +189,7 @@ static const unsigned char bssgp_attach_complete[] = {
0x01, 0xef, 0xe2, 0xb7, 0x00, 0x00, 0x00, 0x04,
0x08, 0x88, 0x11, 0x22, 0x33, 0x40, 0x50, 0x60,
0x75, 0x30, 0x00, 0x80, 0x0e, 0x00, 0x08, 0x01,
- 0xc0, 0x11, 0x08, 0x03, 0xff, 0xff, 0xff
+ 0xc0, 0x11, 0x08, 0x03, 0xea, 0x67, 0x11
};
/* Base Station Subsystem GPRS Protocol: GSM A-I/F DTAP - GMM Information */
@@ -221,19 +221,18 @@ static const unsigned char bssgp_ra_upd_req[85] = {
};
/* Base Station Subsystem GPRS Protocol: GSM A-I/F DTAP - Routing Area Update Accept */
-static const unsigned char bssgp_ra_upd_acc[91] = {
+static const unsigned char bssgp_ra_upd_acc[] = {
0x00, 0xbb, 0xc5, 0x46, 0x79, 0x00, 0x50, 0x20,
- 0x16, 0x82, 0x02, 0x58, 0x13, 0x9d, 0x19, 0x13,
- 0x42, 0x33, 0x57, 0x2b, 0xf7, 0xc8, 0x48, 0x02,
- 0x13, 0x48, 0x50, 0xc8, 0x48, 0x02, 0x14, 0x48,
- 0x50, 0xc8, 0x48, 0x02, 0x17, 0x49, 0x10, 0xc8,
- 0x48, 0x02, 0x00, 0x0a, 0x82, 0x07, 0x04, 0x0d,
- 0x88, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
- 0x18, 0x00, 0x81, 0x00, 0x0e, 0x9d, 0x41, 0xc0,
- 0x19, 0x08, 0x09, 0x00, 0x49, 0x21, 0x63, 0x54,
- 0x40, 0x50, 0x60, 0x19, 0x54, 0xab, 0xb3, 0x18,
- 0x05, 0xf4, 0xef, 0xe2, 0xb7, 0x00, 0x17, 0x16,
- 0xd7, 0x59, 0x65
+ 0x16, 0x82, 0x02, 0x58, 0x13, 0x99, 0x18, 0xb3,
+ 0x43, 0x2b, 0x25, 0x96, 0x62, 0x00, 0x60, 0x80,
+ 0x9a, 0xc2, 0xc6, 0x62, 0x00, 0x60, 0x80, 0xba,
+ 0xc8, 0xc6, 0x62, 0x00, 0x60, 0x80, 0x00, 0x0a,
+ 0x82, 0x08, 0x02, 0x0d, 0x88, 0x11, 0x12, 0x13,
+ 0x14, 0x15, 0x16, 0x17, 0x18, 0x00, 0x81, 0x00,
+ 0x0e, 0x9d, 0x41, 0xc0, 0x19, 0x08, 0x09, 0x00,
+ 0x49, 0x21, 0x63, 0x54, 0x40, 0x50, 0x60, 0x19,
+ 0x54, 0xab, 0xb3, 0x18, 0x05, 0xf4, 0xef, 0xe2,
+ 0xb7, 0x00, 0x17, 0x16, 0xd7, 0x59, 0x65
};
/* Base Station Subsystem GPRS Protocol: GSM A-I/F DTAP - Activate PDP Context Request */