linux-stable-rt/net/mac80211
Ivo van Doorn 1c01442058 mac80211: Replace ieee80211_tx_control->key_idx with ieee80211_key_conf
The hw_key_idx inside the ieee80211_key_conf structure does
not provide all the information drivers might need to perform
hardware encryption.

This is in particular true for rt2x00 who needs to know the
key algorithm and whether it is a shared or pairwise key.

By passing the ieee80211_key_conf pointer it assures us that
drivers can make full use of all information that it should know
about a particular key.

Additionally this patch updates all drivers to grab the hw_key_idx from
the ieee80211_key_conf structure.

v2: Removed bogus u16 cast
v3: Add warning about ieee80211_tx_control pointers
v4: Update warning about ieee80211_tx_control pointers

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-05-07 15:02:11 -04:00
..
Kconfig wireless: Fix compile error with wifi & leds 2008-04-27 15:34:55 -07:00
Makefile
aes_ccm.c mac80211: rename files 2008-04-08 16:44:45 -04:00
aes_ccm.h
cfg.c
cfg.h
debugfs.c
debugfs.h
debugfs_key.c
debugfs_key.h
debugfs_netdev.c
debugfs_netdev.h
debugfs_sta.c
debugfs_sta.h
event.c
ieee80211_i.h mac80211: use 4-byte mesh sequence number 2008-04-30 20:34:26 -04:00
iface.c
key.c
key.h
led.c
led.h
main.c mac80211: insert WDS peer after adding interface 2008-04-30 20:34:26 -04:00
mesh.c mac80211: use 4-byte mesh sequence number 2008-04-30 20:34:26 -04:00
mesh.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/linville/wireless-2.6 2008-05-01 02:06:32 -07:00
mesh_hwmp.c asm/unaligned.h doesn't work well as the very first include 2008-04-27 10:09:32 -07:00
mesh_pathtbl.c
mesh_plink.c
michael.c
michael.h
mlme.c
rate.c
rate.h
rc80211_pid.h
rc80211_pid_algo.c
rc80211_pid_debugfs.c
rx.c
sta_info.c
sta_info.h
tkip.c mac80211: incorrect shift direction 2008-04-30 20:34:26 -04:00
tkip.h
tx.c
util.c
wep.c mac80211: Replace ieee80211_tx_control->key_idx with ieee80211_key_conf 2008-05-07 15:02:11 -04:00
wep.h
wext.c
wme.c
wme.h
wpa.c mac80211: Replace ieee80211_tx_control->key_idx with ieee80211_key_conf 2008-05-07 15:02:11 -04:00
wpa.h