diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-02-03 09:48:38 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 15:19:28 -0500 |
commit | 9404ef34e4747228717d6e22ce3827ed366ccf41 (patch) | |
tree | 90f4a51af46519e42dcd638a3344ee664db539ec /drivers/net/wireless/rt2x00/rt2x00.h | |
parent | adfdbb79c06154cd3cc7b5983106ace324aa3b02 (diff) |
rt2x00: Driver requiring firmware should select crc algo
The driver should select what CRC algorithm is required
when performing a checksum on the firmware.
rt61pci & rt73usb require crc-itu-t
rt2800pci & rt2800usb require crc-ccitt
Legacy 2800pci/usb driver uses crc-itu-t + bit order reversion,
but that is just inefficient especially since the end result is
the same as a different algorithm which is also available as library. ;)
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index 7b67f9666c3b..6a25195816db 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h | |||
@@ -551,6 +551,8 @@ enum rt2x00_flags { | |||
551 | * Driver features | 551 | * Driver features |
552 | */ | 552 | */ |
553 | DRIVER_REQUIRE_FIRMWARE, | 553 | DRIVER_REQUIRE_FIRMWARE, |
554 | DRIVER_REQUIRE_FIRMWARE_CRC_ITU_T, | ||
555 | DRIVER_REQUIRE_FIRMWARE_CCITT, | ||
554 | DRIVER_REQUIRE_BEACON_GUARD, | 556 | DRIVER_REQUIRE_BEACON_GUARD, |
555 | DRIVER_REQUIRE_ATIM_QUEUE, | 557 | DRIVER_REQUIRE_ATIM_QUEUE, |
556 | 558 | ||