diff options
author | Jouni Malinen <j@w1.fi> | 2009-01-08 06:32:05 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:00:05 -0500 |
commit | fdfacf0ae2e8339098b1164d2317b792d7662c0a (patch) | |
tree | c30dd93d00d1aa5a7b55ee635d271b2761880c2b /net/mac80211/wext.c | |
parent | 22787dbaa3b952602542506e0426ea6d5f104042 (diff) |
mac80211: 802.11w - Configuration of MFP disabled/optional/required
Add new WEXT IW_AUTH_* parameter for setting MFP
disabled/optional/required.
Signed-off-by: Jouni Malinen <j@w1.fi>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/wext.c')
-rw-r--r-- | net/mac80211/wext.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/mac80211/wext.c b/net/mac80211/wext.c index 7ba1d5ba3afa..2dd387495dfe 100644 --- a/net/mac80211/wext.c +++ b/net/mac80211/wext.c | |||
@@ -975,6 +975,13 @@ static int ieee80211_ioctl_siwauth(struct net_device *dev, | |||
975 | else | 975 | else |
976 | ret = -EOPNOTSUPP; | 976 | ret = -EOPNOTSUPP; |
977 | break; | 977 | break; |
978 | case IW_AUTH_MFP: | ||
979 | if (sdata->vif.type == NL80211_IFTYPE_STATION || | ||
980 | sdata->vif.type == NL80211_IFTYPE_ADHOC) | ||
981 | sdata->u.sta.mfp = data->value; | ||
982 | else | ||
983 | ret = -EOPNOTSUPP; | ||
984 | break; | ||
978 | default: | 985 | default: |
979 | ret = -EOPNOTSUPP; | 986 | ret = -EOPNOTSUPP; |
980 | break; | 987 | break; |