linux-kernel-test/drivers/net/wireless/rt2x00
Helmut Schaa 1ed3811c33 rt2x00: Fix rt2800 key assignment in multi bssid setups
When setting up multiple BSSIDs in AP mode on an rt2800pci device we
previously used the STAs AID to select an appropriate key slot. But
since the AID is per VIF we can end up with two STAs having the same AID
and thus using the same key index. This resulted in one STA overwriting
the key information of another STA.

Fix this by simply searching for the next unused entry in the pairwise
key table.

Also bring the key table init in sync with deleting keys by initializing
the key table entries to 0 instead of 1.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-03-04 14:06:48 -05:00
..
Kconfig rt2x00: Add support for RT5390 chip 2011-02-21 15:40:00 -05:00
Makefile
rt2x00.h rt2x00: Optimize TX descriptor handling 2011-03-04 14:06:47 -05:00
rt2x00config.c rt2x00: Fix pointer errors. 2011-01-04 14:35:14 -05:00
rt2x00crypto.c
rt2x00debug.c rt2x00: Protect queue control with mutex 2010-12-13 15:23:35 -05:00
rt2x00debug.h
rt2x00dev.c rt2x00: Move TX/RX work into dedicated workqueue 2011-01-31 15:06:25 -05:00
rt2x00dump.h
rt2x00firmware.c rt2x00: Don't leak mem in error path of rt2x00lib_request_firmware() 2011-01-13 15:46:45 -05:00
rt2x00ht.c rt2x00: Don't call ieee80211_get_tx_rate for MCS rates 2011-03-04 14:06:48 -05:00
rt2x00leds.c
rt2x00leds.h
rt2x00lib.h rt2x00: Introduce beacon_update_locked that requires caller locking 2011-01-31 15:06:22 -05:00
rt2x00link.c rt2x00: Move TX/RX work into dedicated workqueue 2011-01-31 15:06:25 -05:00
rt2x00mac.c rt2x00: Use unlikely for unexpected error condition in rt2x00_mac_tx 2011-03-04 14:06:47 -05:00
rt2x00pci.c rt2x00: Remove interrupt thread registration 2011-01-31 15:06:23 -05:00
rt2x00pci.h rt2x00: Fix firmware loading regression on x86_64. 2010-12-13 15:23:37 -05:00
rt2x00queue.c rt2x00: Don't call ieee80211_get_tx_rate for MCS rates 2011-03-04 14:06:48 -05:00
rt2x00queue.h rt2x00: Use an enum instead of u16 for the rate_mode TX descriptor field 2011-03-04 14:06:48 -05:00
rt2x00reg.h rt2x00: Remove STATE_RADIO_IRQ_OFF_ISR and STATE_RADIO_IRQ_ON_ISR 2011-01-31 15:06:24 -05:00
rt2x00soc.c
rt2x00soc.h
rt2x00usb.c rt2x00: Move TX/RX work into dedicated workqueue 2011-01-31 15:06:25 -05:00
rt2x00usb.h rt2x00: Add "flush" queue command 2010-12-13 15:23:35 -05:00
rt61pci.c rt2x00: Move TX descriptor field "ifs" into plcp substruct 2011-03-04 14:06:47 -05:00
rt61pci.h rt2x00: Fix WMM Queue naming 2010-12-13 15:23:36 -05:00
rt73usb.c rt2x00: Move TX descriptor field "ifs" into plcp substruct 2011-03-04 14:06:47 -05:00
rt73usb.h rt2x00: Fix WMM Queue naming 2010-12-13 15:23:36 -05:00
rt2400pci.c rt2x00: Move TX descriptor field "ifs" into plcp substruct 2011-03-04 14:06:47 -05:00
rt2400pci.h
rt2500pci.c rt2x00: Move TX descriptor field "ifs" into plcp substruct 2011-03-04 14:06:47 -05:00
rt2500pci.h
rt2500usb.c rt2x00: Move TX descriptor field "ifs" into plcp substruct 2011-03-04 14:06:47 -05:00
rt2500usb.h
rt2800.h rt2x00: fix whitespace damage in the rt2800 specific code 2011-03-04 14:05:18 -05:00
rt2800lib.c rt2x00: Fix rt2800 key assignment in multi bssid setups 2011-03-04 14:06:48 -05:00
rt2800lib.h rt2x00: Refactor beacon code to make use of start- and stop_queue 2011-01-31 15:06:22 -05:00
rt2800pci.c rt2x00: Optimize TX descriptor handling 2011-03-04 14:06:47 -05:00
rt2800pci.h
rt2800usb.c rt2x00: Optimize TX descriptor handling 2011-03-04 14:06:47 -05:00
rt2800usb.h