1
linux/drivers/net/wireless/rt2x00
Ivo van Doorn f1dd2b23ba rt2x00: Fix rt2500usb HW crypto: WEP 128 & AES
The TXD_W0_CIPHER field is a 1-bit field. It only acts as boolean value
to indicate if the frame must be encrypted or not.

The way rt2x00_set_field32() worked it would grab the least signifcant bit
from txdesc->cipher and use that as value. Because of that WEP 64 and TKIP
worked since they had odd-numbered values, while WEP 128 and AES were
even numbers and didn't work.

Correctly booleanize the txdecs->cipher value to allow the hardware to
encrypt the outgoing data. After this we can enable HW crypto by default again.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-01-12 14:24:57 -05:00
..
Kconfig rt2x00: Implement HW encryption (rt2500usb) 2008-12-05 09:35:51 -05:00
Makefile
rt2x00.h rt2x00: Release rt2x00 2.2.3 2008-12-05 09:35:51 -05:00
rt2x00config.c rt2x00: Remove duplicate code 2008-12-05 09:35:50 -05:00
rt2x00crypto.c trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
rt2x00debug.c rt2x00: Remove debugfs CSR access wrappers 2008-11-10 15:17:35 -05:00
rt2x00debug.h rt2x00: Remove debugfs CSR access wrappers 2008-11-10 15:17:35 -05:00
rt2x00dev.c rt2x00: Fix TX short preamble detection 2009-01-12 14:24:50 -05:00
rt2x00dump.h
rt2x00firmware.c
rt2x00leds.c rt2x00: Fix radio LED type check 2009-01-12 14:24:49 -05:00
rt2x00leds.h
rt2x00lib.h rt2x00: Fix TX short preamble detection 2009-01-12 14:24:50 -05:00
rt2x00mac.c rt2x00: Correctly initialize AID during set_key() 2008-12-05 09:35:57 -05:00
rt2x00pci.c rt2x00: Cleanup indirect register access 2008-11-25 16:32:53 -05:00
rt2x00pci.h rt2x00: Cleanup indirect register access 2008-11-25 16:32:53 -05:00
rt2x00queue.c rt2x00: Fix TX short preamble detection 2009-01-12 14:24:50 -05:00
rt2x00queue.h rt2x00: Add RXDONE_CRYPTO_IV/ICV flags 2008-12-05 09:35:56 -05:00
rt2x00reg.h
rt2x00rfkill.c
rt2x00usb.c rt2x00: Fix segementation fault 2009-01-12 14:24:53 -05:00
rt2x00usb.h rt2x00: Move rt73usb register access wrappers into rt2x00usb 2008-11-25 16:32:53 -05:00
rt61pci.c rt2x00: Add RXDONE_CRYPTO_IV/ICV flags 2008-12-05 09:35:56 -05:00
rt61pci.h rt2x00: Remove debugfs CSR access wrappers 2008-11-10 15:17:35 -05:00
rt73usb.c rt2x00: add USB ID for the Linksys WUSB200. 2009-01-12 14:24:50 -05:00
rt73usb.h rt2x00: Remove debugfs CSR access wrappers 2008-11-10 15:17:35 -05:00
rt2400pci.c rt2x00: Cleanup indirect register access 2008-11-25 16:32:53 -05:00
rt2400pci.h rt2x00: Remove debugfs CSR access wrappers 2008-11-10 15:17:35 -05:00
rt2500pci.c rt2x00: Cleanup indirect register access 2008-11-25 16:32:53 -05:00
rt2500pci.h rt2x00: Remove debugfs CSR access wrappers 2008-11-10 15:17:35 -05:00
rt2500usb.c rt2x00: Fix rt2500usb HW crypto: WEP 128 & AES 2009-01-12 14:24:57 -05:00
rt2500usb.h rt2x00: Implement HW encryption (rt2500usb) 2008-12-05 09:35:51 -05:00