aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/main.c
diff options
context:
space:
mode:
authorWill Hawkins <hawkinsw@opentechinstitute.org>2012-06-19 17:59:14 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-06-20 14:03:43 -0400
commit3bfda62c50b0a4b118dcfce36686508ca2892292 (patch)
treefe196eac2a7a27f27efa294283160fb58a2f60f5 /net/mac80211/main.c
parent452a6d22615bb8262a932b362f41fc5d89f03293 (diff)
mac80211: Allow userspace to register for auth frames in IBSS
Set the necessary flags to allow user space applications to register for authentication frames on IBSS interfaces. This is useful for situations where userspace applications want to control key negotiation between stations. Signed-off-by: Will Hawkins <hawkinsw@opentechinstitute.org> [reword commit message a bit] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r--net/mac80211/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index 976e41365c25..0b040fb73673 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -462,7 +462,9 @@ static const struct ieee80211_txrx_stypes
462ieee80211_default_mgmt_stypes[NUM_NL80211_IFTYPES] = { 462ieee80211_default_mgmt_stypes[NUM_NL80211_IFTYPES] = {
463 [NL80211_IFTYPE_ADHOC] = { 463 [NL80211_IFTYPE_ADHOC] = {
464 .tx = 0xffff, 464 .tx = 0xffff,
465 .rx = BIT(IEEE80211_STYPE_ACTION >> 4), 465 .rx = BIT(IEEE80211_STYPE_ACTION >> 4) |
466 BIT(IEEE80211_STYPE_AUTH >> 4) |
467 BIT(IEEE80211_STYPE_DEAUTH >> 4),
466 }, 468 },
467 [NL80211_IFTYPE_STATION] = { 469 [NL80211_IFTYPE_STATION] = {
468 .tx = 0xffff, 470 .tx = 0xffff,