batman-adv: use CRC32C instead of CRC16 in TT code
authorAntonio Quartulli <ordex@autistici.org>
Wed, 24 Apr 2013 14:37:51 +0000 (16:37 +0200)
committerAntonio Quartulli <antonio@meshcoding.com>
Wed, 9 Oct 2013 19:22:31 +0000 (21:22 +0200)
commitced72933a5e8ab52bb066a4a4083840b6f7f62ff
tree65415ac977b3f0bf1e0d09b5e0c7fd752d815bd4
parent122edaa05940c021a55492d8c12f7663ce5168de
batman-adv: use CRC32C instead of CRC16 in TT code

CRC32C has to be preferred to CRC16 because of its possible
HW native support and because of the reduced collision
probability. With this change the Translation Table
component now uses CRC32C to compute the local and global
table checksum.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/packet.h
net/batman-adv/translation-table.c
net/batman-adv/types.h