diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-03-22 19:04:46 +0800 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-03-22 19:04:46 +0800 |
commit | e164d29e7f6c86d1f6f047bbf58159e46a11425f (patch) | |
tree | a6e567af3eb9c1594d01c863775ce3acb8bf71df | |
parent | a5731cffc4b07a85a5a6c82cf6bc223baab7cd0c (diff) |
gprs: remove (the already unused) si13_template
system_information.c and rest_octets.c don't need a template...
-rw-r--r-- | openbsc/src/system_information.c | 16 |
1 files changed, 0 insertions, 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; } |