[PATCH] gsm_utils.c: cleanup + do not use dynamic memory when decoding 7bit messages

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

Nico Golde osmocom at ngolde.de
Mon Sep 17 16:30:38 UTC 2012


Hi,
attached is a patch that cleans up gsm_7bit_decode_hdr() a 
little and removes the need for calloc/free. This way, this 
function can be used on systems that do not have the 
required allocation routines (e.g. a layer1 firmware).

This is a bit selfish, as I personally need it :)

Cheers
Nico



More information about the baseband-devel mailing list