From e164d29e7f6c86d1f6f047bbf58159e46a11425f Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 22 Mar 2010 19:04:46 +0800 Subject: gprs: remove (the already unused) si13_template system_information.c and rest_octets.c don't need a template... --- openbsc/src/system_information.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/openbsc/src/system_information.c b/openbsc/src/system_information.c index 29f3c2239..3f9d60954 100644 --- a/openbsc/src/system_information.c +++ b/openbsc/src/system_information.c @@ -423,18 +423,6 @@ static struct gsm48_si13_info si13_default = { }, }; -static u_int8_t si13_template[] = { - 0x09, 0x06, 0x00, -#if 0 - /* This is what our system_information branch geneates */ - 0x2a, 0x01, 0x00, 0x04, 0x00, 0xd8, 0xa5, 0xef, 0xff, 0xf7, -#else - /* This is what Dieter has sent me as hand-coded example */ - 0x90, 0x00, 0x58, 0x98, 0x6f, 0xc9, 0x70, 0x4a, 0x84, 0x10, -#endif - 0x2b, 0x2b, 0x2b, 0x2b, 0x2b, 0x2b, 0x2b, 0x2b, 0x2b, 0x2b, -}; - static int generate_si13(u_int8_t *output, struct gsm_bts *bts) { struct gsm48_system_information_type_13 *si13 = @@ -455,10 +443,6 @@ static int generate_si13(u_int8_t *output, struct gsm_bts *bts) si13->header.l2_plen = ret & 0xff; - printf("SI13 template : %s\n", hexdump(si13_template, GSM_MACBLOCK_LEN)); - printf("SI13 generated: %s\n", hexdump(si13, GSM_MACBLOCK_LEN)); - //memcpy(si13, si13_template, sizeof(si13_template)); - return sizeof (*si13) + ret; } -- cgit v1.2.3