linux/net/mac80211
Johannes Berg 8f20fc2498 [MAC80211]: embed key conf in key, fix driver interface
This patch embeds the struct ieee80211_key_conf into struct ieee80211_key
and thus avoids allocations and having data present twice.

This required some more changes:
 1) The removal of the IEEE80211_KEY_DEFAULT_TX_KEY key flag.
    This flag isn't used by drivers nor should it be since
    we have a set_key_idx() callback. Maybe that callback needs
    to be extended to include the key conf, but only a driver that
    requires it will tell.
 2) The removal of the IEEE80211_KEY_DEFAULT_WEP_ONLY key flag.
    This flag is global, so it shouldn't be passed in the key
    conf structure. Pass it to the function instead.

Also, this patch removes the AID parameter to the set_key() callback
because it is currently unused and the hardware currently cannot know
about the AID anyway. I suspect this was used with some hardware that
actually selected the AID itself, but that functionality was removed.

Additionally, I've removed the ALG_NULL key algorithm since we have
ALG_NONE.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-10 16:48:51 -07:00
..
aes_ccm.c [NET]: DIV_ROUND_UP cleanup (part two) 2007-10-10 16:48:37 -07:00
aes_ccm.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
debugfs_key.c [MAC80211]: embed key conf in key, fix driver interface 2007-10-10 16:48:51 -07:00
debugfs_key.h [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
debugfs_netdev.c [MAC80211]: Remove bitfields from struct ieee80211_sub_if_data 2007-10-10 16:48:50 -07:00
debugfs_netdev.h [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
debugfs_sta.c [PATCH] mac80211: Fix sparse error for sta_last_seq_ctrl_read 2007-08-06 15:39:01 -04:00
debugfs_sta.h [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
debugfs.c [MAC80211]: remove unused ioctls (3) 2007-10-10 16:48:46 -07:00
debugfs.h [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
event.c [MAC80211]: refactor event sending 2007-10-10 16:48:47 -07:00
hostapd_ioctl.h [MAC80211]: kill key_mgmt, use key_management_enabled 2007-10-10 16:48:46 -07:00
ieee80211_cfg.c [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
ieee80211_cfg.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
ieee80211_common.h [MAC80211]: remove radar stuff 2007-10-10 16:48:43 -07:00
ieee80211_i.h [MAC80211]: embed key conf in key, fix driver interface 2007-10-10 16:48:51 -07:00
ieee80211_iface.c [MAC80211]: embed key conf in key, fix driver interface 2007-10-10 16:48:51 -07:00
ieee80211_ioctl.c [MAC80211]: embed key conf in key, fix driver interface 2007-10-10 16:48:51 -07:00
ieee80211_key.h [MAC80211]: embed key conf in key, fix driver interface 2007-10-10 16:48:51 -07:00
ieee80211_led.c [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
ieee80211_led.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
ieee80211_rate.c [MAC80211]: move some rate control functions out of ieee80211.c 2007-10-10 16:47:35 -07:00
ieee80211_rate.h [MAC80211]: move some rate control functions out of ieee80211.c 2007-10-10 16:47:35 -07:00
ieee80211_sta.c [MAC80211]: embed key conf in key, fix driver interface 2007-10-10 16:48:51 -07:00
ieee80211.c [MAC80211]: embed key conf in key, fix driver interface 2007-10-10 16:48:51 -07:00
Kconfig [MAC80211]: Add debugfs attributes. 2007-05-05 11:46:38 -07:00
key.c [MAC80211]: embed key conf in key, fix driver interface 2007-10-10 16:48:51 -07:00
Makefile [MAC80211]: refactor event sending 2007-10-10 16:48:47 -07:00
michael.c [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
michael.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
rc80211_simple.c [MAC80211]: remove unused ioctls (2) 2007-10-10 16:48:45 -07:00
regdomain.c [PATCH] mac80211: regdomain.c needs to include ieee80211_i.h 2007-07-17 21:50:20 -04:00
rx.c [MAC80211]: embed key conf in key, fix driver interface 2007-10-10 16:48:51 -07:00
sta_info.c [MAC80211]: embed key conf in key, fix driver interface 2007-10-10 16:48:51 -07:00
sta_info.h [MAC80211]: remove unused ioctls (2) 2007-10-10 16:48:45 -07:00
tkip.c [MAC80211]: embed key conf in key, fix driver interface 2007-10-10 16:48:51 -07:00
tkip.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
tx.c [MAC80211]: embed key conf in key, fix driver interface 2007-10-10 16:48:51 -07:00
util.c [MAC80211]: Remove bitfields from struct ieee80211_sub_if_data 2007-10-10 16:48:50 -07:00
wep.c [MAC80211]: embed key conf in key, fix driver interface 2007-10-10 16:48:51 -07:00
wep.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00
wme.c [MAC80211]: Remove bitfields from struct ieee80211_tx_packet_data 2007-10-10 16:48:48 -07:00
wme.h [MAC80211]: move QoS rx handlers into rx.c 2007-10-10 16:47:30 -07:00
wpa.c [MAC80211]: embed key conf in key, fix driver interface 2007-10-10 16:48:51 -07:00
wpa.h [MAC80211]: Add mac80211 wireless stack. 2007-05-05 11:45:53 -07:00