mac80211: reject unhandled action frames
commit8404080568613d93ad7cf0a16dfb68459b42a264
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 15 Feb 2010 10:46:39 +0000 (15 12:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Feb 2010 21:14:13 +0000 (15 16:14 -0500)
treef09409846d4d2a81f750618082ea65c34854bcd9
parentde1ebdceb6a4fe1b7073b81d273285b7c8bed312
mac80211: reject unhandled action frames

802.11-2007 7.3.1.11 mandates that we need to
reject action frames we don't handle by setting
the 0x80 bit in the category and returning them
to the sender, so do that. In AP mode, hostapd
is responsible for this.

Additionally, drop completely malformed action
frames or ones that should've been encrypted as
unusable, userspace shouldn't see those.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c