1
linux/drivers/net/wireless/ath5k
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
..
ath5k.h ath5k: Misc fixes/cleanups 2008-04-16 16:00:03 -04:00
base.c mac80211: Replace ieee80211_tx_control->key_idx with ieee80211_key_conf 2008-05-07 15:02:11 -04:00
base.h ath5k: Port debug.c over to the new band API and enable as build option 2008-02-29 15:19:37 -05:00
debug.c wireless: correct warnings from using '%llx' for type 'u64' 2008-03-07 17:09:52 -05:00
debug.h ath5k: move rx and tx status structures out of hardware descriptor 2008-03-07 16:07:49 -05:00
hw.c ath5k: Fix radio identification on AR5424/2424 2008-04-23 21:25:35 -04:00
hw.h ath5k: struct ath5k_desc cleanups 2008-03-07 16:07:49 -05:00
initvals.c ath5k: Add RF2425 initvals 2008-04-16 16:00:02 -04:00
Kconfig ath5k: Port debug.c over to the new band API and enable as build option 2008-02-29 15:19:37 -05:00
Makefile ath5k: Port debug.c over to the new band API and enable as build option 2008-02-29 15:19:37 -05:00
phy.c ath5k: Add RF2425 initvals 2008-04-16 16:00:02 -04:00
reg.h ath5k: Identify RF2413 and deal with PHY_SPENDING 2008-03-07 16:02:58 -05:00