1c01442058
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
aes_ccm.c | ||
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 | ||
iface.c | ||
key.c | ||
key.h | ||
led.c | ||
led.h | ||
main.c | ||
mesh.c | ||
mesh.h | ||
mesh_hwmp.c | ||
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 | ||
tkip.h | ||
tx.c | ||
util.c | ||
wep.c | ||
wep.h | ||
wext.c | ||
wme.c | ||
wme.h | ||
wpa.c | ||
wpa.h |