]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb063a73a9618ff8b49206d17e3c87d1d6f61eb54
tree65415ac977b3f0bf1e0d09b5e0c7fd752d815bd4
parent6b6fc3ae10877fab1c5ce58c151236b2b4ad0497
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