]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: implement wext key handling
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 11 May 2009 11:54:58 +0000 (13:54 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 13 May 2009 19:44:32 +0000 (15:44 -0400)
commitb9a6055f442fafb879d04b67e9d836afd8df4e70
tree2011cb3cb2f70d35278ef3b39ea696a058fb7b29
parentcfd5c8d04f3f928bf7725791df2f82a96eeabfe9
cfg80211: implement wext key handling

Move key handling wireless extension ioctls from mac80211 to cfg80211
so that all drivers that implement the cfg80211 operations get wext
compatibility.

Note that this drops the SIOCGIWENCODE ioctl support for getting
IW_ENCODE_RESTRICTED/IW_ENCODE_OPEN. This means that iwconfig will
no longer report "Security mode:open" or "Security mode:restricted"
for mac80211. However, what we displayed there (the authentication
algo used) was actually wrong -- linux/wireless.h states that this
setting is meant to differentiate between "Refuse non-encoded packets"
and "Accept non-encoded packets".

(Combined with "cfg80211: fix a couple of bugs with key ioctls". -- JWL)

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/cfg80211.h
net/mac80211/wext.c
net/wireless/core.c
net/wireless/core.h
net/wireless/nl80211.c
net/wireless/util.c
net/wireless/wext-compat.c