Subject: CRC16 in rt2x00

From: Ivo van Doorn <[email-masked]>
Date: Sat, 27 May 2006 13:27:15 +0200

Hi,

I have a small question about the CRC16 usage in rt2x00
and what the netdev preferred method is for this.

At the moment the rt2x00 drivers in wireless-dev use
its own CRC16 table and calculation inside the driver.
There already is a CRC16 library in the kernel
which uses the 0x8005 table, while rt2x00 uses the
0x1021 polynomial table.

Is keeping this version of CRC16 inside rt2x00 the most
sensible thing to do? Or should it be moved to the lib
folder of the kernel so other drivers could make use of it as well?
(So far I have not found a driver which makes use
of the same CRC16 table)

Thanks.

Ivo