]> 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)
commit35ac95dd3cafec7bf3e5e334fa9c4638182906ec
tree65415ac977b3f0bf1e0d09b5e0c7fd752d815bd4
parenta8bc2c6e0d6a0e9e114787504acf3d5f15256637
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