1
linux/drivers/net/wireless
Bob Copeland 6714349046 ath5k: clean up ath5k_hw_set_key
Status: O

With the addition of TKIP (and soon CCMP), key->alg is a more useful
guide to key type than the key length.

This patch cleans up key type assignment in ath5k_hw_set_key by
extracting it into its own function.  It also replaces the separate
memcpy() calls for extracting key material into the hardware format
with a loop that works regardless of key size.

Finally, the patch removes support for WEP-128 since it is a
non-standard key length that mac80211 also doesn't use.

Changes-licensed-under: ISC
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-12-05 09:32:12 -05:00
..
ath5k ath5k: clean up ath5k_hw_set_key 2008-12-05 09:32:12 -05:00
ath9k Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-11-26 23:48:40 -08:00
b43 b43: remove rate index warning 2008-11-21 11:06:07 -05:00
b43legacy b43legacy: implement short slot and basic rate handling 2008-11-21 11:06:06 -05:00
hostap hostap: select required crypto bits in Kconfig 2008-12-05 09:32:10 -05:00
ipw2x00 net/ieee80211 -> drivers/net/ipw2x00/libipw_* rename 2008-11-21 11:08:18 -05:00
iwlwifi iwlwifi: remove uses of __constant_{endian} helpers 2008-12-05 09:32:12 -05:00
libertas if_usb: Kill directly reference of netdev->priv 2008-12-03 22:24:05 -08:00
libertas_tf
orinoco orinoco: Provide option to avoid unnecessary fw caching 2008-11-26 09:47:47 -05:00
p54 p54: fix wmm queue settings 2008-11-26 09:47:50 -05:00
prism54
rt2x00 rt2x00: Don't switch off LED on initialization 2008-11-26 09:47:19 -05:00
rtl818x rtl8187: Fix transmission count sent to mac80211 2008-11-26 09:47:20 -05:00
zd1211rw
adm8211.c
adm8211.h
airo_cs.c
airo.c
airo.h
arlan-main.c
arlan-proc.c
arlan.h
atmel_cs.c
atmel_pci.c
atmel.c
atmel.h
i82586.h
i82593.h
Kconfig orinoco: Provide option to avoid unnecessary fw caching 2008-11-26 09:47:47 -05:00
mac80211_hwsim.c mac80211_hwsim: fix-up some print_mac merge damage 2008-11-26 09:47:52 -05:00
Makefile ipw2x00: relocate ipw2100/ipw2200 to common directory 2008-11-21 11:08:17 -05:00
netwave_cs.c
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c
strip.c
wavelan_cs.c
wavelan_cs.h
wavelan_cs.p.h
wavelan.c
wavelan.h
wavelan.p.h
wl3501_cs.c
wl3501.h
zd1201.c
zd1201.h