gprs: remove (the already unused) si13_template

system_information.c and rest_octets.c don't need a template...
This commit is contained in:
Harald Welte 2010-03-22 19:04:46 +08:00
parent a5731cffc4
commit e164d29e7f
1 changed files with 0 additions and 16 deletions

View File

@ -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;
}