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
Makefile
rt2x00.h
rt2x00config.c
rt2x00crypto.c trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
rt2x00debug.c
rt2x00debug.h
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
rt2x00pci.c
rt2x00pci.h
rt2x00queue.c rt2x00: Fix TX short preamble detection 2009-01-12 14:24:50 -05:00
rt2x00queue.h
rt2x00reg.h
rt2x00rfkill.c
rt2x00usb.c rt2x00: Fix segementation fault 2009-01-12 14:24:53 -05:00
rt2x00usb.h
rt61pci.c
rt61pci.h
rt73usb.c rt2x00: add USB ID for the Linksys WUSB200. 2009-01-12 14:24:50 -05:00
rt73usb.h
rt2400pci.c
rt2400pci.h
rt2500pci.c
rt2500pci.h
rt2500usb.c rt2x00: Fix rt2500usb HW crypto: WEP 128 & AES 2009-01-12 14:24:57 -05:00
rt2500usb.h