linux-stable-rt/net
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
..
9p
802
8021q vlan: assign PDE->data before gluing PDE into /proc tree 2008-05-02 04:09:11 -07:00
appletalk
atm atm: assign PDE->data before gluing PDE into /proc tree 2008-05-02 04:08:30 -07:00
ax25
bluetooth bluetooth: use get/put_unaligned_* helpers 2008-05-02 16:25:46 -07:00
bridge bridge: forwarding table information for >256 devices 2008-05-02 16:53:33 -07:00
can hrtimer: remove duplicate helper function 2008-05-03 18:11:48 +02:00
core netns: Fix device renaming for sysfs 2008-05-02 17:00:58 -07:00
dccp dccp: ccid2.c, ccid3.c use clamp(), clamp_t() 2008-05-02 16:44:07 -07:00
decnet
econet
ethernet
ieee80211
ipv4 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2008-05-03 10:18:21 -07:00
ipv6 netns: Fix reassembly timer to use the right namespace 2008-05-02 17:02:03 -07:00
ipx
irda irda: use get_unaligned_* helpers 2008-05-02 16:21:52 -07:00
iucv
key
lapb
llc
mac80211 mac80211: Replace ieee80211_tx_control->key_idx with ieee80211_key_conf 2008-05-07 15:02:11 -04:00
netfilter Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2008-05-03 10:18:21 -07:00
netlabel
netlink
netrom
packet
rfkill
rose rose: Wrong list_lock argument in rose_node seqops 2008-05-02 17:03:22 -07:00
rxrpc net: Add missing braces to multi-statement if()s 2008-05-02 16:20:10 -07:00
sched net: Add a WARN_ON_ONCE() to the transmit timeout function 2008-05-02 16:21:07 -07:00
sctp
sunrpc sunrpc: assign PDE->data before gluing PDE into /proc tree 2008-05-02 02:44:36 -07:00
tipc tipc: Update version number to TIPC 1.6.4 2008-05-05 01:24:36 -07:00
unix
wanrouter
wireless
x25
xfrm Merge branch 'audit.b50' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit-current 2008-04-29 11:41:22 -07:00
Kconfig
Makefile
TUNABLE
compat.c
nonet.c
socket.c
sysctl_net.c net: fix returning void-valued expression warnings 2008-05-01 02:47:38 -07:00